ILMDVRSink::StopChangingAttributes

Summary

Sets the DVRSink attributes.

Syntax

#include "ILMDVRSink.h"

Language Syntax
C HRESULT ILMDVRSink_StopChangingAttributes(pILMDVRSink, bCancelChanges)
C++ HRESULT StopChangingAttributes(bCancelChanges)

Parameters

ILMDVRSink *pILMDVRSink

Pointer to an ILMDVRSink interface.

VARIANT_BOOL bCancelChanges

A VARIANT_BOOL value type specifying whether to cancel or apply the pending attribute changes.

Returns

Value Meaning
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 an 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

Platforms

Win32, x64.

See Also

Functions

Topic

Example

Language Example
C ILMDVRSink::StartChangingAttributes
C++ ILMDVRSink::StartChangingAttributes
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.