Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Detecting Workstation Lock

Detecting Workstation Lock

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Venet
    wrote on last edited by
    #1

    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.

    G 1 Reply Last reply
    0
    • V Venet

      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.

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      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'

      V 1 Reply Last reply
      0
      • G Garth J Lancaster

        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'

        V Offline
        V Offline
        Venet
        wrote on last edited by
        #3

        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.

        B 1 Reply Last reply
        0
        • V Venet

          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.

          B Offline
          B Offline
          Brian Delahunty
          wrote on last edited by
          #4

          You get teh answer you were looking for?????? Regards, Brian Dela :-)

          V 1 Reply Last reply
          0
          • B Brian Delahunty

            You get teh answer you were looking for?????? Regards, Brian Dela :-)

            V Offline
            V Offline
            Venet
            wrote on last edited by
            #5

            Nope I didn't :(( I was looking through the Microsoft newsgroups and there doesn't seem to be a simple answer to this problem, and I don't have enough time to write the gina.dll. Thanks Dela Regards, Venet. Donec eris felix, multos numerabis amicos.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups