mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 05:17:28 +00:00
[NTFS]
- Fix $FILENAME_ATTRIBUTE definition to allow reading reparse points tag - Add missing file attribute (reparse point) svn path=/trunk/; revision=65470
This commit is contained in:
parent
f43bb8d7df
commit
1dc01e0746
1 changed files with 10 additions and 1 deletions
|
@ -195,6 +195,7 @@ typedef enum
|
||||||
#define NTFS_FILE_TYPE_HIDDEN 0x2
|
#define NTFS_FILE_TYPE_HIDDEN 0x2
|
||||||
#define NTFS_FILE_TYPE_SYSTEM 0x4
|
#define NTFS_FILE_TYPE_SYSTEM 0x4
|
||||||
#define NTFS_FILE_TYPE_ARCHIVE 0x20
|
#define NTFS_FILE_TYPE_ARCHIVE 0x20
|
||||||
|
#define NTFS_FILE_TYPE_REPARSE 0x400
|
||||||
#define NTFS_FILE_TYPE_COMPRESSED 0x800
|
#define NTFS_FILE_TYPE_COMPRESSED 0x800
|
||||||
#define NTFS_FILE_TYPE_DIRECTORY 0x10000000
|
#define NTFS_FILE_TYPE_DIRECTORY 0x10000000
|
||||||
|
|
||||||
|
@ -308,7 +309,15 @@ typedef struct
|
||||||
ULONGLONG AllocatedSize;
|
ULONGLONG AllocatedSize;
|
||||||
ULONGLONG DataSize;
|
ULONGLONG DataSize;
|
||||||
ULONG FileAttributes;
|
ULONG FileAttributes;
|
||||||
ULONG AlignmentOrReserved;
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
USHORT PackedEaSize;
|
||||||
|
USHORT AlignmentOrReserved;
|
||||||
|
} EaInfo;
|
||||||
|
ULONG ReparseTag;
|
||||||
|
} Extended;
|
||||||
UCHAR NameLength;
|
UCHAR NameLength;
|
||||||
UCHAR NameType;
|
UCHAR NameType;
|
||||||
WCHAR Name[1];
|
WCHAR Name[1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue