Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 938 Bytes

RealDriveType.md

File metadata and controls

53 lines (35 loc) · 938 Bytes

Home

Function name : RealDriveType

Group: Shell Functions - Library: shell32


Determines the drive type based on the drive number.


Code examples:

Displaying the drive type value

Declaration:

int RealDriveType(
	int iDrive,
	BOOL fOKToHitNet
);  

FoxPro declaration:

DECLARE INTEGER RealDriveType IN shell32;
	INTEGER iDrive,;
	INTEGER fOKToHitNet
  

Parameters:

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.


Return value:

Returns a predefined value.


Comments:

See also GetDriveType function.