CComClassFactory::LockServer

This method increments and decrements the module lock count by calling _Module::Lock and _Module::Unlock, respectively.

Syntax

HRESULT LockServer( BOOL fLock );

At a Glance

Header file: Atlcom.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComClassFactory Overview, CComClassFactory Methods, CComModule::Lock, CComModule::Unlock