[PSDK] dbghelp.h: Fix 64 bit version of LOADED_IMAGE
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 22 Apr 2019 11:03:24 +0000 (13:03 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 15 Aug 2019 16:04:57 +0000 (18:04 +0200)
sdk/include/psdk/dbghelp.h

index b26908a..aa0cdff 100644 (file)
@@ -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;