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

guid-equal Function

Summary

Compares the GUID data in two GUID pointers.

Package

com

Signature

guid-equal guid1 guid2 => flag

Arguments
guid1
A foreign pointer to a GUID object.
guid2
A foreign pointer to a GUID object.
Values
flag
A boolean, true if guid1 and guid2 contain the same GUID data.
Description

The function guid-equal compares the GUID data in guid1 and guid2 and returns true if the data is identical.

Examples
(guid-equal (com-interface-refguid 'i-unknown)
            (com-interface-refguid 'i-dispatch))
=> nil
(guid-equal (com-interface-refguid 'i-unknown)
            (make-guid-from-string
             "00000000-0000-0000-C000-000000000046"))
=> t
See also

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


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