CoLockObjectExternal (OLE32.@)
HRESULT CoLockObjectExternal ( LPUNKNOWN pUnk, BOOL fLock, BOOL fLastUnlockReleases )
Increments or decrements the external reference count of a stub object.
pUnk | [In] | Stub object. |
fLock | [In] | If TRUE then increments the external ref-count, otherwise decrements. |
fLastUnlockReleases | [In] | If TRUE then the last unlock has the effect of calling CoDisconnectObject. |
Success: S_OK.
Failure: HRESULT code.
If fLock is TRUE and an object is passed in that doesn't have a stub manager then a new stub manager is created for the object.
Defined in "objbase.h".
Implemented in "dlls/ole32/compobj.c". source.winehq.org/source/dlls/ole32/compobj.c
Debug channel "ole".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.