Attaches a sink to the active component in an ole-control-pane.
The function
attach-sink
attaches a sink to the active component in the the ole-control-pane
pane
.
sink is an instance of a class that implements the source interface interface-name .
pane is an ole-control-pane which is the pane where the component is.
interface-name
is either a string naming a source interface that the component in
pane
supports or
:default
to connect to the default source interface.
Attached sinks are automatically disconnected when the object is closed or can be manually disconnected by calling detach-sink.
Note: this function is implemented only in LispWorks for Windows. Load the functionality by
(require "embed")
.