系统相关
首页 > 系统相关> > Windows环境,获取当前线程的ID,GetCurrentThreadId

Windows环境,获取当前线程的ID,GetCurrentThreadId

作者:互联网

GetCurrentThreadId

打印格式:0x%08lx

头文件:processthreadsapi.h (include Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008 Windows Server 2008 R2, Windows.h)

https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentthreadid

标签:Vista,Windows,Server,线程,GetCurrentThreadId,2008,processthreadsapi
来源: https://www.cnblogs.com/liujx2019/p/12603608.html