Locks an object application open in memory. This enables instances to be created more quickly.
If true increments lock count, otherwise the lock count is decremented.
Either of S_OK, E_FAIL, E_UNEXPECTED or E_OUTOFMEMORY
See Implementation
Locks an object application open in memory. This enables instances to be created more quickly.