Ctrl Alt Del的Windows通知 [英] Windows notification for Ctrl Alt Del

查看:63
本文介绍了Ctrl Alt Del的Windows通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当按下控制备用删除"按钮时,什么Windows消息发送到系统中的Windows?

What Windows Message is send to windows in the system, when Control Alternative Delete buttons where pressed?

推荐答案

没有一个.

系统从未看到过这种键盘组合,因为它在Windows XP及以下版本的GINA和(我相信)在Windows Vista及以上版本的WinLogon中被拦截.

如果您试图截取此组合键,则出于非常明显的原因,您将无法执行此操作.
There isn''t one.

The system never sees this keyboard combination as it is intercepted by GINA on Windows XP and below and (I believe) WinLogon in Windows Vista and above.

If your''e trying to intercept this key combination, you can''t - for a very obvious reason.


无法截取CTRL-ALT-DELETE键盘序列用户模式应用程序. 限制"是有意的,旨在阻止应用程序欺骗登录过程.简而言之,该系统在不允许它方面表现出色(更加安全).请参阅此链接以了解 SAS [
It is not possible to intercept the CTRL-ALT-DELETE keyboard sequence in a user mode application. The "limitation" is intentional and is designed to stop applications spoofing the logon process. In short, the system is superior for not allowing it (it''s more serure). See this link to learn about the SAS[^].


我不知道您认为Direct3D游戏(您在评论中提到)直接处理了Ctrl-Alt-Del.但是他们有可以优雅地处理中断的代码.因此,如果游戏在全屏模式下运行并被Ctrl-Alt-Del中断,则游戏不知道这一点,但是当控制权恢复时,它会以某种方式检测到中断(可能是通过键盘或鼠标输入,或者是计时器,然后是优雅地将游戏界面恢复到其最后的已知状态-尽管某些游戏不能正确执行此操作,并且只会崩溃,但这是实现错误.
I don''t think the Direct3D games (you mentioned in your comment) handle Ctrl-Alt-Del directly. But they have code that will handle an interruption elegantly. So if the game''s running fullscreen and is interrupted by Ctrl-Alt-Del, the game does not know this but when control resumes, it somehow detects the interruption (perhaps from keyboard or mouse input, or a timer, and then elegantly restores the game surface to it''s last known state - although some games don''t do this properly and will just crash, but that''s an implementation error.


这篇关于Ctrl Alt Del的Windows通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆