Detecting Workstation Lock
-
Is there any way to detect if the user has locked the workstation in WinNT/2k/XP? Regards, Venet. Donec eris felix, multos numerabis amicos.
For W2K (only), you could look at :- http://www.codeproject.com/useritems/winlogon\_notification\_package.asp For NT, I havnt heard of this being successfully acheived without either :- a) totally replacing the NT GINA, with one of your own, b) (or) using a pass-thru GINA, which intercepts the items you wish to trap, (actions them) and then calls the 'real' GINA. Both NT methods appear complicated and dangerous !!! - If you wish to know more, Windows Developer Journal (WDJ) had a series of articles written by Pamela (something beginning with "T" [apologies to Pamela], who's an expert in this field, you could pick up the CD-ROM of back-issues if you were really serious about doing it) Microsoft do supply a GINA example in the SAMPLES directory of the MSDK kits, as well (but the articles mentioned above are the way to go ...) HTH 'G'
-
For W2K (only), you could look at :- http://www.codeproject.com/useritems/winlogon\_notification\_package.asp For NT, I havnt heard of this being successfully acheived without either :- a) totally replacing the NT GINA, with one of your own, b) (or) using a pass-thru GINA, which intercepts the items you wish to trap, (actions them) and then calls the 'real' GINA. Both NT methods appear complicated and dangerous !!! - If you wish to know more, Windows Developer Journal (WDJ) had a series of articles written by Pamela (something beginning with "T" [apologies to Pamela], who's an expert in this field, you could pick up the CD-ROM of back-issues if you were really serious about doing it) Microsoft do supply a GINA example in the SAMPLES directory of the MSDK kits, as well (but the articles mentioned above are the way to go ...) HTH 'G'
Thanks, I think I must have a look at WDJ for those articles. I did think that it might be just sending a WM_ message to the app, but then again, finding no info in MSDN made it doubtful. :(( Thanks for the info Regards, Venet. Donec eris felix, multos numerabis amicos.
-
Thanks, I think I must have a look at WDJ for those articles. I did think that it might be just sending a WM_ message to the app, but then again, finding no info in MSDN made it doubtful. :(( Thanks for the info Regards, Venet. Donec eris felix, multos numerabis amicos.
You get teh answer you were looking for?????? Regards, Brian Dela :-)
-
You get teh answer you were looking for?????? Regards, Brian Dela :-)