IMLDSPlugin::Init (Compact 7)
3/12/2014
This method initializes the data source plug-in.
Syntax
HRESULT Init (
IMLDSItemSink *pDSItemSink,
IMLCore *pCore
);
Parameters
- pDSItemSink
[in] Pointer to an IMLDSItemSink interface that the data source can use to send IMLDSItemSink::ProcessFile and IMLDSItemSink::StoreMetadata calls.
- pCore
[in] Pointer to the IMLCore instance that the data source can use for the creation of objects.
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 pDSItemSink or pCore parameter is invalid. |
E_FAIL |
The method was not successful. |
E_OUTOFMEMORY |
An out-of-memory error occurred. |
Requirements
Header |
mlibdll_plugin.h, |
Library |
mlibdll.lib |