mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[DBGHELP] Set LastError for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.
Correct last error in module_find_by_addr.
This commit is contained in:
parent
6175044aed
commit
b2bcd8afdd
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,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 a new issue