How do I detect the 2 states of “Switch User” in Windows

拈花ヽ惹草 提交于 2019-12-08 09:31:19

问题


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.

Thanks.


回答1:


I think you want to look at the WM_WTSSESSION_CHANGE message.



来源:https://stackoverflow.com/questions/416313/how-do-i-detect-the-2-states-of-switch-user-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!