共用方式為


CComApartment::m_nLockCnt

Contains the thread's current lock count.

LONG m_nLockCnt;

Requirements

Header: atlbase.h

See Also

Reference

CComApartment Class

CComApartment::Lock

CComApartment::Unlock

Other Resources

CComApartment Members