CComModule::Unlock

LONG Unlock( );

Return Value

A value that may be useful for diagnostics or testing.

Remarks

Performs an atomic decrement on the module's lock count. CComModule uses the lock count to determine whether any clients are accessing the module. When the lock count reaches zero, the module can be unloaded.

CComModule OverviewClass Members

See Also   CComModule::Lock, CComModule::GetLockCount, CComModule::m_nLockCnt