문제

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.

도움이 되었습니까?

해결책

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?

다른 팁

OpenStore + GetStoreInfo. STOREINFO gets you the used size, BytesPerSector * (NumSectors - FreeSectors).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top