Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at ClassFactory::LockServer Method.
Increments or decrements the number of underlying objects that are tracked by the current ClassFactory object.
Syntax
STDMETHOD(
LockServer
)(BOOL fLock);
Parameters
fLock
true to increment the number of tracked objects. false to decrement the number of tracked objects.
Return Value
S_OK if successful; otherwise, E_FAIL.
Remarks
ClassFactory keeps track of objects in an underlying instance of the Module class.
Requirements
Header: module.h
Namespace: Microsoft::WRL