fix: Correct UNICODE_STRING64 definition

Correct the UNICODE_STRING64 definition. The length is only
16 bits, followed by 16 bit max length and 32 bit padding.
pull/1097/head
Max Altgelt 4 years ago
parent 73fee847e6
commit 5f61473ffd
No known key found for this signature in database
GPG Key ID: 52C16AF8F6B69C5A

@ -152,11 +152,13 @@ type rtlUserProcessParameters32 struct {
type rtlUserProcessParameters64 struct {
Reserved1 [16]uint8
Reserved2 [10]uint64
ImagePathNameLength uint32
_ uint32
ImagePathNameLength uint16
_ uint16 // Max Length
_ uint32 // Padding
ImagePathAddress uint64
CommandLineLength uint32
_ uint32
CommandLineLength uint16
_ uint16 // Max Length
_ uint32 // Padding
CommandLineAddress uint64
EnvironmentAddress uint64
// More fields which we don't use so far

@ -137,11 +137,13 @@ type rtlUserProcessParameters32 struct {
type rtlUserProcessParameters64 struct {
Reserved1 [16]uint8
Reserved2 [10]uint64
ImagePathNameLength uint32
_ uint32
ImagePathNameLength uint16
_ uint16 // Max Length
_ uint32 // Padding
ImagePathAddress uint64
CommandLineLength uint32
_ uint32
CommandLineLength uint16
_ uint16 // Max Length
_ uint32 // Padding
CommandLineAddress uint64
EnvironmentAddress uint64
// More fields which we don't use so far

Loading…
Cancel
Save