IPAT::FindRecordProgramMapPid method (mpeg2psiparser.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

[in] wProgramNumber

Specifies the program number.

[out] pwVal

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

Requirement Value
Target Platform Windows
Header mpeg2psiparser.h

See also

IPAT Interface