fix install_mouse_keybord_hook

This commit is contained in:
2026-10-08 10:05:41 +08:00
parent 23f1f4686a
commit 817f8b468a
+2 -1
View File
@@ -66,6 +66,7 @@ namespace mouse_keybord_hook
{ {
if (_ntSendInput[0] == 0xff || _ntSendInput[1] == 0x25) if (_ntSendInput[0] == 0xff || _ntSendInput[1] == 0x25)
return TRUE; return TRUE;
else return FALSE;
} }
auto os = utils::GetVersion(); auto os = utils::GetVersion();
@@ -80,7 +81,7 @@ namespace mouse_keybord_hook
//kernel_function::ke_unstack_detach_process(apc_state); //kernel_function::ke_unstack_detach_process(apc_state);
//ObDereferenceObject(_eprocess_process); //ObDereferenceObject(_eprocess_process);
return 0; return TRUE;
} }
auto remove_mouse_keybord_hook() -> BOOL auto remove_mouse_keybord_hook() -> BOOL