[PATCH] include: Fix LDR_DATA_TABLE_ENTRY definition.
Paul Gofman
pgofman at codeweavers.com
Mon Sep 27 12:57:03 CDT 2021
SectionPointer and CheckSum were replaced by HashLinks
in the native structure version currently followed in Wine.
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
Based on the data from here: https://www.geoffchappell.com/studies/windows/km/ntoskrnl/inc/api/ntldr/ldr_data_table_entry.htm?tx=207,242
Spotted while trying to examine the data pointed by DdagNode.
include/winternl.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/winternl.h b/include/winternl.h
index 466ade070c4..63a91c2b069 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -3318,8 +3318,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