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 or decrements the number of underlying objects that are tracked by the current ClassFactory object.
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