Microsoft DirectX 8.1 (C++)

IEnumPIDMap Interface

The IEnumPIDMap interface is implemented on a standard COM collection of Packet ID (PID) maps that have been created by a call to the IMPEG2PIDMap::MapPID method on an output pin of the MPEG-2 Demultiplexer. To obtain a pointer to this interface, use the IMPEG2PIDMap::EnumPIDMap method. Typically, output pins for audio and video streams will only have a single PID mapped at any given time. This collection represents a snapshot of the PIDs mapped at the time the collection is created. The collection is not updated automatically.

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

MethodName 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.