Share via


MLDataSource (Compact 7)

3/12/2014

This structure contains the name and identifier of the data source.

Syntax

typedef struct _MLDataSource {
  MLDataSourceId Id;
  BSTR Name;
  BSTR Root;
  MLDataSourceFlags Flags;
} MLDataSource;

Members

  • Id
    Member of the MLDataSourceId enumeration containing the ID of the plug-in module data source.
  • Name
    Name of the plug-in module data source.
  • Root
    Root directory of the plug-in module data source.
  • Flags
    A binary combination of flags in the MLDataSourceFlags enumeration that contain the type of operations supported by the plug-in module data source.

Remarks

You can use this structure in the call to IMLPushQueue::EnqueueLocation, IMLPushQueue::AddWatchedLocation, IMLPushQueue::RemoveWatchedLocation, IMLPushQueue::GetWatchListCount, IMLPushQueue::GetWatchList, IMLCore::ScanLocation, IMLCore::BrowseLocation, IMLCore::QueryLocationand it is returned in the call to IMLCore::GetDataSources.

Requirements

Header

mlibdll.h,
mlibdll.idl

See Also

Reference

Media Library Structures