# Function Reference

# _WinAPI_GetCurrentThread

Retrieves a pseudo handle for the calling thread

#include <WinAPIProc.au3>
_WinAPI_GetCurrentThread ( )

## Return Value

Returns the Pseudo handle for the current thread

## Remarks

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.

## See Also

Search GetCurrentThread in MSDN Library.