Share via


IDVB_BAT::Initialize Method

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
The Initialize method initializes the object using captured table section data. This method is called internally by the IDvbSiParser::GetBAT method, so applications typically should not call it.

Syntax

HRESULT Initialize(
  [in]  ISectionList *pSectionList,
  [in]  IMpeg2Data *pMPEGData
);

Parameters

  • pSectionList [in]
    Pointer to the ISectionList interface of the SectionList object that contains the section data.

  • pMPEGData [in]
    Pointer to the IMpeg2Data interface of the MPEG-2 Sections and Tables filter.

Return Value

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

Return code Description

E_INVALIDARG

Invalid argument.

MPEG2_E_ALREADY_INITIALIZED

The object is already initialized.

S_OK

The method succeeded.

Requirements

Header Declared in Dvbsiparser.h.

See Also

IDVB_BAT Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008