IMFASFStreamPrioritization::GetStream method

Note  This interface is not implemented in this version of Media Foundation.

Retrieves the stream number of a stream in the stream priority list.

Syntax


HRESULT GetStream(
  [in]   DWORD dwStreamIndex,
  [out]  WORD *pwStreamNumber,
  [out]  WORD *pwStreamFlags
);

Parameters

dwStreamIndex [in]

Zero-based index of the entry to retrieve from the stream priority list. To get the number of entries in the priority list, call IMFASFStreamPrioritization::GetStreamCount.

pwStreamNumber [out]

Receives the stream number of the stream priority entry.

pwStreamFlags [out]

Receives a Boolean value. If TRUE, the stream is mandatory.

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.

E_INVALIDARG

NULL pointer argument or the dwStreamIndex parameter is out of range.

 

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

IMFASFStreamPrioritization

 

 

Community Additions

ADD
Show:
© 2014 Microsoft