From 15f261eec583ff51acdb68cbdae4e71e386ff53e Mon Sep 17 00:00:00 2001 From: James Tabor Date: Mon, 29 Jun 2009 06:07:15 +0000 Subject: [PATCH] - Fix build: use gpsi->dwInstalledEventHooks instead of gpsi->SrvEventActivity svn path=/trunk/; revision=41680 --- reactos/dll/win32/user32/windows/hook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/user32/windows/hook.c b/reactos/dll/win32/user32/windows/hook.c index 26d9a184314..aae11431709 100644 --- a/reactos/dll/win32/user32/windows/hook.c +++ b/reactos/dll/win32/user32/windows/hook.c @@ -316,7 +316,7 @@ NotifyWinEvent( // "Servers call NotifyWinEvent to announce the event to the system after the // event has occurred; they must never notify the system of an event before // the event has occurred." msdn on NotifyWinEvent. - if (g_psi->SrvEventActivity & GetMaskFromEvent(event)) // Check to see. + if (g_psi->dwInstalledEventHooks & GetMaskFromEvent(event)) // Check to see. NtUserNotifyWinEvent(event, hwnd, idObject, idChild); } @@ -371,7 +371,7 @@ IsWinEventHookInstalled( { if ((PW32THREADINFO)NtCurrentTeb()->Win32ThreadInfo) { - return (g_psi->SrvEventActivity & GetMaskFromEvent(event)) != 0; + return (g_psi->dwInstalledEventHooks & GetMaskFromEvent(event)) != 0; } return FALSE; }