共用方式為


CComAutoThreadModule::m_nThreads

As of ATL 7.0, CComAutoThreadModule is obsolete: see ATL Module Classes for more details.

int m_nThreads;

Remarks

Contains the number of threads in the EXE module. When Init is called, m_nThreads is set to the nThreads parameter value. Each thread's associated apartment is managed by a CComApartment object.

Requirements

Header: atlbase.h

See Also

Reference

CComAutoThreadModule Class

CComAutoThreadModule::m_pApartments