How to determine the desktop type??
-
Hi Gurus, I have a simple application, which pops a message box if it is invoked in a pre-logon mode (i.e. when the system displays the login screen). How do I get to know if the application is invoked before the user is logged on?? I tried using
GetProcessWindowStation()
- but this doesn't help. NOTE: The application will be invoked from a service. Thanks in advance.
Sunil
-
Hi Gurus, I have a simple application, which pops a message box if it is invoked in a pre-logon mode (i.e. when the system displays the login screen). How do I get to know if the application is invoked before the user is logged on?? I tried using
GetProcessWindowStation()
- but this doesn't help. NOTE: The application will be invoked from a service. Thanks in advance.
Sunil
How about
GetUserName()
orNetWkstaGetInfo(102) or `NetWkstaUserEnum()`
?"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons