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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for