共用方式為


IATSC_MGT::Initialize

 
Microsoft DirectShow 9.0

IATSC_MGT::Initialize

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 IAtscPsipParser::GetMGT method, so applications typically should not call it.

Syntax

  HRESULT Initialize(
  ISectionList*  pSectionList,
  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 Values

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: Include atscpsipparser.h.

See Also