How to install hook procedure that monitors keystroke messages (WH_KEYBOARD_DLL or WH_KEYBOARD) using Easyhook C++

266 Views Asked by At

I'm using Easyhook to hook keystrokes, but I don't understand how Easyhook works. How to install a hook to hook KeyboardProc (callback function). This is API of the LhInstallHook:

static void LhInstallHook(
    IntPtr InEntryPoint, 
    IntPtr InHookProc, 
    IntPtr InCallback, 
    IntPtr OutHandle
)
0

There are 0 best solutions below