There is a Win32 API
GetDiskFreeSpace( PathofDrive, &SectorsPerCluster, &BytesPerSector,
&FreeClusters, &TotalClusters )
With 'TotalClusters * SectorsPerCluster * BytesPerSector' you can
calculate the total bytes of a drive.
then again, this is softsector...not physical capability