0

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.

Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76

1 Answers1

2

I think you want to look at the WM_WTSSESSION_CHANGE message.

Zach Hirsch
  • 24,631
  • 8
  • 32
  • 29