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
--
Maxim S. Shatskih
Windows DDK MVP
ma...@storagecraft.com
http://www.storagecraft.com
"ilya" <il...@discussions.microsoft.com> wrote in message news:D870921F-3B3E-4AC1...@microsoft.com...