共用方式為


IDvbSiParser::GetSIT

 
Microsoft DirectShow 9.0

IDvbSiParser::GetSIT

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

The GetSIT method retrieves the selection information table (SIT).

Syntax

  HRESULT GetSIT(
  DWORD  dwTimeout,
  IDVB_SIT**  ppSIT
);

Parameters

dwTimeout

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

ppSIT

[out]  Address of a variable that receives an IDVB_SIT interface pointer. The caller must release the interface.

Return Values

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

Return code Description
E_POINTER NULL pointer argument.
MPEG2_E_SECTION_NOT_FOUND The filter did not receive the table in the allotted time.
S_OK The method succeeded.

Requirements

Header: Include dvbsiparser.h.

See Also