IInbandEvent::MapPIDEx Method

[This documentation is preliminary and is subject to change.]
Maps one or more packet identifiers (PIDs) to the output pin.

Syntax

HRESULT MapPIDEx(
  [in]  ULONG culPID,
  [in]  ULONG *pulPID,
  [in]  MEDIA_SAMPLE_CONTENT MediaSampleContent,
  [in]  BOOL fFlush,
  [in]  BOOL fIgnorePTS
);

Parameters

  • culPID [in]
    The number of elements in the pulPID array.

  • pulPID [in]
    An array of PIDs.

  • MediaSampleContent [in]
    The contents of the elementary stream that is associated with the mapped PIDs. The value is a member of the MEDIA_SAMPLE_CONTENT enumeration.

  • fFlush [in]
    If TRUE, the pin flushes the stream when this method is called. Otherwise, the pin does not flush the stream.

  • fIgnorePTS [in]
    If TRUE, the output pin ignores the presentation time stamps (PTS) from the elementary stream. This option is useful for teletext streams. Otherwise, set this parameter to FALSE.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method extends the IMPEG2PIDMap::MapPID method.

Requirements

Client Requires Windows 7.
IDL Declared in Bdaiface.idl.

See Also

IInbandEvent

Send comments about this topic to Microsoft

Build date: 12/4/2008