[CMD][SERVMAN][SHELL32][WINSPOOL][ROSAPPS][NTOS:PNP] Fix my build.

This commit is contained in:
Hermès Bélusca-Maïto 2020-08-20 17:47:40 +02:00
parent ec0853ba70
commit 3c722e35b1
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
8 changed files with 23 additions and 17 deletions

View file

@ -16,6 +16,7 @@ static void execute_test(LPCWSTR DllFile)
HRESULT hr;
HANDLE hEvent;
DWORD dwRet;
HMODULE mod;
hEvent = CreateEventA(NULL, TRUE, FALSE, "Local\\shlwapi_apitest_evt");
@ -24,7 +25,7 @@ static void execute_test(LPCWSTR DllFile)
ok_hex(dwRet, WAIT_TIMEOUT);
// Ensure the module is not loaded yet...
HMODULE mod = GetModuleHandleW(DllFile);
mod = GetModuleHandleW(DllFile);
if (mod != NULL)
{
CloseHandle(hEvent);