The FLI type corresponding to HRESULT in C/C++.
com
hresult
The FLI type hresult 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.
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38