CWinThread::m_nThreadID
ID of the thread attached to this CWinThread.
DWORD m_nThreadID;
Remarks
The m_nThreadID data member is a public variable of type DWORD. It is only valid if underlying thread currently exists.
Example
See the example for AfxGetThread.
Requirements
Header: afxwin.h