Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to Windows XP Service Pack 2 only.
The UnlockProfile method unlocks the Stream Buffer Sink filter's profile. After the profile is unlocked, you can change the name of the stub file.
Syntax
HRESULT UnlockProfile();
Parameters
This method has no parameters.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
S_FALSE |
The profile is not currently locked. |
S_OK |
The method succeeded. |
Remarks
The filter graph must be stopped when you call this method. If the recording session has not been started, this method invalidates the recording. To re-create the recording, call IStreamBufferSink::LockProfile again. If the profile is not already locked, the Unlock method has no effect and returns S_FALSE.
If the graph is running, stopping the graph automatically unlocks the profile without the need to call UnlockProfile.
Requirements
Header | Declared in Sbe.h. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008