mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Declare NT functions as NTAPI.
This commit is contained in:
@@ -215,17 +215,19 @@ typedef LONG NTSTATUS;
|
|||||||
|
|
||||||
typedef struct _IO_STATUS_BLOCK
|
typedef struct _IO_STATUS_BLOCK
|
||||||
{
|
{
|
||||||
union
|
union {
|
||||||
{
|
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PVOID Pointer;
|
PVOID Pointer;
|
||||||
} DUMMYUNIONNAME;
|
} DUMMYUNIONNAME;
|
||||||
PULONG Information;
|
PULONG Information;
|
||||||
} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;
|
} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;
|
||||||
|
|
||||||
NTSTATUS (*NtSetEaFile)(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG);
|
#ifndef NTAPI
|
||||||
NTSTATUS(*NtQueryEaFile)
|
#define NTAPI __stdcall
|
||||||
(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, BOOLEAN, PVOID, ULONG, PULONG, BOOLEAN);
|
#endif
|
||||||
|
|
||||||
|
NTSTATUS(NTAPI *NtSetEaFile)(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG);
|
||||||
|
NTSTATUS(NTAPI *NtQueryEaFile)(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, BOOLEAN, PVOID, ULONG, PULONG, BOOLEAN);
|
||||||
|
|
||||||
#ifndef FSCTL_SET_SPARSE
|
#ifndef FSCTL_SET_SPARSE
|
||||||
#define FSCTL_SET_SPARSE 0x000900C4
|
#define FSCTL_SET_SPARSE 0x000900C4
|
||||||
|
|||||||
Reference in New Issue
Block a user