Win32::LockWorkStation - Win32 Lock Workstation |
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.
LockWorkStation()
- lock workstationWin32::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
All rights reserved
Win32::LockWorkStation - Win32 Lock Workstation |