Revert "[DBGHELP] Set LastError for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND."

This reverts commit b2bcd8afdd.

It will be applied later through winesync script
This commit is contained in:
Jérôme Gardou 2020-09-11 15:40:47 +02:00
parent 555f98267c
commit 92cf32b433

View file

@ -455,7 +455,7 @@ struct module* module_find_by_addr(const struct process* pcs, DWORD64 addr,
return module;
}
}
SetLastError(ERROR_MOD_NOT_FOUND);
SetLastError(ERROR_INVALID_ADDRESS);
return module;
}