This repository was archived by the owner on Jul 26, 2023. It is now read-only.
This repository was archived by the owner on Jul 26, 2023. It is now read-only.
LOADED_IMAGE is not marshaled correctly #398
Closed
Description
The fields fSystemImage
, fDOSImage
, and fReadOnly
must be marshaled as 1-byte BOOLEAN
values; please use UnmanagedType.U1
for them. At present they are marshaled as 4-byte BOOL
values (UnmanagedType.Bool
), which corrupts data in the LOADED_IMAGE
structure. In addition, it would be better to change the type of the SizeOfImage
field to uint
.