IStreamBufferRecComp::Initialize
Microsoft DirectShow 9.0 |
IStreamBufferRecComp::Initialize
The Initialize method sets the file name and the profile for the new recording. Call this method once, after creating the RecComp object.
Syntax
HRESULT Initialize( LPCWSTR pszTargetFilename, LPCWSTR pszSBRecProfileRef );
Parameters
pszTargetFilename
[in] Null-terminated, wide character string that specifies the file name of the new recording.
pszSBRecProfileRef
[in] Null-terminated, wide character string that specifies an existing file. This file must be a complete recording, already created by the Stream Buffer Engine.
Return Values
Returns an HRESULT value. Possible values include those in the following table.
Value | Description |
S_OK | Success |
Remarks
The profile of the file specified by pszSBRecProfileRef will be used for the target file. All files that are appended to the target file must have the same profile. For more information about profiles, see IStreamBufferSink::LockProfile.
Requirements
Header: Include Sbe.h.
See Also