Posted 20 May 2002 - 13:46
You can use the following call:
GetSystemInfo (nItem, nvResult, svResult);
where nItem is DRIVE. Upon doing so, nvResult will return one of the following constants signifying the type of the drive specified in svResult:
IS_UNKNOWN - Target drive is unknown.
IS_REMOVABLE - Target drive is a floppy drive.
IS_FIXED - Target drive is a fixed drive.
IS_CDROM - Target drive is a CD-ROM drive.
IS_REMOTE - Target drive is a network drive.
See the help topic for more information.