IEnumPIDMap Interface
Microsoft DirectShow 9.0 |
IEnumPIDMap Interface
The IEnumPIDMap interface enumerates a collection of Packet ID (PID) maps. Each PID map describes how the MPEG-2 Demultiplexer filter maps a PID to an output pin on the filter. PID mappings are created by calling the IMPEG2PIDMap::MapPID method on the filter's output pin.
To obtain the IEnumPIDMap interface, call the IMPEG2PIDMap::EnumPIDMap method on the output pin. Typically, output pins for audio and video streams have at most one PID mapped at any given time.
This interface implements a standard Component Object Model (COM) collection object. For more information on COM collections, see the IEnumXXXX topic in the Platform SDK. The collection object represents a snapshot of the PID map when 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 copy of the collection. |
Next | Retrieves the next n elements in the collection. |
Reset | Moves the iterator to the beginning of the collection. |
Skip | Skips over the specified number of elements in the collection. |
Requirements
Header: Include Bdaiface.h.
Library: Use Strmiids.lib.