How do I detect the 2 states of “Switch User” in Windows
-
03-07-2019 - |
Question
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.
Solution
I think you want to look at the WM_WTSSESSION_CHANGE
message.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow