LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

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

An ole-control-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.

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

See also

detach-sink
ole-control-pane


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex