Disconnect a sink interface pointer from the source of events in another COM interface pointer.
A COM interface pointer that provides the source interface iid.
The iid of the source interface to be disconnected. The iid can be a symbol naming the interface or a refguid foreign pointer.
The integer cookie associated with the connection to be disconnected.
A boolean. When false, errors disconnecting the cookie will cause nil
to be returned. Otherwise an error of type com-error
will be signaled.
Disconnects the connection for cookie from the connection point in interface-ptr that matches iid.
Suppose there is an interface pointer clonable
which provides a source interface i-clonable-events
, then the following form can be used to disconnect an implementation of this source interface with cookie cookie
:
(interface-disconnect clonable
'i-clonable-events
cookie)
LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017