This method increments the module lock count.
LONG Lock( );
| Header file: | Atlbase.h | 
| Platforms: | |
| Versions: | Version 2.0 and later | 
| Complete documentation: | Visual C++ documentation | 
CComModule Overview, CComModule Methods, CComModule::Unlock, CComModule::GetLockCount, CComModule::m_nLockCnt