Diff

Not logged in

Differences From Artifact [f644874abd87ad5a]:

To Artifact [2e201cc81211b5e1]:


102 102 USHORT Length; 103 103 USHORT MaximumLength; 104 104 PCHAR Buffer; 105 105 } 106 106 alias STRING* PSTRING; 107 107 +/ 108 108 109 -alias HANDLE SAM_HANDLE; 110 -alias HANDLE* PSAM_HANDLE; 109 +mixin DECLARE_HANDLE!("SAM_HANDLE"); 110 +alias SAM_HANDLE* PSAM_HANDLE; 111 111 112 112 struct OLD_LARGE_INTEGER { 113 113 ULONG LowPart; 114 114 LONG HighPart; 115 115 } 116 116 alias OLD_LARGE_INTEGER* POLD_LARGE_INTEGER; 117 117 ................................................................................ 127 127 128 128 129 129 const CYPHER_BLOCK_LENGTH = 8; 130 130 const USER_SESSION_KEY_LENGTH = CYPHER_BLOCK_LENGTH * 2; 131 131 const CLEAR_BLOCK_LENGTH = 8; 132 132 133 133 struct CYPHER_BLOCK { 134 - CHAR data[CYPHER_BLOCK_LENGTH]; 134 + CHAR[CYPHER_BLOCK_LENGTH] data; 135 135 } 136 136 alias CYPHER_BLOCK* PCYPHER_BLOCK; 137 137 138 138 struct CLEAR_BLOCK { 139 - CHAR data[CLEAR_BLOCK_LENGTH]; 139 + CHAR[CLEAR_BLOCK_LENGTH] data; 140 140 } 141 141 alias CLEAR_BLOCK* PCLEAR_BLOCK; 142 142 143 143 struct LM_OWF_PASSWORD { 144 - CYPHER_BLOCK data[2]; 144 + CYPHER_BLOCK[2] data; 145 145 } 146 146 alias LM_OWF_PASSWORD* PLM_OWF_PASSWORD; 147 147 148 148 struct USER_SESSION_KEY { 149 - CYPHER_BLOCK data[2]; 149 + CYPHER_BLOCK[2] data; 150 150 } 151 151 alias USER_SESSION_KEY* PUSER_SESSION_KEY; 152 152 153 153 alias CLEAR_BLOCK LM_CHALLENGE; 154 154 alias LM_CHALLENGE* PLM_CHALLENGE; 155 155 156 156 alias LM_OWF_PASSWORD NT_OWF_PASSWORD;