Michael Vincent > Win32-LockWorkStation > Win32::LockWorkStation

Download:
Win32-LockWorkStation-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.03   Source  

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

syntax highlighting: