Partager 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

Concepts

CComApartment Class

CComApartment Members

CComApartment::Lock

CComApartment::Unlock

CComApartment::m_nLockCnt