...lp32.pas原文件和Windows SDK提供的帮助文件。其中同本文涉及的接口函数主要有CreateToolhelp32Snapshot、process32first、process32next、module32first、module32next五个函数以及TMODULEENTRY32、TPROCESSENTRY32两个数据结构。1、CreateToolhelp32Snapshot该函数是要实现上述目的最核心的一个函...
...统中所有运行的进程:while(report){hModule=CreateToolhelp32Snapshot(TH32CS_SNAPMODULE,pinfo->th32ProcessID);Module32First(hModule, minfo);GetShortPathName(minfo->szExePath,shortpath,256);printf("%s --- %s ",p...
...;Error!", MB_ICONINFORMATION + MB_OK); return; } // 获取模块列表中的模块 bMoreMods = Module32First(hthSnapshot, &hMod); if (bMoreMods == FALSE) { MessageBox(Handle,("Module32Fir...