MainThreadId
int MainThreadId (void);
Purpose
Returns the ID of the main thread of the program.
Note
MainThreadId
is obsolete.
CmtGetMainThreadID
replaces
MainThreadId
.
Parameters
None.
Return Value
Name
Type
Description
mainThreadID
integer
The ID of the main thread of the program.