IltmmWMProfile::AddMutualExclusion

Summary

Adds a mutual exclusion object to the profile.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmWMProfile_AddMutualExclusion(pProfile, ME)
C++ HRESULT AddMutualExclusion(pProfile, ME)

Parameters

IltmmWMProfile *pProfile

Pointer to an IltmmWMProfile interface.

IltmmWMMutualExclusion *ME

Pointer to an IltmmWMMutualExclusion interface that references the mutual exclusion object to be added to the profile.

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

New mutual exclusion objects are created using IltmmWMProfile::CreateNewMutualExclusion. Configure the newly created mutual exclusion object using the IltmmWMMutualExclusion interface before adding it to the profile using IltmmWMProfile::AddMutualExclusion.

For more information, refer to the Microsoft documentation for IWMProfile::AddMutualExclusion.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmWMProfile::AddStream
C++ IltmmWMProfile::AddStream
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.