2024年3月22日发(作者:)

Re:RE:如何用PB写删除指定进程!

默认分类 2005-11-28 18:15:29 阅读284 评论0 字号:大中小 订阅

【在hjs9225的大作中提到:】

:结束进程---举IE为例

:

:

: ......

加文集

-----------------------------------------------------------

结束进程---举IE为例

//创建非可视对象uf_get_exename

//声明local external function(api)

Function Long CreateToolhelp32Snapshot(Long Flags,Long ProcessId) Library

""

Function Integer Process32First(uLong Snapshot,ref s_Process Process) Library

""

Function Integer Process32Next(uLong Snapshot,ref s_Process Process) Library

""

//声明前先创建结构

unsignedlongstructsize

unsignedlongusage

unsignedlongprocessid

unsignedlongdefaultheapid

unsignedlongmoduleid

unsignedlongthreads

unsignedlongparentprocessid

unsignedlongclassbase

unsignedlongflags