GetThreadID
Returns the thread ID of the currently executing thread
#include <nwthread.h> int GetThreadID (void);
The thread ID is returned.
This function is used to get a thread ID for those functions which require a thread ID.
GetNLMID, GetThreadGroupID, SuspendThread