IEnumStreamIdMap Interface

Microsoft DirectShow 9.0

IEnumStreamIdMap Interface

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.

In addition to the methods inherited from IUnknown, the IEnumStreamIdMap interface exposes the following methods.

Method Description
Clone Creates a new copy of the collection and all its sub-objects.
Next Retrieves the next n elements in the collection.
Reset Moves the iterator to the beginning of the collection.
Skip Skips over the specified element in the collection.


Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.