(v13) device_dismount remove a device
This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP
int32 device_dismount ( DEVICELIST *dev);
This routine is called when a device is removed from the current list of devices. All files open when the Harlequin Core unmounted the device will have been closed. The routine should perform any required tasks, such as freeing any resources used by that device.
This routine should return 0
if successful or -1
if an error occurred (and then last_error w
ill be called to determine the type of error).