Need All HRESULT values

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

Subrat (C++ windows/Linux)Software EngineerAsked:
Who is Participating?
Subrat (C++ windows/Linux)Connect With a Mentor Software EngineerAuthor Commented:
Here you have some of the common ones.
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?
Subrat (C++ windows/Linux)Software EngineerAuthor Commented:
If CreateFile() API fails then what HRESULT value I should return;
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.
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
and use some other mechanism to provide details of why the ActiveX's functions failed.
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.