CoLockObjectExternal(3w)

NAME

CoLockObjectExternal (OLE32.@)

SYNOPSIS

HRESULT CoLockObjectExternal
 (
  LPUNKNOWN pUnk,
  BOOL      fLock,
  BOOL      fLastUnlockReleases
 )

DESCRIPTION

Increments or decrements the external reference count of a stub object.

PARAMS

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.

RETURNS

Success: S_OK.

Failure: HRESULT code.

NOTES

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.

IMPLEMENTATION

Defined in "objbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ole32/compobj.c".

Debug channel "ole".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout