IClassFactory.LockServer

Locks an object application open in memory. This enables instances to be created more quickly.

interface IClassFactory
extern (Windows) @nogc
LockServer
(
bool fLock
)

Parameters

fLock bool

If true increments lock count, otherwise the lock count is decremented.

Return Value

Type: HRESULT

Either of S_OK, E_FAIL, E_UNEXPECTED or E_OUTOFMEMORY

Meta