Returns the current thread handle.
[ hThread = ] GetCurrentThread ( )
The GetCurrentThread procedure syntax has the following parts:
Name |
Type |
Description |
hThread |
Val AHandle |
Handle to the thread. |
The following example will return the handle of the current thread:
hThread1 = GetCurrentThread()
CreateThread, ExitThread, GetThreadPriority, SetThreadPriority, TerminateThread