diskinfo DiskSize property
Example
Return to Introduction  Previous page  Next page
Applies to
dcDiskInfo component.  

Declaration
property DiskSize: Int64; // Read only!  

Description
The DiskSize property determines the total amount space on drive specified in the Disk property. To read the amount of available space - use DiskFree property.  
 
Return value will -1, If no disk in the drive.  

Remarks
iiinfo Since the Delphi 3 and C++ Builder 3 does not supports the Int64 type, the DiskSize and DiskFree properties uses the "Extended" (float) type. Int64 are used in the Delphi4 and higher.  

See also
DiskFree property.  
sIU/QH/K+!