What is the best method for calculating free disk space using C++ only. My target platform is WinCE but most of the file operations are the same as normal Windows.
+1
A:
You mean usage as in how much space is left? then try GetDiskFreeSpace()
Or do you mean, number of reads/writes/current files open, speed etc?
Martin Beckett
2010-05-14 15:10:50
Diskspace, I updated question. Ta
Chris
2010-05-14 16:57:29
+1
A:
OpenStore + GetStoreInfo. STOREINFO gets you the used size, BytesPerSector * (NumSectors - FreeSectors).
Hans Passant
2010-05-14 16:02:37