Freigeben über


IAtscPsipParser::GetCAT method (atscpsipparser.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.]

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The GetCAT method retrieves the conditional access table (CAT).

Syntax

HRESULT GetCAT(
  [in]  DWORD dwTimeout,
  [out] ICAT  **ppCAT
);

Parameters

[in] dwTimeout

Specifies a time-out value, in milliseconds. If the filter does not receive the data within the time-out period, the method fails.

[out] ppCAT

Receives an ICAT interface pointer. The caller must release the interface.

Return value

The method returns an HRESULT. Possible values include those in the following table.

Return code Description
E_OUTOFMEMORY
Insufficient memory.
E_POINTER
NULL pointer argument.
MPEG2_E_SECTION_NOT_FOUND
The filter did not receive the table in the allotted time.
MPEG2_E_UNINITIALIZED
The Initialize method was not called.
S_OK
The method succeeded.

Remarks

The method returns the first CAT that is marked current; that is, one in which the current_next_indicator bit is 1.

Requirements

Requirement Value
Target Platform Windows
Header atscpsipparser.h

See also

IAtscPsipParser Interface