CComApartment::Unlock

LONG Unlock( );

Return Value

A value that may be useful for diagnostics or testing.

Remarks

Performs an atomic decrement on the thread’s lock count. Called by CComAutoThreadModule::Unlock.

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

CComApartment OverviewClass Members

See Also   CComApartment::Lock, CComApartment::GetLockCount, CComApartment::m_nLockCnt