Called when a COM object gets its first interface pointer.
com
com-object-initialize object
com-object-initialize (object standard-i-unknown)
object⇩ |
A COM object. |
The generic function com-object-initialize
is called by the built-in class standard-i-unknown at the point where the first COM interface pointer is made for object. Prior to this, object is known only to Lisp and is not involved in any COM operations. The built-in primary method specializing on standard-i-unknown does nothing.
This function should not be called directly by user code.
(defmethod com-object-initialize :after ((my-doc doc-impl)) (ensure-open-document-file my-doc))
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38