unsigned int CmtGetMainThreadID (void);
Returns the ID of the main thread of the program.
The main thread is the thread that loaded the LabWindows/CVI Run-Time Engine DLL, cvirte.dll. For an executable that uses the LabWindows/CVI Run-Time Engine DLL, the first thread of the process loads cvirte.dll.
None.
Name | Type | Description |
mainThreadID | unsigned int | The ID of the main thread of the program. |