Decode HResult = -2147467259

前端 未结 4 1666
無奈伤痛
無奈伤痛 2020-12-23 14:07

Can someone help me decode this HResult? What does it mean? I know the negative stands for a failure. How about the rest of the 10 bits?

I referenced MSDN HResult a

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-23 14:51

    I'll show you how to do it. Paste the negative number into Calculator (Windows) in programmer mode "Dec" setting. Then convert to "Hex" setting. You get the number: FFFFFFFF80004005. The error is 80004005 which is:

    0x80004005
    E_FAIL
    Unspecified 
    

    Unfortunately the provider of the function that gave you this error did not categorize the error.

    Useful links:

    1. MSDN - HRESULT Format
    2. MSDN - HRESULT Error List

提交回复
热议问题