Windows HRESULT Codes
32-bit error and status codes used throughout the Windows platform, COM, and Win32 APIs. The high bit indicates failure (1) or success (0); facility bits identify the subsystem.
References
52 codes
-
CLASS_E_CLASSNOTAVAILABLEClass not available -
CLASS_E_NOAGGREGATIONClass does not support aggregation -
CO_E_ALREADYINITIALIZEDCOM already initialised -
CO_E_CREATEPROCESSFAILEDCreate process failed -
CO_E_NOTINITIALIZEDCOM not initialised -
D2DERR_INVALID_CALLDirect2D invalid call -
D2DERR_NOT_INITIALIZEDDirect2D not initialised -
D2DERR_RECREATE_TARGETDirect2D recreate target -
D2DERR_WRONG_STATEDirect2D wrong state -
DXGI_ERROR_ACCESS_DENIEDDXGI access denied -
DXGI_ERROR_DEVICE_HUNGDXGI device hung -
DXGI_ERROR_DEVICE_REMOVEDDXGI device removed -
DXGI_ERROR_DEVICE_RESETDXGI device reset -
DXGI_ERROR_DRIVER_INTERNAL_ERRORDXGI driver internal error -
DXGI_ERROR_INVALID_CALLDXGI invalid call -
DXGI_ERROR_MORE_DATADXGI buffer too small -
DXGI_ERROR_NOT_FOUNDDXGI object not found -
DXGI_ERROR_UNSUPPORTEDDXGI feature unsupported -
E_ABORTOperation aborted -
E_ACCESSDENIEDAccess denied -
E_FAILUnspecified failure -
E_HANDLEInvalid handle -
E_INVALIDARGInvalid argument -
E_NOINTERFACENo such interface supported -
E_NOTIMPLNot implemented -
E_OUTOFMEMORYOut of memory -
E_POINTERInvalid pointer -
E_UNEXPECTEDUnexpected failure -
HRESULT_FROM_WIN32_ERROR_ALREADY_EXISTSAlready exists (Win32) -
HRESULT_FROM_WIN32_ERROR_FILE_NOT_FOUNDFile not found (Win32) -
HRESULT_FROM_WIN32_ERROR_INSUFFICIENT_BUFFERInsufficient buffer (Win32) -
HRESULT_FROM_WIN32_ERROR_NOT_SUPPORTEDNot supported (Win32) -
HRESULT_FROM_WIN32_ERROR_PATH_NOT_FOUNDPath not found (Win32) -
HRESULT_FROM_WIN32_ERROR_SHARING_VIOLATIONSharing violation (Win32) -
HRESULT_FROM_WIN32_ERROR_TIMEOUTWait timeout (Win32) -
REGDB_E_CLASSNOTREGClass not registered -
RPC_E_CALL_REJECTEDRPC call rejected -
RPC_E_CHANGED_MODERPC apartment model changed -
RPC_E_DISCONNECTEDRPC object disconnected -
S_FALSEOperation successful (false) -
S_OKOperation successful -
STG_E_ACCESSDENIEDStorage access denied -
STG_E_CANTSAVEStorage cannot save -
STG_E_FILEALREADYEXISTSStorage file already exists -
STG_E_FILENOTFOUNDStorage file not found -
STG_E_INSUFFICIENTMEMORYInsufficient memory for storage operation -
STG_E_INVALIDFUNCTIONInvalid function -
STG_E_MEDIUMFULLStorage medium full -
STG_E_PATHNOTFOUNDStorage path not found -
STG_E_REVERTEDStorage reverted -
STG_E_SHAREVIOLATIONStorage share violation -
STG_S_CONVERTEDStorage converted