fix install_mouse_keybord_hook
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user