Share via


IPMT::GetProgramNumber Method

The GetProgramNumber method returns the program number for the PMT.

Syntax

HRESULT GetProgramNumber(
  [out]  WORD *pwVal
);

Parameters

  • pwVal [out]
    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

Header Declared in Mpeg2PsiParser.h.

See Also

IPMT Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008