Commit 6c341891 authored by Andreas Maier's avatar Andreas Maier Committed by Alexandre Julliard

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

parent 8d096fb5
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment