[Win32utils-devel] getdiskfreespace

win32utils-devel at rubyforge.org win32utils-devel at rubyforge.org
Thu Nov 25 21:03:23 EST 2004

Hi all,

I was just working on the FILE_FLAG_NO_BUFFERING stuff again.  I'm a little 
confused about determining the cluster size.  According to the MSDN docs, 
using GetDiskFreeSpace() on disks over 2GB may return incorrect values.  
Some threads on comp.os.ms-windows.* seem to support this as well.

I did come across this, however: 

On the other hand, it doesn't seem many people are using this, instead 
relying on GetDiskFreeSpace() regardless of disk size.



More information about the win32utils-devel mailing list