[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 | #define NO_ERROR 0
|
---|
| 7 | #define ERROR_INVALID_FUNCTION 1
|
---|
| 8 | #define ERROR_FILE_NOT_FOUND 2
|
---|
| 9 | #define ERROR_PATH_NOT_FOUND 3
|
---|
| 10 | #define ERROR_TOO_MANY_OPEN_FILES 4
|
---|
| 11 | #define ERROR_ACCESS_DENIED 5
|
---|
| 12 | #define ERROR_INVALID_HANDLE 6
|
---|
| 13 | #define ERROR_ARENA_TRASHED 7
|
---|
| 14 | #define ERROR_NOT_ENOUGH_MEMORY 8
|
---|
| 15 | #define ERROR_INVALID_BLOCK 9
|
---|
| 16 | #define ERROR_BAD_ENVIRONMENT 10
|
---|
| 17 | #define ERROR_BAD_FORMAT 11
|
---|
| 18 | #define ERROR_INVALID_ACCESS 12
|
---|
| 19 | #define ERROR_INVALID_DATA 13
|
---|
| 20 | #define ERROR_INVALID_DRIVE 15
|
---|
| 21 | #define ERROR_CURRENT_DIRECTORY 16
|
---|
| 22 | #define ERROR_NOT_SAME_DEVICE 17
|
---|
| 23 | #define ERROR_NO_MORE_FILES 18
|
---|
| 24 | #define ERROR_WRITE_PROTECT 19
|
---|
| 25 | #define ERROR_BAD_UNIT 20
|
---|
| 26 | #define ERROR_NOT_READY 21
|
---|
| 27 | #define ERROR_BAD_COMMAND 22
|
---|
| 28 | #define ERROR_CRC 23
|
---|
| 29 | #define ERROR_BAD_LENGTH 24
|
---|
| 30 | #define ERROR_SEEK 25
|
---|
| 31 | #define ERROR_NOT_DOS_DISK 26
|
---|
| 32 | #define ERROR_SECTOR_NOT_FOUND 27
|
---|
| 33 | #define ERROR_OUT_OF_PAPER 28
|
---|
| 34 | #define ERROR_WRITE_FAULT 29
|
---|
| 35 | #define ERROR_READ_FAULT 30
|
---|
| 36 | #define ERROR_GEN_FAILURE 31
|
---|
| 37 | #define ERROR_SHARING_VIOLATION 32
|
---|
| 38 | #define ERROR_LOCK_VIOLATION 33
|
---|
| 39 | #define ERROR_WRONG_DISK 34
|
---|
| 40 | #define ERROR_FCB_UNAVAILABLE 35
|
---|
| 41 | #define ERROR_SHARING_BUFFER_EXCEEDED 36
|
---|
| 42 | #define ERROR_NOT_SUPPORTED 50
|
---|
| 43 | #define ERROR_FILE_EXISTS 80
|
---|
| 44 | #define ERROR_DUP_FCB 81
|
---|
| 45 | #define ERROR_CANNOT_MAKE 82
|
---|
| 46 | #define ERROR_FAIL_I24 83
|
---|
| 47 | #define ERROR_OUT_OF_STRUCTURES 84
|
---|
| 48 | #define ERROR_ALREADY_ASSIGNED 85
|
---|
| 49 | #define ERROR_INVALID_PASSWORD 86
|
---|
| 50 | #define ERROR_INVALID_PARAMETER 87
|
---|
| 51 | #define ERROR_NET_WRITE_FAULT 88
|
---|
| 52 | #define ERROR_NO_PROC_SLOTS 89
|
---|
| 53 | #define ERROR_NOT_FROZEN 90
|
---|
| 54 | #define ERR_TSTOVFL 91
|
---|
| 55 | #define ERR_TSTDUP 92
|
---|
| 56 | #define ERROR_NO_ITEMS 93
|
---|
| 57 | #define ERROR_INTERRUPT 95
|
---|
| 58 | #define ERROR_TOO_MANY_SEMAPHORES 100
|
---|
| 59 | #define ERROR_EXCL_SEM_ALREADY_OWNED 101
|
---|
| 60 | #define ERROR_SEM_IS_SET 102
|
---|
| 61 | #define ERROR_TOO_MANY_SEM_REQUESTS 103
|
---|
| 62 | #define ERROR_INVALID_AT_INTERRUPT_TIME 104
|
---|
| 63 | #define ERROR_SEM_OWNER_DIED 105
|
---|
| 64 | #define ERROR_SEM_USER_LIMIT 106
|
---|
| 65 | #define ERROR_DISK_CHANGE 107
|
---|
| 66 | #define ERROR_DRIVE_LOCKED 108
|
---|
| 67 | #define ERROR_BROKEN_PIPE 109
|
---|
| 68 | #define ERROR_OPEN_FAILED 110
|
---|
| 69 | #define ERROR_BUFFER_OVERFLOW 111
|
---|
| 70 | #define ERROR_DISK_FULL 112
|
---|
| 71 | #define ERROR_NO_MORE_SEARCH_HANDLES 113
|
---|
| 72 | #define ERROR_INVALID_TARGET_HANDLE 114
|
---|
| 73 | #define ERROR_PROTECTION_VIOLATION 115
|
---|
| 74 | #define ERROR_VIOKBD_REQUEST 116
|
---|
| 75 | #define ERROR_INVALID_CATEGORY 117
|
---|
| 76 | #define ERROR_INVALID_VERIFY_SWITCH 118
|
---|
| 77 | #define ERROR_BAD_DRIVER_LEVEL 119
|
---|
| 78 | #define ERROR_CALL_NOT_IMPLEMENTED 120
|
---|
| 79 | #define ERROR_SEM_TIMEOUT 121
|
---|
| 80 | #define ERROR_INSUFFICIENT_BUFFER 122
|
---|
| 81 | #define ERROR_INVALID_NAME 123
|
---|
| 82 | #define ERROR_INVALID_LEVEL 124
|
---|
| 83 | #define ERROR_NO_VOLUME_LABEL 125
|
---|
| 84 | #define ERROR_MOD_NOT_FOUND 126
|
---|
| 85 | #define ERROR_PROC_NOT_FOUND 127
|
---|
| 86 | #define ERROR_WAIT_NO_CHILDREN 128
|
---|
| 87 | #define ERROR_CHILD_NOT_COMPLETE 129
|
---|
| 88 | #define ERROR_DIRECT_ACCESS_HANDLE 130
|
---|
| 89 | #define ERROR_NEGATIVE_SEEK 131
|
---|
| 90 | #define ERROR_SEEK_ON_DEVICE 132
|
---|
| 91 | #define ERROR_IS_JOIN_TARGET 133
|
---|
| 92 | #define ERROR_IS_JOINED 134
|
---|
| 93 | #define ERROR_IS_SUBSTED 135
|
---|
| 94 | #define ERROR_NOT_JOINED 136
|
---|
| 95 | #define ERROR_NOT_SUBSTED 137
|
---|
| 96 | #define ERROR_JOIN_TO_JOIN 138
|
---|
| 97 | #define ERROR_SUBST_TO_SUBST 139
|
---|
| 98 | #define ERROR_JOIN_TO_SUBST 140
|
---|
| 99 | #define ERROR_SUBST_TO_JOIN 141
|
---|
| 100 | #define ERROR_BUSY_DRIVE 142
|
---|
| 101 | #define ERROR_SAME_DRIVE 143
|
---|
| 102 | #define ERROR_DIR_NOT_ROOT 144
|
---|
| 103 | #define ERROR_DIR_NOT_EMPTY 145
|
---|
| 104 | #define ERROR_IS_SUBST_PATH 146
|
---|
| 105 | #define ERROR_IS_JOIN_PATH 147
|
---|
| 106 | #define ERROR_PATH_BUSY 148
|
---|
| 107 | #define ERROR_IS_SUBST_TARGET 149
|
---|
| 108 | #define ERROR_SYSTEM_TRACE 150
|
---|
| 109 | #define ERROR_INVALID_EVENT_COUNT 151
|
---|
| 110 | #define ERROR_TOO_MANY_MUXWAITERS 152
|
---|
| 111 | #define ERROR_INVALID_LIST_FORMAT 153
|
---|
| 112 | #define ERROR_LABEL_TOO_LONG 154
|
---|
| 113 | #define ERROR_TOO_MANY_TCBS 155
|
---|
| 114 | #define ERROR_SIGNAL_REFUSED 156
|
---|
| 115 | #define ERROR_DISCARDED 157
|
---|
| 116 | #define ERROR_NOT_LOCKED 158
|
---|
| 117 | #define ERROR_BAD_THREADID_ADDR 159
|
---|
| 118 | #define ERROR_BAD_ARGUMENTS 160
|
---|
| 119 | #define ERROR_BAD_PATHNAME 161
|
---|
| 120 | #define ERROR_SIGNAL_PENDING 162
|
---|
| 121 | #define ERROR_UNCERTAIN_MEDIA 163
|
---|
| 122 | #define ERROR_MAX_THRDS_REACHED 164
|
---|
| 123 | #define ERROR_MONITORS_NOT_SUPPORTED 165
|
---|
| 124 | #define ERROR_INVALID_SEGMENT_NUMBER 180
|
---|
| 125 | #define ERROR_INVALID_CALLGATE 181
|
---|
| 126 | #define ERROR_INVALID_ORDINAL 182
|
---|
| 127 | #define ERROR_ALREADY_EXISTS 183
|
---|
| 128 | #define ERROR_NO_CHILD_PROCESS 184
|
---|
| 129 | #define ERROR_CHILD_ALIVE_NOWAIT 185
|
---|
| 130 | #define ERROR_INVALID_FLAG_NUMBER 186
|
---|
| 131 | #define ERROR_SEM_NOT_FOUND 187
|
---|
| 132 | #define ERROR_INVALID_STARTING_CODESEG 188
|
---|
| 133 | #define ERROR_INVALID_STACKSEG 189
|
---|
| 134 | #define ERROR_INVALID_MODULETYPE 190
|
---|
| 135 | #define ERROR_INVALID_EXE_SIGNATURE 191
|
---|
| 136 | #define ERROR_EXE_MARKED_INVALID 192
|
---|
| 137 | #define ERROR_BAD_EXE_FORMAT 193
|
---|
| 138 | #define ERROR_ITERATED_DATA_EXCEEDS_64k 194
|
---|
| 139 | #define ERROR_INVALID_MINALLOCSIZE 195
|
---|
| 140 | #define ERROR_DYNLINK_FROM_INVALID_RING 196
|
---|
| 141 | #define ERROR_IOPL_NOT_ENABLED 197
|
---|
| 142 | #define ERROR_INVALID_SEGDPL 198
|
---|
| 143 | #define ERROR_AUTODATASEG_EXCEEDS_64k 199
|
---|
| 144 | #define ERROR_RING2SEG_MUST_BE_MOVABLE 200
|
---|
| 145 | #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM 201
|
---|
| 146 | #define ERROR_INFLOOP_IN_RELOC_CHAIN 202
|
---|
| 147 | #define ERROR_ENVVAR_NOT_FOUND 203
|
---|
| 148 | #define ERROR_NOT_CURRENT_CTRY 204
|
---|
| 149 | #define ERROR_NO_SIGNAL_SENT 205
|
---|
| 150 | #define ERROR_FILENAME_EXCED_RANGE 206
|
---|
| 151 | #define ERROR_RING2_STACK_IN_USE 207
|
---|
| 152 | #define ERROR_META_EXPANSION_TOO_LONG 208
|
---|
| 153 | #define ERROR_INVALID_SIGNAL_NUMBER 209
|
---|
| 154 | #define ERROR_THREAD_1_INACTIVE 210
|
---|
| 155 | #define ERROR_INFO_NOT_AVAIL 211
|
---|
| 156 | #define ERROR_LOCKED 212
|
---|
| 157 | #define ERROR_BAD_DYNALINK 213
|
---|
| 158 | #define ERROR_TOO_MANY_MODULES 214
|
---|
| 159 | #define ERROR_NESTING_NOT_ALLOWED 215
|
---|
| 160 | #define ERROR_INVALID_TOKEN 315
|
---|
| 161 | #define ERROR_USER_DEFINED_BASE 0xF000
|
---|
| 162 | #define ERROR_I24_WRITE_PROTECT 0
|
---|
| 163 | #define ERROR_I24_BAD_UNIT 1
|
---|
| 164 | #define ERROR_I24_NOT_READY 2
|
---|
| 165 | #define ERROR_I24_BAD_COMMAND 3
|
---|
| 166 | #define ERROR_I24_CRC 4
|
---|
| 167 | #define ERROR_I24_BAD_LENGTH 5
|
---|
| 168 | #define ERROR_I24_SEEK 6
|
---|
| 169 | #define ERROR_I24_NOT_DOS_DISK 7
|
---|
| 170 | #define ERROR_I24_SECTOR_NOT_FOUND 8
|
---|
| 171 | #define ERROR_I24_OUT_OF_PAPER 9
|
---|
| 172 | #define ERROR_I24_WRITE_FAULT 0x0A
|
---|
| 173 | #define ERROR_I24_READ_FAULT 0x0B
|
---|
| 174 | #define ERROR_I24_GEN_FAILURE 0x0C
|
---|
| 175 | #define ERROR_I24_DISK_CHANGE 0x0D
|
---|
| 176 | #define ERROR_I24_WRONG_DISK 0x0F
|
---|
| 177 | #define ERROR_I24_UNCERTAIN_MEDIA 0x10
|
---|
| 178 | #define ERROR_I24_CHAR_CALL_INTERRUPTED 0x11
|
---|
| 179 | #define ERROR_I24_NO_MONITOR_SUPPORT 0x12
|
---|
| 180 | #define ERROR_I24_INVALID_PARAMETER 0x13
|
---|
| 181 | #define ALLOWED_FAIL 0x0001
|
---|
| 182 | #define ALLOWED_ABORT 0x0002
|
---|
| 183 | #define ALLOWED_RETRY 0x0004
|
---|
| 184 | #define ALLOWED_IGNORE 0x0008
|
---|
| 185 | #define I24_OPERATION 0x1
|
---|
| 186 | #define I24_AREA 0x6
|
---|
| 187 | #define I24_CLASS 0x80
|
---|
| 188 | #define ERRCLASS_OUTRES 1
|
---|
| 189 | #define ERRCLASS_TEMPSIT 2
|
---|
| 190 | #define ERRCLASS_AUTH 3
|
---|
| 191 | #define ERRCLASS_INTRN 4
|
---|
| 192 | #define ERRCLASS_HRDFAIL 5
|
---|
| 193 | #define ERRCLASS_SYSFAIL 6
|
---|
| 194 | #define ERRCLASS_APPERR 7
|
---|
| 195 | #define ERRCLASS_NOTFND 8
|
---|
| 196 | #define ERRCLASS_BADFMT 9
|
---|
| 197 | #define ERRCLASS_LOCKED 10
|
---|
| 198 | #define ERRCLASS_MEDIA 11
|
---|
| 199 | #define ERRCLASS_ALREADY 12
|
---|
| 200 | #define ERRCLASS_UNK 13
|
---|
| 201 | #define ERRCLASS_CANT 14
|
---|
| 202 | #define ERRCLASS_TIME 15
|
---|
| 203 | #define ERRACT_RETRY 1
|
---|
| 204 | #define ERRACT_DLYRET 2
|
---|
| 205 | #define ERRACT_USER 3
|
---|
| 206 | #define ERRACT_ABORT 4
|
---|
| 207 | #define ERRACT_PANIC 5
|
---|
| 208 | #define ERRACT_IGNORE 6
|
---|
| 209 | #define ERRACT_INTRET 7
|
---|
| 210 | #define ERRLOC_UNK 1
|
---|
| 211 | #define ERRLOC_DISK 2
|
---|
| 212 | #define ERRLOC_NET 3
|
---|
| 213 | #define ERRLOC_SERDEV 4
|
---|
| 214 | #define ERRLOC_MEM 5
|
---|
| 215 | #define TC_NORMAL 0
|
---|
| 216 | #define TC_HARDERR 1
|
---|
| 217 | #define TC_GP_TRAP 2
|
---|
| 218 | #define TC_SIGNAL 3
|
---|