Share via


CComApartment::Unlock

Decrements the thread's lock count.

LONG Unlock( );

Return Value

A value that may be useful for diagnostics or testing.

Remarks

Called by CComAutoThreadModule::Unlock.

The lock count on the thread is used for statistical purposes.

Requirements

Header: atlbase.h

See Also

Reference

CComApartment Class

CComApartment::Lock

CComApartment::GetLockCount

CComApartment::m_nLockCnt