 
 TYPEDEF: TRUSTEE* PTRUSTEE
 
-C-STRUCT: TRUSTEE
-    { "PTRUSTEE" "pMultipleTrustee" }
-    { "MULTIPLE_TRUSTEE_OPERATION" "MultipleTrusteeOperation" }
-    { "TRUSTEE_FORM" "TrusteeForm" }
-    { "TRUSTEE_TYPE" "TrusteeType" }
-    { "LPTSTR" "ptstrName" } ;
-
-C-STRUCT: EXPLICIT_ACCESS
-    { "DWORD" "grfAccessPermissions" }
-    { "ACCESS_MODE" "grfAccessMode" }
-    { "DWORD" "grfInheritance" }
-    { "TRUSTEE" "Trustee" } ;
-
-C-STRUCT: SID_IDENTIFIER_AUTHORITY
-    { { "BYTE" 6 } "Value" } ;
+STRUCT: TRUSTEE
+    { pMultipleTrustee PTRUSTEE }
+    { MultipleTrusteeOperation MULTIPLE_TRUSTEE_OPERATION }
+    { TrusteeForm TRUSTEE_FORM }
+    { TrusteeType TRUSTEE_TYPE }
+    { ptstrName LPTSTR } ;
+
+STRUCT: EXPLICIT_ACCESS
+    { grfAccessPermissions DWORD }
+    { grfAccessMode ACCESS_MODE }
+    { grfInheritance DWORD }
+    { Trustee TRUSTEE } ;
+
+STRUCT: SID_IDENTIFIER_AUTHORITY
+    { Value { BYTE 6 } } ;
 
 TYPEDEF: SID_IDENTIFIER_AUTHORITY* PSID_IDENTIFIER_AUTHORITY
 

CONSTANT: INHERIT_ONLY_ACE HEX: 8
CONSTANT: VALID_INHERIT_FLAGS HEX: f

C-STRUCT: ACE_HEADER
    { "BYTE" "AceType" }
    { "BYTE" "AceFlags" }
    { "WORD" "AceSize" } ;

TYPEDEF: ACE_HEADER* PACE_HEADER

C-STRUCT: ACCESS_ALLOWED_ACE
    { "ACE_HEADER" "Header" }
    { "DWORD" "Mask" }
    { "DWORD" "SidStart" } ;

TYPEDEF: ACCESS_ALLOWED_ACE* PACCESS_ALLOWED_ACE

C-STRUCT: ACCESS_DENIED_ACE
    { "ACE_HEADER" "Header" }
    { "DWORD" "Mask" }
    { "DWORD" "SidStart" } ;
TYPEDEF: ACCESS_DENIED_ACE* PACCESS_DENIED_ACE


C-STRUCT: SYSTEM_AUDIT_ACE
    { "ACE_HEADER" "Header" }
    { "DWORD" "Mask" }
    { "DWORD" "SidStart" } ;

TYPEDEF: SYSTEM_AUDIT_ACE* PSYSTEM_AUDIT_ACE

C-STRUCT: SYSTEM_ALARM_ACE
    { "ACE_HEADER" "Header" }
    { "DWORD" "Mask" }
    { "DWORD" "SidStart" } ;

TYPEDEF: SYSTEM_ALARM_ACE* PSYSTEM_ALARM_ACE

C-STRUCT: ACCESS_ALLOWED_CALLBACK_ACE
    { "ACE_HEADER" "Header" }
    { "DWORD" "Mask" }
    { "DWORD" "SidStart" } ;

TYPEDEF: ACCESS_ALLOWED_CALLBACK_ACE* PACCESS_ALLOWED_CALLBACK_ACE

C-STRUCT: SECURITY_DESCRIPTOR
    { "UCHAR" "Revision" }
    { "UCHAR" "Sbz1" }
    { "WORD" "Control" }
    { "PVOID" "Owner" }
    { "PVOID" "Group" }
    { "PACL" "Sacl" }
    { "PACL" "Dacl" } ;

TYPEDEF: SECURITY_DESCRIPTOR* PSECURITY_DESCRIPTOR


CONSTANT: CRYPT_MACHINE_KEYSET HEX: 20
CONSTANT: CRYPT_SILENT         HEX: 40

STRUCT: ACL
    { AclRevision BYTE }
    { Sbz1 BYTE }
    { AclSize WORD }
    { AceCount WORD }
    { Sbz2 WORD } ;

TYPEDEF: ACL* PACL

