From 02d60e7437b7ee8a279b5d268b3ddc1a5a3bd596 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 10 Feb 2016 01:58:23 -0500 Subject: nt_file.h: defined NT_FILE_GENERIC_WRITE. --- include/ntapi/nt_file.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h index 3bdd085..e14c0d0 100644 --- a/include/ntapi/nt_file.h +++ b/include/ntapi/nt_file.h @@ -295,6 +295,13 @@ typedef enum _nt_fs_info_class { #define NT_FILE_READ_ATTRIBUTES (0x0080u) #define NT_FILE_WRITE_ATTRIBUTES (0x0100u) +#define NT_FILE_GENERIC_WRITE NT_FILE_WRITE_ATTRIBUTES \ + | NT_FILE_WRITE_DATA \ + | NT_FILE_WRITE_EA \ + | NT_FILE_APPEND_DATA \ + | NT_SEC_READ_CONTROL \ + | NT_SEC_SYNCHRONIZE + #define NT_FILE_ALL_ACCESS NT_FILE_ANY_ACCESS \ | NT_FILE_READ_ACCESS \ | NT_FILE_WRITE_ACCESS \ -- cgit v1.2.3