All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

attach-sink Function

Summary

Attaches a sink to the active component in an ole-control-pane.

Package

capi

Signature

attach-sink sink pane interface-name

Arguments
sink
A class instance.
pane
interface-name
A refguid or the symbol :default.
Description

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.

Notes

This function is implemented only in LispWorks for Windows. Load the functionality by (require "embed").

See also

attach-simple-sink
detach-sink
ole-control-pane


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27