The
hresult
type is a signed 32 bit integer. When used as the result type of a COM method, the value
E_UNEXPECTED
is returned if the COM method body does not return an integer.
LispWorks COM/Automation User Guide and Reference Manual - 19 Dec 2011