次の方法で共有


IDvbSiParser2::GetEIT2 method (dvbsiparser.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 GetEIT2 method gets the event information table (EIT).

Syntax

HRESULT GetEIT2(
  [in]  TID       tableId,
  [in]  WORD      *pwServiceId,
  [in]  BYTE      *pbSegment,
  [out] IDVB_EIT2 **ppEIT
);

Parameters

[in] tableId

Specifies the table identifier of the EIT. Use one of the following values.

Value Meaning
DVB_EIT_ACTUAL_TID
0x4E
Present/following EIT for this transport stream.
DVB_EIT_OTHER_TID
0x4F
Present/following EIT for another transport stream.
0x50 � 0x5F
Schedule EIT for this transport stream.
0x60 � 0x6F
Schedule EIT for another transport stream.

[in] pwServiceId

An optional parameter that contains a service identifier. You can use this value to filter the request. Otherwise, set this parameter to NULL.

[in] pbSegment

An optional parameter that contains a segment number. You can use this value to filter the request. Otherwise, set this parameter to NULL.

[out] ppEIT

Receives a pointer to the IDVB_EIT2 interface. 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_INVALIDARG
Invalid argument.
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.

Remarks

The method fails if the filter does not receive a matching table within a predetermined length of time.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header dvbsiparser.h

See also

IDvbSiParser2