RE: Winlogon - how to detect that workstation is locked?

From: Jeffrey Tan[MSFT] (v-jetan_at_online.microsoft.com)
Date: 10/31/05


Date: Mon, 31 Oct 2005 07:04:18 GMT

Hi Ondrej,

Thanks for your post.

Based on my understanding, you want to determine if the workstation is
locked.

There is no documented API for determing this, this is confirmed in the
MSDN LockWorkStation API "remarks" section:
"There is no function you can call to determine whether the workstation is
locked."

So you did not miss any API function.

Currently, what I can think of is just the 2 options you listed. And these
2 options are the 2 most recommanded way in newsgroup.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.



Relevant Pages

  • Re: Launch "Windows Security" windows from Process.Start
    ... My intent is to give the user a menu item to lock the workstation. ... for the pointer to the LockWorkStation API. ... > if you wants to lock the workstation, we have API LockWorkStation, and We ...
    (microsoft.public.dotnet.languages.vb)
  • Re: send a screen to another user active
    ... I've a workstation ID for other user, if I input a Workstation ID ... then will appear a pop up windows in workstation ID that I input. ... For the API there is a system value or something that must be set to enable its use; I do not recall the API name. ... The latter case requires that the job has already prepared for the possibility, by activating the message queue by CHGMSGQ. ...
    (comp.sys.ibm.as400.misc)
  • How can I detect whether fast user switching is in use ?
    ... I need to know within my program whether a XP workstation is configured to ... use the fast user switching, ... What API or registry key would give me ...
    (microsoft.public.windowsxp.basics)
  • Detect when a workstation is locked
    ... MSN Messenger that set the status to "Be Right Back" when the workstation is ... Some API? ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: szPname As String * MAXPNAMELEN (How to declare)
    ... I am using GlobalAlloc API to allocate memeory for structure "MIXERCONTROL" ... And then I used following API function to get the mixer control iformation. ... >> Public szShortName As String ...
    (microsoft.public.dotnet.languages.vb)