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

NextPrevUpTopContentsIndex

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.

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

com-object


LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017

NextPrevUpTopContentsIndex