GetCurrentThread function kernel32

HANDLE GetCurrentThread()

Retrieves a pseudo handle for the calling thread.

To learn more, see learn.microsoft.com/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentthread.

Implementation

@pragma('vm:prefer-inline')
HANDLE GetCurrentThread() => HANDLE(_GetCurrentThread());