Need All HRESULT values

Hi
I need all HRESULT values. Plz send me a link to ref. or simply copy paste...

Thanks
LVL 9
Subrat (C++ windows/Linux)Software EngineerAsked:
Who is Participating?
 
Subrat (C++ windows/Linux)Connect With a Mentor Software EngineerAuthor Commented:
USE HRESULT_FROM_WIN32(GetLastError())
0
 
HalfAsleepCommented:
Here you have some of the common ones.

http://msdn.microsoft.com/en-us/library/aa378137.aspx
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
HalfAsleepConnect With a Mentor Commented:
HRESULT values can vary, depending on what functionality is used.  What are you trying to do?
0
 
Subrat (C++ windows/Linux)Software EngineerAuthor Commented:
If CreateFile() API fails then what HRESULT value I should return;
0
 
Subrat (C++ windows/Linux)Software EngineerAuthor Commented:
The links given above by Masheik and HalfAsleep are not containing _all_ HRESULTS. Already visited by me before.
0
 
DanRollinsConnect With a Mentor Commented:
Surely you understand that any function can return an HRESULT that can have any value desired.  So there cannot possibly be a complete list of all of them.
As to what you should return to the caller if, for instance, in your ActiveX control a CreateFile() API call failed... You can just return
     E_FAIL
and use some other mechanism to provide details of why the ActiveX's functions failed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.