IMFASFStreamPrioritization::GetStream method (wmcontainer.h)
Note This interface is not implemented in this version of Media Foundation.
Syntax
HRESULT GetStream(
[in] DWORD dwStreamIndex,
[out] WORD *pwStreamNumber,
[out] WORD *pwStreamFlags
);
Parameters
[in] dwStreamIndex
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.
[out] pwStreamNumber
Receives the stream number of the stream priority entry.
[out] pwStreamFlags
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 code | Description |
---|---|
|
The method succeeded. |
|
NULL pointer argument or the dwStreamIndex parameter is out of range. |
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 |