by Karthikeyan (187 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 23rd January 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API
API Declarations
Private Declare Function GetCurrentThreadId Lib "kernel32" () As Long
'http://www.geocities.com/marskarthik
'http://marskarthik.virtualave.net
'Email: [email protected]
Private Sub Form_Load()
MsgBox "Current Thread is " & Hex(GetCurrentThread) & Chr(13) & _
"Current Thread ID is " & Hex(GetCurrentThreadId)
End
End Sub
No comments have been posted about Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API. Why not be the first to post a comment about Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API.