mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[FREELDR] ArcGetFileInformation(): Set Information->FileName, Length, and Attributes for filesystems (#8420)
CORE-9023 Add support for all the supported filesystems: FAT/FATX, NTFS, ISO, EXT, BTRFS, as well as for files loaded via PXE. arc.h: - Add `FILEATTRIBUTES` enumeration; - Remove non-existing `CreateReadOnly` and `SupersedeReadOnly` `OPENMODE` values; add missing `CreateReadWrite`.
This commit is contained in:
@@ -66,14 +66,23 @@ typedef enum _OPENMODE
|
||||
OpenWriteOnly,
|
||||
OpenReadWrite,
|
||||
CreateWriteOnly,
|
||||
CreateReadOnly,
|
||||
CreateReadWrite,
|
||||
SupersedeWriteOnly,
|
||||
SupersedeReadOnly,
|
||||
SupersedeReadWrite,
|
||||
OpenDirectory,
|
||||
CreateDirectory,
|
||||
} OPENMODE;
|
||||
|
||||
typedef enum _FILEATTRIBUTES
|
||||
{
|
||||
ReadOnlyFile = 0x01,
|
||||
HiddenFile = 0x02,
|
||||
SystemFile = 0x04,
|
||||
ArchiveFile = 0x08,
|
||||
DirectoryFile = 0x10,
|
||||
DeleteFile = 0x20
|
||||
} FILEATTRIBUTES;
|
||||
|
||||
typedef enum _IDENTIFIER_FLAG
|
||||
{
|
||||
Failed = 0x01,
|
||||
@@ -225,7 +234,7 @@ typedef struct _FILEINFORMATION
|
||||
CONFIGURATION_TYPE Type;
|
||||
ULONG FileNameLength;
|
||||
UCHAR Attributes;
|
||||
CHAR Filename[32];
|
||||
CHAR FileName[32];
|
||||
} FILEINFORMATION;
|
||||
|
||||
typedef
|
||||
|
||||
Reference in New Issue
Block a user