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.
It will crash after suspending or resumming others.
see Alternation for another method.
I'll fix this module as soon as possible

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.