IMFASFStreamSelector::GetOutputMutex method (wmcontainer.h)

Retrieves a mutual exclusion object for an output.

Syntax

HRESULT GetOutputMutex(
  [in]  DWORD    dwOutputNum,
  [in]  DWORD    dwMutexNum,
  [out] IUnknown **ppMutex
);

Parameters

[in] dwOutputNum

Output number for which to retrieve a mutual exclusion object.

[in] dwMutexNum

Mutual exclusion number. This is an index of mutually exclusive relationships associated with the output. Set to a number between 0, and 1 less than the number of mutual exclusion objects retrieved by calling IMFASFStreamSelector::GetOutputMutexCount.

[out] ppMutex

Receives a pointer to the mutual exclusion object's IUnknown interface. 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

Outputs are streams in the ASF data section that will be parsed.

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

IMFASFStreamSelector

IMFASFStreamSelector::GetOutputMutexCount

IMFASFStreamSelector::SetOutputMutexSelection