The names of the dispatch function, coclass and so on.
A symbol which will be defined as a macro, as if by
with-dispatch-interface. The macro can be used by the forms to invoke the Automation methods of the component.
A symbol which names the coclass. It is not evaluated.
A symbol naming an interface in the coclass. It is not evaluated.
A symbol which will be bound to the interface pointer.
A CLSCTX value, which defaults to
A form to be evaluated.
create-object to make an instance of the coclass named by the symbol coclass-name. If interface-name is given then that interface is queried from the component, otherwise the default interface is queried. Each form is evaluated in turn with dispatch-function bound of a local macro for invoking methods on the interface, as if by
with-dispatch-interface. After the forms have been evaluated, the interface pointer is released. If punk is given, it will be bound to the interface pointer while the forms are being evaluated.
LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015