An Automation interface pointer.
A string or integer.
Arguments passed to the method.
in Microsoft Visual Basic and contrasts with the macro call-dispatch-method which requires a type library to be compiled.
The dispinterface-ptr should be a COM interface pointer for the
i-dispatch interface. The appropriate Automation method, chosen using name, which is either a string naming the method or the integer id of the method. The args are converted to Automation values and are passed as the method's
parameters in the order in which they appear. The values returned consist of the primary value of the method (if not void) and the values of any
parameters. See Data conversion when calling Automation methods for more details. If there is no Automation method with the given name, then a property getter with the same name is called if it exists, otherwise an error is signaled. The
setf form of
invoke-dispatch-method can be used to call property setter methods.
(invoke-dispatch-method doc "ReFormat")
LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015