Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Multimedia API Help

ILMDVRSink::StopChangingAttributes

Show in webframe

#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.

Platforms

Win32, x64

See Also

Elements:

ILMDVRSink::GetAvailabilityInfo, ILMDVRSink::GetStatus, ILMDVRSink::CreateEvents, ILMDVRSink::FreeEvents, ILMDVRSink::ResetToDefaultsEx, IILMDVRSink::StartChangingAttributes

Topics:

Multimedia Function Group, DVR Function Groups, Introduction to the LEADTOOLS MPEG-2 Transport Module, DVR Component 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 Exampled for C

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.