summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_file.h7
1 files changed, 7 insertions, 0 deletions
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 \