Share via


IPMT::GetCountOfRecords Method

The GetCountOfRecords method returns the number of records in the PMT. Each record corresponds to a stream in the program.

Syntax

HRESULT GetCountOfRecords(
  [out]  WORD *pwVal
);

Parameters

  • pwVal [out]
    Receives the number of records.

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