Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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