Is my machine locked?

I am writing a small program but i keep getting an error when the computer is locked (not locked up, but like press ctrl-alt-delete to login). Does any one know a procedure or function call i can make to check to see if the computer is locked before i attempt to make an OS call that fails if the computer is locked?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories