Disabling the keyboard in windows c++?

后端 未结 6 2088
轻奢々
轻奢々 2021-01-06 13:56

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 di

6条回答
  •  伪装坚强ぢ
    2021-01-06 14:20

    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.

提交回复
热议问题