.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CoDisconnectObject 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCoDisconnectObject\fR (OLE32.@) .SH SYNOPSIS HRESULT CoDisconnectObject ( LPUNKNOWN \fIlpUnk\fR, DWORD \fIreserved\fR ) .SH DESCRIPTION .PP Disconnects all connections to this object from remote processes. Dispatches pending RPCs while blocking new RPCs from occurring, and then calls .PP \fBIMarshal:\fR:DisconnectObject on the given object. .PP Typically called when the object server is forced to shut down, for instance by the user. .SH PARAMS \fIlpUnk\fR \fB[In]\fR The object whose stub should be disconnected. .PP \fIreserved\fR \fB[In]\fR Reserved. Should be set to \fB0.\fR .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR \fBHRESULT\fR code. .SH SEE ALSO .PP CoMarshalInterface, CoReleaseMarshalData, CoLockObjectExternal .SH IMPLEMENTATION .PP Declared in \fB"objbase.h"\fR. .PP Implemented in \fB"dlls/ole32/compobj.c"\fR. .PP Debug channel \fB"ole"\fR.