See
GetErrorInfo[
^] in the MSDN:
Quote:
Obtains the error information pointer set by the previous call to SetErrorInfo in the current logical thread.
If you got the return value
Quote:
S_FALSE There was no error object to return.
, no error info has been set by a COM function which is obvious because you did not have called any COM function.