Hello,
I have a USB mass storage device that, once enumerated, fails all disk
access commands. At some point the IO is enabled via SCSI Pass Through
Interface. Problem is Windows does not automatically [or at least
immediately] reload the disk. This can only be done by refreshing the Logical
Disk Manager. How can this be done from a user application?
Things I've tried:
- Issuing IOCTL_STORAGE_FIND_NEW_DEVICES to the PhysicalDrive; works on XP,
does not on Vista and 7
- Trying the method in "devcon.exe rescan"; again, works in XP, not in Vista
or 7
- A few other random storage IOCTLs and even closing and reopening the
HANDLE
Any ideas how this can be done from a standalone user application and
without resetting the whole USB device?
Thank you in advance.
-- ilya