Welcome![Sign In][Sign Up]
Location:
Search - ToolHelp32

Search list

[OS programenumproWin32

Description: 我们在编写程序时,常常遇到的一件事情就是要准确列出系统中所有正在运行的程序或者进程。Windows 任务管理器就是这样的一个程序。它既能列出运行的桌面应用程序,又能列出系统中所有运行的进程。那么,我们在程序中如何实现这样的任务,该程序实现此功能 关于代码   本文附带的代码例子将 PSAPI 和 ToolHelp32 封装到一个名为 EnumProcs() 的函数中。该函数的工作原理类似 EnumWindows(),有一个指向回调函数的指针,并要对该函数进行重复调用,针对系统中的每个进程调用一次。另一个参数是用户定义的 lParam。下面是该函数的声明:BOOL WINAPI EnumProcs( PROCENUMPROC lpProc, LPARAM lParam ) 使用该函数时,要象下面这样声明回调函数: BOOL CALLBACK Proc( DWORD dw, WORD w16, LPCSTR lpstr, LPARAM lParam )   参数 dw 包含 ID,“w16”是16位任务的任务号,如果为32位进程则为0(在 Windows 95 中总是0),参数lpstr 指向文件名,lParam 是用户定义的,要被传入 EnumProcs()。   EnumProcs() 函数通过显示链接使用 ToolHelp32 和 PSAPI,而非通常所用的隐式链接。之所以要这样做,主要是为了让代码能够在二进制一级兼容,从可以在所有 Win32 操作系统平台上运行。 -us in the preparation of procedures, often encountered one thing is to accurately list all systems are running program or process. Windows Task Manager is one such procedure. It not only sets out the running desktop applications, the system can list all the running processes. Then we process of how to achieve this task, the program code for this function is incidental to the code examples and ToolHelp32 PSAPI Packaging entitled to a EnumProcs () function. This function is similar to the principle EnumWindows (), is a pointer to a callback function pointers and to repeat this function call against each of the system called a process. Another parameter is the user-defined lParam. Below is the function of the statement : BOOL WINAPI EnumProcs (PROCENUMPROC lpProc. LPARAM lParam) to use this f
Platform: | Size: 3544 | Author: wwwwppp | Hits:

[OS programenumproWin32

Description: 我们在编写程序时,常常遇到的一件事情就是要准确列出系统中所有正在运行的程序或者进程。Windows 任务管理器就是这样的一个程序。它既能列出运行的桌面应用程序,又能列出系统中所有运行的进程。那么,我们在程序中如何实现这样的任务,该程序实现此功能 关于代码   本文附带的代码例子将 PSAPI 和 ToolHelp32 封装到一个名为 EnumProcs() 的函数中。该函数的工作原理类似 EnumWindows(),有一个指向回调函数的指针,并要对该函数进行重复调用,针对系统中的每个进程调用一次。另一个参数是用户定义的 lParam。下面是该函数的声明:BOOL WINAPI EnumProcs( PROCENUMPROC lpProc, LPARAM lParam ) 使用该函数时,要象下面这样声明回调函数: BOOL CALLBACK Proc( DWORD dw, WORD w16, LPCSTR lpstr, LPARAM lParam )   参数 dw 包含 ID,“w16”是16位任务的任务号,如果为32位进程则为0(在 Windows 95 中总是0),参数lpstr 指向文件名,lParam 是用户定义的,要被传入 EnumProcs()。   EnumProcs() 函数通过显示链接使用 ToolHelp32 和 PSAPI,而非通常所用的隐式链接。之所以要这样做,主要是为了让代码能够在二进制一级兼容,从可以在所有 Win32 操作系统平台上运行。 -us in the preparation of procedures, often encountered one thing is to accurately list all systems are running program or process. Windows Task Manager is one such procedure. It not only sets out the running desktop applications, the system can list all the running processes. Then we process of how to achieve this task, the program code for this function is incidental to the code examples and ToolHelp32 PSAPI Packaging entitled to a EnumProcs () function. This function is similar to the principle EnumWindows (), is a pointer to a callback function pointers and to repeat this function call against each of the system called a process. Another parameter is the user-defined lParam. Below is the function of the statement : BOOL WINAPI EnumProcs (PROCENUMPROC lpProc. LPARAM lParam) to use this f
Platform: | Size: 3072 | Author: wwwwppp | Hits:

[VC/MFCsource

Description: 这是书上的代码,用Visual C++开发基于ToolHelp32的进程监控程序。供大家参考-This is the book s code, using Visual C++ Development process based on ToolHelp32 control procedures. For your reference
Platform: | Size: 32768 | Author: min | Hits:

[Bookschengxuyuankaifabaodian

Description: 程序员超级开发宝典:.net,com,delphi,java,oracle,sql,vb,vc,软件工程等内容。其中vc篇包括 [VC_C_]NT系统下木马进程的隐藏(11774Bytes) [VC_C_]简单谈谈C++ 递归的思想实现以及和循环的关系(3537Bytes) [VC_C_]C++语法之函数重载(1938Bytes) [VC_C_]C语言编程风格(2200Bytes) [VC_C_]如何用Shell实现程序组快捷方式的添加(3387Bytes) [VC_C_]移动到平面(Blitting to Surfaces)(11290Bytes) [VC_C_]DirectX丢失及恢复平面(12480Bytes) [VC_C_]DirectX创建平面(6312Bytes) [VC_C_]两个小时学会DirectDraw编程(6647Bytes) [VC_C_]关于const的8点说明(2482Bytes) [VC_C_]泛型编程在非C++语言中的实现之探讨(5930Bytes) [VC_C_]删除文件中指定的部分内容(2096Bytes) [VC_C_]TOOLHELP32 In WIN2000(4138Bytes) [VC_C_]Windows下DLL编程技术及应用(7167Bytes) [VC_C_]MFC and Design Patterns(8117Bytes) [VC_C_]DVD解码源代码大公布(10169Bytes) [VC_C_]C++Builder实现Directx截流媒体屏代码(10363Bytes)-err
Platform: | Size: 4411392 | Author: 辛欣 | Hits:

[OS programenum_process

Description: 多种用户态遍历进程的具体实现..... TOOLHELP32 API 接口 暴力搜索-Ergodic state process of a wide range of users to achieve the specific violence ..... TOOLHELP32 API search interface ..
Platform: | Size: 69632 | Author: 易欣 | Hits:

[Windows CEMyApp

Description: 关于TOOLHELP32函数的实例 WINCE 5.0 任务管理器,包含任务栏的隐藏,开机,重启等,可查看系统进程详细信息,包括,块,基地址,首地址,线程数-TOOLHELP32 function on an instance of WINCE 5.0 Task Manager contains a hidden taskbar, start, restart, etc.
Platform: | Size: 1293312 | Author: 面条的马甲 | Hits:

[Process-ThreadProcessList(Sample)

Description: Use Toolhelp32 API to enum proce-Use Toolhelp32 API to enum process
Platform: | Size: 734208 | Author: YC | Hits:

[Consolesource

Description: 用Visual C++开发基于ToolHelp32的进程监控程序-Using Visual C++ development process control procedures based on ToolHelp32
Platform: | Size: 28672 | Author: | Hits:

[Process-ThreadExample042

Description: 用Visual C++开发基于ToolHelp32的进程监控程序-Using Visual C++ development process control procedures based on ToolHelp32
Platform: | Size: 39936 | Author: | Hits:

CodeBus www.codebus.net