|Microsoft DirectX 9.0|
The Initialize method sets the file name and the profile for the new recording. Call this method once, after creating the RecComp object.
HRESULT Initialize( LPCWSTR pszTargetFilename, LPCWSTR pszSBRecProfileRef );
[in] Null-terminated, wide character string that specifies the file name of the new recording.
[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.
Returns an HRESULT value. Possible values include those in the following table.
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.