IPAT::Initialize Method

The Initialize method initializes the object using captured table section data. This method is called internally by the IAtscPsipParser::GetPAT 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 Mpeg2PsiParser.h.

See Also

IPAT Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008