IEnumStreamIdMap interface (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IEnumStreamIdMap interface is implemented on a standard COM collection of Stream ID maps that have been created by the MPEG-2 Demultiplexer's IMPEG2StreamIdMap::MapStreamId method. To obtain a pointer to this interface, use the IMPEG2StreamIdMap::EnumStreamIdMap method. Typically, an output pin will never have more than one stream ID mapped to it at any given time. This collection represents a snapshot of the Stream IDs mapped at the time the collection is created. The collection is not updated automatically.

Inheritance

The IEnumStreamIdMap interface inherits from the IUnknown interface. IEnumStreamIdMap also has these types of members:

Methods

The IEnumStreamIdMap interface has these methods.

 
IEnumStreamIdMap::Clone

The Clone method copies the collection.
IEnumStreamIdMap::Next

The Next method retrieves the next n elements in the collection.
IEnumStreamIdMap::Reset

The Reset method moves the iterator to the beginning of the collection.
IEnumStreamIdMap::Skip

The Skip method skip the element at the specified index.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)