Attaches a sink to the active component in an ole-control-pane.
A function designator.
A refguid or the symbol
A symbol naming a class.
When an event callback is triggered for the source interface named by
the sink object will call the
with four arguments: the
below), the source method name as a string, the source method type (either
) and a vector of the remaining callback arguments.
can be used to control the class of the sink object. This defaults to ole-control-pane-simple-sink, but can be a subclass of this class to allow the first argument of the
to be chosen by a method on the generic function
Attached sinks are automatically disconnected when the object is closed or can be manually disconnected by calling detach-simple-sink.