https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ede5ec65c2451bd060de2…
commit ede5ec65c2451bd060de2fd6158ec14a67a3ea39
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Mon Apr 22 13:03:24 2019 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Aug 15 18:04:57 2019 +0200
[PSDK] dbghelp.h: Fix 64 bit version of LOADED_IMAGE
---
sdk/include/psdk/dbghelp.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sdk/include/psdk/dbghelp.h b/sdk/include/psdk/dbghelp.h
index b26908a6730..aa0cdff1c69 100644
--- a/sdk/include/psdk/dbghelp.h
+++ b/sdk/include/psdk/dbghelp.h
@@ -99,7 +99,11 @@ typedef struct _LOADED_IMAGE
PSTR ModuleName;
HANDLE hFile;
PUCHAR MappedAddress;
- PIMAGE_NT_HEADERS FileHeader;
+#ifdef _IMAGEHLP64
+ PIMAGE_NT_HEADERS64 FileHeader;
+#else
+ PIMAGE_NT_HEADERS32 FileHeader;
+#endif
PIMAGE_SECTION_HEADER LastRvaSection;
ULONG NumberOfSections;
PIMAGE_SECTION_HEADER Sections;