IMFASFStreamSelector::GetOutputFromStream method

Retrieves the output number associated with a stream.

Syntax


HRESULT GetOutputFromStream(
  [in]  WORD  wStreamNum,
  [out] DWORD *pdwOutput
);

Parameters

wStreamNum [in]

The stream number for which to retrieve an output number.

pdwOutput [out]

Receives the output number.

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.

MF_E_INVALIDREQUEST

Invalid stream number.

 

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

 

 

Show: