diff --git a/Anti-Cheat_Driver/mouse_keybord_hook.cpp b/Anti-Cheat_Driver/mouse_keybord_hook.cpp index 1abed12..db9094c 100644 --- a/Anti-Cheat_Driver/mouse_keybord_hook.cpp +++ b/Anti-Cheat_Driver/mouse_keybord_hook.cpp @@ -66,6 +66,7 @@ namespace mouse_keybord_hook { if (_ntSendInput[0] == 0xff || _ntSendInput[1] == 0x25) return TRUE; + else return FALSE; } auto os = utils::GetVersion(); @@ -80,7 +81,7 @@ namespace mouse_keybord_hook //kernel_function::ke_unstack_detach_process(apc_state); //ObDereferenceObject(_eprocess_process); - return 0; + return TRUE; } auto remove_mouse_keybord_hook() -> BOOL