_ReduceMemory(@AutoItPID) ; 进程PID
02
03
04 Func _ReduceMemory($i_PID = -1)
05 If $i_PID <> -1 Then
06 Local $ai_Handle = DllCall("kernel32.dll", 'int','OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $i_PID)
07 Local $ai_Return = DllCall("psapi.dll", 'int','EmptyWorkingSet', 'long', $ai_Handle[0])
08 DllCall('kernel32.dll', 'int', 'CloseHandle', 'int',$ai_Handle[0])
09 Else
10 Local $ai_Return = DllCall("psapi.dll", 'int','EmptyWorkingSet', 'long', -1)
11 EndIf
12
13 Return $ai_Return[0]
14 EndFunc ;==>_ReduceMemory
aU3释放程序内存代码
转载上一篇:Pyhacker Sql脚本编写
下一篇:https及www的跳转
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
AU3 编写 四则混合运算
au3 编写四则混合运算
职场 休闲 au3 混合运算 -
AU3软件自动化安装教程
学习AU3自动化安装教程;
软件 AU 自动化 -
AU3学习资源
网址收集
AU3 技术