LONG Lock( );
Return Value
A value that may be useful for diagnostics or testing.
Remarks
Performs an atomic increment on the thread’s lock count. Called by CComAutoThreadModule::Lock.
The lock count on the thread is used for statistical purposes.
CComApartment Overview | Class Members
See Also CComApartment:Unlock, CComApartment::GetLockCount, CComApartment::m_nLockCnt