IMFASFMutualExclusion::SetType method (wmcontainer.h)

Sets the type of mutual exclusion that is represented by the Advanced Systems Format (ASF) mutual exclusion object.

Syntax

HRESULT SetType(
  REFGUID guidType
);

Parameters

guidType

The type of mutual exclusion that is represented by the ASF mutual exclusion object. For a list of predefined mutual exclusion type constants, see ASF Mutual Exclusion Type GUIDs.

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

Sometimes, content must be made mutually exclusive in more than one way. For example, a video file might contain audio streams in several bit rates for each of several languages. To handle this type of complex mutual exclusion, you must configure more than one ASF mutual exclusion object. For more information, see IMFASFMutualExclusion::AddRecord.

Requirements

   
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

IMFASFMutualExclusion

IMFASFMutualExclusion::GetType

Using Mutual Exclusion for ASF Streams