Freigeben über


ISectionList::InitializeWithRawSections method (mpeg2data.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 InitializeWithRawSections method initializes the object with raw section data. This method allows for custom processing of section data.

Syntax

HRESULT InitializeWithRawSections(
  [in] PMPEG_PACKET_LIST pmplSections
);

Parameters

[in] pmplSections

Pointer to an MPEG_PACKET_LIST structure that contains a list of MPEG-2 sections.

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 has already been initialized.
S_OK
The method succeeded.

Remarks

Use this method as follows:

  1. Get the section data by calling the IMpeg2Data::GetStreamOfSections method.
  2. Create a new SectionList object and call InitializeWithRawSections with the section data.

Requirements

Requirement Value
Target Platform Windows
Header mpeg2data.h

See also

ISectionList Interface