user32.dll
-
Hi In user32.dll there is a function called LockWorkStation. Is there an complement to it?? Or is there any comparable in msgina.dll? thx
-
Hi In user32.dll there is a function called LockWorkStation. Is there an complement to it?? Or is there any comparable in msgina.dll? thx
Don't know if there is a complement, but you could p/invoke the function. Search it on www.pinvoke.net/[^] to get the C# signature and a short example.
-
Don't know if there is a complement, but you could p/invoke the function. Search it on www.pinvoke.net/[^] to get the C# signature and a short example.
Stefan, I think he wasn't searching for an equivalent, but for a complement ;) I guess there's no reverse function to unlock the workstation. Platform SDK states: "This function has the same result as pressing Ctrl+Alt+Del and clicking Lock Workstation. To unlock the workstation, the user must log in." Besides, what would be the point of LockWorkStation if you could unlock it programmatically? mav
-
Stefan, I think he wasn't searching for an equivalent, but for a complement ;) I guess there's no reverse function to unlock the workstation. Platform SDK states: "This function has the same result as pressing Ctrl+Alt+Del and clicking Lock Workstation. To unlock the workstation, the user must log in." Besides, what would be the point of LockWorkStation if you could unlock it programmatically? mav
-
Hi In user32.dll there is a function called LockWorkStation. Is there an complement to it?? Or is there any comparable in msgina.dll? thx
If, by "complement", you mean is there a function to unlock the workstation, no there isn't. The user has to hit Ctrl-Alt-Del and login again. It can't be remotely unlocked for security reasons. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome