Detecting Keyboard Hooks Detecting Keyboard Hooks windows windows

Detecting Keyboard Hooks


It largely depends on what level of abstraction are you obtaining your key presses.
For maximum detection you could use hardware directly or go as low as possible (some hooks work at HW driver-level).

For security purposes, you could also use a virtual keyboard - hooks would have to be targeted specifically at your application to simulate key presses.


Nope. You would likely have to hook into SetWindowsHookEx() itself in order to detect that.