Howdy,
This isn't really a straight-forward item, since, as far as I know, 
there isn't any specific API call to check the lock state. However, I 
did find an article that addresses the issue, and should be applicable 
to 2000 and XP, though I'm not certain about Vista.

http://gethelp.devx.com/techtips/nt_pro/10_minute_solutions/10minNT0701.asp
You'll likely need to use some Win32 declares, unless the calls 
mentioned in that are implemented in your plugins already.

Good luck,
Fargo

Sascha Schneppmueller wrote:
> Hello NUG-Friends,
>
> i am looking for a way to detect if a Workstation is locked or not.
> We r using a LAN Messanger (written in RB) here and we want to show locked
> Workstations as "away".
> We r using Windows 2000, XP & Vista.
>
> I could not find anything like this in my NUG History or anywhere else.
>
> BTW: I am using Einhugur and MBS, if that may help here :-)
>
> Thank you for your help.
>   
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to