Compares a result code to the value of S_OK.
com
s_ok hresult => flag
| hresult⇩ |
An integer hresult. |
| flag |
A boolean. |
The macro s_ok checks hresult and returns true if its value is that of the constant S_OK. Otherwise it returns false.
(S_OK S_OK) => t
(S_OK S_FALSE) => nil
(S_OK E_NOINTERFACE) => nil
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38