Share via


IPAT::FindRecordProgramMapPid Method

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

Syntax

HRESULT FindRecordProgramMapPid(
  [in]   WORD wProgramNumber,
  [out]  WORD *pwVal
);

Parameters

  • wProgramNumber [in]
    Specifies the program number.

  • pwVal [out]
    Receives the PID.

Return Value

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 Declared in Mpeg2PsiParser.h.

See Also

IPAT Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008