[TASKMGR] Process page: Allow using "Open File Location" functionality without runnin...
[reactos.git] / dll / win32 / advapi32 / service / eventlog.c
index 9a4617a..028e5d2 100644 (file)
@@ -655,7 +655,7 @@ ElfChangeNotify(IN HANDLE hEventLog,
 
     RpcTryExcept
     {
-        Status = ElfrChangeNotify(hEventLog, RpcClientId, (DWORD)hEvent);
+        Status = ElfrChangeNotify(hEventLog, RpcClientId, HandleToUlong(hEvent));
     }
     RpcExcept(EXCEPTION_EXECUTE_HANDLER)
     {