Checks an hresult for success.
com
succeeded hresult => flag
hresult⇩ |
An integer hresult. |
flag |
A boolean. |
The macro succeeded
checks hresult and returns true if the it is one of the 'succeeded' values, for instance S_OK
or S_FALSE
. Otherwise, it returns false.
(succeeded S_OK) => t
(succeeded E_NOINTERFACE) => nil
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38