[PSDK] Update winerror.h. CORE-15682
[reactos.git] / sdk / include / psdk / winerror.h
index d4e1c2e..776c48b 100644 (file)
 #define ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY              217
 #define ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY       218
 #define ERROR_INVALID_EXITROUTINE_RING                     219
-#define ERROR_GETBUF_FAILED                                220
-#define ERROR_FLUSHBUF_FAILED                              221
-#define ERROR_TRANSFER_TOO_LONG                            222
-#define ERROR_FORCENOSWAP_FAILED                           223
-#define ERROR_SMG_NO_TARGET_WINDOW                         224
+#define ERROR_FILE_CHECKED_OUT                             220
+#define ERROR_CHECKOUT_REQUIRED                            221
+#define ERROR_BAD_FILE_TYPE                                222
+#define ERROR_FILE_TOO_LARGE                               223
+#define ERROR_FORMS_AUTH_REQUIRED                          224
 #define ERROR_NO_CHILDREN                                  228
-#define ERROR_INVALID_SCREEN_GROUP                         229
+#define ERROR_PIPE_LOCAL                                   229
 #define ERROR_BAD_PIPE                                     230
 #define ERROR_PIPE_BUSY                                    231
 #define ERROR_NO_DATA                                      232
 #define SCARD_W_CACHE_ITEM_STALE                           _HRESULT_TYPEDEF_(0x80100071L)
 #define SCARD_W_CACHE_ITEM_TOO_BIG                         _HRESULT_TYPEDEF_(0x80100072L)
 
+#define WININET_E_NAME_NOT_RESOLVED                        _HRESULT_TYPEDEF_(0x80072ee7)
+
+#define WINCODEC_ERR_WRONGSTATE                            _HRESULT_TYPEDEF_(0x88982f04)
+#define WINCODEC_ERR_VALUEOUTOFRANGE                       _HRESULT_TYPEDEF_(0x88982f05)
+#define WINCODEC_ERR_UNKNOWNIMAGEFORMAT                    _HRESULT_TYPEDEF_(0x88982f07)
+#define WINCODEC_ERR_UNSUPPORTEDVERSION                    _HRESULT_TYPEDEF_(0x88982f0b)
+#define WINCODEC_ERR_NOTINITIALIZED                        _HRESULT_TYPEDEF_(0x88982f0c)
+#define WINCODEC_ERR_ALREADYLOCKED                         _HRESULT_TYPEDEF_(0x88982f0d)
+#define WINCODEC_ERR_PROPERTYNOTFOUND                      _HRESULT_TYPEDEF_(0x88982f40)
+#define WINCODEC_ERR_PROPERTYNOTSUPPORTED                  _HRESULT_TYPEDEF_(0x88982f41)
+#define WINCODEC_ERR_PROPERTYSIZE                          _HRESULT_TYPEDEF_(0x88982f42)
+#define WINCODEC_ERR_CODECPRESENT                          _HRESULT_TYPEDEF_(0x88982f43)
+#define WINCODEC_ERR_CODECNOTHUMBNAIL                      _HRESULT_TYPEDEF_(0x88982f44)
+#define WINCODEC_ERR_PALETTEUNAVAILABLE                    _HRESULT_TYPEDEF_(0x88982f45)
+#define WINCODEC_ERR_CODECTOOMANYSCANLINES                 _HRESULT_TYPEDEF_(0x88982f46)
+#define WINCODEC_ERR_INTERNALERROR                         _HRESULT_TYPEDEF_(0x88982f48)
+#define WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS      _HRESULT_TYPEDEF_(0x88982f49)
+#define WINCODEC_ERR_COMPONENTNOTFOUND                     _HRESULT_TYPEDEF_(0x88982f50)
+#define WINCODEC_ERR_IMAGESIZEOUTOFRANGE                   _HRESULT_TYPEDEF_(0x88982f51)
+#define WINCODEC_ERR_TOOMUCHMETADATA                       _HRESULT_TYPEDEF_(0x88982f52)
+#define WINCODEC_ERR_BADIMAGE                              _HRESULT_TYPEDEF_(0x88982f60)
+#define WINCODEC_ERR_BADHEADER                             _HRESULT_TYPEDEF_(0x88982f61)
+#define WINCODEC_ERR_FRAMEMISSING                          _HRESULT_TYPEDEF_(0x88982f62)
+#define WINCODEC_ERR_BADMETADATAHEADER                     _HRESULT_TYPEDEF_(0x88982f63)
+#define WINCODEC_ERR_BADSTREAMDATA                         _HRESULT_TYPEDEF_(0x88982f70)
+#define WINCODEC_ERR_STREAMWRITE                           _HRESULT_TYPEDEF_(0x88982f71)
+#define WINCODEC_ERR_STREAMREAD                            _HRESULT_TYPEDEF_(0x88982f72)
+#define WINCODEC_ERR_STREAMNOTAVAILABLE                    _HRESULT_TYPEDEF_(0x88982f73)
+#define WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT                _HRESULT_TYPEDEF_(0x88982f80)
+#define WINCODEC_ERR_UNSUPPORTEDOPERATION                  _HRESULT_TYPEDEF_(0x88982f81)
+#define WINCODEC_ERR_INVALIDREGISTRATION                   _HRESULT_TYPEDEF_(0x88982f8a)
+#define WINCODEC_ERR_COMPONENTINITIALIZEFAILURE            _HRESULT_TYPEDEF_(0x88982f8b)
+#define WINCODEC_ERR_INSUFFICIENTBUFFER                    _HRESULT_TYPEDEF_(0x88982f8c)
+#define WINCODEC_ERR_DUPLICATEMETADATAPRESENT              _HRESULT_TYPEDEF_(0x88982f8d)
+#define WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE                _HRESULT_TYPEDEF_(0x88982f8e)
+#define WINCODEC_ERR_UNEXPECTEDSIZE                        _HRESULT_TYPEDEF_(0x88982f8f)
+#define WINCODEC_ERR_INVALIDQUERYREQUEST                   _HRESULT_TYPEDEF_(0x88982f90)
+#define WINCODEC_ERR_UNEXPECTEDMETADATATYPE                _HRESULT_TYPEDEF_(0x88982f91)
+#define WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT        _HRESULT_TYPEDEF_(0x88982f92)
+#define WINCODEC_ERR_INVALIDQUERYCHARACTER                 _HRESULT_TYPEDEF_(0x88982f93)
+#define WINCODEC_ERR_WIN32ERROR                            _HRESULT_TYPEDEF_(0x88982f94)
+#define WINCODEC_ERR_INVALIDPROGRESSIVELEVEL               _HRESULT_TYPEDEF_(0x88982f95)
+
 #define ERROR_AUDITING_DISABLED                            _HRESULT_TYPEDEF_(0xC0090001L)
 #define ERROR_ALL_SIDS_FILTERED                            _HRESULT_TYPEDEF_(0xC0090002L)
 
+
+#define FILTER_HRESULT_FROM_FLT_NTSTATUS(x) (ASSERT((x & 0xfff0000) == 0x001c0000), \
+                                             (HRESULT)(((x) & 0x8000FFFF) | (FACILITY_USERMODE_FILTER_MANAGER << 16)))
+
+#define ERROR_FLT_IO_COMPLETE                   _HRESULT_TYPEDEF_(0x001F0001L)
+#define ERROR_FLT_NO_HANDLER_DEFINED            _HRESULT_TYPEDEF_(0x801F0001L)
+#define ERROR_FLT_CONTEXT_ALREADY_DEFINED       _HRESULT_TYPEDEF_(0x801F0002L)
+#define ERROR_FLT_INVALID_ASYNCHRONOUS_REQUEST  _HRESULT_TYPEDEF_(0x801F0003L)
+#define ERROR_FLT_DISALLOW_FAST_IO              _HRESULT_TYPEDEF_(0x801F0004L)
+#define ERROR_FLT_INVALID_NAME_REQUEST          _HRESULT_TYPEDEF_(0x801F0005L)
+#define ERROR_FLT_NOT_SAFE_TO_POST_OPERATION    _HRESULT_TYPEDEF_(0x801F0006L)
+#define ERROR_FLT_NOT_INITIALIZED               _HRESULT_TYPEDEF_(0x801F0007L)
+#define ERROR_FLT_FILTER_NOT_READY              _HRESULT_TYPEDEF_(0x801F0008L)
+#define ERROR_FLT_POST_OPERATION_CLEANUP        _HRESULT_TYPEDEF_(0x801F0009L)
+#define ERROR_FLT_INTERNAL_ERROR                _HRESULT_TYPEDEF_(0x801F000AL)
+#define ERROR_FLT_DELETING_OBJECT               _HRESULT_TYPEDEF_(0x801F000BL)
+#define ERROR_FLT_MUST_BE_NONPAGED_POOL         _HRESULT_TYPEDEF_(0x801F000CL)
+#define ERROR_FLT_DUPLICATE_ENTRY               _HRESULT_TYPEDEF_(0x801F000DL)
+#define ERROR_FLT_CBDQ_DISABLED                 _HRESULT_TYPEDEF_(0x801F000EL)
+#define ERROR_FLT_DO_NOT_ATTACH                 _HRESULT_TYPEDEF_(0x801F000FL)
+#define ERROR_FLT_DO_NOT_DETACH                 _HRESULT_TYPEDEF_(0x801F0010L)
+#define ERROR_FLT_INSTANCE_ALTITUDE_COLLISION   _HRESULT_TYPEDEF_(0x801F0011L)
+#define ERROR_FLT_INSTANCE_NAME_COLLISION       _HRESULT_TYPEDEF_(0x801F0012L)
+#define ERROR_FLT_FILTER_NOT_FOUND              _HRESULT_TYPEDEF_(0x801F0013L)
+#define ERROR_FLT_VOLUME_NOT_FOUND              _HRESULT_TYPEDEF_(0x801F0014L)
+#define ERROR_FLT_INSTANCE_NOT_FOUND            _HRESULT_TYPEDEF_(0x801F0015L)
+#define ERROR_FLT_CONTEXT_ALLOCATION_NOT_FOUND  _HRESULT_TYPEDEF_(0x801F0016L)
+#define ERROR_FLT_INVALID_CONTEXT_REGISTRATION  _HRESULT_TYPEDEF_(0x801F0017L)
+#define ERROR_FLT_NAME_CACHE_MISS               _HRESULT_TYPEDEF_(0x801F0018L)
+#define ERROR_FLT_NO_DEVICE_OBJECT              _HRESULT_TYPEDEF_(0x801F0019L)
+#define ERROR_FLT_VOLUME_ALREADY_MOUNTED        _HRESULT_TYPEDEF_(0x801F001AL)
+#define ERROR_FLT_ALREADY_ENLISTED              _HRESULT_TYPEDEF_(0x801F001BL)
+#define ERROR_FLT_CONTEXT_ALREADY_LINKED        _HRESULT_TYPEDEF_(0x801F001CL)
+#define ERROR_FLT_NO_WAITER_FOR_REPLY           _HRESULT_TYPEDEF_(0x801F0020L)
+#define ERROR_FLT_REGISTRATION_BUSY             _HRESULT_TYPEDEF_(0x801F0023L)
+
+
 #endif  /* __WINE_WINERROR_H */