共用方式為


IMSVidStreamBufferSink::get_ContentRecorder

 
Microsoft DirectShow 9.0

IMSVidStreamBufferSink::get_ContentRecorder

This topic applies to Windows XP Service Pack 1 or later.

The get_ContentRecorder method creates a new content recording object.

Syntax

  HRESULT get_ContentRecorder(
  BSTR  pszFilename,
  IMSVidStreamBufferRecordingControl **pRecordingIUnknown
);

Parameters

pszFilename

[in]  Specifies the name of the file to hold the recording.

pRecordingIUnknown

[out]  Address of a variable that receives a pointer to the recording object's IMSVidStreamBufferRecordingControl interface.

Return Values

The method returns an HRESULT. Possible values include the following.

Value Description
S_OK The method succeeded.

Remarks

The caller must release the returned IMSVidStreamBufferRecordingControl interface.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also