Hello all tops,
I can use GetDriveType to get the driver type, such as Fixed Disk, CD-ROM.
But I can’t judge if the current disk is a usb disk because GetDriveType
return Fixed Disk.
Is there any way I can follow to judge a usb disk? either by kernel driver
or by app program?
Any hints?
Anthony
One way to determine the bus type a storage device is using is to use
IOCTL_STORAGE_QUERY_PROPERTY, and ask for the adapter properties. In
the
returned structure is a bustype field; USB is one of the supported
reported
bus types.
.
-----Original Message-----
From: Anthony [mailto:xxxxx@hotmail.com]
Sent: Friday, July 25, 2003 12:34 AM
Subject: A Disk puzzle!!!
Hello all tops,
I can use GetDriveType to get the driver type, such as Fixed Disk,
CD-ROM.
But I can’t judge if the current disk is a usb disk because
GetDriveType
return Fixed Disk.
Is there any way I can follow to judge a usb disk? either by kernel
driver
or by app program?
Any hints?
Anthony