http://bugs.winehq.com/show_bug.cgi?id=751
*** shadow/751 Thu May 30 23:18:08 2002 --- shadow/751.tmp.27787 Thu May 30 23:18:08 2002 *************** *** 0 **** --- 1,27 ---- + +============================================================================+ + | GetDiskFreeSpace should return >2GB on some systems | + +----------------------------------------------------------------------------+ + | Bug #: 751 Product: Wine | + | Status: UNCONFIRMED Version: 20020509 | + | Resolution: Platform: | + | Severity: normal OS/Version: All | + | Priority: P1 Component: wine-files | + +----------------------------------------------------------------------------+ + | Assigned To: wine-bugs@winehq.com | + | Reported By: vberon@mecano.gme.usherb.ca | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | Milestone: TargetMilestone: --- | + | URL: | + +============================================================================+ + | DESCRIPTION | + GetDiskFreeSpace{A,W} currently always return size <= 2GB (as per current MSDN + docs). But the actual behaviour can be different. + + On Windows NT 4.0 SP6, such a call on an NTFS partition (1 sector/cluster, 512 + bytes/sector) with 11.4GB free space returns the whole 11.4GB. + + We should try to find which versions behave in such a way, and then either mimic + the selected emulated version, or always return the actual free size. + + I'll attach a small program to obtain the return values from GetDiskFreeSpaceA. \ No newline at end of file