foreign type is a useful converted type for iid arguments to foreign functions. When given a symbol, it looks up the GUID as if by calling
. Otherwise the value should be a foreign pointer to a GUID structure, which is passed directly without conversion.
(print-iid (com-interface-refguid 'i-unknown))