CWinThread::m_nThreadID

ID of the thread attached to this CWinThread.

DWORD m_nThreadID;

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

See the example for AfxGetThread.

Header: afxwin.h

Community Additions

ADD
Show: