IMFASFMutualExclusion::SetType method

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

Syntax


HRESULT SetType(
  [in]  REFGUID guidType
);

Parameters

guidType [in]

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 codeDescription
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]

Header

Wmcontainer.h

Library

Mfuuid.lib

See also

Using Mutual Exclusion for ASF Streams
IMFASFMutualExclusion
IMFASFMutualExclusion::GetType

 

 

Community Additions

ADD
Show:
© 2014 Microsoft