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.

Platforms

Win32, x64

See Also

Elements:

ILMDVRSink::GetAvailabilityInfo, ILMDVRSink::CopyBufferToFile, ILMDVRSink::GetStatus, ILMDVRSink::CreateEvents, ILMDVRSink::FreeEvents, ILMDVRSink::StopChangingAttributes,

Topics:

Multimedia Function Group, DVR Function Groups, Introduction to the LEADTOOLS DVR Module, DVR Module FAQs, LEAD DVR Sink Filter, Accessing the DVR Sink Object,How to Use the DVR Sink Object to Control Capture Buffer Settings (C++), How to Set Capture Buffers on More Than One Physical Disk, How to Copy Buffered DVR Data to a New File

Example

For a C example, refer to ILMDVRSink__StartChangingAttributes Example for C

For a C++ example, refer to ILMDVRSink::StartChangingAttributes Example for C++