网站首页  词典首页

请输入您要查询的函数:

 

术语 thread32next
释义 Thread32Next
语法:
C++
BOOL WINAPI Thread32Next(
__in HANDLE hSnapshot,
__out LPTHREADENTRY32 lpte
);
Thread32Next功能
检索有关的任何进程的下一个线程信息系统中遇到的内存快照。
参数
hSnapshot [in]
一个句柄,从先前调用CreateToolhelp32Snapshot函数返回的快照。
lpte [out]
一个 THREADENTRY32结构的指针。
返回值
返回TRUE,如果该线程的名单上的下项已被复制到缓冲区或否则返回FALSE。在ERROR_NO_MORE_FILES错误值由GetLastError函数,如果没有线程存在或者不包含快照线程的信息。
备注
要检索有关快照记录的第一个线程的信息,使用Thread32First功能。
实例
有关示例,请参见遍历线程列表。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderTlhelp32.h
LibraryKernel32.lib
DLLKernel32.dll
参见
CreateToolhelp32Snapshot
螺纹散步
Thread32First
THREADENTRY32
工具帮助函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==Thread32Next Function
Retrieves information about the next thread of any process encountered in the system memory snapshot.
Syntax
C++
BOOL WINAPI Thread32Next(
__in HANDLE hSnapshot,
__out LPTHREADENTRY32 lpte
);
Parameters
hSnapshot [in]
A handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.
lpte [out]
A pointer to a THREADENTRY32 structure.
Return Value
Returns TRUE if the next entry of the thread 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 threads exist or the snapshot does not contain thread information.
Remarks
To retrieve information about the first thread recorded in a snapshot, use the Thread32First function.
Examples
For an example, see Traversing the Thread List .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderTlhelp32.h
LibraryKernel32.lib
DLLKernel32.dll
See Also
CreateToolhelp32Snapshot
Thread Walking
Thread32First
THREADENTRY32
Tool Help Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms686731(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:25