chore: initial commit (extracted from Launchers monorepo)
Plugin: ns7zip v2.0.0 Architectures: x86-ansi, x86-unicode, amd64-unicode License: LGPL-2.1-or-later
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
// Windows/FileSystem.h
|
||||
|
||||
#ifndef ZIP7_INC_WINDOWS_FILE_SYSTEM_H
|
||||
#define ZIP7_INC_WINDOWS_FILE_SYSTEM_H
|
||||
|
||||
#include "../Common/MyString.h"
|
||||
#include "../Common/MyTypes.h"
|
||||
|
||||
namespace NWindows {
|
||||
namespace NFile {
|
||||
namespace NSystem {
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
bool MyGetVolumeInformation(
|
||||
CFSTR rootPath ,
|
||||
UString &volumeName,
|
||||
LPDWORD volumeSerialNumber,
|
||||
LPDWORD maximumComponentLength,
|
||||
LPDWORD fileSystemFlags,
|
||||
UString &fileSystemName);
|
||||
|
||||
UINT MyGetDriveType(CFSTR pathName);
|
||||
|
||||
bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize);
|
||||
|
||||
#endif
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user