The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Win32::LockWorkStation - Win32 Lock Workstation

SYNOPSIS

  use Win32::LockWorkStation;

  if (!defined(Win32::LockWorkStation->LockWorkStation())) {
      print "Error locking workstation\n"
  }

DESCRIPTION

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.

REQUIREMENTS

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.

METHODS

LockWorkStation() - lock workstation

  Win32::LockWorkStation->LockWorkStation();

Lock the workstation.

EXPORT

None by default.

LICENSE

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR

Copyright (C) Michael Vincent 2010

http://www.VinsWorld.com

All rights reserved