[PSDK] "Fix" _SYMBOL_INFO structure, by replacing "info" member with a union of Index...
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 20 Mar 2016 17:11:49 +0000 (17:11 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 20 Mar 2016 17:11:49 +0000 (17:11 +0000)
svn path=/trunk/; revision=71029

reactos/include/psdk/dbghelp.h

index 31d9d1b..0ffc36b 100644 (file)
@@ -1065,7 +1065,10 @@ typedef struct _SYMBOL_INFO
     ULONG       SizeOfStruct;
     ULONG       TypeIndex;
     ULONG64     Reserved[2];
     ULONG       SizeOfStruct;
     ULONG       TypeIndex;
     ULONG64     Reserved[2];
-    ULONG       info;   /* sdk states info, while MSDN says it's Index... */
+    union {
+      ULONG       info;   /* wrong, but wine needs it */
+      ULONG       Index;
+    };
     ULONG       Size;
     ULONG64     ModBase;
     ULONG       Flags;
     ULONG       Size;
     ULONG64     ModBase;
     ULONG       Flags;