Share via


IPAT::GetCountOfRecords Method

The GetCountOfRecords method returns the number of records in the PAT. Each record corresponds to one program.

Syntax

HRESULT GetCountOfRecords(
  [out]  DWORD *pdwVal
);

Parameters

  • pdwVal [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

IPAT Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008