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 |
---|---|
|
Invalid argument. |
|
The object has already been initialized. |
|
The method succeeded. |
Remarks
Use this method as follows:
- Get the section data by calling the IMpeg2Data::GetStreamOfSections method.
- Create a new SectionList object and call InitializeWithRawSections with the section data.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mpeg2data.h |