Compares a result code to the value of s_ok.
s_ok
com
s_ok hresult => flag
hresult
An integer hresult.
flag
A boolean.
The s_ok macro checks the hresult and returns true if its value is that of the constant S_OK.
S_OK
(S_OK S_OK) => t
(S_OK S_FALSE) => nil
(S_OK E_NOINTERFACE) => nil
succeeded hresult hresult-equal check-hresult
LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017