mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
- Fix build: use gpsi->dwInstalledEventHooks instead of gpsi->SrvEventActivity
svn path=/trunk/; revision=41680
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user