다음을 통해 공유


IDvbSiParser::Initialize 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.]

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The Initialize method initializes this object.

Syntax

HRESULT Initialize(
  [in] IUnknown *punkMpeg2Data
);

Parameters

[in] punkMpeg2Data

Pointer to the IUnknown interface of the MPEG-2 Sections and Tables Filter or another object that implements the IMpeg2Data interface.

Return value

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

Return code Description
E_NOINTERFACE
The punkMpeg2Data pointer does not expose the IMpeg2Data interface.
E_POINTER
NULL pointer argument.
S_OK
The method succeeded.

Remarks

Until this method is called, all other methods on this interface fail.

Requirements

Requirement Value
Target Platform Windows
Header dvbsiparser.h

See also

IDvbSiParser Interface