Null defaults it to the current folder's driveQuote:
Originally posted by Salem
[B]
And what about the first parameter being NULL - what does that mean - the current disk, the 'windows' disk or what?
Hmm....It always worked for me......and has done on the examples I just gave.... (1 drive 37.5GB and the other 8.5GB - both tested fine!)Quote:
Originally posted by Salem
> 20 GB is the capacity
From MSDN
The GetDiskFreeSpace function cannot report volume sizes that are greater than 2 GB. To ensure that your application works with large capacity hard drives, use the GetDiskFreeSpaceEx function.
Suppose I better keep that in mind next time I need to check disk size....:)