☰郭樂聰☷ ☯βαggiσ☯ > Win32-Process-Suspend-0.0642 > Win32::Process::Suspend

Download:
Win32-Process-Suspend-0.0642.zip

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.0642   Source  

NAME ^

Win32::Process::Suspend - Suspending Other Process With Perl

SYNOPSIS ^

  use Win32::Process::Suspend;
  $handle = GetHandle($pid);
  SuspendProcess($handle);
  #do some thing
  ResumeProcess($handle);

DESCRIPTION ^

        This module is used for suspending process on Win32.
        Something wrong with the script and XS.
        
        PLEASE ENSURE YOUR C COMPILER'S OPTIMIZER HAD BEEN TURNED OFF

        See Alternation for another method.

Alternation ^

        use Win32::API;
        my $SuspendProcess = Win32::API->new('ntdll','NtSuspendProcess',[I],'I');
        my $ResumeProcess = Win32::API->new('ntdll','NtResumeProcess',[I],'I');

EXPORT

        GetHandle
        SuspendProcess
        SuspendThread
        ResumeProcess
        ResumeThread

SEE ALSO ^

        My Mail: rootkwok <AT> cpan <dot> org

AUTHOR ^

Baggio, Kwok Lok Chung rootkwok <AT> cpan <dot> org

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 by Baggio, Kwok Lok Chung

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: