Common HRESULT Values

The following HRESULT values are the most common. More values are contained in the header file Winerror.h.

Here are the values listed alphabetically by name.

NameDescriptionValue
S_OKOperation successful0x00000000
E_ABORTOperation aborted0x80004004
E_ACCESSDENIEDGeneral access denied error0x80070005
E_FAILUnspecified failure0x80004005
E_HANDLEHandle that is not valid0x80070006
E_INVALIDARGOne or more arguments are not valid0x80070057
E_NOINTERFACENo such interface supported0x80004002
E_NOTIMPLNot implemented0x80004001
E_OUTOFMEMORYFailed to allocate necessary memory0x8007000E
E_POINTERPointer that is not valid0x80004003
E_UNEXPECTEDUnexpected failure0x8000FFFF

 

Here are the values listed in numeric order by value.

ValueNameDescription
0x00000000S_OKOperation successful
0x80004001E_NOTIMPLNot implemented
0x80004002E_NOINTERFACENo such interface supported
0x80004003E_POINTERPointer that is not valid
0x80004004E_ABORTOperation aborted
0x80004005E_FAILUnspecified failure
0x8000FFFFE_UNEXPECTEDUnexpected failure
0x80070005E_ACCESSDENIEDGeneral access denied error
0x80070006E_HANDLEHandle that is not valid
0x8007000EE_OUTOFMEMORYFailed to allocate necessary memory
0x80070057E_INVALIDARGOne or more arguments are not valid

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft