IMFASFStreamPrioritization::RemoveStream method (wmcontainer.h)

Note  This interface is not implemented in this version of Media Foundation.
 
Removes a stream from the stream priority list.

Syntax

HRESULT RemoveStream(
  [in] DWORD dwStreamIndex
);

Parameters

[in] dwStreamIndex

Index of the entry in the stream priority list to remove. Values range from zero, to one less than the stream count retrieved by calling IMFASFStreamPrioritization::GetStreamCount.

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.

Remarks

When a stream is removed from the stream priority list, the index values of all streams that follow it in the list are decremented.

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

IMFASFStreamPrioritization