Compartilhar via


IMPEG2PIDMap 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.]

This interface is implemented on each output pin of the MPEG-2 Demultiplexer filter (Demux) and is used in transport stream mode only. It is called by applications or other filters to associate the pin with one or more Packet IDs (PID). Once a PID has been mapped, the Demux will deliver all packets with that ID to the output pin. This interface is not exposed when the filter is playing back a file (pull-mode).

For program streams, use the IMPEG2StreamIdMap interface.

OCUR Devices: This interface supports OpenCable Unidirectional Cable Receiver (OCUR) devices. See OCUR Devices.

Inheritance

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

Methods

The IMPEG2PIDMap interface has these methods.

 
IMPEG2PIDMap::EnumPIDMap

The EnumPIDMap method returns a collection of all the currently mapped PIDs on this pin.
IMPEG2PIDMap::MapPID

The MapPID method maps one or more PIDs to the pin.
IMPEG2PIDMap::UnmapPID

The UnmapPID method unmaps one or more PIDs.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header bdaiface.h

See also

Interfaces