IMFASFStreamSelector::GetOutputStreamNumbers method (wmcontainer.h)

Retrieves the stream numbers for all of the streams that are associated with an output.

Syntax

HRESULT GetOutputStreamNumbers(
  [in]  DWORD dwOutputNum,
  [out] WORD  *rgwStreamNumbers
);

Parameters

[in] dwOutputNum

The output number for which to retrieve stream numbers.

[out] rgwStreamNumbers

Address of an array that receives the stream numbers associated with the output. The caller allocates the array. The array size must be at least as large as the value returned by the IMFASFStreamSelector::GetOutputStreamCount method.

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.
MF_E_INVALIDREQUEST
Invalid output number.

Remarks

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

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