//
//
//
//
//
//
//
//
//
//
软件Tags:
利用WMI对象实现进程监控
系统结构:进程监控_启动,进程监控_停止,进程监控_主线程,CreateThread,TerminateThread,CoInitialize,CoUninitialize,
======窗口程序集1
| |
| |------ _按钮1_被单击
| |
| |------ _按钮2_被单击
| |
| |------ 进程监控_启动
| |
| |------ 进程监控_停止
| |
| |------ 进程监控_主线程
| |
| |
======调用的Dll
| |
| |---[dll]------ CreateThread
| |
| |---[dll]------ TerminateThread
| |
| |---[dll]------ CoInitialize
| |
| |---[dll]------ CoUninitialize
调用的DLL命令:
.DLL命令 CreateThread, 整数型, , "CreateThread", , CreateThread
.参数 lpThreadAttributes, 整数型
.参数 dwStackSize, 整数型
.参数 lpStartAddress, 子程序指针
.参数 lpParameter, 整数型
.参数 dwCreationFlags, 整数型
.参数 lpThreadId, 整数型, 传址
.DLL命令 TerminateThread, 整数型, , "TerminateThread", , TerminateThread
.参数 hThread, 整数型
.参数 dwExitCode, 整数型
.DLL命令 CoInitialize, 整数型, "ole32.dll"
.参数 pvReserved, 整数型
.DLL命令 CoUninitialize, , "ole32.dll"
