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.
3/12/2014
This interface queries, updates, and deletes media items in the Media Library.
Methods
The list below describes the methods for the IMLCore interface, in addition to the methods inherited from IUnknown.
- IMLCore::GetDataSources
Returns the names and IDs of the data sources connected to the Media Library.
- IMLCore::ScanLocation
Synchronizes the contents of a location on the data source with the Media Library.
- IMLCore::GetNotificationManager
Returns a pointer to the IMLNotificationManager interface that is used to subscribe to the event notification service.
- IMLCore::GetUserStore
Returns a pointer to the IMLUserStore interface that is used to store state information.
- IMLCore::GetFactory
Returns a pointer to the IMLFactory interface that is used to create Media Library objects.
- IMLCore::GetPushQueue
Returns a pointer to the IMLPushQueue interface that is used to populate the Media Library.
- IMLCore::CountItems
Counts the number of media items that match the given IMLQuery.
- IMLCore::RunQuery
Runs the query and returns the media items to the query object.
- IMLCore::InsertItem
Inserts an item into the Media Library by using the property set object.
- IMLCore::UpdateItems
Queries the plug-in data source and updates all of the items in the Media Library with the properties specified in the IMLPropertySet.
- IMLCore::DeleteItems
Deletes the media items that match the IMLQuery from the Media Library.
- IMLCore::QueryLocation
Queries a plug-in data source for media items that match the specified IMLQuery.
- IMLCore::PurgeDatabase
Permanently removes media items that are no longer valid on the plug-in data source from the Media Library database.
Remarks
This interface also creates the objects that the library uses to notify applications of changes to the data store or to populate the Media Library with media items.
Obtaining a Pointer
This interface is created by calling the COM CoCreateInstance function with the CLSID_MLCore class identifier.
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |