IMFASFStreamPrioritization::AddStream method (wmcontainer.h)
Note This interface is not implemented in this version of Media Foundation.
Syntax
HRESULT AddStream(
[in] WORD wStreamNumber,
[in] WORD wStreamFlags
);
Parameters
[in] wStreamNumber
Stream number of the stream to add.
[in] wStreamFlags
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. |
|
Invalid stream number. |
Remarks
The stream priority list is built by appending entries to the list with each call to AddStream. The list is evaluated in descending order of importance. The most important stream should be added first, and the least important should be added last.
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 |