Function:
GetDriveType(LPCSTRlpRootPathName)
|
Description:
Finds the type of disks a disk drive is/uses.
|
Parameters:
lpRootPathName: The root directory of the drive to check,
such as "c:\" or "a:\".
|
Returns:
0 = an error occured.
1 = the specified drive does not exist.
2 = A floppy drive or some other removable-disk drive.
3 = A hard drive.
4 = A network drive or a drive located on a network server.
5 = A CD-ROM drive.
6 = A RAM disk.
|
Example: 
Click on the calc icon to view a sample of the GetDriveType
function.
|