From ba351010ec6c3870498056e4bb98b07a39e70e1c Mon Sep 17 00:00:00 2001 From: James Tabor Date: Mon, 25 Oct 2010 00:15:35 +0000 Subject: [PATCH] [User32] - One more leftover to add. Now we test for both Local and Global hooks in user32. This will force any message sent to win32k if there are any Global hookers so we loose in performance. We need to rethink our usage of these Global hookers in our code. svn path=/trunk/; revision=49268 --- reactos/dll/win32/user32/include/user32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/include/user32.h b/reactos/dll/win32/user32/include/user32.h index c6dbbc7279c..a0472b3ae62 100644 --- a/reactos/dll/win32/user32/include/user32.h +++ b/reactos/dll/win32/user32/include/user32.h @@ -169,7 +169,7 @@ SharedPtrToKernel(PVOID Ptr) static __inline BOOL IsThreadHooked(PCLIENTINFO pci) { - return pci->fsHooks != 0; + return (pci->fsHooks|pci->pDeskInfo->fsHooks) != 0; } static __inline PDESKTOPINFO -- 2.17.1