IMFASFProfile::CreateMutualExclusion method (wmcontainer.h)

Creates a new Advanced Systems Format (ASF) mutual exclusion object. Mutual exclusion objects can be added to a profile by calling the AddMutualExclusion method.

Syntax

HRESULT CreateMutualExclusion(
  [out] IMFASFMutualExclusion **ppIMutex
);

Parameters

[out] ppIMutex

Receives a pointer to the IMFASFMutualExclusion interface of the new object. The caller must release the interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

The ASF mutual exclusion object created by this method is not associated with the profile. Call IMFASFProfile::AddMutualExclusion after configuring the object to make this association.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcontainer.h
Library Mfuuid.lib

See also

ASF Profile

IMFASFMutualExclusion

IMFASFProfile