Sponsors

GetDriveType

Function name: GetDriveType

Defined in : Kernel32

Requirements : Windows NT 3.1 or later; Windows 95 or later

Declaration:

Declare Function GetDriveType Lib "kernel32" Alias "GetDriveTypeA" (ByVal lpRootPathName As String) As Long

Parameters:

Returns:

Related functions:

Examples:

List drives and their type

Drives

Categories