ILMDVRSink::StartChangingAttributes
#include "ILMDVRSink.h"
C Syntax |
HRESULT ILMDVRSink __StartChangingAttributes(pILMDVRSink) |
C++ Syntax |
HRESULT StartChangingAttributes( ) |
ILMDVRSink *pILMDVRSink ; |
/* pointer to an interface */ |
Call this method when you are about to change the DVRSink attributes.
Parameter |
Description |
pILMDVRSink |
Pointer to an ILMDVRSink interface. |
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 are changing. This function should be called before a group of Set functions or property assignments. After changing settings, the settings must be applied by calling ILMDVRSink::StopChangingAttributes.
The changes take effect when , ILMDVRSink::SetBufferSize, ILMDVRSink::StartChangingAttributes is called with bCancelChanges set to VARIANT_FALSE.
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 Example for C
For a C++ example, refer to ILMDVRSink::StartChangingAttributes Example for C++