Share via


IMSVidStreamBufferSink::get_ContentRecorder method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_ContentRecorder method creates a new content recording object.

Syntax

HRESULT get_ContentRecorder(
  [in]  BSTR                               pszFilename,
  [out] IMSVidStreamBufferRecordingControl **pRecordingIUnknown
);

Parameters

[in] pszFilename

Specifies the name of the file to hold the recording.

[out] pRecordingIUnknown

Receives a pointer to the recording object's IMSVidStreamBufferRecordingControl interface.

Return value

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

Return code Description
S_OK
The method succeeded.

Remarks

The caller must release the returned IMSVidStreamBufferRecordingControl interface.

Requirements

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferSink Interface