fix function call arguments

This commit is contained in:
zeffy
2018-02-09 13:43:18 -08:00
parent 9db762965f
commit 694a514d5a

View File

@@ -94,7 +94,7 @@ DWORD WINAPI ThreadStartCallback(LPVOID pParam)
str = (LPWSTR)RegQueryValueExAlloc(HKEY_LOCAL_MACHINE,
L"SYSTEM\\CurrentControlSet\\services\\wuauserv\\Parameters",
L"ServiceDll", NULL, NULL);
g_pszWUServiceDll = ExpandEnvironmentStringsAlloc(str);
g_pszWUServiceDll = ExpandEnvironmentStringsAlloc(str, NULL);
free(str);
DetourTransactionBegin();