IMLMediaParser::Init (Compact 7)
3/12/2014
This method initializes the media parser.
Syntax
HRESULT Init();
Parameters
None
Return Values
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
S_OK |
The method was successful. |
E_INVALIDARG |
One or more parameters are invalid. |
E_POINTER |
The pMediaParserManager is invalid. |
E_FAIL |
The method was not successful. |
E_OUTOFMEMORY |
An out of memory error occurred. |
Remarks
The Media Library creates the media parser objects and calls this method to pass in a pointer to the parser manager object.
- The Media Library determines which media parser object to call for each request and internally calls this method to retrieve the file extensions supported by this media parser. The media parser will use CoTaskMemAlloc to allocated the array, and will use SysAllocString for each entry in the array.
Requirements
Header |
mlibdll_plugin.h, |
Library |
mlibdll.lib |