LONG Lock( );
Return Value
A value that may be useful for diagnostics or testing.
Remarks
Performs an atomic increment on the module's lock count. CComModule uses the lock count to determine whether any clients are accessing the module.
CComModule Overview | Class Members
See Also CComModule::Unlock, CComModule::GetLockCount, CComModule::m_nLockCnt