summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_object.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/ntapi/nt_object.h b/include/ntapi/nt_object.h
index f6a97b4..0618c37 100644
--- a/include/ntapi/nt_object.h
+++ b/include/ntapi/nt_object.h
@@ -274,6 +274,30 @@ typedef struct _nt_sid {
} nt_sid;
+typedef struct _nt_sid_os {
+ unsigned char revision;
+ unsigned char sub_authority_count;
+ nt_sid_identifier_authority identifier_authority;
+ uint32_t sub_authority[2];
+} nt_sid_os;
+
+
+typedef struct _nt_sid_user {
+ unsigned char revision;
+ unsigned char sub_authority_count;
+ nt_sid_identifier_authority identifier_authority;
+ uint32_t sub_authority[5];
+} nt_sid_user;
+
+
+typedef struct _nt_sid_any {
+ unsigned char revision;
+ unsigned char sub_authority_count;
+ nt_sid_identifier_authority identifier_authority;
+ uint32_t sub_authority[15];
+} nt_sid_any;
+
+
typedef struct _nt_sid_and_attributes {
nt_sid * sid;
uint32_t attributes;