On Windows (XP-7), is there a reliable way of programatically differentiating between USB floppy drives and USB flash drives in C++?
At the moment, I\'m using WMI to
The obvious property to check would be IOCTL_DISK_GET_DRIVE_GEOMETRY. This gets you (amongst other things) a MEDIA_TYPE. Anything but RemovableMedia and FixedMedia is a floppy.
IOCTL_DISK_GET_DRIVE_GEOMETRY
MEDIA_TYPE
RemovableMedia
FixedMedia