[1/2] include: Add more error codes

André Hentschel nerv at dawncrow.de
Thu Dec 16 09:21:27 CST 2010


---
 include/winerror.h |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/include/winerror.h b/include/winerror.h
index da70c7e..be15be9 100644
--- a/include/winerror.h
+++ b/include/winerror.h
@@ -141,6 +141,7 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
 #define ERROR_WRONG_DISK                                   34
 #define ERROR_FCB_UNAVAILABLE                              35
 #define ERROR_SHARING_BUFFER_EXCEEDED                      36
+#define ERROR_CODE_PAGE_MISMATCHED                         37
 #define ERROR_HANDLE_EOF                                   38
 #define ERROR_HANDLE_DISK_FULL                             39
 #define ERROR_NOT_SUPPORTED                                50
@@ -166,7 +167,11 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
 #define ERROR_SHARING_PAUSED                               70
 #define ERROR_REQ_NOT_ACCEP                                71
 #define ERROR_REDIR_PAUSED                                 72
+#define ERROR_SBCS_ATT_WRITE_PROT                          73
+#define ERROR_SBCS_GENERAL_FAILURE                         74
+#define ERROR_XGA_OUT_MEMORY                               75
 #define ERROR_FILE_EXISTS                                  80
+#define ERROR_DUP_FCB                                      81
 #define ERROR_CANNOT_MAKE                                  82
 #define ERROR_FAIL_I24                                     83
 #define ERROR_OUT_OF_STRUCTURES                            84
@@ -175,6 +180,13 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
 #define ERROR_INVALID_PARAMETER                            87
 #define ERROR_NET_WRITE_FAULT                              88
 #define ERROR_NO_PROC_SLOTS                                89
+#define ERROR_NOT_FROZEN                                   90
+#define ERROR_SYS_COMP_NOT_LOADED                          90
+#define ERR_TSTOVFL                                        91
+#define ERR_TSTDUP                                         92
+#define ERROR_NO_ITEMS                                     93
+#define ERROR_INTERRUPT                                    95
+#define ERROR_DEVICE_IN_USE                                99
 #define ERROR_TOO_MANY_SEMAPHORES                          100
 #define ERROR_EXCL_SEM_ALREADY_OWNED                       101
 #define ERROR_SEM_IS_SET                                   102
@@ -190,6 +202,8 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
 #define ERROR_DISK_FULL                                    112
 #define ERROR_NO_MORE_SEARCH_HANDLES                       113
 #define ERROR_INVALID_TARGET_HANDLE                        114
+#define ERROR_PROTECTION_VIOLATION                         115
+#define ERROR_VIOKBD_REQUEST                               116
 #define ERROR_INVALID_CATEGORY                             117
 #define ERROR_INVALID_VERIFY_SWITCH                        118
 #define ERROR_BAD_DRIVER_LEVEL                             119
@@ -236,14 +250,23 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
 #define ERROR_BAD_ARGUMENTS                                160
 #define ERROR_BAD_PATHNAME                                 161
 #define ERROR_SIGNAL_PENDING                               162
+#define ERROR_UNCERTAIN_MEDIA                              163
 #define ERROR_MAX_THRDS_REACHED                            164
+#define ERROR_MONITORS_NOT_SUPPORTED                       165
+#define ERROR_UNC_DRIVER_NOT_INSTALLED                     166
 #define ERROR_LOCK_FAILED                                  167
+#define ERROR_SWAPIO_FAILED                                168
+#define ERROR_SWAPIN_FAILED                                169
 #define ERROR_BUSY                                         170
 #define ERROR_CANCEL_VIOLATION                             173
 #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED                   174
+#define ERROR_READ_LOCKS_NOT_SUPPORTED                     175
 #define ERROR_INVALID_SEGMENT_NUMBER                       180
+#define ERROR_INVALID_CALLGATE                             181
 #define ERROR_INVALID_ORDINAL                              182
 #define ERROR_ALREADY_EXISTS                               183
+#define ERROR_NO_CHILD_PROCESS                             184
+#define ERROR_CHILD_ALIVE_NOWAIT                           185
 #define ERROR_INVALID_FLAG_NUMBER                          186
 #define ERROR_SEM_NOT_FOUND                                187
 #define ERROR_INVALID_STARTING_CODESEG                     188
@@ -262,25 +285,51 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
 #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM                     201
 #define ERROR_INFLOOP_IN_RELOC_CHAIN                       202
 #define ERROR_ENVVAR_NOT_FOUND                             203
+#define ERROR_NOT_CURRENT_CTRY                             204
 #define ERROR_NO_SIGNAL_SENT                               205
 #define ERROR_FILENAME_EXCED_RANGE                         206
 #define ERROR_RING2_STACK_IN_USE                           207
 #define ERROR_META_EXPANSION_TOO_LONG                      208
 #define ERROR_INVALID_SIGNAL_NUMBER                        209
 #define ERROR_THREAD_1_INACTIVE                            210
+#define ERROR_INFO_NOT_AVAIL                               211
 #define ERROR_LOCKED                                       212
+#define ERROR_BAD_DYNALINK                                 213
 #define ERROR_TOO_MANY_MODULES                             214
 #define ERROR_NESTING_NOT_ALLOWED                          215
 #define ERROR_EXE_MACHINE_TYPE_MISMATCH                    216
+#define ERROR_ZOMBIE_PROCESS                               217
+#define ERROR_STACK_IN_HIGH_MEMORY                         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_NO_CHILDREN                                  228
+#define ERROR_INVALID_SCREEN_GROUP                         229
 #define ERROR_BAD_PIPE                                     230
 #define ERROR_PIPE_BUSY                                    231
 #define ERROR_NO_DATA                                      232
 #define ERROR_PIPE_NOT_CONNECTED                           233
 #define ERROR_MORE_DATA                                    234
 #define ERROR_VC_DISCONNECTED                              240
+#define ERROR_CIRCULARITY_REQUESTED                        250
+#define ERROR_DIRECTORY_IN_CDS                             251
+#define ERROR_INVALID_FSD_NAME                             252
+#define ERROR_INVALID_PATH                                 253
 #define ERROR_INVALID_EA_NAME                              254
 #define ERROR_EA_LIST_INCONSISTENT                         255
+#define ERROR_EA_LIST_TOO_LONG                             256
+#define ERROR_NO_META_MATCH                                257
+#define ERROR_FINDNOTIFY_TIMEOUT                           258
 #define ERROR_NO_MORE_ITEMS                                259
+#define ERROR_SEARCH_STRUC_REUSED                          260
+#define ERROR_CHAR_NOT_FOUND                               261
+#define ERROR_TOO_MUCH_STACK                               262
+#define ERROR_INVALID_ATTR                                 263
+#define ERROR_INVALID_STARTING_RING                        264
+#define ERROR_INVALID_DLL_INIT_RING                        265
 #define ERROR_CANNOT_COPY                                  266
 #define ERROR_DIRECTORY                                    267
 #define ERROR_EAS_DIDNT_FIT                                275
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list