共用方式為


CComAutoThreadModule::m_pApartments

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

CComApartment* m_pApartments;

Remarks

Points to an array of CComApartment objects, each of which manages an apartment in the module. The number of elements in the array is based on the m_nThreads member.

Requirements

Header: atlbase.h

See Also

Reference

CComAutoThreadModule Class