Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API
Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API
API Declarations
Private Declare Function GetCurrentThreadId Lib "kernel32" () As Long
Rate Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API
(1(1 Vote))
'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
Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API Comments
No comments yet — be the first to post one!
Post a Comment