Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Increments and decrements the module lock count by calling _Module::Lock and _Module::Unlock, respectively.
STDMETHODIMP 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
When using CComClassFactoryAutoThread, _Module typically refers to the global instance of CComAutoThreadModule.
Calling LockServer allows a client to hold onto a class factory so that multiple objects can be quickly created.
Requirements
Header: atlcom.h
See Also
Reference
CComClassFactoryAutoThread Class