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

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

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.

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

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

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

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.