CComModule::GetLockCount

LONG GetLockCount( );

Return Value

The lock count on the module.

Remarks

Returns the current lock count on the module. 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::Unlock, CComModule::m_nLockCnt