• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Windows/FileSystem.h
2 
3 #ifndef __WINDOWS_FILE_SYSTEM_H
4 #define __WINDOWS_FILE_SYSTEM_H
5 
6 #include "../Common/MyString.h"
7 #include "../Common/MyTypes.h"
8 
9 namespace NWindows {
10 namespace NFile {
11 namespace NSystem {
12 
13 bool MyGetVolumeInformation(
14     CFSTR rootPath  ,
15     UString &volumeName,
16     LPDWORD volumeSerialNumber,
17     LPDWORD maximumComponentLength,
18     LPDWORD fileSystemFlags,
19     UString &fileSystemName);
20 
21 UINT MyGetDriveType(CFSTR pathName);
22 
23 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
24 
25 }}}
26 
27 #endif
28