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

refiid FLI Type Descriptor

Summary

A FLI type used to refer to iids.

Package

com

Syntax

refiid

Description

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.

Examples

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))
See also

com-interface-refguid
refguid


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