Partager via


IPAT::FindRecordProgramMapPid

 
Microsoft DirectShow 9.0

IPAT::FindRecordProgramMapPid

The FindRecordProgramMapPid method returns the packet identifier (PID) for the program map table (PMT) associated with a given program number.

Syntax

  HRESULT FindRecordProgramMapPid(
  WORD  wProgramNumber,
  WORD*  pwVal
);

Parameters

wProgramNumber

[in]  Specifies the program number.

pwVal

[out]  Receives the PID.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Return code Description
E_POINTER NULL pointer argument.
MPEG2_E_NOT_PRESENT The table does not contain the specified program number.
S_OK The method succeeded.

Requirements

Header: Include Mpeg2PsiParser.h.

See Also