Description: First, create a process by CreateToolhelp32Snapshot function snapshot, and then use the snapshot by calling Process32First handle returned to traverse the process, relevant information is stored in the structure type PROCESSENTRY32 instance, by calling a function within GetProcessModule, to obtain the corresponding process module name, and then through the process address space information read to get the thread ID and other relevant information
To Search:
File list (Check if you may need any files):
获取进程模块信息\BTNST.CPP
................\BTNST.H
................\EmuteFile.aps
................\EmuteFile.clw
................\EmuteFile.cpp
................\EmuteFile.dsp
................\EmuteFile.dsw
................\EmuteFile.h
................\EmuteFile.ncb
................\EmuteFile.opt
................\EmuteFile.plg
................\EmuteFile.rc
................\EmuteFileDlg.cpp
................\EmuteFileDlg.h
................\PSAPI.H
................\ReadMe.txt
................\res\32X32X16_CANCELBOR.ICO
................\...\32X32X16_OKBOR.ICO
................\...\32X32X2_CANCELBOR.ICO
................\...\32X32X2_OKBOR.ICO
................\...\EmuteFile.ico
................\...\EmuteFile.rc2
................\res
................\resource.h
................\StdAfx.cpp
................\StdAfx.h
................\获取进程模块的信息.txt
获取进程模块信息