added setupapi hook to elisabeth

This commit is contained in:
2021-12-29 21:58:00 -05:00
committed by Hay1tsme
parent 31d1ffe24f
commit 40ce4d1bb3
4 changed files with 27 additions and 28 deletions

View File

@ -284,6 +284,8 @@ static HMODULE WINAPI hook_LoadLibraryW(const wchar_t *name)
{
HMODULE result;
dprintf("hook_LoadLibraryW: Loading %S\n", name);
if (name == NULL) {
SetLastError(ERROR_INVALID_PARAMETER);