Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


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.

© 2016 Microsoft