For an example of how to implement an Automation server that controls a CAPI application, see the file
examples\com\automation\capi-application\build.lisp
in the LispWorks installation.
LispWorks COM/Automation User Guide and Reference Manual - 22 Dec 2009