ILMDVRSink::StopChangingAttributes
#include "ILMDVRSink.h"
C Syntax |
HRESULT ILMDVRSink__StopChangingAttributes(pILMDVRSink, bCancelChanges) |
C++ Syntax |
HRESULT StopChangingAttributes(bCancelChanges) |
ILMDVRSink *pILMDVRSink ; |
/* pointer to an interface */ |
VARIANT_BOOL bCancelChanges; |
/* Boolean value */ |
Sets the DVRSink attributes.
Parameter |
Description |
pILMDVRSink |
Pointer to an ILMDVRSink interface. |
bCancelChanges |
A VARIANT_BOOL value type specifying whether to cancel or apply the pending attribute changes. |
Returns
S_OK |
The function was successful. |
<> S_OK |
An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
Comments
Use this function to tell the DVRSink that setting attributes have changed. This function should be called AFTER a ILMDVRSink::StartChangingAttributes call and a group of Set functions or property assignments.
Set to VARIANT_FALSE to set the attributes. Use VARIANT_TRUE to discard changes and reset the attributes to their previous settings.
Required DLLs and Libraries
LMDVRSink For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Example
For a C example, refer to ILMDVRSink::StartChangingAttributes Exampled for C
For a C++ example, refer to ILMDVRSink::StartChangingAttributes Example for C++