Partager via


IPAT::GetCountOfRecords

 
Microsoft DirectShow 9.0

IPAT::GetCountOfRecords

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

Syntax

  HRESULT GetCountOfRecords(
  DWORD*  pdwVal
);

Parameters

pdwVal

[out]  Receives the number of records.

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