IEnumPIDMap interface (bdaiface.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 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.

Inheritance

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

Methods

The IEnumPIDMap interface has these methods.

 
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