[CMAKE]
[reactos.git] / subsystems / win32 / win32k / ntuser / hook.c
index 40d847b..466232d 100644 (file)
@@ -1003,6 +1003,10 @@ co_HOOK_CallHooks( INT HookId,
 
        ClientInfo = pti->pClientInfo;
        SaveHook = pti->sphkCurrent;
+       /* Note: Setting pti->sphkCurrent will also lock the next hook to this
+        *       hook ID. So, the CallNextHookEx will only call to that hook ID
+        *       chain anyway. For Thread Hooks....
+        */
 
        /* Load it for the next call. */
        pti->sphkCurrent = Hook;