PID_MAP structure

[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 PID_MAP structure contains identifies the contents of an MPEG-2 transport stream packet ID.

Syntax

typedef struct {
  ULONG                ulPID;
  MEDIA_SAMPLE_CONTENT MediaSampleContent;
} PID_MAP;

Members

ulPID

Specifies the packet ID (PID)

MediaSampleContent

Specifies the contents of the packet payload, as a MEDIA_SAMPLE_CONTENT enumeration type.

Requirements

Requirement Value
Header
Bdatypes.h (include Bdaiface.h)

See also

DirectShow Structures

IEnumPIDMap Interface