Share via


IPMT::GetProgramNumber 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 GetProgramNumber method returns the program number for the PMT.

Syntax

HRESULT GetProgramNumber(
  [out] WORD *pwVal
);

Parameters

[out] pwVal

Receives the program_number field.

Return value

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

Return code Description
E_POINTER
NULL pointer argument.
S_OK
The method succeeded.

Requirements

   
Target Platform Windows
Header mpeg2psiparser.h

See also

IPMT Interface