




 
A displayed CAPI pane or interface.
A Lisp object (not necessarily a string) to make available within the local Lisp image.
The string representation of 
value
 to export, or nil. If nil and 
value
 is a string, then that will be exported as the string.
A property list of additional format/value pairs to export. The currently supported formats are :string, whose value should be a string, and :image whose value should be a image object.  This allows you to export more than one format simultaneously.
The function set-selection sets the primary selection to be the text of 
string
.
On Microsoft Windows there is no notion of selection, so this mechanism is internal to Lisp.
Note that X applications may or may not use the primary selection for their paste operations. The most likely explanation for apparent inconsistencies after set-selection is that the pasting application does not use the primary selection. For instance, Emacs is configurable by the variable interprogram-paste-function. 
CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015