Retrieves the thread identifier of the calling thread.
DWORD GetCurrentThreadId();
int GetCurrentThreadId() => _GetCurrentThreadId();