网站首页  词典首页

请输入您要查询的函数:

 

术语 getcurrentthreadid
释义 GetCurrentThreadId
语法:
C++
DWORD WINAPI GetCurrentThreadId(void);
GetCurrentThreadId函数
检索调用线程的线程标识符。
参数
这个函数没有参数。
返回值
返回值是在调用线程的线程标识符。
备注
直到线程终止,线程标识符唯一标识整个系统中线程。
实例
有关示例,请参阅使用线程本地存储。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
GetCurrentThread
OpenThread
进程和线程函数
主题
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetCurrentThreadId Function
Retrieves the thread identifier of the calling thread.
Syntax
C++
DWORD WINAPI GetCurrentThreadId(void);
Parameters
This function has no parameters.
Return Value
The return value is the thread identifier of the calling thread.
Remarks
Until the thread terminates, the thread identifier uniquely identifies the thread throughout the system.
Examples
For an example, see Using Thread Local Storage .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
GetCurrentThread
OpenThread
Process and Thread Functions
Threads
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683183(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 11:24:05