mdlittle
asked on
getting notification when a users logs on and off
I am writing a service application and would like to know if there is a way to be notified by windows (2000, XP) when a user logs on and off the computer.
w Fox is right
The WM_USERCHANGED message is sent to all windows after the user has logged on or off. When the user logs on or off, the system updates the user-specific settings. The system sends this message immediately after updating the settings.
WM_USERCHANGED
wParam = 0; // not used, must be zero
lParam = 0; // not used, must be zero
The WM_USERCHANGED message is sent to all windows after the user has logged on or off. When the user logs on or off, the system updates the user-specific settings. The system sends this message immediately after updating the settings.
WM_USERCHANGED
wParam = 0; // not used, must be zero
lParam = 0; // not used, must be zero
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
W_Fox