共用方式為


IPMT::GetProgramNumber

 
Microsoft DirectShow 9.0

IPMT::GetProgramNumber

The GetProgramNumber method returns the program number for the PMT.

Syntax

  HRESULT GetProgramNumber(
  WORD*  pwVal
);

Parameters

pwVal

[out]  Receives the program_number field.

Return Values

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: Include Mpeg2PsiParser.h.

See Also