[WINESYNC] dbghelp: Set last error for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.

Signed-off-by: Andreas Maier <staubim@quantentunnel.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 6c3418914df3196bf5a464649ef302a5e942dd90 by Andreas Maier <staubim@quantentunnel.de>
This commit is contained in:
winesync 2020-09-11 15:55:23 +02:00 committed by Jérôme Gardou
parent 575196093a
commit 9a139418eb
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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