Getting the Windows System Error Code title/description from its hex number

后端 未结 4 1346
孤城傲影
孤城傲影 2020-12-13 07:00

I\'m messing around with some windows functions using p/invoke. Occasionally, I get an error code that is not ERROR_SUCCESS (such an odd name).

Is there a way to loo

4条回答
  •  情话喂你
    2020-12-13 07:29

    Yes there's a function that does that but I don't remember what it is. In the mean time, you can use the error lookup tool (Tools->Error Lookup) to see what a particular code means from within Visual Studio.

提交回复
热议问题