Share via


IStreamBufferCapture::SetRecordingPath (Windows Embedded CE 6.0)

1/6/2010

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

Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

IStreamBufferCapture Interface