Increments or decrements an external reference that keeps the object in the
| LPUNKNOWN pUnknown,
||//Points to an IUnknown instance
| BOOL fVisible
||//Indicates whether object is visible
Points to an IUnknown
instance for the object that is to be locked or unlocked.
Indicates whether the object is visible. If TRUE, OLE holds the object visible
and alive regardless of external or internal IUnknown::AddRef
operations; registrations; or revokes. If FALSE, OLE releases its hold and
the object can be closed.
Indicates the object was successfully locked or unlocked.
Indicates insufficient memory to perform the operation.
Indicates an invalid argument.
Indicates an unexpected error.
function calls the CoLockObjectExternal
function. It is provided as a separate function to reinforce the need to lock
an object when it becomes visible to the user and to release the object when
it becomes invisible. This creates a strong lock on behalf of the user to ensure
that the object cannot be closed by its container while it is visible.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database