|
If I was you I would start the game under a debugger and make the function "SetWindowsHookEx" always return 1 or 0 (try and error)..
(NULL -> Hooking failed, !NULL -> Handle)
Maybe the game ignores if the hooking failed and continues anyways so you can let the function return "0". If it does not, maybe it accepts an invalid handle like "1".
|