如何检测“切换用户"的两种状态?在 Windows 中 [英] How do I detect the 2 states of "Switch User" in Windows

查看:28
本文介绍了如何检测“切换用户"的两种状态?在 Windows 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人对 API 有任何经验,让您可以在 Windows XP 下检测切换用户"进程.

I'm wondering if anyone has had any experience with the API that gives you the possibility to detect the "Switch User" process under Windows XP.

我想知道如何检测用户退出帐户以及何时重新进入.

I would like to know how I could detect that a user exits his account and when he re-enters it.

谢谢.

推荐答案

我认为您想查看 WM_WTSSESSION_CHANGE 消息.

I think you want to look at the WM_WTSSESSION_CHANGE message.

这篇关于如何检测“切换用户"的两种状态?在 Windows 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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