IMFASFStreamSelector::GetOutputMutex method

Retrieves a mutual exclusion object for an output.

Syntax


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

Parameters

dwOutputNum [in]

Output number for which to retrieve a mutual exclusion object.

dwMutexNum [in]

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.

ppMutex [out]

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

The method succeeded.

 

Remarks

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

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::GetOutputMutexCount
IMFASFStreamSelector::SetOutputMutexSelection

 

 

Show: