Compartilhar via


IStreamBufferCapture::SetRecordingPath (Compact 2013)

3/26/2014

This method sets the path to the root directory where recordings will be stored. You can only set the recording path when the capture graph is stopped. To determine the current path call IStreamBufferCapture::GetRecordingPath

Syntax

HRESULT SetRecordingPath(
  LPCOLESTR pszPath
);

Parameters

  • pszPath
    [in] A LPCOLESTR value pointing to a string that identifies the new path.

Return Value

Returns one of the following values.

Value

Description

E_FAIL

The method is unable to create a file at the specified location.

E_POINTER

The value in pszPath is not valid.

S_OK

The method is successful.

XACT_E_WRONGSTATE

The recording set is currently open.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IStreamBufferCapture Interface