Compares one hresult to another.
hresult
com
hresult-equal hres1 hres2 => flag
hres1
An integer hresult .
hres2
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 .
hresult-equal
eql
E_NOTIMPL is negative, so
E_NOTIMPL
(eql E_NOTIMPL 2147500033)
=> nil
(hresult-equal E_NOTIMPL 2147500033)
=> t
hresult check-hresult com-error