Search code examples
.netwin32exception

HRESULT exceptions


Is there any lists where the error codes are explained. Eks: HRESULT: 0x81070215 does not tell me enything about what when wrong?


Solution

  • WinError.h 
    

    I have this at the following path on my machine, yours will be similar as well:

    C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\WinError.h
    

    BTW, if you have Visual Studio installed, then there is a tool available named 'Error Lookup'. Go to Visual Studio, Tools->Error Lookup and in it you can put any HRESULT code to get it's description. You can download ErrorLookup from this location as well.