Removable Disk Lock?
3 answers
Without using this, I would say that you want to look at the win32 IOCTL_STORAGE_MEDIA_REMOVAL Control Code parameter for DeviceIoControl (), which ".. Enables or disables the mechanism from which media is retrieved for those devices that have this locking capability ..."
+1
a source to share