Detecting Keyboard Hooks

后端 未结 4 1023
陌清茗
陌清茗 2020-12-09 17:45

Is there a way to detect which programs or modules are listening to a keyboard hook? By Sysinternals maybe?

4条回答
  •  [愿得一人]
    2020-12-09 18:03

    I don't think you can, there's no GetWindowsHook function that would return the hook(s). Also, I'm under the impression that the main keyboard processing routine is hooked through SetWindowsHookEx(), so even if there are no hooks, there's at least one, Windows itself.

提交回复
热议问题