How can I intercept all key events, including ctrl+alt+del and ctrl+tab?

后端 未结 12 1391
眼角桃花
眼角桃花 2020-11-28 13:06

I\'m writing a screen saver type app that needs to stop the user from accessing the system without typing a password. I want to catch/supress the various methods a user migh

12条回答
  •  一生所求
    2020-11-28 13:32

    It is possible to intercept crtl+alt+del, though obviously Microsoft made it very difficult to do, because then you could pop-up a fake lock dialog, and record people's passwords.

    The answer is to write a device driver. I can't remember if you can just use a plain old keyboard filter, or if you have to write a keyboard ISR. Either way, its certainly possible, but with great pain if you have no driver experience.

提交回复
热议问题