Share via


IPAT::Initialize method (mpeg2psiparser.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 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

[in] pSectionList

Pointer to the ISectionList interface of the SectionList object that contains the section data.

[in] pMPEGData

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

Requirement Value
Target Platform Windows
Header mpeg2psiparser.h

See also

IPAT Interface