GetCurrentThreadId

GetCurrentThreadId
VB聲明
Declare Function GetCurrentThreadId Lib "kernel32" Alias "GetCurrentThreadId" () As Long
說明
獲取當前執行緒一個唯一的執行緒標識符
返回值
Long,當前的執行緒標識符
VC聲明
DWORD WINAPI GetCurrentThreadId (void);
返回值
The return value is the thread identifier of the calling thread.
具體查看MSDN

相關詞條

熱門詞條

聯絡我們