A string or a refguid giving a CLSID to create.
A COM interface pointer specifying the outer i-unknown if the new instance is to be aggregated .
A CLSCTX value, which defaults to CLSCTX_SERVER
.
An optional refiid giving the name of the COM interface return.
A boolean. The default is t
.
Creates an instance of the COM server associated with clsid and returns an interface pointer for its riid interface. If riid is nil
, then i-unknown is used.
If the server cannot be started, then an error of type com-error
will be signaled if errorp is true, otherwise nil
will be returned.
If unknown-outer is non-nil, it will be passed as the outer unknown interface to be aggregated with the new instance.
To create an i-dispatch
interface and set an event handler, you can use create-instance-with-events.
LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015