mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Add FS_LFN_APIS.
This commit is contained in:
@@ -416,6 +416,12 @@ void GetVolumeInfo(const char *path, size_t *clusterSize)
|
|||||||
dwFileSystemFlags -= FILE_SUPPORTS_POSIX_UNLINK_RENAME;
|
dwFileSystemFlags -= FILE_SUPPORTS_POSIX_UNLINK_RENAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(dwFileSystemFlags & (DWORD)FS_LFN_APIS)
|
||||||
|
{
|
||||||
|
printf("\t\tVolume supports LFN API.\n");
|
||||||
|
dwFileSystemFlags -= FS_LFN_APIS;
|
||||||
|
}
|
||||||
|
|
||||||
if(dwFileSystemFlags > 0) printf("Unknown flags: 0x%08lx.\n", dwFileSystemFlags);
|
if(dwFileSystemFlags > 0) printf("Unknown flags: 0x%08lx.\n", dwFileSystemFlags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -177,6 +177,10 @@ Copyright (C) 2011-2020 Natalia Portillo
|
|||||||
#define FILE_SUPPORTS_POSIX_UNLINK_RENAME 0x00000400
|
#define FILE_SUPPORTS_POSIX_UNLINK_RENAME 0x00000400
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef FS_LFN_APIS
|
||||||
|
#define FS_LFN_APIS 0x00004000
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef COMPRESSION_FORMAT_DEFAULT
|
#ifndef COMPRESSION_FORMAT_DEFAULT
|
||||||
#define COMPRESSION_FORMAT_DEFAULT 1
|
#define COMPRESSION_FORMAT_DEFAULT 1
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user