Stores information about the currently available disk drives into an array.
ADriveInfo(cArrayName)
Parameters
- cArrayName
The name of the array as a string into which the function should store the information. Column Content 1 Drive letter 2 Drive type (returned from GetDriveType) 3 Device number or -1 if DeviceIoControl failed 4 Partition number or -1 if DeviceIoControl failed
Return Value
The number of drives.
See Also
Reference
ADirectoryInfo
ADirEx
AFileAttributes
AFileAttributesEx
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteDirectory
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileOwner
GetFileSize
GetFileTimes
GetLongPathName
GetShortPathName
MoveFileEx
SetFileAttributes
SetFileTimes
Used WinApi functions
GetLogicalDrives
GetDriveType
DeviceIoControl
CreateFile
CloseHandle