Share via


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