Compares one hresult to another.
com
hresult-equal hres1 hres2 => flag
hres1⇩ |
An integer hresult. |
hres2⇩ |
An integer hresult. |
flag |
A boolean, true if hres1 and hres2 are equal. |
The function hresult-equal
compares hres1 and hres2 and returns true if they represent the same hresult. This function differs from the Common Lisp function eql because it handles signed and unsigned versions of each hresult.
E_NOTIMPL
is negative, so:
(eql E_NOTIMPL 2147500033) => nil
(hresult-equal E_NOTIMPL 2147500033) => t
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38