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