if i has something error pls tell me .!!
AutoSuspend not have GUI,it will automatic suspend when you running it ^^ because it more simple ^^
you must run it as administrator
i hope it will help you in searching value in s4 client
i hope you will use english at here .!! ( because i malaysian )
this script didnt have silence virus
it work on :
- Win7 32
- Win7 64
source :
Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <iqmals.au3>
#Region micedevelop
_suspendStart()
func _suspendStart()
local $client = 'S4Client.exe',$hgwc = 'HGWC.exe',$xtrap = 'XTrap.xt'
_Suspend($client)
_Suspend($xtrap)
_Suspend($client)
_Suspend($hgwc)
endfunc
Func _Suspend($process)
Local $kernel = "kernel32.dll",$nt = "ntdll.dll"
Local $int = 'int',$ptr = 'ptr'
local $suspend = 'NtSuspendProcess',$openproc = 'OpenProcess'
local $CH = 'CloseHandle',$hex = 0x1f0fff,$arg = False
$process = ProcessExists($process)
If $process Then
$Handle = DllCall($kernel, $int, $openproc, $int, $hex, $int, $arg, $int, $process)
$sucess = DllCall($nt,$int,$suspend,$int,$Handle[0])
DllCall($kernel, $ptr, $CH, $ptr, $Handle)
If IsArray($sucess) Then
Return 1
Else
SetError(1)
Return 0
Endif
Endif
EndFunc
#EndRegion micedevelop
multisuspender i make in 2011 and it work fine to suspend any process






