IMFASFStreamPrioritization::RemoveStream method

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

dwStreamIndex [in]

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 codeDescription
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

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

 

 

Show: