All Manuals > COM/Automation User Guide and Reference Manual > 2 COM Reference Entries

com-object-from-pointer Function

Summary

Return the COM object that implements a particular COM interface pointer.

Package

com

Signature

com-object-from-pointer pointer => object

Arguments
pointer
A foreign pointer.
Values
object
A COM object or nil.
Description

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.

Examples
(com-object-from-pointer my-ptr)
See also

com-object


COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38