ISDBDevice::DeviceStart: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 6: Line 6:
  |LibraryHandle |Long |DLL handle of the library.
  |LibraryHandle |Long |DLL handle of the library.
  |DeviceCaption |String |Title of the device to show in MM UI.
  |DeviceCaption |String |Title of the device to show in MM UI.
  |DeviceDriveLetter |Long |Drive letter of the device (can be 0 if the device doesn't have one).}}
  |DeviceDriveLetter |Long |Drive letter of the device (can be -1 if the device doesn't have one).}}


===Method description===
===Method description===

Latest revision as of 13:35, 16 March 2010

CoClass SDBDevice, Interface ISDBDevice

Function DeviceStart(LibraryHandle As Long, DeviceCaption As String, DeviceDriveLetter As Long) As Long


Parameters

Name Type Description
LibraryHandle Long DLL handle of the library.
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.