[ros-diffs] [jimtabor] 41680: - Fix build: use gpsi->dwInstalledEventHooks instead of gpsi->SrvEventActivity

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Mon Jun 29 08:07:16 CEST 2009


Author: jimtabor
Date: Mon Jun 29 10:07:15 2009
New Revision: 41680

URL: http://svn.reactos.org/svn/reactos?rev=41680&view=rev
Log:
- Fix build: use gpsi->dwInstalledEventHooks instead of gpsi->SrvEventActivity

Modified:
    trunk/reactos/dll/win32/user32/windows/hook.c

Modified: trunk/reactos/dll/win32/user32/windows/hook.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/hook.c?rev=41680&r1=41679&r2=41680&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/hook.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/hook.c [iso-8859-1] Mon Jun 29 10:07:15 2009
@@ -316,7 +316,7 @@
 // "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 @@
 {
   if ((PW32THREADINFO)NtCurrentTeb()->Win32ThreadInfo)
   {
-     return (g_psi->SrvEventActivity & GetMaskFromEvent(event)) != 0;
+     return (g_psi->dwInstalledEventHooks & GetMaskFromEvent(event)) != 0;
   }
   return FALSE;
 }



More information about the Ros-diffs mailing list