Share via


IPAT::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 PAT. Each record corresponds to one program.

Syntax

HRESULT GetCountOfRecords(
  [out] DWORD *pdwVal
);

Parameters

[out] pdwVal

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

IPAT Interface