The function print-i-dispatch-methods
prints the methods that are defined for the i-dispatch
i-dispatch.
print-i-dispatch-methods
tries to get the information about the methods of the
i-dispatch
and print them in a readable format. If arguments-p is nil
then for each each method it prints its name, followed by the invocation type(s) inside curly brackets. Invocation types are:
Invoked by invoke-dispatch-method.
Invoked by invoke-dispatch-get-property.
Invoked by invoke-dispatch-put-property.
If arguments-p is true, print-i-dispatch-methods
also prints the types of the arguments for each method. The type of each argument is shown as a plain string followed by the VT_
constant name delimited by curly brackets. The type may be preceded by:
Means the argument has VT_BYREF
. The argument in that is passed in Lisp should be the actual type. By reference argument values are returned as multiple values, following the return value of the method if it has one.
Means it got VT_ARRAY
. The argument in Lisp should be an array.
Means it got VT_ARRAY
and VT_BYREF
. The argument needs to be an array of the actual type.
print-i-dispatch-methods
gives only partial information, and is therefore useful only for the simple methods where it is pretty obvious what the arguments are. If the arguments are not obvious, you will need to read the actual documentation.
get-i-dispatch-name
i-dispatch
invoke-dispatch-put-property
invoke-dispatch-get-property
invoke-dispatch-method
Calling Automation methods without a type library
LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015