Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Increments and decrements the module lock count by calling _Module::Lock and _Module::Unlock, respectively.
STDMETHOD(LockServer)(
BOOL fLock
);
Parameters
- fLock
[in] If TRUE, the lock count is incremented; otherwise, the lock count is decremented.
Return Value
A standard HRESULT value.
Remarks
_Module refers to the global instance of CComModule or a class derived from it.
Calling LockServer allows a client to hold onto a class factory so that multiple objects can be quickly created.
Requirements
Header: atlcom.h