Win32::LockWorkStation - Win32 Lock Workstation
use Win32::LockWorkStation; if (!defined(Win32::LockWorkStation->LockWorkStation())) { print "Error locking workstation\n" }
Win32::LockWorkStation is a class implementing the LockWorkStation function in the user32.dll library via XS. This is a 'shortcut' to CTRL-ALT-DEL and pressing the "Lock Computer" button.
Win32::LockWorkStation requires the following:
- Win32 Operating System equal to or greater than XP. - C compiler and make utility *
* It's important to 'match' your C compiler and make utility. This module has been tested with MinGW/dmake and MS VC++/nmake.
Win32::LockWorkStation->LockWorkStation();
Lock the workstation.
None by default.
This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.
Copyright (C) Michael Vincent 2010
http://www.VinsWorld.com
All rights reserved
To install Win32::LockWorkStation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::LockWorkStation
CPAN shell
perl -MCPAN -e shell install Win32::LockWorkStation
For more information on module installation, please visit the detailed CPAN module installation guide.