IPMT::GetCountOfRecords 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 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

[out] pwVal

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

Requirement Value
Target Platform Windows
Header mpeg2psiparser.h

See also

IPMT Interface