There's a bunch actually, as follows:
I may be missing some, but these are the main ones.Code:Public Declare Function GetDiskFreeSpace _ Lib "kernel32" _ Alias "GetDiskFreeSpaceA" _ (ByVal lpRootPathName As String, lpSectorsPerCluster As Long, _ lpBytesPerSector As Long, lpNumberOfFreeClusters As Long, _ lpTotalNumberOfClusters As Long) As Long Public Declare Function GetDriveType _ Lib "kernel32" _ Alias "GetDriveTypeA" _ (ByVal nDrive As String) As Long Public Declare Function GetLogicalDriveStrings _ Lib "kernel32" _ Alias "GetLogicalDriveStringsA" _ (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long Public Declare Function GetVolumeInformation _ Lib "kernel32" _ Alias "GetVolumeInformationA" _ (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, _ ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, _ lpMaximumComponentLength As Long, lpFileSystemFlags As Long, _ ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) _ As Long Public Declare Function QueryDosDevice _ Lib "kernel32" _ Alias "QueryDosDeviceA" _ (ByVal lpDeviceName As String, ByVal lpTargetPath As String, _ ByVal ucchMax As Long) As Long
Hope it helps.




Reply With Quote