共用方式為


CComApartment::GetLockCount

Returns the thread's current lock count.

LONG GetLockCount( );

Return Value

The lock count on the thread.

Requirements

Header: atlbase.h

See Also

Reference

CComApartment Class

CComApartment::Lock

CComApartment::Unlock

CComApartment::m_nLockCnt

Other Resources

CComApartment Members