https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1a20474d99dbf03e4e432…
commit 1a20474d99dbf03e4e432f9407f1e9bce4a57263
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Fri Sep 11 16:03:20 2020 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Sep 16 10:35:41 2020 +0200
[WINESYNC] dbghelp: Add SymGetExtendedOption/SymSetExtendedOption stubs.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 3fed8787251882c70eeadefb230cd2ff4b251ac2 by Alistair Leslie-Hughes
<leslie_alistair(a)hotmail.com>
---
dll/win32/dbghelp/compat.h | 5 +++++
dll/win32/dbghelp/dbghelp.c | 20 ++++++++++++++++++++
dll/win32/dbghelp/dbghelp.spec | 2 ++
sdk/include/psdk/dbghelp.h | 8 ++++++++
sdk/tools/winesync/dbghelp.cfg | 2 +-
5 files changed, 36 insertions(+), 1 deletion(-)
diff --git a/dll/win32/dbghelp/compat.h b/dll/win32/dbghelp/compat.h
index 2a212e60558..3a6137eca9a 100644
--- a/dll/win32/dbghelp/compat.h
+++ b/dll/win32/dbghelp/compat.h
@@ -1296,6 +1296,11 @@ typedef struct API_VERSION
USHORT Revision;
USHORT Reserved;
} API_VERSION, *LPAPI_VERSION;
+typedef enum
+{
+ SYMOPT_EX_DISABLEACCESSTIMEUPDATE,
+ SYMOPT_EX_MAX
+} IMAGEHLP_EXTENDED_OPTIONS;
// cvconst.h
/* symbols & types enumeration */
diff --git a/dll/win32/dbghelp/dbghelp.c b/dll/win32/dbghelp/dbghelp.c
index 76ea6e62470..3c3350d8213 100644
--- a/dll/win32/dbghelp/dbghelp.c
+++ b/dll/win32/dbghelp/dbghelp.c
@@ -467,6 +467,26 @@ DWORD WINAPI SymGetOptions(void)
return dbghelp_options;
}
+/******************************************************************
+ * SymSetExtendedOption (DBGHELP.@)
+ *
+ */
+BOOL WINAPI SymSetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option, BOOL value)
+{
+ FIXME("%d, %d\n", option, value);
+ return FALSE;
+}
+
+/******************************************************************
+ * SymGetExtendedOption (DBGHELP.@)
+ *
+ */
+BOOL WINAPI SymGetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option)
+{
+ FIXME("%d\n", option);
+ return FALSE;
+}
+
/******************************************************************
* SymSetParentWindow (DBGHELP.@)
*
diff --git a/dll/win32/dbghelp/dbghelp.spec b/dll/win32/dbghelp/dbghelp.spec
index 95cebca63d8..880015fa066 100644
--- a/dll/win32/dbghelp/dbghelp.spec
+++ b/dll/win32/dbghelp/dbghelp.spec
@@ -83,6 +83,7 @@
@ stdcall SymFromTokenW(ptr double long ptr)
@ stdcall SymFunctionTableAccess(long long)
@ stdcall SymFunctionTableAccess64(long int64)
+@ stdcall SymGetExtendedOption(long)
@ stdcall SymGetFileLineOffsets64(ptr str str ptr long)
@ stdcall SymGetHomeDirectory(long str ptr)
@ stdcall SymGetHomeDirectoryW(long str ptr)
@@ -157,6 +158,7 @@
@ stdcall SymSearch(long int64 long long str int64 ptr ptr long)
@ stdcall SymSearchW(long int64 long long wstr int64 ptr ptr long)
@ stdcall SymSetContext(long ptr ptr)
+@ stdcall SymSetExtendedOption(long long)
@ stdcall SymSetHomeDirectory(long str)
@ stdcall SymSetHomeDirectoryW(long wstr)
@ stdcall SymSetOptions(long)
diff --git a/sdk/include/psdk/dbghelp.h b/sdk/include/psdk/dbghelp.h
index 00843b69978..549155229c5 100644
--- a/sdk/include/psdk/dbghelp.h
+++ b/sdk/include/psdk/dbghelp.h
@@ -2313,6 +2313,11 @@ typedef struct _IMAGE_DEBUG_INFORMATION
DWORD Reserved[ 2 ];
} IMAGE_DEBUG_INFORMATION, *PIMAGE_DEBUG_INFORMATION;
+typedef enum
+{
+ SYMOPT_EX_DISABLEACCESSTIMEUPDATE,
+ SYMOPT_EX_MAX
+} IMAGEHLP_EXTENDED_OPTIONS;
PIMAGE_DEBUG_INFORMATION
WINAPI
@@ -2327,6 +2332,9 @@ BOOL WINAPI UnmapDebugInformation(_Out_ PIMAGE_DEBUG_INFORMATION);
DWORD WINAPI SymGetOptions(void);
DWORD WINAPI SymSetOptions(_In_ DWORD);
+BOOL WINAPI SymGetExtendedOption(_In_ IMAGEHLP_EXTENDED_OPTIONS option);
+BOOL WINAPI SymSetExtendedOption(_In_ IMAGEHLP_EXTENDED_OPTIONS option, _In_ BOOL
value);
+
BOOL WINAPI SymSetParentWindow(_In_ HWND);
BOOL
diff --git a/sdk/tools/winesync/dbghelp.cfg b/sdk/tools/winesync/dbghelp.cfg
index fb8b2e28649..58583d4c5fe 100644
--- a/sdk/tools/winesync/dbghelp.cfg
+++ b/sdk/tools/winesync/dbghelp.cfg
@@ -4,4 +4,4 @@ files:
include/dbghelp.h: sdk/include/psdk/dbghelp.h
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
tags:
- wine: 48a74277f5f9e0c87d8c01457236a89d94cb71d3
+ wine: 3fed8787251882c70eeadefb230cd2ff4b251ac2