The function com-object-from-pointer
returns the COM object that implements pointer. The value of pointer should be a foreign pointer or COM interface pointer that was created by LispWorks itself and implemented by a subclass of com-object. If pointer is not a known COM interface pointer then nil
is returned.
LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017