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. The collection object represents a snapshot of the PID map when the collection is created. The collection is not updated automatically.
Methods
The IEnumPIDMap interface has these methods.
| Method | Description |
|---|---|
| IEnumPIDMap::Clone | The Clone method creates a copy the collection. |
| IEnumPIDMap::Next | The Next method retrieves the next n elements in the collection. |
| IEnumPIDMap::Reset | The Reset method moves the iterator to the beginning of the collection. |
| IEnumPIDMap::Skip | The Skip method skips the specified number of elements in the collection. |
Requirements
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | bdaiface.h |