LEADTOOLS Multimedia API Help > Add-on Modules > LEADTOOLS MPEG2 Transport Module > LEADTOOLS DVR Components > DVR Component Function References > ILMDVRSink Interface > 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. |
Win32, x64
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++