Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- pmplSections [in]
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:
- Get the section data by calling the IMpeg2Data::GetStreamOfSections method.
- Create a new SectionList object and call InitializeWithRawSections with the section data.
Requirements
Header | Declared in Mpeg2data.h. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008