https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9466a005e9c324940de1e…
commit 9466a005e9c324940de1e5f927dee8c1349c1d3a
Author: Andreas Maier <staubim(a)quantentunnel.de>
AuthorDate: Thu Nov 22 21:34:14 2018 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Fri Apr 19 21:09:44 2019 +0200
[DBGHELP] Add SYMFLAG_- and SYMTYPE_-defines.
---
dll/win32/dbghelp/compat.h | 7 +++++++
sdk/include/psdk/dbghelp.h | 7 +++++++
sdk/include/reactos/wine/mscvpdb.h | 7 +++++++
3 files changed, 21 insertions(+)
diff --git a/dll/win32/dbghelp/compat.h b/dll/win32/dbghelp/compat.h
index 46b07d18c6..a356585253 100644
--- a/dll/win32/dbghelp/compat.h
+++ b/dll/win32/dbghelp/compat.h
@@ -655,6 +655,13 @@ typedef VOID IMAGEHLP_CONTEXT, *PIMAGEHLP_CONTEXT;
#define SYMFLAG_THUNK 0x00002000
#define SYMFLAG_TLSREL 0x00004000
#define SYMFLAG_SLOT 0x00008000
+#define SYMFLAG_ILREL 0x00010000
+#define SYMFLAG_METADATA 0x00020000
+#define SYMFLAG_CLR_TOKEN 0x00040000
+#define SYMFLAG_NULL 0x00080000
+#define SYMFLAG_FUNC_NO_RETURN 0x00100000
+#define SYMFLAG_SYNTHETIC_ZEROBASE 0x00200000
+#define SYMFLAG_PUBLIC_CODE 0x00400000
#define UNDNAME_COMPLETE (0x0000)
#define UNDNAME_NAME_ONLY (0x1000)
typedef struct _TI_FINDCHILDREN_PARAMS
diff --git a/sdk/include/psdk/dbghelp.h b/sdk/include/psdk/dbghelp.h
index 7a379466e9..b26908a673 100644
--- a/sdk/include/psdk/dbghelp.h
+++ b/sdk/include/psdk/dbghelp.h
@@ -1106,6 +1106,13 @@ BOOL WINAPI SymUnloadModule64(_In_ HANDLE, _In_ DWORD64);
#define SYMFLAG_THUNK 0x00002000
#define SYMFLAG_TLSREL 0x00004000
#define SYMFLAG_SLOT 0x00008000
+#define SYMFLAG_ILREL 0x00010000
+#define SYMFLAG_METADATA 0x00020000
+#define SYMFLAG_CLR_TOKEN 0x00040000
+#define SYMFLAG_NULL 0x00080000
+#define SYMFLAG_FUNC_NO_RETURN 0x00100000
+#define SYMFLAG_SYNTHETIC_ZEROBASE 0x00200000
+#define SYMFLAG_PUBLIC_CODE 0x00400000
#define MAX_SYM_NAME 2000
diff --git a/sdk/include/reactos/wine/mscvpdb.h b/sdk/include/reactos/wine/mscvpdb.h
index f11f4065de..af521ffe56 100644
--- a/sdk/include/reactos/wine/mscvpdb.h
+++ b/sdk/include/reactos/wine/mscvpdb.h
@@ -1229,6 +1229,13 @@ union codeview_fieldtype
#define LF_COMPLEX128 0x800f
#define LF_VARSTRING 0x8010
+/* symtype e.g. for public_vx.symtype */
+#define SYMTYPE_NONE 0x0000
+#define SYMTYPE_CODE 0x0001
+#define SYMTYPE_FUNCTION 0x0002
+#define SYMTYPE_MANAGED 0x0004
+#define SYMTYPE_MSIL 0x0008
+
/* ======================================== *
* Symbol information
* ======================================== */