mirror of
https://github.com/ip7z/7zip.git
synced 2026-04-21 06:03:40 +00:00
24.08
This commit is contained in:
parent
a7a1d4a241
commit
e008ce3976
42 changed files with 1567 additions and 799 deletions
|
|
@ -157,6 +157,31 @@ bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize,
|
|||
|
||||
#endif
|
||||
|
||||
/*
|
||||
bool Is_File_LimitedBy_4GB(CFSTR _path, bool &isFsDetected)
|
||||
{
|
||||
isFsDetected = false;
|
||||
FString path (_path);
|
||||
path.DeleteFrom(NName::GetRootPrefixSize(path));
|
||||
// GetVolumeInformation supports super paths.
|
||||
// NName::If_IsSuperPath_RemoveSuperPrefix(path);
|
||||
if (!path.IsEmpty())
|
||||
{
|
||||
DWORD volumeSerialNumber, maximumComponentLength, fileSystemFlags;
|
||||
UString volName, fileSystemName;
|
||||
if (MyGetVolumeInformation(path, volName,
|
||||
&volumeSerialNumber, &maximumComponentLength, &fileSystemFlags,
|
||||
fileSystemName))
|
||||
{
|
||||
isFsDetected = true;
|
||||
if (fileSystemName.IsPrefixedBy_Ascii_NoCase("fat"))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue