Problem with win32api function
Mark Hammond
MarkH at ActiveState.com
Sat Apr 14 08:43:06 EDT 2001
Tim Roberts wrote:
> Mark Hammond <MarkH at ActiveState.com> wrote:
> I think he realized this. He's talking about the fourth parameter, total
> cylinders, which is limited to 65536.
>
> He is also correct. The GetDiskFreeSpace API is defective on Win9X; that's
> why GetDiskFreeSpaceEx was invented. Here, watch this; my 5GB disk gets
> reported as 2G:
Well, that kinda sucks :)
I've added GetDiskFreeSpaceEx() to win32file (sigh - and also fixed a
bug in pywintypes that could cause ULARGE_INTEGERS to come in as negative!)
Mark.
More information about the Python-list
mailing list