Group: Shell Functions - Library: shell32
Displaying the drive type value
int RealDriveType(
int iDrive,
BOOL fOKToHitNet
);
DECLARE INTEGER RealDriveType IN shell32;
INTEGER iDrive,;
INTEGER fOKToHitNet
iDrive [in] The number of the drive that you want to test. "A:" corresponds to 0, "B:" to 1, and so on.
fOKToHitNet [in] Reserved. Must be set to 0.
Returns a predefined value.
See also GetDriveType function.