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 - 18 Feb 2025 15:39:54