Skip to content

Commit

Permalink
include: Add MIL/DWM HRESULT codes.
Browse files Browse the repository at this point in the history
Signed-off-by: Jactry Zeng <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
jactry authored and JoshuaBrest committed Nov 8, 2024
1 parent ee58d39 commit cf70d11
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions include/winerror.h
Original file line number Diff line number Diff line change
Expand Up @@ -3886,6 +3886,47 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define WINCODEC_ERR_WIN32ERROR _HRESULT_TYPEDEF_(0x88982f94)
#define WINCODEC_ERR_INVALIDPROGRESSIVELEVEL _HRESULT_TYPEDEF_(0x88982f95)

#define MILERR_OBJECTBUSY _HRESULT_TYPEDEF_(0x88980001)
#define MILERR_INSUFFICIENTBUFFER _HRESULT_TYPEDEF_(0x88980002)
#define MILERR_WIN32ERROR _HRESULT_TYPEDEF_(0x88980003)
#define MILERR_SCANNER_FAILED _HRESULT_TYPEDEF_(0x88980004)
#define MILERR_SCREENACCESSDENIED _HRESULT_TYPEDEF_(0x88980005)
#define MILERR_DISPLAYSTATEINVALID _HRESULT_TYPEDEF_(0x88980006)
#define MILERR_NONINVERTIBLEMATRIX _HRESULT_TYPEDEF_(0x88980007)
#define MILERR_ZEROVECTOR _HRESULT_TYPEDEF_(0x88980008)
#define MILERR_TERMINATED _HRESULT_TYPEDEF_(0x88980009)
#define MILERR_BADNUMBER _HRESULT_TYPEDEF_(0x8898000a)
#define MILERR_INTERNALERROR _HRESULT_TYPEDEF_(0x88980080)
#define MILERR_DISPLAYFORMATNOTSUPPORTED _HRESULT_TYPEDEF_(0x88980084)
#define MILERR_INVALIDCALL _HRESULT_TYPEDEF_(0x88980085)
#define MILERR_ALREADYLOCKED _HRESULT_TYPEDEF_(0x88980086)
#define MILERR_NOTLOCKED _HRESULT_TYPEDEF_(0x88980087)
#define MILERR_DEVICECANNOTRENDERTEXT _HRESULT_TYPEDEF_(0x88980088)
#define MILERR_GLYPHBITMAPMISSED _HRESULT_TYPEDEF_(0x88980089)
#define MILERR_MALFORMEDGLYPHCACHE _HRESULT_TYPEDEF_(0x8898008a)
#define MILERR_GENERIC_IGNORE _HRESULT_TYPEDEF_(0x8898008b)
#define MILERR_MALFORMED_GUIDELINE_DATA _HRESULT_TYPEDEF_(0x8898008c)
#define MILERR_NO_HARDWARE_DEVICE _HRESULT_TYPEDEF_(0x8898008d)
#define MILERR_NEED_RECREATE_AND_PRESENT _HRESULT_TYPEDEF_(0x8898008e)
#define MILERR_ALREADY_INITIALIZED _HRESULT_TYPEDEF_(0x8898008f)
#define MILERR_MISMATCHED_SIZE _HRESULT_TYPEDEF_(0x88980090)
#define MILERR_NO_REDIRECTION_SURFACE_AVAILABLE _HRESULT_TYPEDEF_(0x88980091)
#define MILERR_REMOTING_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x88980092)
#define MILERR_QUEUED_PRESENT_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x88980093)
#define MILERR_NOT_QUEUING_PRESENTS _HRESULT_TYPEDEF_(0x88980094)
#define MILERR_NO_REDIRECTION_SURFACE_RETRY_LATER _HRESULT_TYPEDEF_(0x88980095)
#define MILERR_TOOMANYSHADERELEMNTS _HRESULT_TYPEDEF_(0x88980096)
#define MILERR_MROW_READLOCK_FAILED _HRESULT_TYPEDEF_(0x88980097)
#define MILERR_MROW_UPDATE_FAILED _HRESULT_TYPEDEF_(0x88980098)
#define MILERR_SHADER_COMPILE_FAILED _HRESULT_TYPEDEF_(0x88980099)
#define MILERR_MAX_TEXTURE_SIZE_EXCEEDED _HRESULT_TYPEDEF_(0x8898009a)
#define MILERR_QPC_TIME_WENT_BACKWARD _HRESULT_TYPEDEF_(0x8898009b)
#define MILERR_DXGI_ENUMERATION_OUT_OF_SYNC _HRESULT_TYPEDEF_(0x8898009d)
#define MILERR_ADAPTER_NOT_FOUND _HRESULT_TYPEDEF_(0x8898009e)
#define MILERR_COLORSPACE_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x8898009f)
#define MILERR_PREFILTER_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x889800a0)
#define MILERR_DISPLAYID_ACCESS_DENIED _HRESULT_TYPEDEF_(0x889800a1)

#define DWRITE_E_FILEFORMAT _HRESULT_TYPEDEF_(0x88985000)
#define DWRITE_E_UNEXPECTED _HRESULT_TYPEDEF_(0x88985001)
#define DWRITE_E_NOFONT _HRESULT_TYPEDEF_(0x88985002)
Expand Down

0 comments on commit cf70d11

Please sign in to comment.