IMFASFStreamSelector::SetOutputMutexSelection method

Selects a mutual exclusion record to use for a mutual exclusion object associated with an output.

Syntax


HRESULT SetOutputMutexSelection(
  [in] DWORD dwOutputNum,
  [in] DWORD dwMutexNum,
  [in] WORD  wSelectedRecord
);

Parameters

dwOutputNum [in]

The output number for which to set a stream.

dwMutexNum [in]

Index of the mutual exclusion for which to select.

wSelectedRecord [in]

Record of the specified mutual exclusion to select.

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

An output is a stream in an Advanced Systems Format (ASF) data section that will be parsed. If mutual exclusion is used, mutually exclusive streams share the same output.

An ASF file can contain multiple mutually exclusive relationships, such as a file with both language based and bit-rate based mutual exclusion. If an output is involved in multiple mutually exclusive relationships, a record from each must be selected.

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

IMFASFStreamSelector
IMFASFStreamSelector::GetOutputMutex

 

 

Show: