This documentation is archived and is not being maintained.

CWinThread::m_nThreadID 

ID of the thread attached to this CWinThread.

The m_nThreadID data member is a public variable of type DWORD. It is only valid if underlying thread currently exists.

DWORD m_nThreadID;

See the example for AfxGetThread.

Show: