Fix extended attributes in win32.

This commit is contained in:
2020-05-02 18:30:24 +01:00
parent f38dce47d7
commit bf01b56435
3 changed files with 281 additions and 159 deletions

View File

@@ -211,7 +211,8 @@ typedef LONG NTSTATUS;
typedef struct _IO_STATUS_BLOCK
{
union {
union
{
NTSTATUS Status;
PVOID Pointer;
} DUMMYUNIONNAME;
@@ -219,6 +220,8 @@ typedef struct _IO_STATUS_BLOCK
} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;
NTSTATUS (*NtSetEaFile)(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG);
NTSTATUS(*NtQueryEaFile)
(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, BOOLEAN, PVOID, ULONG, PULONG, BOOLEAN);
#ifndef FSCTL_SET_SPARSE
#define FSCTL_SET_SPARSE 0x000900C4