ISDBDevice::DeviceStartEx

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBDevice, Interface ISDBDevice

Function DeviceStartEx(LibraryHandle As Long, DeviceID As String, DeviceCaption As String, DeviceDriveLetter As Long) As Long


Parameters

Name Type Description
LibraryHandle Long DLL handle of the library.
DeviceID String A string uniquely identifying the device (it's up to device plug-in to write anything here).
DeviceCaption String Title of the device to show in MM UI.
DeviceDriveLetter Long Drive letter of the device (can be -1 if the device doesn't have one).


Method description

Adds new device for handling by MM. Its icon is shown in the tree then.

Example code

See some device plug-in source code for examples.