检测Windows安全性屏幕何时处于活动状态. [英] Detecting when the Windows Security screen is active.

查看:99
本文介绍了检测Windows安全性屏幕何时处于活动状态.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows 7,我在我的应用程序中调用了 WTSRegisterSessionNotification(),这样我可以检测到会话何时被锁定,断开连接等.但是,当我按CTRL + ALT + DELETE时,将显示安全性"屏幕(我想这就是您所要的名称),询问是否锁定,切换用户,打开任务栏等,但我的应用程序未收到WM_WTSSESSION_CHANGE消息-实际上,它没有从Windows接收任何WM_ *消息.

有什么方法可以检测到何时可以看到此屏幕?

这是一个示例顺便说一句,顺便说一句: http://www.sevenforums.com/attachments/tutorials/5896d1237182813-log-screen-change-ctrl_alt_del_screen.jpg

I'm using Windows 7, and I called WTSRegisterSessionNotification() in my app so I could detect when the session is locked, disconnected, etc. It works; however, when I press CTRL+ALT+DELETE, the Security screen (I guess that's what you'd call it) displays, asking whether to Lock, Switch User, Open Taskbar, etc, but my app doesn't receive the WM_WTSSESSION_CHANGE message -- in fact, it doesn't receive any WM_* messages from Windows.

Is there any way to detect when this screen is visible?

Here's an example of what it looks like, BTW: http://www.sevenforums.com/attachments/tutorials/5896d1237182813-log-screen-change-ctrl_alt_del_screen.jpg

推荐答案

这不是会话更改.这是一个桌面更改.不知道如何检测到它.也许通过钩上SwitchDesktop?
It is not a session change. It is a desktop change. Not sure how you detect it. Maybe by hooking SwitchDesktop?


这篇关于检测Windows安全性屏幕何时处于活动状态.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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