 
 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: CRYPT_MACHINE_KEYSET HEX: 20
CONSTANT: CRYPT_SILENT         HEX: 40

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

TYPEDEF: ACL* PACL


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

STRUCT: ACE_HEADER
    { AceType BYTE }
    { AceFlags BYTE }
    { AceSize WORD } ;

TYPEDEF: ACE_HEADER* PACE_HEADER

STRUCT: ACCESS_ALLOWED_ACE
    { Header ACE_HEADER }
    { Mask DWORD }
    { SidStart DWORD } ;

TYPEDEF: ACCESS_ALLOWED_ACE* PACCESS_ALLOWED_ACE

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


STRUCT: SYSTEM_AUDIT_ACE
    { Header ACE_HEADER }
    { Mask DWORD }
    { SidStart DWORD } ;

TYPEDEF: SYSTEM_AUDIT_ACE* PSYSTEM_AUDIT_ACE

STRUCT: SYSTEM_ALARM_ACE
    { Header ACE_HEADER }
    { Mask DWORD }
    { SidStart DWORD } ;

TYPEDEF: SYSTEM_ALARM_ACE* PSYSTEM_ALARM_ACE

STRUCT: ACCESS_ALLOWED_CALLBACK_ACE
    { Header ACE_HEADER }
    { Mask DWORD }
    { SidStart DWORD } ;

TYPEDEF: ACCESS_ALLOWED_CALLBACK_ACE* PACCESS_ALLOWED_CALLBACK_ACE

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

TYPEDEF: SECURITY_DESCRIPTOR* PSECURITY_DESCRIPTOR

