Partager 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

Concepts

CComApartment Class

CComApartment Members

CComApartment::Lock

CComApartment::GetLockCount

CComApartment::m_nLockCnt