在Windows c ++中禁用键盘? [英] Disabling the keyboard in windows c++?
问题描述
如何在Windows中使用c ++完全禁用键盘?完全禁用我的意思是,即使 Ctrl + Alt + Delete 我考虑使用键盘驱动程序,但我认为你需要重新启动计算机安装后,但由于我只需要禁用它几分钟,这不会真的工作。
b b 拦截 Ctrl + Alt + Del 键的一个进程,即使所有其他事件挂起或死亡。
这是针对恶意会话等的故障保护。因此没有明显的解决方法。
也许键盘过滤器驱动程序会使您的请求成为可能,一个真正的内核驱动程序。
How can I completely disable the keyboard using c++ in windows? And by completely disable I mean so even Ctrl+Alt+Delete doesn't work. I did consider using a keyboard driver but I think you need to restart the computer after it is installed, but since I only need to disable it for a couple minutes that wouldn't really work.
This is not really possible.
WinLogon is designed as the one process that intercepts the Ctrl+Alt+Del key press, even when all other things hang or die. This is the failsafe against malicious sessions, etc. So there is no obvious workaround.
Maybe a keyboard filter driver would make your request possible, but that is a real kernel-driver.
这篇关于在Windows c ++中禁用键盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!