A FLI type used to refer to iids.
com
refiid
The FLI type refiid
is a useful converted type for IID arguments to foreign functions. When given a symbol, it looks up the GUID as if by calling com-interface-refguid. Otherwise the value should be a foreign pointer to a GUID structure, which is passed directly without conversion.
Given the definition of print-iid
:
(fli:define-foreign-function print-iid ((iid refiid)))
then these two forms are equivalent:
(print-iid 'i-unknown)
(print-iid (com-interface-refguid 'i-unknown))
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38