CoDisconnectObject (OLE32.@)
HRESULT CoDisconnectObject ( LPUNKNOWN lpUnk, DWORD reserved )
Disconnects all connections to this object from remote processes. Dispatches pending RPCs while blocking new RPCs from occurring, and then calls
IMarshal::DisconnectObject on the given object.
Typically called when the object server is forced to shut down, for instance by the user.
lpUnk | [In] | The object whose stub should be disconnected. |
reserved | [In] | Reserved. Should be set to 0. |
Success: S_OK.
Failure: HRESULT code.
CoMarshalInterface, CoReleaseMarshalData, CoLockObjectExternal
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.