网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:41:31