Retrieves a pseudo handle for the calling thread
#include <WinAPIProc.au3>
_WinAPI_GetCurrentThread ( )
A pseudo handle is a special constant that is interpreted as the current thread handle.
The calling thread can use this handle to specify itself whenever a thread handle is required.
Search GetCurrentThread in MSDN Library.