[PATCH 2/2] include: Fix LDR_DATA_TABLE_ENTRY definition.

Paul Gofman pgofman at codeweavers.com
Mon Oct 18 07:06:47 CDT 2021


Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
    LDR_DATA_TABLE_ENTRY generally matches at least Windows 8 structure. SecionHandle and CheckSum
    were removed there.
    This fixes, in particular, DdagNode field offset which I verified is correct with this patch.

 include/winternl.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/winternl.h b/include/winternl.h
index 6b1c5b11b4f..f1272518dbb 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -3323,8 +3323,7 @@ typedef struct _LDR_DATA_TABLE_ENTRY
     ULONG               Flags;
     SHORT               LoadCount;
     SHORT               TlsIndex;
-    HANDLE              SectionHandle;
-    ULONG               CheckSum;
+    LIST_ENTRY          HashLinks;
     ULONG               TimeDateStamp;
     HANDLE              ActivationContext;
     void*               Lock;
-- 
2.31.1




More information about the wine-devel mailing list