Groups | Blog | Home
all groups > dotnet interop > november 2005 >

dotnet interop : Where can I find ALL the HRESULTS?


Juan Dent
11/23/2005 1:56:27 PM
Hi,

Too often I am presented with an HRESULT that I don't recognize. I know
winerror.h has some, but where can I find ALL of them and up to date?

I am now using VS 2005.


--
Thanks in advance,

lukezhan NO[at]SPAM online.microsoft.com
11/24/2005 6:43:52 AM
Hello,

Here is the full list for all System errors:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/
system_error_codes.asp

Hope this help,

Luke
Ole Nielsby
11/24/2005 11:34:55 PM

[quoted text, click to view]

The list doesn't cover the 0x8??????? stuff.

BTW you might want to make yourself a simple utility that
allows you to enter a hex number and tries to get a description
using the FormatMessage function. Replace 0x800a???? by
0x0000???? (undwrap COM wrapped win32 error codes)
before passing to FormatMessage.

HTH/Ole Nielsby

Mattias Sjögren
11/25/2005 7:49:41 AM

[quoted text, click to view]

Or just use Errlook.exe installed with VS.


[quoted text, click to view]

FACILITY_WIN32 is 7 (so that would be 0x8007????).


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
AddThis Social Bookmark Button