Share via


IMLDSPlugin (Compact 7)

3/12/2014

This interface is implemented by the data source plug-in and is used by the plug-in manager to initialize and control the data source plug-in modules.

Methods

In addition to the methods inherited from IUnknown this interface exposes the following methods.

  • IMLDSPlugin::GetDataSources
    Implemented by the data source plug-in to return the number of attached data sources connected to the Media Library.

Remarks

The plug-in manager creates and owns the data source plug-in objects. The plug-in manager calls the methods on this interface directly to retrieve the file list, manage the push queue information, and describe the data sources.

You must register your data source plug-in with the Media Library for the plug-in manager to create the plug-in. For more information on registering your plug-in, see Media Library Registry Settings.

When to Implement

Implement this interface if you have a data source type that is not supported by the Media Library. For more information on the data source types, see the MLDataSourceId enumeration.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

Media Library Interfaces