Help for this page

Select Code to Download


  1. or download this
    use Win32::API ();
    Win32::API->Import("user32", "BOOL LockWorkStation()");
    LockWorkStation();
    
  2. or download this
    use Win32::API ();
    
    ...
        
    LockWorkStation()
       or die("Unable to lock workstation: $^E\n");