A COM interface pointer that provides the source interface iid.
The iid of the source interface to be connected. The iid can be a symbol naming the interface or a refguid foreign pointer.
A COM interface that will receive the events for the iid.
A boolean. When false, errors connecting the sink-ptr will cause nil
to be returned. Otherwise an error of type com-error
will be signaled.
Connects the COM interface sink-ptr to the connection point in interface-ptr that is named by iid.
Suppose there is an interface pointer clonable
which provides a source interface i-clonable-events
, then the following form can be used to connect an implementation of this source interface sink
:
(setq cookie
(interface-connect clonable
'i-clonable-events
sink))
LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017