Share via


IMLDSPlugin::Init (Compact 7)

3/12/2014

This method initializes the data source plug-in.

Syntax

HRESULT Init (
    IMLDSItemSink *pDSItemSink,
    IMLCore *pCore
);

Parameters

  • 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,
mlibdll_plugin.idl

Library

mlibdll.lib

See Also

Reference

IMLDSPlugin