https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9a139418eb5bdfb00c12d…
commit 9a139418eb5bdfb00c12dc5545372252bb9254ca
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Fri Sep 11 15:55:23 2020 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Sep 16 10:35:39 2020 +0200
[WINESYNC] dbghelp: Set last error for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.
Signed-off-by: Andreas Maier <staubim(a)quantentunnel.de>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 6c3418914df3196bf5a464649ef302a5e942dd90 by Andreas Maier
<staubim(a)quantentunnel.de>
---
dll/win32/dbghelp/module.c | 2 +-
sdk/tools/winesync/dbghelp.cfg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/dbghelp/module.c b/dll/win32/dbghelp/module.c
index 0c3cdda3d65..8a47c152c25 100644
--- a/dll/win32/dbghelp/module.c
+++ b/dll/win32/dbghelp/module.c
@@ -455,7 +455,7 @@ struct module* module_find_by_addr(const struct process* pcs, DWORD64
addr,
return module;
}
}
- SetLastError(ERROR_INVALID_ADDRESS);
+ SetLastError(ERROR_MOD_NOT_FOUND);
return module;
}
diff --git a/sdk/tools/winesync/dbghelp.cfg b/sdk/tools/winesync/dbghelp.cfg
index 9c666dfc02c..c852ca21564 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: 8d096fb5e262e5e87866d1a4a397da144a09b635
+ wine: 6c3418914df3196bf5a464649ef302a5e942dd90