What is the best way to calculate free disk space using only C ++. My target platform is WinCE, but most file operations are the same as on regular Windows.
Do you mean using both in how much space is left? then try GetDiskFreeSpace ()Or do you mean that the number of open read / write / current files, speed, etc.?
OpenStore + GetStoreInfo. STOREINFO gets the size you used, BytesPerSector * (NumSectors - FreeSectors).
Source: https://habr.com/ru/post/1745458/More articles:Print Text GtkTextView - gtkContext menu ExpandableListView - androidtemplate function roundTo int, float → truncation - c ++Missing [mx.rpc] :: IResponder - flexnhibernate interception request - nhibernateTable Tennis Performance - performanceSilverlight Configuration Sections - c #регулярные выражения python, извлечение наиболее длинных перекрывающихся групп - pythonWhat event is dispatched to the Windows Forms window when its button is clicked on the taskbar? - c #HTML для "красивого" преобразования текста для печати только на текстовом принтере (матрица) - htmlAll Articles