From 817f8b468a3e87961438c96b431a6d5814204a09 Mon Sep 17 00:00:00 2001 From: maowenrui <3505719167@qq.com> Date: Thu, 8 Oct 2026 10:05:41 +0800 Subject: [PATCH] fix install_mouse_keybord_hook --- Anti-Cheat_Driver/mouse_keybord_hook.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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