Attaches a sink to the active component in an ole-control-pane.
capi
attach-sink sink pane interface-name
| sink⇩ |
A class instance. |
| pane⇩ |
An ole-control-pane. |
| interface-name⇩ |
A refguid or the symbol :default. |
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.
This function is implemented only in LispWorks for Windows. Load the functionality by (require "embed").
CAPI User Guide and Reference Manual (Windows version) - 18 Feb 2025 15:35:34