网站首页  词典首页

请输入您要查询的函数:

 

术语 process32next
释义 Process32Next
语法:
C++
BOOL WINAPI Process32Next(
__in HANDLE hSnapshot,
__out LPPROCESSENTRY32 lppe
);
Process32Next函数
检索信息的系统快照记录下道工序。
参数
hSnapshot [in]
一个句柄,从先前调用CreateToolhelp32Snapshot函数返回的快照。
lppe [out]
一个 PROCESSENTRY32结构的指针。
返回值
返回TRUE,如果该进程的名单上的下项已被复制到缓冲区或否则返回FALSE。在ERROR_NO_MORE_FILES错误值由GetLastError函数,如果没有进程存在或快照不包含进程的信息。
备注
要检索有关快照记录的第一个进程信息,请使用Process32First函数。
实例
有关示例,请参阅以快照和浏览过程。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderTlhelp32.h
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesProcess32NextW(Unicode的)和Process32Next(ANSI)的
参见
CreateToolhelp32Snapshot
工艺散步
Process32First
PROCESSENTRY32
工具帮助函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==Process32Next Function
Retrieves information about the next process recorded in a system snapshot.
Syntax
C++
BOOL WINAPI Process32Next(
__in HANDLE hSnapshot,
__out LPPROCESSENTRY32 lppe
);
Parameters
hSnapshot [in]
A handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.
lppe [out]
A pointer to a PROCESSENTRY32 structure.
Return Value
Returns TRUE if the next entry of the process list has been copied to the buffer or FALSE otherwise. The ERROR_NO_MORE_FILES error value is returned by the GetLastError function if no processes exist or the snapshot does not contain process information.
Remarks
To retrieve information about the first process recorded in a snapshot, use the Process32First function.
Examples
For an example, see Taking a Snapshot and Viewing Processes .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderTlhelp32.h
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesProcess32NextW (Unicode) and Process32Next (ANSI)
See Also
CreateToolhelp32Snapshot
Process Walking
Process32First
PROCESSENTRY32
Tool Help Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms684836(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:17:21