The GetCurrentThreadId returns the current thread ID.
This function has no parameters.
The return value is the thread ID of the currently running thread.
GetCurrentThread