Gets and sets the user-component of an ole-control-pane.
ole-control-user-component pane => user-component
(setf ole-control-user-component) user-component pane => user-component
The function
ole-control-user-component
gets and sets the
user-component
of the ole-control-pane
pane
.
user-component
(if non-nil) is a COM interface pointer of an object that supports the
I-OLE-OBJECT
interface, and has been opened and initialized and is ready to be displayed. This is typically created by calling
OleCreate
,
OleCreateFromFile
,
OleCreateFromData
or
OleLoad
with
pCLientSite
null.
The
user-component
is closed and released by the ole-control-pane
pane
, so after you have called
(setf ole-control-user-component)
you should not try to use it again or release it. Setting
user-component
also sets the pane's
component-name
to
nil
.
Note: this function is implemented only in LispWorks for Windows. Load the functionality by
(require "embed")
.