CoDisconnectObject(3w)

CoDisconnectObject3w

Usage

HRESULT CoDisconnectObject
(
LPUNKNOWN lpUnk,
DWORD reserved
)

Overview

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.

Params

lpUnk [In] The object whose stub should be disconnected.

reserved [In] Reserved. Should be set to 0.

Returns

Success: S_OK.

Failure: HRESULT code.

Implementation

Declared in "objbase.h".

Implemented in "dlls/ole32/compobj.c".

Debug channel "ole".

Releases

5 releases since Debian 2.0 (Hamm); the text changed 4 times.

  1. 2.0
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.