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>
This commit is contained in:
parent
8d096fb5e2
commit
6c3418914d
|
@ -436,7 +436,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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue