Language:
Русский
English
DiskSize (function) (WinDos unit)
Returns the total size, in bytes, of a specified disk drive.
Declaration
function DiskSize(Drive: Byte): Longint;
Target
Windows, Real, Protected
Remarks
where:
0 Default drive
1 Drive A
2 Drive B
3 Drive C
etc.
Return Value
-1 if the drive number is invalid.