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

co-create-guid Function

Summary

Makes a unique refguid object.

Package

com

Signature

co-create-guid &key register => refguid

Arguments
register
A generalized boolean.
Values
refguid
A refguid object.
Description

The function co-create-guid makes a new unique refguid object. If register is true (the default), then the table of known refguids is updated.

Examples

Make a GUID without registering it in the table of known refguids:

(com:co-create-guid :register nil)
=>
#<REFGUID FOO C76B64AF-969A-4EFF-97BC-6CE2EB65019B>
See also

refguid
make-guid-from-string
com-interface-refguid
guid-equal
guid-to-string
refguid-interface-name


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