文件名称:GetProcessModuleInform
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 49kb
- 下载次数:
- 0次
- 提 供 者:
- z*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
首先通过CreateToolhelp32Snapshot函数创建一个进程的快照,然后通过调用Process32First使用快照返回的句柄对进程进行遍历,相关的信息存放在PROCESSENTRY32结构类型的实例中,通过调用内部的一个函数GetProcessModule,获取对应的进程的模块名称,然后通过对进程地址空间信息的读取,从而获取相应的线程的ID等的信息-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
相关搜索: GetProcessModule
(系统自动生成,下载前可以参看下载内容)
下载文件列表
获取进程模块信息\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
获取进程模块信息
................\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
获取进程模块信息