Previous Next

Do Not Assume a Hard-Disk Size Limit of 2 GB

[This is preliminary documentation and subject to change.]

Requirement   (Designed for Microsoft® Windows® Logo)

Your application should not assume a 2 GB hard-disk size limit.

Remarks

On drives larger than 2 GB, FAT32 is the only file system on Windows that allows the user to format the disk as a single partition.

On Windows 98, the existing Win32 function, GetDiskFreeSpace, may obtain incorrect values for volumes that are larger than 2 GB; whereas GetDiskFreeSpaceEx obtains correct values on all platforms for all volumes, including those that are larger than 2 GB. New applications should use GetDiskFreeSpaceEx instead of GetDiskFreeSpace.