|
-
Sep 11th, 2001, 05:23 PM
#1
Detecting If logged in or not
My program runs as a service during windows startup. I want it to detect when the user has logged into windows so it can automatically add an icon to the Tray when it loads. Or is the System Tray already loaded when the login screen is shown, but just not visible? (probably not) Does anyone have any ideas?
-
Sep 13th, 2001, 10:02 AM
#2
Try the GetUserName API. If the results are Null, then no one is logged in.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|