Move GDI_ERROR definition to wingdi.h.
[wine] / include / winerror.h
1 #ifndef __WINE_WINERROR_H
2 #define __WINE_WINERROR_H
3
4
5 extern int WIN32_LastError;
6
7 #define FACILITY_NULL      0
8 #define FACILITY_RPC       1
9 #define FACILITY_DISPATCH  2
10 #define FACILITY_STORAGE   3
11 #define FACILITY_ITF            4
12 #define FACILITY_WIN32          7
13 #define FACILITY_WINDOWS   8
14 #define FACILITY_SSPI      9
15 #define FACILITY_CONTROL   10
16 #define FACILITY_CERT      11
17 #define FACILITY_INTERNET  12
18
19 #define SEVERITY_SUCCESS    0
20 #define SEVERITY_ERROR      1
21
22
23 #define MAKE_HRESULT(sev,fac,code) \
24     ((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
25 #define MAKE_SCODE(sev,fac,code) \
26         ((SCODE) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
27 #define SUCCEEDED(stat) ((HRESULT)(stat)>=0)
28 #define FAILED(stat) ((HRESULT)(stat)<0)
29 #define IS_ERROR(stat) (((unsigned long)(stat)>>31) == SEVERITY_ERROR)
30
31 #define HRESULT_CODE(hr) ((hr) & 0xFFFF)
32 #define SCODE_CODE(sc)   ((sc) & 0xFFFF)
33
34 #define HRESULT_FACILITY(hr)  (((hr) >> 16) & 0x1FFF)
35 #define SCODE_FACILITY(sc)  (((sc) >> 16) & 0x1FFF)
36
37 #define HRESULT_SEVERITY(hr)    (((hr) >> 31) & 0x1)
38 #define SCODE_SEVERITY(sc)      (((sc) >> 31) & 0x1)
39
40 #define FACILITY_NT_BIT         0x10000000
41 #define HRESULT_FROM_WIN32(x)   ((x) ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : 0 )
42 #define HRESULT_FROM_NT(x)      ((HRESULT) ((x) | FACILITY_NT_BIT))
43
44 /* SCODE <-> HRESULT functions */
45 /* This macros is obsolete and should not be used in new apps. */
46 #define GetScode(hr)         ((SCODE)(hr))
47 /* This macros is obsolete and should not be used in new apps. */
48 #define ResultFromScode(sc)  ((HRESULT)(sc))
49
50 /* ERROR_UNKNOWN is a placeholder for error conditions which haven't
51  * been tested yet so we're not exactly sure what will be returned.
52  * All instances of ERROR_UNKNOWN should be tested under Win95/NT
53  * and replaced.
54  */
55 #define ERROR_UNKNOWN                                      99999
56
57 #define NO_ERROR                                           0
58 #define ERROR_SUCCESS                                      0
59 #define ERROR_INVALID_FUNCTION                             1
60 #define ERROR_FILE_NOT_FOUND                               2
61 #define ERROR_PATH_NOT_FOUND                               3
62 #define ERROR_TOO_MANY_OPEN_FILES                          4
63 #define ERROR_ACCESS_DENIED                                5
64 #define ERROR_INVALID_HANDLE                               6
65 #define ERROR_ARENA_TRASHED                                7
66 #define ERROR_NOT_ENOUGH_MEMORY                            8
67 #define ERROR_INVALID_BLOCK                                9
68 #define ERROR_BAD_ENVIRONMENT                              10
69 #define ERROR_BAD_FORMAT                                   11
70 #define ERROR_INVALID_ACCESS                               12
71 #define ERROR_INVALID_DATA                                 13
72 #define ERROR_OUTOFMEMORY                                  14
73 #define ERROR_INVALID_DRIVE                                15
74 #define ERROR_CURRENT_DIRECTORY                            16
75 #define ERROR_NOT_SAME_DEVICE                              17
76 #define ERROR_NO_MORE_FILES                                18
77 #define ERROR_WRITE_PROTECT                                19
78 #define ERROR_BAD_UNIT                                     20
79 #define ERROR_NOT_READY                                    21
80 #define ERROR_BAD_COMMAND                                  22
81 #define ERROR_CRC                                          23
82 #define ERROR_BAD_LENGTH                                   24
83 #define ERROR_SEEK                                         25
84 #define ERROR_NOT_DOS_DISK                                 26
85 #define ERROR_SECTOR_NOT_FOUND                             27
86 #define ERROR_OUT_OF_PAPER                                 28
87 #define ERROR_WRITE_FAULT                                  29
88 #define ERROR_READ_FAULT                                   30
89 #define ERROR_GEN_FAILURE                                  31
90 #define ERROR_SHARING_VIOLATION                            32
91 #define ERROR_LOCK_VIOLATION                               33
92 #define ERROR_WRONG_DISK                                   34
93 /* FIXME: 35 gets returned for some unsuccessful DeviceIoControl calls */
94 #define ERROR_UNKNOWN_NAME_01                              35
95 #define ERROR_SHARING_BUFFER_EXCEEDED                      36
96 #define ERROR_HANDLE_EOF                                   38
97 #define ERROR_HANDLE_DISK_FULL                             39
98 #define ERROR_NOT_SUPPORTED                                50
99 #define ERROR_REM_NOT_LIST                                 51
100 #define ERROR_DUP_NAME                                     52
101 #define ERROR_BAD_NETPATH                                  53
102 #define ERROR_NETWORK_BUSY                                 54
103 #define ERROR_DEV_NOT_EXIST                                55
104 #define ERROR_TOO_MANY_CMDS                                56
105 #define ERROR_ADAP_HDW_ERR                                 57
106 #define ERROR_BAD_NET_RESP                                 58
107 #define ERROR_UNEXP_NET_ERR                                59
108 #define ERROR_BAD_REM_ADAP                                 60
109 #define ERROR_PRINTQ_FULL                                  61
110 #define ERROR_NO_SPOOL_SPACE                               62
111 #define ERROR_PRINT_CANCELLED                              63
112 #define ERROR_NETNAME_DELETED                              64
113 #define ERROR_NETWORK_ACCESS_DENIED                        65
114 #define ERROR_BAD_DEV_TYPE                                 66
115 #define ERROR_BAD_NET_NAME                                 67
116 #define ERROR_TOO_MANY_NAMES                               68
117 #define ERROR_TOO_MANY_SESS                                69
118 #define ERROR_SHARING_PAUSED                               70
119 #define ERROR_REQ_NOT_ACCEP                                71
120 #define ERROR_REDIR_PAUSED                                 72
121 #define ERROR_FILE_EXISTS                                  80
122 #define ERROR_CANNOT_MAKE                                  82
123 #define ERROR_FAIL_I24                                     83
124 #define ERROR_OUT_OF_STRUCTURES                            84
125 #define ERROR_ALREADY_ASSIGNED                             85
126 #define ERROR_INVALID_PASSWORD                             86
127 #define ERROR_INVALID_PARAMETER                            87
128 #define ERROR_NET_WRITE_FAULT                              88
129 #define ERROR_NO_PROC_SLOTS                                89
130 #define ERROR_TOO_MANY_SEMAPHORES                          100
131 #define ERROR_EXCL_SEM_ALREADY_OWNED                       101
132 #define ERROR_SEM_IS_SET                                   102
133 #define ERROR_TOO_MANY_SEM_REQUESTS                        103
134 #define ERROR_INVALID_AT_INTERRUPT_TIME                    104
135 #define ERROR_SEM_OWNER_DIED                               105
136 #define ERROR_SEM_USER_LIMIT                               106
137 #define ERROR_DISK_CHANGE                                  107
138 #define ERROR_DRIVE_LOCKED                                 108
139 #define ERROR_BROKEN_PIPE                                  109
140 #define ERROR_OPEN_FAILED                                  110
141 #define ERROR_BUFFER_OVERFLOW                              111
142 #define ERROR_DISK_FULL                                    112
143 #define ERROR_NO_MORE_SEARCH_HANDLES                       113
144 #define ERROR_INVALID_TARGET_HANDLE                        114
145 #define ERROR_INVALID_CATEGORY                             117
146 #define ERROR_INVALID_VERIFY_SWITCH                        118
147 #define ERROR_BAD_DRIVER_LEVEL                             119
148 #define ERROR_CALL_NOT_IMPLEMENTED                         120
149 #define ERROR_SEM_TIMEOUT                                  121
150 #define ERROR_INSUFFICIENT_BUFFER                          122
151 #define ERROR_INVALID_NAME                                 123
152 #define ERROR_INVALID_LEVEL                                124
153 #define ERROR_NO_VOLUME_LABEL                              125
154 #define ERROR_MOD_NOT_FOUND                                126
155 #define ERROR_PROC_NOT_FOUND                               127
156 #define ERROR_WAIT_NO_CHILDREN                             128
157 #define ERROR_CHILD_NOT_COMPLETE                           129
158 #define ERROR_DIRECT_ACCESS_HANDLE                         130
159 #define ERROR_NEGATIVE_SEEK                                131
160 #define ERROR_SEEK_ON_DEVICE                               132
161 #define ERROR_IS_JOIN_TARGET                               133
162 #define ERROR_IS_JOINED                                    134
163 #define ERROR_IS_SUBSTED                                   135
164 #define ERROR_NOT_JOINED                                   136
165 #define ERROR_NOT_SUBSTED                                  137
166 #define ERROR_JOIN_TO_JOIN                                 138
167 #define ERROR_SUBST_TO_SUBST                               139
168 #define ERROR_JOIN_TO_SUBST                                140
169 #define ERROR_SUBST_TO_JOIN                                141
170 #define ERROR_BUSY_DRIVE                                   142
171 #define ERROR_SAME_DRIVE                                   143
172 #define ERROR_DIR_NOT_ROOT                                 144
173 #define ERROR_DIR_NOT_EMPTY                                145
174 #define ERROR_IS_SUBST_PATH                                146
175 #define ERROR_IS_JOIN_PATH                                 147
176 #define ERROR_PATH_BUSY                                    148
177 #define ERROR_IS_SUBST_TARGET                              149
178 #define ERROR_SYSTEM_TRACE                                 150
179 #define ERROR_INVALID_EVENT_COUNT                          151
180 #define ERROR_TOO_MANY_MUXWAITERS                          152
181 #define ERROR_INVALID_LIST_FORMAT                          153
182 #define ERROR_LABEL_TOO_LONG                               154
183 #define ERROR_TOO_MANY_TCBS                                155
184 #define ERROR_SIGNAL_REFUSED                               156
185 #define ERROR_DISCARDED                                    157
186 #define ERROR_NOT_LOCKED                                   158
187 #define ERROR_BAD_THREADID_ADDR                            159
188 #define ERROR_BAD_ARGUMENTS                                160
189 #define ERROR_BAD_PATHNAME                                 161
190 #define ERROR_SIGNAL_PENDING                               162
191 #define ERROR_MAX_THRDS_REACHED                            164
192 #define ERROR_LOCK_FAILED                                  167
193 #define ERROR_BUSY                                         170
194 #define ERROR_CANCEL_VIOLATION                             173
195 #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED                   174
196 #define ERROR_INVALID_SEGMENT_NUMBER                       180
197 #define ERROR_INVALID_ORDINAL                              182
198 #define ERROR_ALREADY_EXISTS                               183
199 #define ERROR_INVALID_FLAG_NUMBER                          186
200 #define ERROR_SEM_NOT_FOUND                                187
201 #define ERROR_INVALID_STARTING_CODESEG                     188
202 #define ERROR_INVALID_STACKSEG                             189
203 #define ERROR_INVALID_MODULETYPE                           190
204 #define ERROR_INVALID_EXE_SIGNATURE                        191
205 #define ERROR_EXE_MARKED_INVALID                           192
206 #define ERROR_BAD_EXE_FORMAT                               193
207 #define ERROR_ITERATED_DATA_EXCEEDS_64k                    194
208 #define ERROR_INVALID_MINALLOCSIZE                         195
209 #define ERROR_DYNLINK_FROM_INVALID_RING                    196
210 #define ERROR_IOPL_NOT_ENABLED                             197
211 #define ERROR_INVALID_SEGDPL                               198
212 #define ERROR_AUTODATASEG_EXCEEDS_64k                      199
213 #define ERROR_RING2SEG_MUST_BE_MOVABLE                     200
214 #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM                     201
215 #define ERROR_INFLOOP_IN_RELOC_CHAIN                       202
216 #define ERROR_ENVVAR_NOT_FOUND                             203
217 #define ERROR_NO_SIGNAL_SENT                               205
218 #define ERROR_FILENAME_EXCED_RANGE                         206
219 #define ERROR_RING2_STACK_IN_USE                           207
220 #define ERROR_META_EXPANSION_TOO_LONG                      208
221 #define ERROR_INVALID_SIGNAL_NUMBER                        209
222 #define ERROR_THREAD_1_INACTIVE                            210
223 #define ERROR_LOCKED                                       212
224 #define ERROR_TOO_MANY_MODULES                             214
225 #define ERROR_NESTING_NOT_ALLOWED                          215
226 #define ERROR_EXE_MACHINE_TYPE_MISMATCH                    216
227 #define ERROR_BAD_PIPE                                     230
228 #define ERROR_PIPE_BUSY                                    231
229 #define ERROR_NO_DATA                                      232
230 #define ERROR_PIPE_NOT_CONNECTED                           233
231 #define ERROR_MORE_DATA                                    234
232 #define ERROR_VC_DISCONNECTED                              240
233 #define ERROR_INVALID_EA_NAME                              254
234 #define ERROR_EA_LIST_INCONSISTENT                         255
235 #define ERROR_NO_MORE_ITEMS                                259
236 #define ERROR_CANNOT_COPY                                  266
237 #define ERROR_DIRECTORY                                    267
238 #define ERROR_EAS_DIDNT_FIT                                275
239 #define ERROR_EA_FILE_CORRUPT                              276
240 #define ERROR_EA_TABLE_FULL                                277
241 #define ERROR_INVALID_EA_HANDLE                            278
242 #define ERROR_EAS_NOT_SUPPORTED                            282
243 #define ERROR_NOT_OWNER                                    288
244 #define ERROR_TOO_MANY_POSTS                               298
245 #define ERROR_PARTIAL_COPY                                 299
246 #define ERROR_OPLOCK_NOT_GRANTED                           300
247 #define ERROR_INVALID_OPLOCK_PROTOCOL                      301
248 #define ERROR_MR_MID_NOT_FOUND                             317
249 #define ERROR_INVALID_ADDRESS                              487
250 #define ERROR_ARITHMETIC_OVERFLOW                          534
251 #define ERROR_PIPE_CONNECTED                               535
252 #define ERROR_PIPE_LISTENING                               536
253 #define ERROR_EA_ACCESS_DENIED                             994
254 #define ERROR_OPERATION_ABORTED                            995
255 #define ERROR_IO_INCOMPLETE                                996
256 #define ERROR_IO_PENDING                                   997
257 #define ERROR_NOACCESS                                     998
258 #define ERROR_SWAPERROR                                    999
259 #define ERROR_STACK_OVERFLOW                               1001
260 #define ERROR_INVALID_MESSAGE                              1002
261 #define ERROR_CAN_NOT_COMPLETE                             1003
262 #define ERROR_INVALID_FLAGS                                1004
263 #define ERROR_UNRECOGNIZED_VOLUME                          1005
264 #define ERROR_FILE_INVALID                                 1006
265 #define ERROR_FULLSCREEN_MODE                              1007
266 #define ERROR_NO_TOKEN                                     1008
267 #define ERROR_BADDB                                        1009
268 #define ERROR_BADKEY                                       1010
269 #define ERROR_CANTOPEN                                     1011
270 #define ERROR_CANTREAD                                     1012
271 #define ERROR_CANTWRITE                                    1013
272 #define ERROR_REGISTRY_RECOVERED                           1014
273 #define ERROR_REGISTRY_CORRUPT                             1015
274 #define ERROR_REGISTRY_IO_FAILED                           1016
275 #define ERROR_NOT_REGISTRY_FILE                            1017
276 #define ERROR_KEY_DELETED                                  1018
277 #define ERROR_NO_LOG_SPACE                                 1019
278 #define ERROR_KEY_HAS_CHILDREN                             1020
279 #define ERROR_CHILD_MUST_BE_VOLATILE                       1021
280 #define ERROR_NOTIFY_ENUM_DIR                              1022
281 #define ERROR_DEPENDENT_SERVICES_RUNNING                   1051
282 #define ERROR_INVALID_SERVICE_CONTROL                      1052
283 #define ERROR_SERVICE_REQUEST_TIMEOUT                      1053
284 #define ERROR_SERVICE_NO_THREAD                            1054
285 #define ERROR_SERVICE_DATABASE_LOCKED                      1055
286 #define ERROR_SERVICE_ALREADY_RUNNING                      1056
287 #define ERROR_INVALID_SERVICE_ACCOUNT                      1057
288 #define ERROR_SERVICE_DISABLED                             1058
289 #define ERROR_CIRCULAR_DEPENDENCY                          1059
290 #define ERROR_SERVICE_DOES_NOT_EXIST                       1060
291 #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL                   1061
292 #define ERROR_SERVICE_NOT_ACTIVE                           1062
293 #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT            1063
294 #define ERROR_EXCEPTION_IN_SERVICE                         1064
295 #define ERROR_DATABASE_DOES_NOT_EXIST                      1065
296 #define ERROR_SERVICE_SPECIFIC_ERROR                       1066
297 #define ERROR_PROCESS_ABORTED                              1067
298 #define ERROR_SERVICE_DEPENDENCY_FAIL                      1068
299 #define ERROR_SERVICE_LOGON_FAILED                         1069
300 #define ERROR_SERVICE_START_HANG                           1070
301 #define ERROR_INVALID_SERVICE_LOCK                         1071
302 #define ERROR_SERVICE_MARKED_FOR_DELETE                    1072
303 #define ERROR_SERVICE_EXISTS                               1073
304 #define ERROR_ALREADY_RUNNING_LKG                          1074
305 #define ERROR_SERVICE_DEPENDENCY_DELETED                   1075
306 #define ERROR_BOOT_ALREADY_ACCEPTED                        1076
307 #define ERROR_SERVICE_NEVER_STARTED                        1077
308 #define ERROR_DUPLICATE_SERVICE_NAME                       1078
309 #define ERROR_DIFFERENT_SERVICE_ACCOUNT                    1079
310 #define ERROR_CANNOT_DETECT_DRIVER_FAILURE                 1080
311 #define ERROR_CANNOT_DETECT_PROCESS_ABORT                  1081
312 #define ERROR_NO_RECOVERY_PROGRAM                          1082
313 #define ERROR_SERVICE_NOT_IN_EXE                           1083
314 #define ERROR_END_OF_MEDIA                                 1100
315 #define ERROR_FILEMARK_DETECTED                            1101
316 #define ERROR_BEGINNING_OF_MEDIA                           1102
317 #define ERROR_SETMARK_DETECTED                             1103
318 #define ERROR_NO_DATA_DETECTED                             1104
319 #define ERROR_PARTITION_FAILURE                            1105
320 #define ERROR_INVALID_BLOCK_LENGTH                         1106
321 #define ERROR_DEVICE_NOT_PARTITIONED                       1107
322 #define ERROR_UNABLE_TO_LOCK_MEDIA                         1108
323 #define ERROR_UNABLE_TO_UNLOAD_MEDIA                       1109
324 #define ERROR_MEDIA_CHANGED                                1110
325 #define ERROR_BUS_RESET                                    1111
326 #define ERROR_NO_MEDIA_IN_DRIVE                            1112
327 #define ERROR_NO_UNICODE_TRANSLATION                       1113
328 #define ERROR_DLL_INIT_FAILED                              1114
329 #define ERROR_SHUTDOWN_IN_PROGRESS                         1115
330 #define ERROR_NO_SHUTDOWN_IN_PROGRESS                      1116
331 #define ERROR_IO_DEVICE                                    1117
332 #define ERROR_SERIAL_NO_DEVICE                             1118
333 #define ERROR_IRQ_BUSY                                     1119
334 #define ERROR_MORE_WRITES                                  1120
335 #define ERROR_COUNTER_TIMEOUT                              1121
336 #define ERROR_FLOPPY_ID_MARK_NOT_FOUND                     1122
337 #define ERROR_FLOPPY_WRONG_CYLINDER                        1123
338 #define ERROR_FLOPPY_UNKNOWN_ERROR                         1124
339 #define ERROR_FLOPPY_BAD_REGISTERS                         1125
340 #define ERROR_DISK_RECALIBRATE_FAILED                      1126
341 #define ERROR_DISK_OPERATION_FAILED                        1127
342 #define ERROR_DISK_RESET_FAILED                            1128
343 #define ERROR_EOM_OVERFLOW                                 1129
344 #define ERROR_NOT_ENOUGH_SERVER_MEMORY                     1130
345 #define ERROR_POSSIBLE_DEADLOCK                            1131
346 #define ERROR_MAPPED_ALIGNMENT                             1132
347 #define ERROR_SET_POWER_STATE_VETOED                       1140
348 #define ERROR_SET_POWER_STATE_FAILED                       1141
349 #define ERROR_TOO_MANY_LINKS                               1142
350 #define ERROR_OLD_WIN_VERSION                              1150
351 #define ERROR_APP_WRONG_OS                                 1151
352 #define ERROR_SINGLE_INSTANCE_APP                          1152
353 #define ERROR_RMODE_APP                                    1153
354 #define ERROR_INVALID_DLL                                  1154
355 #define ERROR_NO_ASSOCIATION                               1155
356 #define ERROR_DDE_FAIL                                     1156
357 #define ERROR_DLL_NOT_FOUND                                1157
358 #define ERROR_NO_MORE_USER_HANDLES                         1158
359 #define ERROR_MESSAGE_SYNC_ONLY                            1159
360 #define ERROR_SOURCE_ELEMENT_EMPTY                         1160
361 #define ERROR_DESTINATION_ELEMENT_FULL                     1161
362 #define ERROR_ILLEGAL_ELEMENT_ADDRESS                      1162
363 #define ERROR_MAGAZINE_NOT_PRESENT                         1163
364 #define ERROR_DEVICE_REINITIALIZATION_NEEDED               1164
365 #define ERROR_DEVICE_REQUIRES_CLEANING                     1165
366 #define ERROR_DEVICE_DOOR_OPEN                             1166
367 #define ERROR_DEVICE_NOT_CONNECTED                         1167
368 #define ERROR_NOT_FOUND                                    1168
369 #define ERROR_NO_MATCH                                     1169
370 #define ERROR_SET_NOT_FOUND                                1170
371 #define ERROR_POINT_NOT_FOUND                              1171
372 #define ERROR_NO_TRACKING_SERVICE                          1172
373 #define ERROR_NO_VOLUME_ID                                 1173
374 #define ERROR_UNABLE_TO_REMOVE_REPLACED                    1175
375 #define ERROR_UNABLE_TO_MOVE_REPLACEMENT                   1176
376 #define ERROR_UNABLE_TO_MOVE_REPLACEMENT_2                 1177
377 #define ERROR_JOURNAL_DELETE_IN_PROGRESS                   1178
378 #define ERROR_JOURNAL_NOT_ACTIVE                           1179
379 #define ERROR_POTENTIAL_FILE_FOUND                         1180
380 #define ERROR_JOURNAL_ENTRY_DELETED                        1181
381 #define ERROR_BAD_DEVICE                                   1200
382 #define ERROR_CONNECTION_UNAVAIL                           1201
383 #define ERROR_DEVICE_ALREADY_REMEMBERED                    1202
384 #define ERROR_NO_NET_OR_BAD_PATH                           1203
385 #define ERROR_BAD_PROVIDER                                 1204
386 #define ERROR_CANNOT_OPEN_PROFILE                          1205
387 #define ERROR_BAD_PROFILE                                  1206
388 #define ERROR_NOT_CONTAINER                                1207
389 #define ERROR_EXTENDED_ERROR                               1208
390 #define ERROR_INVALID_GROUPNAME                            1209
391 #define ERROR_INVALID_COMPUTERNAME                         1210
392 #define ERROR_INVALID_EVENTNAME                            1211
393 #define ERROR_INVALID_DOMAINNAME                           1212
394 #define ERROR_INVALID_SERVICENAME                          1213
395 #define ERROR_INVALID_NETNAME                              1214
396 #define ERROR_INVALID_SHARENAME                            1215
397 #define ERROR_INVALID_PASSWORDNAME                         1216
398 #define ERROR_INVALID_MESSAGENAME                          1217
399 #define ERROR_INVALID_MESSAGEDEST                          1218
400 #define ERROR_SESSION_CREDENTIAL_CONFLICT                  1219
401 #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED                1220
402 #define ERROR_DUP_DOMAINNAME                               1221
403 #define ERROR_NO_NETWORK                                   1222
404 #define ERROR_CANCELLED                                    1223
405 #define ERROR_USER_MAPPED_FILE                             1224
406 #define ERROR_CONNECTION_REFUSED                           1225
407 #define ERROR_GRACEFUL_DISCONNECT                          1226
408 #define ERROR_ADDRESS_ALREADY_ASSOCIATED                   1227
409 #define ERROR_ADDRESS_NOT_ASSOCIATED                       1228
410 #define ERROR_CONNECTION_INVALID                           1229
411 #define ERROR_CONNECTION_ACTIVE                            1230
412 #define ERROR_NETWORK_UNREACHABLE                          1231
413 #define ERROR_HOST_UNREACHABLE                             1232
414 #define ERROR_PROTOCOL_UNREACHABLE                         1233
415 #define ERROR_PORT_UNREACHABLE                             1234
416 #define ERROR_REQUEST_ABORTED                              1235
417 #define ERROR_CONNECTION_ABORTED                           1236
418 #define ERROR_RETRY                                        1237
419 #define ERROR_CONNECTION_COUNT_LIMIT                       1238
420 #define ERROR_LOGIN_TIME_RESTRICTION                       1239
421 #define ERROR_LOGIN_WKSTA_RESTRICTION                      1240
422 #define ERROR_INCORRECT_ADDRESS                            1241
423 #define ERROR_ALREADY_REGISTERED                           1242
424 #define ERROR_SERVICE_NOT_FOUND                            1243
425 #define ERROR_NOT_AUTHENTICATED                            1244
426 #define ERROR_NOT_LOGGED_ON                                1245
427 #define ERROR_CONTINUE                                     1246
428 #define ERROR_ALREADY_INITIALIZED                          1247
429 #define ERROR_NO_MORE_DEVICES                              1248
430 #define ERROR_NO_SUCH_SITE                                 1249
431 #define ERROR_DOMAIN_CONTROLLER_EXISTS                     1250
432 #define ERROR_ONLY_IF_CONNECTED                            1251
433 #define ERROR_OVERRIDE_NOCHANGES                           1252
434 #define ERROR_BAD_USER_PROFILE                             1253
435 #define ERROR_NOT_SUPPORTED_ON_SBS                         1254
436 #define ERROR_NOT_ALL_ASSIGNED                             1300
437 #define ERROR_SOME_NOT_MAPPED                              1301
438 #define ERROR_NO_QUOTAS_FOR_ACCOUNT                        1302
439 #define ERROR_LOCAL_USER_SESSION_KEY                       1303
440 #define ERROR_NULL_LM_PASSWORD                             1304
441 #define ERROR_UNKNOWN_REVISION                             1305
442 #define ERROR_REVISION_MISMATCH                            1306
443 #define ERROR_INVALID_OWNER                                1307
444 #define ERROR_INVALID_PRIMARY_GROUP                        1308
445 #define ERROR_NO_IMPERSONATION_TOKEN                       1309
446 #define ERROR_CANT_DISABLE_MANDATORY                       1310
447 #define ERROR_NO_LOGON_SERVERS                             1311
448 #define ERROR_NO_SUCH_LOGON_SESSION                        1312
449 #define ERROR_NO_SUCH_PRIVILEGE                            1313
450 #define ERROR_PRIVILEGE_NOT_HELD                           1314
451 #define ERROR_INVALID_ACCOUNT_NAME                         1315
452 #define ERROR_USER_EXISTS                                  1316
453 #define ERROR_NO_SUCH_USER                                 1317
454 #define ERROR_GROUP_EXISTS                                 1318
455 #define ERROR_NO_SUCH_GROUP                                1319
456 #define ERROR_MEMBER_IN_GROUP                              1320
457 #define ERROR_MEMBER_NOT_IN_GROUP                          1321
458 #define ERROR_LAST_ADMIN                                   1322
459 #define ERROR_WRONG_PASSWORD                               1323
460 #define ERROR_ILL_FORMED_PASSWORD                          1324
461 #define ERROR_PASSWORD_RESTRICTION                         1325
462 #define ERROR_LOGON_FAILURE                                1326
463 #define ERROR_ACCOUNT_RESTRICTION                          1327
464 #define ERROR_INVALID_LOGON_HOURS                          1328
465 #define ERROR_INVALID_WORKSTATION                          1329
466 #define ERROR_PASSWORD_EXPIRED                             1330
467 #define ERROR_ACCOUNT_DISABLED                             1331
468 #define ERROR_NONE_MAPPED                                  1332
469 #define ERROR_TOO_MANY_LUIDS_REQUESTED                     1333
470 #define ERROR_LUIDS_EXHAUSTED                              1334
471 #define ERROR_INVALID_SUB_AUTHORITY                        1335
472 #define ERROR_INVALID_ACL                                  1336
473 #define ERROR_INVALID_SID                                  1337
474 #define ERROR_INVALID_SECURITY_DESCR                       1338
475 #define ERROR_BAD_INHERITANCE_ACL                          1340
476 #define ERROR_SERVER_DISABLED                              1341
477 #define ERROR_SERVER_NOT_DISABLED                          1342
478 #define ERROR_INVALID_ID_AUTHORITY                         1343
479 #define ERROR_ALLOTTED_SPACE_EXCEEDED                      1344
480 #define ERROR_INVALID_GROUP_ATTRIBUTES                     1345
481 #define ERROR_BAD_IMPERSONATION_LEVEL                      1346
482 #define ERROR_CANT_OPEN_ANONYMOUS                          1347
483 #define ERROR_BAD_VALIDATION_CLASS                         1348
484 #define ERROR_BAD_TOKEN_TYPE                               1349
485 #define ERROR_NO_SECURITY_ON_OBJECT                        1350
486 #define ERROR_CANT_ACCESS_DOMAIN_INFO                      1351
487 #define ERROR_INVALID_SERVER_STATE                         1352
488 #define ERROR_INVALID_DOMAIN_STATE                         1353
489 #define ERROR_INVALID_DOMAIN_ROLE                          1354
490 #define ERROR_NO_SUCH_DOMAIN                               1355
491 #define ERROR_DOMAIN_EXISTS                                1356
492 #define ERROR_DOMAIN_LIMIT_EXCEEDED                        1357
493 #define ERROR_INTERNAL_DB_CORRUPTION                       1358
494 #define ERROR_INTERNAL_ERROR                               1359
495 #define ERROR_GENERIC_NOT_MAPPED                           1360
496 #define ERROR_BAD_DESCRIPTOR_FORMAT                        1361
497 #define ERROR_NOT_LOGON_PROCESS                            1362
498 #define ERROR_LOGON_SESSION_EXISTS                         1363
499 #define ERROR_NO_SUCH_PACKAGE                              1364
500 #define ERROR_BAD_LOGON_SESSION_STATE                      1365
501 #define ERROR_LOGON_SESSION_COLLISION                      1366
502 #define ERROR_INVALID_LOGON_TYPE                           1367
503 #define ERROR_CANNOT_IMPERSONATE                           1368
504 #define ERROR_RXACT_INVALID_STATE                          1369
505 #define ERROR_RXACT_COMMIT_FAILURE                         1370
506 #define ERROR_SPECIAL_ACCOUNT                              1371
507 #define ERROR_SPECIAL_GROUP                                1372
508 #define ERROR_SPECIAL_USER                                 1373
509 #define ERROR_MEMBERS_PRIMARY_GROUP                        1374
510 #define ERROR_TOKEN_ALREADY_IN_USE                         1375
511 #define ERROR_NO_SUCH_ALIAS                                1376
512 #define ERROR_MEMBER_NOT_IN_ALIAS                          1377
513 #define ERROR_MEMBER_IN_ALIAS                              1378
514 #define ERROR_ALIAS_EXISTS                                 1379
515 #define ERROR_LOGON_NOT_GRANTED                            1380
516 #define ERROR_TOO_MANY_SECRETS                             1381
517 #define ERROR_SECRET_TOO_LONG                              1382
518 #define ERROR_INTERNAL_DB_ERROR                            1383
519 #define ERROR_TOO_MANY_CONTEXT_IDS                         1384
520 #define ERROR_LOGON_TYPE_NOT_GRANTED                       1385
521 #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED                 1386
522 #define ERROR_NO_SUCH_MEMBER                               1387
523 #define ERROR_INVALID_MEMBER                               1388
524 #define ERROR_TOO_MANY_SIDS                                1389
525 #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED                 1390
526 #define ERROR_NO_INHERITANCE                               1391
527 #define ERROR_FILE_CORRUPT                                 1392
528 #define ERROR_DISK_CORRUPT                                 1393
529 #define ERROR_NO_USER_SESSION_KEY                          1394
530 #define ERROR_LICENSE_QUOTA_EXCEEDED                       1395
531 #define ERROR_WRONG_TARGET_NAME                            1396
532 #define ERROR_MUTUAL_AUTH_FAILED                           1397
533 #define ERROR_TIME_SKEW                                    1398
534 #define ERROR_INVALID_WINDOW_HANDLE                        1400
535 #define ERROR_INVALID_MENU_HANDLE                          1401
536 #define ERROR_INVALID_CURSOR_HANDLE                        1402
537 #define ERROR_INVALID_ACCEL_HANDLE                         1403
538 #define ERROR_INVALID_HOOK_HANDLE                          1404
539 #define ERROR_INVALID_DWP_HANDLE                           1405
540 #define ERROR_TLW_WITH_WSCHILD                             1406
541 #define ERROR_CANNOT_FIND_WND_CLASS                        1407
542 #define ERROR_WINDOW_OF_OTHER_THREAD                       1408
543 #define ERROR_HOTKEY_ALREADY_REGISTERED                    1409
544 #define ERROR_CLASS_ALREADY_EXISTS                         1410
545 #define ERROR_CLASS_DOES_NOT_EXIST                         1411
546 #define ERROR_CLASS_HAS_WINDOWS                            1412
547 #define ERROR_INVALID_INDEX                                1413
548 #define ERROR_INVALID_ICON_HANDLE                          1414
549 #define ERROR_PRIVATE_DIALOG_INDEX                         1415
550 #define ERROR_LISTBOX_ID_NOT_FOUND                         1416
551 #define ERROR_NO_WILDCARD_CHARACTERS                       1417
552 #define ERROR_CLIPBOARD_NOT_OPEN                           1418
553 #define ERROR_HOTKEY_NOT_REGISTERED                        1419
554 #define ERROR_WINDOW_NOT_DIALOG                            1420
555 #define ERROR_CONTROL_ID_NOT_FOUND                         1421
556 #define ERROR_INVALID_COMBOBOX_MESSAGE                     1422
557 #define ERROR_WINDOW_NOT_COMBOBOX                          1423
558 #define ERROR_INVALID_EDIT_HEIGHT                          1424
559 #define ERROR_DC_NOT_FOUND                                 1425
560 #define ERROR_INVALID_HOOK_FILTER                          1426
561 #define ERROR_INVALID_FILTER_PROC                          1427
562 #define ERROR_HOOK_NEEDS_HMOD                              1428
563 #define ERROR_GLOBAL_ONLY_HOOK                             1429
564 #define ERROR_JOURNAL_HOOK_SET                             1430
565 #define ERROR_HOOK_NOT_INSTALLED                           1431
566 #define ERROR_INVALID_LB_MESSAGE                           1432
567 #define ERROR_SETCOUNT_ON_BAD_LB                           1433
568 #define ERROR_LB_WITHOUT_TABSTOPS                          1434
569 #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD               1435
570 #define ERROR_CHILD_WINDOW_MENU                            1436
571 #define ERROR_NO_SYSTEM_MENU                               1437
572 #define ERROR_INVALID_MSGBOX_STYLE                         1438
573 #define ERROR_INVALID_SPI_VALUE                            1439
574 #define ERROR_SCREEN_ALREADY_LOCKED                        1440
575 #define ERROR_HWNDS_HAVE_DIFF_PARENT                       1441
576 #define ERROR_NOT_CHILD_WINDOW                             1442
577 #define ERROR_INVALID_GW_COMMAND                           1443
578 #define ERROR_INVALID_THREAD_ID                            1444
579 #define ERROR_NON_MDICHILD_WINDOW                          1445
580 #define ERROR_POPUP_ALREADY_ACTIVE                         1446
581 #define ERROR_NO_SCROLLBARS                                1447
582 #define ERROR_INVALID_SCROLLBAR_RANGE                      1448
583 #define ERROR_INVALID_SHOWWIN_COMMAND                      1449
584 #define ERROR_NO_SYSTEM_RESOURCES                          1450
585 #define ERROR_NONPAGED_SYSTEM_RESOURCES                    1451
586 #define ERROR_PAGED_SYSTEM_RESOURCES                       1452
587 #define ERROR_WORKING_SET_QUOTA                            1453
588 #define ERROR_PAGEFILE_QUOTA                               1454
589 #define ERROR_COMMITMENT_LIMIT                             1455
590 #define ERROR_MENU_ITEM_NOT_FOUND                          1456
591 #define ERROR_INVALID_KEYBOARD_HANDLE                      1457
592 #define ERROR_HOOK_TYPE_NOT_ALLOWED                        1458
593 #define ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION           1459
594 #define ERROR_TIMEOUT                                      1460
595 #define ERROR_INVALID_MONITOR_HANDLE                       1461
596 #define ERROR_EVENTLOG_FILE_CORRUPT                        1500
597 #define ERROR_EVENTLOG_CANT_START                          1501
598 #define ERROR_LOG_FILE_FULL                                1502
599 #define ERROR_EVENTLOG_FILE_CHANGED                        1503
600 #define ERROR_INSTALL_SERVICE_FAILURE                      1601
601 #define ERROR_INSTALL_USEREXIT                             1602
602 #define ERROR_INSTALL_FAILURE                              1603
603 #define ERROR_INSTALL_SUSPEND                              1604
604 #define ERROR_UNKNOWN_PRODUCT                              1605
605 #define ERROR_UNKNOWN_FEATURE                              1606
606 #define ERROR_UNKNOWN_COMPONENT                            1607
607 #define ERROR_UNKNOWN_PROPERTY                             1608
608 #define ERROR_INVALID_HANDLE_STATE                         1609
609 #define ERROR_BAD_CONFIGURATION                            1610
610 #define ERROR_INDEX_ABSENT                                 1611
611 #define ERROR_INSTALL_SOURCE_ABSENT                        1612
612 #define ERROR_INSTALL_PACKAGE_VERSION                      1613
613 #define ERROR_PRODUCT_UNINSTALLED                          1614
614 #define ERROR_BAD_QUERY_SYNTAX                             1615
615 #define ERROR_INVALID_FIELD                                1616
616 #define ERROR_DEVICE_REMOVED                               1617
617 #define ERROR_INSTALL_ALREADY_RUNNING                      1618
618 #define ERROR_INSTALL_PACKAGE_OPEN_FAILED                  1619
619 #define ERROR_INSTALL_PACKAGE_INVALID                      1620
620 #define ERROR_INSTALL_UI_FAILURE                           1621
621 #define ERROR_INSTALL_LOG_FAILURE                          1622
622 #define ERROR_INSTALL_LANGUAGE_UNSUPPORTED                 1623
623 #define ERROR_INSTALL_TRANSFORM_FAILURE                    1624
624 #define ERROR_INSTALL_PACKAGE_REJECTED                     1625
625 #define ERROR_FUNCTION_NOT_CALLED                          1626
626 #define ERROR_FUNCTION_FAILED                              1627
627 #define ERROR_INVALID_TABLE                                1628
628 #define ERROR_DATATYPE_MISMATCH                            1629
629 #define ERROR_UNSUPPORTED_TYPE                             1630
630 #define ERROR_CREATE_FAILED                                1631
631 #define ERROR_INSTALL_TEMP_UNWRITABLE                      1632
632 #define ERROR_INSTALL_PLATFORM_UNSUPPORTED                 1633
633 #define ERROR_INSTALL_NOTUSED                              1634
634 #define ERROR_PATCH_PACKAGE_OPEN_FAILED                    1635
635 #define ERROR_PATCH_PACKAGE_INVALID                        1636
636 #define ERROR_PATCH_PACKAGE_UNSUPPORTED                    1637
637 #define ERROR_PRODUCT_VERSION                              1638
638 #define ERROR_INVALID_COMMAND_LINE                         1639
639 #define ERROR_INSTALL_REMOTE_DISALLOWED                    1640
640 #define ERROR_SUCCESS_REBOOT_INITIATED                     1641
641 #define RPC_S_INVALID_STRING_BINDING                       1700
642 #define RPC_S_WRONG_KIND_OF_BINDING                        1701
643 #define RPC_S_INVALID_BINDING                              1702
644 #define RPC_S_PROTSEQ_NOT_SUPPORTED                        1703
645 #define RPC_S_INVALID_RPC_PROTSEQ                          1704
646 #define RPC_S_INVALID_STRING_UUID                          1705
647 #define RPC_S_INVALID_ENDPOINT_FORMAT                      1706
648 #define RPC_S_INVALID_NET_ADDR                             1707
649 #define RPC_S_NO_ENDPOINT_FOUND                            1708
650 #define RPC_S_INVALID_TIMEOUT                              1709
651 #define RPC_S_OBJECT_NOT_FOUND                             1710
652 #define RPC_S_ALREADY_REGISTERED                           1711
653 #define RPC_S_TYPE_ALREADY_REGISTERED                      1712
654 #define RPC_S_ALREADY_LISTENING                            1713
655 #define RPC_S_NO_PROTSEQS_REGISTERED                       1714
656 #define RPC_S_NOT_LISTENING                                1715
657 #define RPC_S_UNKNOWN_MGR_TYPE                             1716
658 #define RPC_S_UNKNOWN_IF                                   1717
659 #define RPC_S_NO_BINDINGS                                  1718
660 #define RPC_S_NO_PROTSEQS                                  1719
661 #define RPC_S_CANT_CREATE_ENDPOINT                         1720
662 #define RPC_S_OUT_OF_RESOURCES                             1721
663 #define RPC_S_SERVER_UNAVAILABLE                           1722
664 #define RPC_S_SERVER_TOO_BUSY                              1723
665 #define RPC_S_INVALID_NETWORK_OPTIONS                      1724
666 #define RPC_S_NO_CALL_ACTIVE                               1725
667 #define RPC_S_CALL_FAILED                                  1726
668 #define RPC_S_CALL_FAILED_DNE                              1727
669 #define RPC_S_PROTOCOL_ERROR                               1728
670 #define RPC_S_UNSUPPORTED_TRANS_SYN                        1730
671 #define RPC_S_UNSUPPORTED_TYPE                             1732
672 #define RPC_S_INVALID_TAG                                  1733
673 #define RPC_S_INVALID_BOUND                                1734
674 #define RPC_S_NO_ENTRY_NAME                                1735
675 #define RPC_S_INVALID_NAME_SYNTAX                          1736
676 #define RPC_S_UNSUPPORTED_NAME_SYNTAX                      1737
677 #define RPC_S_UUID_NO_ADDRESS                              1739
678 #define RPC_S_DUPLICATE_ENDPOINT                           1740
679 #define RPC_S_UNKNOWN_AUTHN_TYPE                           1741
680 #define RPC_S_MAX_CALLS_TOO_SMALL                          1742
681 #define RPC_S_STRING_TOO_LONG                              1743
682 #define RPC_S_PROTSEQ_NOT_FOUND                            1744
683 #define RPC_S_PROCNUM_OUT_OF_RANGE                         1745
684 #define RPC_S_BINDING_HAS_NO_AUTH                          1746
685 #define RPC_S_UNKNOWN_AUTHN_SERVICE                        1747
686 #define RPC_S_UNKNOWN_AUTHN_LEVEL                          1748
687 #define RPC_S_INVALID_AUTH_IDENTITY                        1749
688 #define RPC_S_UNKNOWN_AUTHZ_SERVICE                        1750
689 #define EPT_S_INVALID_ENTRY                                1751
690 #define EPT_S_CANT_PERFORM_OP                              1752
691 #define EPT_S_NOT_REGISTERED                               1753
692 #define RPC_S_NOTHING_TO_EXPORT                            1754
693 #define RPC_S_INCOMPLETE_NAME                              1755
694 #define RPC_S_INVALID_VERS_OPTION                          1756
695 #define RPC_S_NO_MORE_MEMBERS                              1757
696 #define RPC_S_NOT_ALL_OBJS_UNEXPORTED                      1758
697 #define RPC_S_INTERFACE_NOT_FOUND                          1759
698 #define RPC_S_ENTRY_ALREADY_EXISTS                         1760
699 #define RPC_S_ENTRY_NOT_FOUND                              1761
700 #define RPC_S_NAME_SERVICE_UNAVAILABLE                     1762
701 #define RPC_S_INVALID_NAF_ID                               1763
702 #define RPC_S_CANNOT_SUPPORT                               1764
703 #define RPC_S_NO_CONTEXT_AVAILABLE                         1765
704 #define RPC_S_INTERNAL_ERROR                               1766
705 #define RPC_S_ZERO_DIVIDE                                  1767
706 #define RPC_S_ADDRESS_ERROR                                1768
707 #define RPC_S_FP_DIV_ZERO                                  1769
708 #define RPC_S_FP_UNDERFLOW                                 1770
709 #define RPC_S_FP_OVERFLOW                                  1771
710 #define RPC_X_NO_MORE_ENTRIES                              1772
711 #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL                      1773
712 #define RPC_X_SS_CHAR_TRANS_SHORT_FILE                     1774
713 #define RPC_X_SS_IN_NULL_CONTEXT                           1775
714 #define RPC_X_SS_CONTEXT_DAMAGED                           1777
715 #define RPC_X_SS_HANDLES_MISMATCH                          1778
716 #define RPC_X_SS_CANNOT_GET_CALL_HANDLE                    1779
717 #define RPC_X_NULL_REF_POINTER                             1780
718 #define RPC_X_ENUM_VALUE_OUT_OF_RANGE                      1781
719 #define RPC_X_BYTE_COUNT_TOO_SMALL                         1782
720 #define RPC_X_BAD_STUB_DATA                                1783
721 #define ERROR_INVALID_USER_BUFFER                          1784
722 #define ERROR_UNRECOGNIZED_MEDIA                           1785
723 #define ERROR_NO_TRUST_LSA_SECRET                          1786
724 #define ERROR_NO_TRUST_SAM_ACCOUNT                         1787
725 #define ERROR_TRUSTED_DOMAIN_FAILURE                       1788
726 #define ERROR_TRUSTED_RELATIONSHIP_FAILURE                 1789
727 #define ERROR_TRUST_FAILURE                                1790
728 #define RPC_S_CALL_IN_PROGRESS                             1791
729 #define ERROR_NETLOGON_NOT_STARTED                         1792
730 #define ERROR_ACCOUNT_EXPIRED                              1793
731 #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES                  1794
732 #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED             1795
733 #define ERROR_UNKNOWN_PORT                                 1796
734 #define ERROR_UNKNOWN_PRINTER_DRIVER                       1797
735 #define ERROR_UNKNOWN_PRINTPROCESSOR                       1798
736 #define ERROR_INVALID_SEPARATOR_FILE                       1799
737 #define ERROR_INVALID_PRIORITY                             1800
738 #define ERROR_INVALID_PRINTER_NAME                         1801
739 #define ERROR_PRINTER_ALREADY_EXISTS                       1802
740 #define ERROR_INVALID_PRINTER_COMMAND                      1803
741 #define ERROR_INVALID_DATATYPE                             1804
742 #define ERROR_INVALID_ENVIRONMENT                          1805
743 #define RPC_S_NO_MORE_BINDINGS                             1806
744 #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT            1807
745 #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT            1808
746 #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT                 1809
747 #define ERROR_DOMAIN_TRUST_INCONSISTENT                    1810
748 #define ERROR_SERVER_HAS_OPEN_HANDLES                      1811
749 #define ERROR_RESOURCE_DATA_NOT_FOUND                      1812
750 #define ERROR_RESOURCE_TYPE_NOT_FOUND                      1813
751 #define ERROR_RESOURCE_NAME_NOT_FOUND                      1814
752 #define ERROR_RESOURCE_LANG_NOT_FOUND                      1815
753 #define ERROR_NOT_ENOUGH_QUOTA                             1816
754 #define RPC_S_NO_INTERFACES                                1817
755 #define RPC_S_CALL_CANCELLED                               1818
756 #define RPC_S_BINDING_INCOMPLETE                           1819
757 #define RPC_S_COMM_FAILURE                                 1820
758 #define RPC_S_UNSUPPORTED_AUTHN_LEVEL                      1821
759 #define RPC_S_NO_PRINC_NAME                                1822
760 #define RPC_S_NOT_RPC_ERROR                                1823
761 #define RPC_S_UUID_LOCAL_ONLY                              1824
762 #define RPC_S_SEC_PKG_ERROR                                1825
763 #define RPC_S_NOT_CANCELLED                                1826
764 #define RPC_X_INVALID_ES_ACTION                            1827
765 #define RPC_X_WRONG_ES_VERSION                             1828
766 #define RPC_X_WRONG_STUB_VERSION                           1829
767 #define RPC_X_INVALID_PIPE_OBJECT                          1830
768 #define RPC_X_WRONG_PIPE_ORDER                             1831
769 #define RPC_X_WRONG_PIPE_VERSION                           1832
770 #define RPC_S_GROUP_MEMBER_NOT_FOUND                       1898
771 #define EPT_S_CANT_CREATE                                  1899
772 #define RPC_S_INVALID_OBJECT                               1900
773 #define ERROR_INVALID_TIME                                 1901
774 #define ERROR_INVALID_FORM_NAME                            1902
775 #define ERROR_INVALID_FORM_SIZE                            1903
776 #define ERROR_ALREADY_WAITING                              1904
777 #define ERROR_PRINTER_DELETED                              1905
778 #define ERROR_INVALID_PRINTER_STATE                        1906
779 #define ERROR_PASSWORD_MUST_CHANGE                         1907
780 #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND                  1908
781 #define ERROR_ACCOUNT_LOCKED_OUT                           1909
782 #define OR_INVALID_OXID                                    1910
783 #define OR_INVALID_OID                                     1911
784 #define OR_INVALID_SET                                     1912
785 #define RPC_S_SEND_INCOMPLETE                              1913
786 #define RPC_S_INVALID_ASYNC_HANDLE                         1914
787 #define RPC_S_INVALID_ASYNC_CALL                           1915
788 #define RPC_X_PIPE_CLOSED                                  1916
789 #define RPC_X_PIPE_DISCIPLINE_ERROR                        1917
790 #define RPC_X_PIPE_EMPTY                                   1918
791 #define ERROR_NO_SITENAME                                  1919
792 #define ERROR_CANT_ACCESS_FILE                             1920
793 #define ERROR_CANT_RESOLVE_FILENAME                        1921
794 #define RPC_S_ENTRY_TYPE_MISMATCH                          1922
795 #define RPC_S_NOT_ALL_OBJS_EXPORTED                        1923
796 #define RPC_S_INTERFACE_NOT_EXPORTED                       1924
797 #define RPC_S_PROFILE_NOT_ADDED                            1925
798 #define RPC_S_PRF_ELT_NOT_ADDED                            1926
799 #define RPC_S_PRF_ELT_NOT_REMOVED                          1927
800 #define RPC_S_GRP_ELT_NOT_ADDED                            1928
801 #define RPC_S_GRP_ELT_NOT_REMOVED                          1929
802 #define ERROR_INVALID_PIXEL_FORMAT                         2000
803 #define ERROR_BAD_DRIVER                                   2001
804 #define ERROR_INVALID_WINDOW_STYLE                         2002
805 #define ERROR_METAFILE_NOT_SUPPORTED                       2003
806 #define ERROR_TRANSFORM_NOT_SUPPORTED                      2004
807 #define ERROR_CLIPPING_NOT_SUPPORTED                       2005
808 #define ERROR_INVALID_CMM                                  2010
809 #define ERROR_INVALID_PROFILE                              2011
810 #define ERROR_TAG_NOT_FOUND                                2012
811 #define ERROR_TAG_NOT_PRESENT                              2013
812 #define ERROR_DUPLICATE_TAG                                2014
813 #define ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE           2015
814 #define ERROR_PROFILE_NOT_FOUND                            2016
815 #define ERROR_INVALID_COLORSPACE                           2017
816 #define ERROR_ICM_NOT_ENABLED                              2018
817 #define ERROR_DELETING_ICM_XFORM                           2019
818 #define ERROR_INVALID_TRANSFORM                            2020
819 #define ERROR_COLORSPACE_MISMATCH                          2021
820 #define ERROR_INVALID_COLORINDEX                           2022
821 #define ERROR_CONNECTED_OTHER_PASSWORD                     2108
822 #define ERROR_BAD_USERNAME                                 2202
823 #define ERROR_NOT_CONNECTED                                2250
824 #define ERROR_OPEN_FILES                                   2401
825 #define ERROR_ACTIVE_CONNECTIONS                           2402
826 #define ERROR_DEVICE_IN_USE                                2404
827 #define ERROR_UNKNOWN_PRINT_MONITOR                        3000
828 #define ERROR_PRINTER_DRIVER_IN_USE                        3001
829 #define ERROR_SPOOL_FILE_NOT_FOUND                         3002
830 #define ERROR_SPL_NO_STARTDOC                              3003
831 #define ERROR_SPL_NO_ADDJOB                                3004
832 #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED            3005
833 #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED              3006
834 #define ERROR_INVALID_PRINT_MONITOR                        3007
835 #define ERROR_PRINT_MONITOR_IN_USE                         3008
836 #define ERROR_PRINTER_HAS_JOBS_QUEUED                      3009
837 #define ERROR_SUCCESS_REBOOT_REQUIRED                      3010
838 #define ERROR_SUCCESS_RESTART_REQUIRED                     3011
839 #define ERROR_PRINTER_NOT_FOUND                            3012
840 #define ERROR_WINS_INTERNAL                                4000
841 #define ERROR_CAN_NOT_DEL_LOCAL_WINS                       4001
842 #define ERROR_STATIC_INIT                                  4002
843 #define ERROR_INC_BACKUP                                   4003
844 #define ERROR_FULL_BACKUP                                  4004
845 #define ERROR_REC_NON_EXISTENT                             4005
846 #define ERROR_RPL_NOT_ALLOWED                              4006
847 #define ERROR_DHCP_ADDRESS_CONFLICT                        4100
848 #define ERROR_WMI_GUID_NOT_FOUND                           4200
849 #define ERROR_WMI_INSTANCE_NOT_FOUND                       4201
850 #define ERROR_WMI_ITEMID_NOT_FOUND                         4202
851 #define ERROR_WMI_TRY_AGAIN                                4203
852 #define ERROR_WMI_DP_NOT_FOUND                             4204
853 #define ERROR_WMI_UNRESOLVED_INSTANCE_REF                  4205
854 #define ERROR_WMI_ALREADY_ENABLED                          4206
855 #define ERROR_WMI_GUID_DISCONNECTED                        4207
856 #define ERROR_WMI_SERVER_UNAVAILABLE                       4208
857 #define ERROR_WMI_DP_FAILED                                4209
858 #define ERROR_WMI_INVALID_MOF                              4210
859 #define ERROR_WMI_INVALID_REGINFO                          4211
860 #define ERROR_WMI_ALREADY_DISABLED                         4212
861 #define ERROR_WMI_READ_ONLY                                4213
862 #define ERROR_WMI_SET_FAILURE                              4214
863 #define ERROR_INVALID_MEDIA                                4300
864 #define ERROR_INVALID_LIBRARY                              4301
865 #define ERROR_INVALID_MEDIA_POOL                           4302
866 #define ERROR_DRIVE_MEDIA_MISMATCH                         4303
867 #define ERROR_MEDIA_OFFLINE                                4304
868 #define ERROR_LIBRARY_OFFLINE                              4305
869 #define ERROR_EMPTY                                        4306
870 #define ERROR_NOT_EMPTY                                    4307
871 #define ERROR_MEDIA_UNAVAILABLE                            4308
872 #define ERROR_RESOURCE_DISABLED                            4309
873 #define ERROR_INVALID_CLEANER                              4310
874 #define ERROR_UNABLE_TO_CLEAN                              4311
875 #define ERROR_OBJECT_NOT_FOUND                             4312
876 #define ERROR_DATABASE_FAILURE                             4313
877 #define ERROR_DATABASE_FULL                                4314
878 #define ERROR_MEDIA_INCOMPATIBLE                           4315
879 #define ERROR_RESOURCE_NOT_PRESENT                         4316
880 #define ERROR_INVALID_OPERATION                            4317
881 #define ERROR_MEDIA_NOT_AVAILABLE                          4318
882 #define ERROR_DEVICE_NOT_AVAILABLE                         4319
883 #define ERROR_REQUEST_REFUSED                              4320
884 #define ERROR_INVALID_DRIVE_OBJECT                         4321
885 #define ERROR_LIBRARY_FULL                                 4322
886 #define ERROR_MEDIUM_NOT_ACCESSIBLE                        4323
887 #define ERROR_UNABLE_TO_LOAD_MEDIUM                        4324
888 #define ERROR_UNABLE_TO_INVENTORY_DRIVE                    4325
889 #define ERROR_UNABLE_TO_INVENTORY_SLOT                     4326
890 #define ERROR_UNABLE_TO_INVENTORY_TRANSPORT                4327
891 #define ERROR_TRANSPORT_FULL                               4328
892 #define ERROR_CONTROLLING_IEPORT                           4329
893 #define ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA                4330
894 #define ERROR_CLEANER_SLOT_SET                             4331
895 #define ERROR_CLEANER_SLOT_NOT_SET                         4332
896 #define ERROR_CLEANER_CARTRIDGE_SPENT                      4333
897 #define ERROR_UNEXPECTED_OMID                              4334
898 #define ERROR_CANT_DELETE_LAST_ITEM                        4335
899 #define ERROR_MESSAGE_EXCEEDS_MAX_SIZE                     4336
900 #define ERROR_VOLUME_CONTAINS_SYS_FILES                    4337
901 #define ERROR_INDIGENOUS_TYPE                              4338
902 #define ERROR_NO_SUPPORTING_DRIVES                         4339
903 #define ERROR_FILE_OFFLINE                                 4350
904 #define ERROR_REMOTE_STORAGE_NOT_ACTIVE                    4351
905 #define ERROR_REMOTE_STORAGE_MEDIA_ERROR                   4352
906 #define ERROR_NOT_A_REPARSE_POINT                          4390
907 #define ERROR_REPARSE_ATTRIBUTE_CONFLICT                   4391
908 #define ERROR_INVALID_REPARSE_DATA                         4392
909 #define ERROR_REPARSE_TAG_INVALID                          4393
910 #define ERROR_REPARSE_TAG_MISMATCH                         4394
911 #define ERROR_VOLUME_NOT_SIS_ENABLED                       4500
912 #define ERROR_DEPENDENT_RESOURCE_EXISTS                    5001
913 #define ERROR_DEPENDENCY_NOT_FOUND                         5002
914 #define ERROR_DEPENDENCY_ALREADY_EXISTS                    5003
915 #define ERROR_RESOURCE_NOT_ONLINE                          5004
916 #define ERROR_HOST_NODE_NOT_AVAILABLE                      5005
917 #define ERROR_RESOURCE_NOT_AVAILABLE                       5006
918 #define ERROR_RESOURCE_NOT_FOUND                           5007
919 #define ERROR_SHUTDOWN_CLUSTER                             5008
920 #define ERROR_CANT_EVICT_ACTIVE_NODE                       5009
921 #define ERROR_OBJECT_ALREADY_EXISTS                        5010
922 #define ERROR_OBJECT_IN_LIST                               5011
923 #define ERROR_GROUP_NOT_AVAILABLE                          5012
924 #define ERROR_GROUP_NOT_FOUND                              5013
925 #define ERROR_GROUP_NOT_ONLINE                             5014
926 #define ERROR_HOST_NODE_NOT_RESOURCE_OWNER                 5015
927 #define ERROR_HOST_NODE_NOT_GROUP_OWNER                    5016
928 #define ERROR_RESMON_CREATE_FAILED                         5017
929 #define ERROR_RESMON_ONLINE_FAILED                         5018
930 #define ERROR_RESOURCE_ONLINE                              5019
931 #define ERROR_QUORUM_RESOURCE                              5020
932 #define ERROR_NOT_QUORUM_CAPABLE                           5021
933 #define ERROR_CLUSTER_SHUTTING_DOWN                        5022
934 #define ERROR_INVALID_STATE                                5023
935 #define ERROR_RESOURCE_PROPERTIES_STORED                   5024
936 #define ERROR_NOT_QUORUM_CLASS                             5025
937 #define ERROR_CORE_RESOURCE                                5026
938 #define ERROR_QUORUM_RESOURCE_ONLINE_FAILED                5027
939 #define ERROR_QUORUMLOG_OPEN_FAILED                        5028
940 #define ERROR_CLUSTERLOG_CORRUPT                           5029
941 #define ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE            5030
942 #define ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE                   5031
943 #define ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND                5032
944 #define ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE                  5033
945 #define ERROR_QUORUM_OWNER_ALIVE                           5034
946 #define ERROR_NETWORK_NOT_AVAILABLE                        5035
947 #define ERROR_NODE_NOT_AVAILABLE                           5036
948 #define ERROR_ALL_NODES_NOT_AVAILABLE                      5037
949 #define ERROR_RESOURCE_FAILED                              5038
950 #define ERROR_CLUSTER_INVALID_NODE                         5039
951 #define ERROR_CLUSTER_NODE_EXISTS                          5040
952 #define ERROR_CLUSTER_JOIN_IN_PROGRESS                     5041
953 #define ERROR_CLUSTER_NODE_NOT_FOUND                       5042
954 #define ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND                 5043
955 #define ERROR_CLUSTER_NETWORK_EXISTS                       5044
956 #define ERROR_CLUSTER_NETWORK_NOT_FOUND                    5045
957 #define ERROR_CLUSTER_NETINTERFACE_EXISTS                  5046
958 #define ERROR_CLUSTER_NETINTERFACE_NOT_FOUND               5047
959 #define ERROR_CLUSTER_INVALID_REQUEST                      5048
960 #define ERROR_CLUSTER_INVALID_NETWORK_PROVIDER             5049
961 #define ERROR_CLUSTER_NODE_DOWN                            5050
962 #define ERROR_CLUSTER_NODE_UNREACHABLE                     5051
963 #define ERROR_CLUSTER_NODE_NOT_MEMBER                      5052
964 #define ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS                 5053
965 #define ERROR_CLUSTER_INVALID_NETWORK                      5054
966 #define ERROR_CLUSTER_NODE_UP                              5056
967 #define ERROR_CLUSTER_IPADDR_IN_USE                        5057
968 #define ERROR_CLUSTER_NODE_NOT_PAUSED                      5058
969 #define ERROR_CLUSTER_NO_SECURITY_CONTEXT                  5059
970 #define ERROR_CLUSTER_NETWORK_NOT_INTERNAL                 5060
971 #define ERROR_CLUSTER_NODE_ALREADY_UP                      5061
972 #define ERROR_CLUSTER_NODE_ALREADY_DOWN                    5062
973 #define ERROR_CLUSTER_NETWORK_ALREADY_ONLINE               5063
974 #define ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE              5064
975 #define ERROR_CLUSTER_NODE_ALREADY_MEMBER                  5065
976 #define ERROR_CLUSTER_LAST_INTERNAL_NETWORK                5066
977 #define ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS               5067
978 #define ERROR_INVALID_OPERATION_ON_QUORUM                  5068
979 #define ERROR_DEPENDENCY_NOT_ALLOWED                       5069
980 #define ERROR_CLUSTER_NODE_PAUSED                          5070
981 #define ERROR_NODE_CANT_HOST_RESOURCE                      5071
982 #define ERROR_CLUSTER_NODE_NOT_READY                       5072
983 #define ERROR_CLUSTER_NODE_SHUTTING_DOWN                   5073
984 #define ERROR_CLUSTER_JOIN_ABORTED                         5074
985 #define ERROR_CLUSTER_INCOMPATIBLE_VERSIONS                5075
986 #define ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED         5076
987 #define ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED                5077
988 #define ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND              5078
989 #define ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED                5079
990 #define ERROR_CLUSTER_RESNAME_NOT_FOUND                    5080
991 #define ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED           5081
992 #define ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST                5082
993 #define ERROR_CLUSTER_DATABASE_SEQMISMATCH                 5083
994 #define ERROR_RESMON_INVALID_STATE                         5084
995 #define ERROR_CLUSTER_GUM_NOT_LOCKER                       5085
996 #define ERROR_QUORUM_DISK_NOT_FOUND                        5086
997 #define ERROR_DATABASE_BACKUP_CORRUPT                      5087
998 #define ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT            5088
999 #define ERROR_RESOURCE_PROPERTY_UNCHANGEABLE               5089
1000 #define ERROR_ENCRYPTION_FAILED                            6000
1001 #define ERROR_DECRYPTION_FAILED                            6001
1002 #define ERROR_FILE_ENCRYPTED                               6002
1003 #define ERROR_NO_RECOVERY_POLICY                           6003
1004 #define ERROR_NO_EFS                                       6004
1005 #define ERROR_WRONG_EFS                                    6005
1006 #define ERROR_NO_USER_KEYS                                 6006
1007 #define ERROR_FILE_NOT_ENCRYPTED                           6007
1008 #define ERROR_NOT_EXPORT_FORMAT                            6008
1009 #define ERROR_FILE_READ_ONLY                               6009
1010 #define ERROR_DIR_EFS_DISALLOWED                           6010
1011 #define ERROR_EFS_SERVER_NOT_TRUSTED                       6011
1012 #define ERROR_NO_BROWSER_SERVERS_FOUND                     6118
1013 #define SCHED_E_SERVICE_NOT_LOCALSYSTEM                    6200
1014 #define ERROR_CTX_WINSTATION_NAME_INVALID                  7001
1015 #define ERROR_CTX_INVALID_PD                               7002
1016 #define ERROR_CTX_PD_NOT_FOUND                             7003
1017 #define ERROR_CTX_WD_NOT_FOUND                             7004
1018 #define ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY               7005
1019 #define ERROR_CTX_SERVICE_NAME_COLLISION                   7006
1020 #define ERROR_CTX_CLOSE_PENDING                            7007
1021 #define ERROR_CTX_NO_OUTBUF                                7008
1022 #define ERROR_CTX_MODEM_INF_NOT_FOUND                      7009
1023 #define ERROR_CTX_INVALID_MODEMNAME                        7010
1024 #define ERROR_CTX_MODEM_RESPONSE_ERROR                     7011
1025 #define ERROR_CTX_MODEM_RESPONSE_TIMEOUT                   7012
1026 #define ERROR_CTX_MODEM_RESPONSE_NO_CARRIER                7013
1027 #define ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE               7014
1028 #define ERROR_CTX_MODEM_RESPONSE_BUSY                      7015
1029 #define ERROR_CTX_MODEM_RESPONSE_VOICE                     7016
1030 #define ERROR_CTX_TD_ERROR                                 7017
1031 #define ERROR_CTX_WINSTATION_NOT_FOUND                     7022
1032 #define ERROR_CTX_WINSTATION_ALREADY_EXISTS                7023
1033 #define ERROR_CTX_WINSTATION_BUSY                          7024
1034 #define ERROR_CTX_BAD_VIDEO_MODE                           7025
1035 #define ERROR_CTX_GRAPHICS_INVALID                         7035
1036 #define ERROR_CTX_LOGON_DISABLED                           7037
1037 #define ERROR_CTX_NOT_CONSOLE                              7038
1038 #define ERROR_CTX_CLIENT_QUERY_TIMEOUT                     7040
1039 #define ERROR_CTX_CONSOLE_DISCONNECT                       7041
1040 #define ERROR_CTX_CONSOLE_CONNECT                          7042
1041 #define ERROR_CTX_SHADOW_DENIED                            7044
1042 #define ERROR_CTX_WINSTATION_ACCESS_DENIED                 7045
1043 #define ERROR_CTX_INVALID_WD                               7049
1044 #define ERROR_CTX_SHADOW_INVALID                           7050
1045 #define ERROR_CTX_SHADOW_DISABLED                          7051
1046 #define ERROR_CTX_CLIENT_LICENSE_IN_USE                    7052
1047 #define ERROR_CTX_CLIENT_LICENSE_NOT_SET                   7053
1048 #define ERROR_CTX_LICENSE_NOT_AVAILABLE                    7054
1049 #define ERROR_CTX_LICENSE_CLIENT_INVALID                   7055
1050 #define ERROR_CTX_LICENSE_EXPIRED                          7056
1051 #define FRS_ERR_INVALID_API_SEQUENCE                       8001
1052 #define FRS_ERR_STARTING_SERVICE                           8002
1053 #define FRS_ERR_STOPPING_SERVICE                           8003
1054 #define FRS_ERR_INTERNAL_API                               8004
1055 #define FRS_ERR_INTERNAL                                   8005
1056 #define FRS_ERR_SERVICE_COMM                               8006
1057 #define FRS_ERR_INSUFFICIENT_PRIV                          8007
1058 #define FRS_ERR_AUTHENTICATION                             8008
1059 #define FRS_ERR_PARENT_INSUFFICIENT_PRIV                   8009
1060 #define FRS_ERR_PARENT_AUTHENTICATION                      8010
1061 #define FRS_ERR_CHILD_TO_PARENT_COMM                       8011
1062 #define FRS_ERR_PARENT_TO_CHILD_COMM                       8012
1063 #define FRS_ERR_SYSVOL_POPULATE                            8013
1064 #define FRS_ERR_SYSVOL_POPULATE_TIMEOUT                    8014
1065 #define FRS_ERR_SYSVOL_IS_BUSY                             8015
1066 #define FRS_ERR_SYSVOL_DEMOTE                              8016
1067 #define FRS_ERR_INVALID_SERVICE_PARAMETER                  8017
1068 #define ERROR_DS_NOT_INSTALLED                             8200
1069 #define ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY              8201
1070 #define ERROR_DS_NO_ATTRIBUTE_OR_VALUE                     8202
1071 #define ERROR_DS_INVALID_ATTRIBUTE_SYNTAX                  8203
1072 #define ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED                  8204
1073 #define ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS                 8205
1074 #define ERROR_DS_BUSY                                      8206
1075 #define ERROR_DS_UNAVAILABLE                               8207
1076 #define ERROR_DS_NO_RIDS_ALLOCATED                         8208
1077 #define ERROR_DS_NO_MORE_RIDS                              8209
1078 #define ERROR_DS_INCORRECT_ROLE_OWNER                      8210
1079 #define ERROR_DS_RIDMGR_INIT_ERROR                         8211
1080 #define ERROR_DS_OBJ_CLASS_VIOLATION                       8212
1081 #define ERROR_DS_CANT_ON_NON_LEAF                          8213
1082 #define ERROR_DS_CANT_ON_RDN                               8214
1083 #define ERROR_DS_CANT_MOD_OBJ_CLASS                        8215
1084 #define ERROR_DS_CROSS_DOM_MOVE_ERROR                      8216
1085 #define ERROR_DS_GC_NOT_AVAILABLE                          8217
1086 #define ERROR_SHARED_POLICY                                8218
1087 #define ERROR_POLICY_OBJECT_NOT_FOUND                      8219
1088 #define ERROR_POLICY_ONLY_IN_DS                            8220
1089 #define ERROR_PROMOTION_ACTIVE                             8221
1090 #define ERROR_NO_PROMOTION_ACTIVE                          8222
1091 #define ERROR_DS_OPERATIONS_ERROR                          8224
1092 #define ERROR_DS_PROTOCOL_ERROR                            8225
1093 #define ERROR_DS_TIMELIMIT_EXCEEDED                        8226
1094 #define ERROR_DS_SIZELIMIT_EXCEEDED                        8227
1095 #define ERROR_DS_ADMIN_LIMIT_EXCEEDED                      8228
1096 #define ERROR_DS_COMPARE_FALSE                             8229
1097 #define ERROR_DS_COMPARE_TRUE                              8230
1098 #define ERROR_DS_AUTH_METHOD_NOT_SUPPORTED                 8231
1099 #define ERROR_DS_STRONG_AUTH_REQUIRED                      8232
1100 #define ERROR_DS_INAPPROPRIATE_AUTH                        8233
1101 #define ERROR_DS_AUTH_UNKNOWN                              8234
1102 #define ERROR_DS_REFERRAL                                  8235
1103 #define ERROR_DS_UNAVAILABLE_CRIT_EXTENSION                8236
1104 #define ERROR_DS_CONFIDENTIALITY_REQUIRED                  8237
1105 #define ERROR_DS_INAPPROPRIATE_MATCHING                    8238
1106 #define ERROR_DS_CONSTRAINT_VIOLATION                      8239
1107 #define ERROR_DS_NO_SUCH_OBJECT                            8240
1108 #define ERROR_DS_ALIAS_PROBLEM                             8241
1109 #define ERROR_DS_INVALID_DN_SYNTAX                         8242
1110 #define ERROR_DS_IS_LEAF                                   8243
1111 #define ERROR_DS_ALIAS_DEREF_PROBLEM                       8244
1112 #define ERROR_DS_UNWILLING_TO_PERFORM                      8245
1113 #define ERROR_DS_LOOP_DETECT                               8246
1114 #define ERROR_DS_NAMING_VIOLATION                          8247
1115 #define ERROR_DS_OBJECT_RESULTS_TOO_LARGE                  8248
1116 #define ERROR_DS_AFFECTS_MULTIPLE_DSAS                     8249
1117 #define ERROR_DS_SERVER_DOWN                               8250
1118 #define ERROR_DS_LOCAL_ERROR                               8251
1119 #define ERROR_DS_ENCODING_ERROR                            8252
1120 #define ERROR_DS_DECODING_ERROR                            8253
1121 #define ERROR_DS_FILTER_UNKNOWN                            8254
1122 #define ERROR_DS_PARAM_ERROR                               8255
1123 #define ERROR_DS_NOT_SUPPORTED                             8256
1124 #define ERROR_DS_NO_RESULTS_RETURNED                       8257
1125 #define ERROR_DS_CONTROL_NOT_FOUND                         8258
1126 #define ERROR_DS_CLIENT_LOOP                               8259
1127 #define ERROR_DS_REFERRAL_LIMIT_EXCEEDED                   8260
1128 #define ERROR_DS_ROOT_MUST_BE_NC                           8301
1129 #define ERROR_DS_ADD_REPLICA_INHIBITED                     8302
1130 #define ERROR_DS_ATT_NOT_DEF_IN_SCHEMA                     8303
1131 #define ERROR_DS_MAX_OBJ_SIZE_EXCEEDED                     8304
1132 #define ERROR_DS_OBJ_STRING_NAME_EXISTS                    8305
1133 #define ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA                  8306
1134 #define ERROR_DS_RDN_DOESNT_MATCH_SCHEMA                   8307
1135 #define ERROR_DS_NO_REQUESTED_ATTS_FOUND                   8308
1136 #define ERROR_DS_USER_BUFFER_TO_SMALL                      8309
1137 #define ERROR_DS_ATT_IS_NOT_ON_OBJ                         8310
1138 #define ERROR_DS_ILLEGAL_MOD_OPERATION                     8311
1139 #define ERROR_DS_OBJ_TOO_LARGE                             8312
1140 #define ERROR_DS_BAD_INSTANCE_TYPE                         8313
1141 #define ERROR_DS_MASTERDSA_REQUIRED                        8314
1142 #define ERROR_DS_OBJECT_CLASS_REQUIRED                     8315
1143 #define ERROR_DS_MISSING_REQUIRED_ATT                      8316
1144 #define ERROR_DS_ATT_NOT_DEF_FOR_CLASS                     8317
1145 #define ERROR_DS_ATT_ALREADY_EXISTS                        8318
1146 #define ERROR_DS_CANT_ADD_ATT_VALUES                       8320
1147 #define ERROR_DS_SINGLE_VALUE_CONSTRAINT                   8321
1148 #define ERROR_DS_RANGE_CONSTRAINT                          8322
1149 #define ERROR_DS_ATT_VAL_ALREADY_EXISTS                    8323
1150 #define ERROR_DS_CANT_REM_MISSING_ATT                      8324
1151 #define ERROR_DS_CANT_REM_MISSING_ATT_VAL                  8325
1152 #define ERROR_DS_ROOT_CANT_BE_SUBREF                       8326
1153 #define ERROR_DS_NO_CHAINING                               8327
1154 #define ERROR_DS_NO_CHAINED_EVAL                           8328
1155 #define ERROR_DS_NO_PARENT_OBJECT                          8329
1156 #define ERROR_DS_PARENT_IS_AN_ALIAS                        8330
1157 #define ERROR_DS_CANT_MIX_MASTER_AND_REPS                  8331
1158 #define ERROR_DS_CHILDREN_EXIST                            8332
1159 #define ERROR_DS_OBJ_NOT_FOUND                             8333
1160 #define ERROR_DS_ALIASED_OBJ_MISSING                       8334
1161 #define ERROR_DS_BAD_NAME_SYNTAX                           8335
1162 #define ERROR_DS_ALIAS_POINTS_TO_ALIAS                     8336
1163 #define ERROR_DS_CANT_DEREF_ALIAS                          8337
1164 #define ERROR_DS_OUT_OF_SCOPE                              8338
1165 #define ERROR_DS_CANT_DELETE_DSA_OBJ                       8340
1166 #define ERROR_DS_GENERIC_ERROR                             8341
1167 #define ERROR_DS_DSA_MUST_BE_INT_MASTER                    8342
1168 #define ERROR_DS_CLASS_NOT_DSA                             8343
1169 #define ERROR_DS_INSUFF_ACCESS_RIGHTS                      8344
1170 #define ERROR_DS_ILLEGAL_SUPERIOR                          8345
1171 #define ERROR_DS_ATTRIBUTE_OWNED_BY_SAM                    8346
1172 #define ERROR_DS_NAME_TOO_MANY_PARTS                       8347
1173 #define ERROR_DS_NAME_TOO_LONG                             8348
1174 #define ERROR_DS_NAME_VALUE_TOO_LONG                       8349
1175 #define ERROR_DS_NAME_UNPARSEABLE                          8350
1176 #define ERROR_DS_NAME_TYPE_UNKNOWN                         8351
1177 #define ERROR_DS_NOT_AN_OBJECT                             8352
1178 #define ERROR_DS_SEC_DESC_TOO_SHORT                        8353
1179 #define ERROR_DS_SEC_DESC_INVALID                          8354
1180 #define ERROR_DS_NO_DELETED_NAME                           8355
1181 #define ERROR_DS_SUBREF_MUST_HAVE_PARENT                   8356
1182 #define ERROR_DS_NCNAME_MUST_BE_NC                         8357
1183 #define ERROR_DS_CANT_ADD_SYSTEM_ONLY                      8358
1184 #define ERROR_DS_CLASS_MUST_BE_CONCRETE                    8359
1185 #define ERROR_DS_INVALID_DMD                               8360
1186 #define ERROR_DS_OBJ_GUID_EXISTS                           8361
1187 #define ERROR_DS_NOT_ON_BACKLINK                           8362
1188 #define ERROR_DS_NO_CROSSREF_FOR_NC                        8363
1189 #define ERROR_DS_SHUTTING_DOWN                             8364
1190 #define ERROR_DS_UNKNOWN_OPERATION                         8365
1191 #define ERROR_DS_INVALID_ROLE_OWNER                        8366
1192 #define ERROR_DS_COULDNT_CONTACT_FSMO                      8367
1193 #define ERROR_DS_CROSS_NC_DN_RENAME                        8368
1194 #define ERROR_DS_CANT_MOD_SYSTEM_ONLY                      8369
1195 #define ERROR_DS_REPLICATOR_ONLY                           8370
1196 #define ERROR_DS_OBJ_CLASS_NOT_DEFINED                     8371
1197 #define ERROR_DS_OBJ_CLASS_NOT_SUBCLASS                    8372
1198 #define ERROR_DS_NAME_REFERENCE_INVALID                    8373
1199 #define ERROR_DS_CROSS_REF_EXISTS                          8374
1200 #define ERROR_DS_CANT_DEL_MASTER_CROSSREF                  8375
1201 #define ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD                8376
1202 #define ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX                 8377
1203 #define ERROR_DS_DUP_RDN                                   8378
1204 #define ERROR_DS_DUP_OID                                   8379
1205 #define ERROR_DS_DUP_MAPI_ID                               8380
1206 #define ERROR_DS_DUP_SCHEMA_ID_GUID                        8381
1207 #define ERROR_DS_DUP_LDAP_DISPLAY_NAME                     8382
1208 #define ERROR_DS_SEMANTIC_ATT_TEST                         8383
1209 #define ERROR_DS_SYNTAX_MISMATCH                           8384
1210 #define ERROR_DS_EXISTS_IN_MUST_HAVE                       8385
1211 #define ERROR_DS_EXISTS_IN_MAY_HAVE                        8386
1212 #define ERROR_DS_NONEXISTENT_MAY_HAVE                      8387
1213 #define ERROR_DS_NONEXISTENT_MUST_HAVE                     8388
1214 #define ERROR_DS_AUX_CLS_TEST_FAIL                         8389
1215 #define ERROR_DS_NONEXISTENT_POSS_SUP                      8390
1216 #define ERROR_DS_SUB_CLS_TEST_FAIL                         8391
1217 #define ERROR_DS_BAD_RDN_ATT_ID_SYNTAX                     8392
1218 #define ERROR_DS_EXISTS_IN_AUX_CLS                         8393
1219 #define ERROR_DS_EXISTS_IN_SUB_CLS                         8394
1220 #define ERROR_DS_EXISTS_IN_POSS_SUP                        8395
1221 #define ERROR_DS_RECALCSCHEMA_FAILED                       8396
1222 #define ERROR_DS_TREE_DELETE_NOT_FINISHED                  8397
1223 #define ERROR_DS_CANT_DELETE                               8398
1224 #define ERROR_DS_ATT_SCHEMA_REQ_ID                         8399
1225 #define ERROR_DS_BAD_ATT_SCHEMA_SYNTAX                     8400
1226 #define ERROR_DS_CANT_CACHE_ATT                            8401
1227 #define ERROR_DS_CANT_CACHE_CLASS                          8402
1228 #define ERROR_DS_CANT_REMOVE_ATT_CACHE                     8403
1229 #define ERROR_DS_CANT_REMOVE_CLASS_CACHE                   8404
1230 #define ERROR_DS_CANT_RETRIEVE_DN                          8405
1231 #define ERROR_DS_MISSING_SUPREF                            8406
1232 #define ERROR_DS_CANT_RETRIEVE_INSTANCE                    8407
1233 #define ERROR_DS_CODE_INCONSISTENCY                        8408
1234 #define ERROR_DS_DATABASE_ERROR                            8409
1235 #define ERROR_DS_GOVERNSID_MISSING                         8410
1236 #define ERROR_DS_MISSING_EXPECTED_ATT                      8411
1237 #define ERROR_DS_NCNAME_MISSING_CR_REF                     8412
1238 #define ERROR_DS_SECURITY_CHECKING_ERROR                   8413
1239 #define ERROR_DS_SCHEMA_NOT_LOADED                         8414
1240 #define ERROR_DS_SCHEMA_ALLOC_FAILED                       8415
1241 #define ERROR_DS_ATT_SCHEMA_REQ_SYNTAX                     8416
1242 #define ERROR_DS_GCVERIFY_ERROR                            8417
1243 #define ERROR_DS_DRA_SCHEMA_MISMATCH                       8418
1244 #define ERROR_DS_CANT_FIND_DSA_OBJ                         8419
1245 #define ERROR_DS_CANT_FIND_EXPECTED_NC                     8420
1246 #define ERROR_DS_CANT_FIND_NC_IN_CACHE                     8421
1247 #define ERROR_DS_CANT_RETRIEVE_CHILD                       8422
1248 #define ERROR_DS_SECURITY_ILLEGAL_MODIFY                   8423
1249 #define ERROR_DS_CANT_REPLACE_HIDDEN_REC                   8424
1250 #define ERROR_DS_BAD_HIERARCHY_FILE                        8425
1251 #define ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED              8426
1252 #define ERROR_DS_CONFIG_PARAM_MISSING                      8427
1253 #define ERROR_DS_COUNTING_AB_INDICES_FAILED                8428
1254 #define ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED             8429
1255 #define ERROR_DS_INTERNAL_FAILURE                          8430
1256 #define ERROR_DS_UNKNOWN_ERROR                             8431
1257 #define ERROR_DS_ROOT_REQUIRES_CLASS_TOP                   8432
1258 #define ERROR_DS_REFUSING_FSMO_ROLES                       8433
1259 #define ERROR_DS_MISSING_FSMO_SETTINGS                     8434
1260 #define ERROR_DS_UNABLE_TO_SURRENDER_ROLES                 8435
1261 #define ERROR_DS_DRA_GENERIC                               8436
1262 #define ERROR_DS_DRA_INVALID_PARAMETER                     8437
1263 #define ERROR_DS_DRA_BUSY                                  8438
1264 #define ERROR_DS_DRA_BAD_DN                                8439
1265 #define ERROR_DS_DRA_BAD_NC                                8440
1266 #define ERROR_DS_DRA_DN_EXISTS                             8441
1267 #define ERROR_DS_DRA_INTERNAL_ERROR                        8442
1268 #define ERROR_DS_DRA_INCONSISTENT_DIT                      8443
1269 #define ERROR_DS_DRA_CONNECTION_FAILED                     8444
1270 #define ERROR_DS_DRA_BAD_INSTANCE_TYPE                     8445
1271 #define ERROR_DS_DRA_OUT_OF_MEM                            8446
1272 #define ERROR_DS_DRA_MAIL_PROBLEM                          8447
1273 #define ERROR_DS_DRA_REF_ALREADY_EXISTS                    8448
1274 #define ERROR_DS_DRA_REF_NOT_FOUND                         8449
1275 #define ERROR_DS_DRA_OBJ_IS_REP_SOURCE                     8450
1276 #define ERROR_DS_DRA_DB_ERROR                              8451
1277 #define ERROR_DS_DRA_NO_REPLICA                            8452
1278 #define ERROR_DS_DRA_ACCESS_DENIED                         8453
1279 #define ERROR_DS_DRA_NOT_SUPPORTED                         8454
1280 #define ERROR_DS_DRA_RPC_CANCELLED                         8455
1281 #define ERROR_DS_DRA_SOURCE_DISABLED                       8456
1282 #define ERROR_DS_DRA_SINK_DISABLED                         8457
1283 #define ERROR_DS_DRA_NAME_COLLISION                        8458
1284 #define ERROR_DS_DRA_SOURCE_REINSTALLED                    8459
1285 #define ERROR_DS_DRA_MISSING_PARENT                        8460
1286 #define ERROR_DS_DRA_PREEMPTED                             8461
1287 #define ERROR_DS_DRA_ABANDON_SYNC                          8462
1288 #define ERROR_DS_DRA_SHUTDOWN                              8463
1289 #define ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET              8464
1290 #define ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA             8465
1291 #define ERROR_DS_DRA_EXTN_CONNECTION_FAILED                8466
1292 #define ERROR_DS_INSTALL_SCHEMA_MISMATCH                   8467
1293 #define ERROR_DS_DUP_LINK_ID                               8468
1294 #define ERROR_DS_NAME_ERROR_RESOLVING                      8469
1295 #define ERROR_DS_NAME_ERROR_NOT_FOUND                      8470
1296 #define ERROR_DS_NAME_ERROR_NOT_UNIQUE                     8471
1297 #define ERROR_DS_NAME_ERROR_NO_MAPPING                     8472
1298 #define ERROR_DS_NAME_ERROR_DOMAIN_ONLY                    8473
1299 #define ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING         8474
1300 #define ERROR_DS_CONSTRUCTED_ATT_MOD                       8475
1301 #define ERROR_DS_WRONG_OM_OBJ_CLASS                        8476
1302 #define ERROR_DS_DRA_REPL_PENDING                          8477
1303 #define ERROR_DS_DS_REQUIRED                               8478
1304 #define ERROR_DS_INVALID_LDAP_DISPLAY_NAME                 8479
1305 #define ERROR_DS_NON_BASE_SEARCH                           8480
1306 #define ERROR_DS_CANT_RETRIEVE_ATTS                        8481
1307 #define ERROR_DS_BACKLINK_WITHOUT_LINK                     8482
1308 #define ERROR_DS_EPOCH_MISMATCH                            8483
1309 #define ERROR_DS_SRC_NAME_MISMATCH                         8484
1310 #define ERROR_DS_SRC_AND_DST_NC_IDENTICAL                  8485
1311 #define ERROR_DS_DST_NC_MISMATCH                           8486
1312 #define ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC                8487
1313 #define ERROR_DS_SRC_GUID_MISMATCH                         8488
1314 #define ERROR_DS_CANT_MOVE_DELETED_OBJECT                  8489
1315 #define ERROR_DS_PDC_OPERATION_IN_PROGRESS                 8490
1316 #define ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD                 8491
1317 #define ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION               8492
1318 #define ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS           8493
1319 #define ERROR_DS_NC_MUST_HAVE_NC_PARENT                    8494
1320 #define ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE                 8495
1321 #define ERROR_DS_DST_DOMAIN_NOT_NATIVE                     8496
1322 #define ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER          8497
1323 #define ERROR_DS_CANT_MOVE_ACCOUNT_GROUP                   8498
1324 #define ERROR_DS_CANT_MOVE_RESOURCE_GROUP                  8499
1325 #define ERROR_DS_INVALID_SEARCH_FLAG                       8500
1326 #define ERROR_DS_NO_TREE_DELETE_ABOVE_NC                   8501
1327 #define ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE              8502
1328 #define ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE  8503
1329 #define ERROR_DS_SAM_INIT_FAILURE                          8504
1330 #define ERROR_DS_SENSITIVE_GROUP_VIOLATION                 8505
1331 #define ERROR_DS_CANT_MOD_PRIMARYGROUPID                   8506
1332 #define ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD                   8507
1333 #define ERROR_DS_NONSAFE_SCHEMA_CHANGE                     8508
1334 #define ERROR_DS_SCHEMA_UPDATE_DISALLOWED                  8509
1335 #define ERROR_DS_CANT_CREATE_UNDER_SCHEMA                  8510
1336 #define ERROR_DS_INSTALL_NO_SRC_SCH_VERSION                8511
1337 #define ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE         8512
1338 #define ERROR_DS_INVALID_GROUP_TYPE                        8513
1339 #define ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN        8514
1340 #define ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN         8515
1341 #define ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER             8516
1342 #define ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER         8517
1343 #define ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER          8518
1344 #define ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER       8519
1345 #define ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER  8520
1346 #define ERROR_DS_HAVE_PRIMARY_MEMBERS                      8521
1347 #define ERROR_DS_STRING_SD_CONVERSION_FAILED               8522
1348 #define ERROR_DS_NAMING_MASTER_GC                          8523
1349 #define ERROR_DS_LOOKUP_FAILURE                            8524
1350 #define ERROR_DS_COULDNT_UPDATE_SPNS                       8525
1351 #define ERROR_DS_CANT_RETRIEVE_SD                          8526
1352 #define ERROR_DS_KEY_NOT_UNIQUE                            8527
1353 #define ERROR_DS_WRONG_LINKED_ATT_SYNTAX                   8528
1354 #define ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD                 8529
1355 #define ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY                   8530
1356 #define ERROR_DS_CANT_START                                8531
1357 #define ERROR_DS_INIT_FAILURE                              8532
1358 #define ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION              8533
1359 #define ERROR_DS_SOURCE_DOMAIN_IN_FOREST                   8534
1360 #define ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST          8535
1361 #define ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED          8536
1362 #define ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN               8537
1363 #define ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER                 8538
1364 #define ERROR_DS_SRC_SID_EXISTS_IN_FOREST                  8539
1365 #define ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH         8540
1366 #define ERROR_SAM_INIT_FAILURE                             8541
1367 #define ERROR_DS_DRA_SCHEMA_INFO_SHIP                      8542
1368 #define ERROR_DS_DRA_SCHEMA_CONFLICT                       8543
1369 #define ERROR_DS_DRA_EARLIER_SCHEMA_CONLICT                8544
1370 #define ERROR_DS_DRA_OBJ_NC_MISMATCH                       8545
1371 #define ERROR_DS_NC_STILL_HAS_DSAS                         8546
1372 #define ERROR_DS_GC_REQUIRED                               8547
1373 #define ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY                8548
1374 #define ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS                8549
1375 #define ERROR_DS_CANT_ADD_TO_GC                            8550
1376 #define ERROR_DS_NO_CHECKPOINT_WITH_PDC                    8551
1377 #define ERROR_DS_SOURCE_AUDITING_NOT_ENABLED               8552
1378 #define ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC               8553
1379 #define ERROR_DS_INVALID_NAME_FOR_SPN                      8554
1380 #define ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS              8555
1381 #define ERROR_DS_UNICODEPWD_NOT_IN_QUOTES                  8556
1382 #define ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED            8557
1383 #define ERROR_DS_MUST_BE_RUN_ON_DST_DC                     8558
1384 #define ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER             8559
1385 #define ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ             8560
1386 #define DNS_ERROR_RCODE_FORMAT_ERROR                       9001
1387 #define DNS_ERROR_RCODE_SERVER_FAILURE                     9002
1388 #define DNS_ERROR_RCODE_NAME_ERROR                         9003
1389 #define DNS_ERROR_RCODE_NOT_IMPLEMENTED                    9004
1390 #define DNS_ERROR_RCODE_REFUSED                            9005
1391 #define DNS_ERROR_RCODE_YXDOMAIN                           9006
1392 #define DNS_ERROR_RCODE_YXRRSET                            9007
1393 #define DNS_ERROR_RCODE_NXRRSET                            9008
1394 #define DNS_ERROR_RCODE_NOTAUTH                            9009
1395 #define DNS_ERROR_RCODE_NOTZONE                            9010
1396 #define DNS_ERROR_RCODE_BADSIG                             9016
1397 #define DNS_ERROR_RCODE_BADKEY                             9017
1398 #define DNS_ERROR_RCODE_BADTIME                            9018
1399 #define DNS_INFO_NO_RECORDS                                9501
1400 #define DNS_ERROR_BAD_PACKET                               9502
1401 #define DNS_ERROR_NO_PACKET                                9503
1402 #define DNS_ERROR_RCODE                                    9504
1403 #define DNS_ERROR_UNSECURE_PACKET                          9505
1404 #define DNS_ERROR_INVALID_TYPE                             9551
1405 #define DNS_ERROR_INVALID_IP_ADDRESS                       9552
1406 #define DNS_ERROR_INVALID_PROPERTY                         9553
1407 #define DNS_ERROR_TRY_AGAIN_LATER                          9554
1408 #define DNS_ERROR_NOT_UNIQUE                               9555
1409 #define DNS_ERROR_NON_RFC_NAME                             9556
1410 #define DNS_STATUS_FQDN                                    9557
1411 #define DNS_STATUS_DOTTED_NAME                             9558
1412 #define DNS_STATUS_SINGLE_PART_NAME                        9559
1413 #define DNS_ERROR_INVALID_NAME_CHAR                        9560
1414 #define DNS_ERROR_NUMERIC_NAME                             9561
1415 #define DNS_ERROR_ZONE_DOES_NOT_EXIST                      9601
1416 #define DNS_ERROR_NO_ZONE_INFO                             9602
1417 #define DNS_ERROR_INVALID_ZONE_OPERATION                   9603
1418 #define DNS_ERROR_ZONE_CONFIGURATION_ERROR                 9604
1419 #define DNS_ERROR_ZONE_HAS_NO_SOA_RECORD                   9605
1420 #define DNS_ERROR_ZONE_HAS_NO_NS_RECORDS                   9606
1421 #define DNS_ERROR_ZONE_LOCKED                              9607
1422 #define DNS_ERROR_ZONE_CREATION_FAILED                     9608
1423 #define DNS_ERROR_ZONE_ALREADY_EXISTS                      9609
1424 #define DNS_ERROR_AUTOZONE_ALREADY_EXISTS                  9610
1425 #define DNS_ERROR_INVALID_ZONE_TYPE                        9611
1426 #define DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP             9612
1427 #define DNS_ERROR_ZONE_NOT_SECONDARY                       9613
1428 #define DNS_ERROR_NEED_SECONDARY_ADDRESSES                 9614
1429 #define DNS_ERROR_WINS_INIT_FAILED                         9615
1430 #define DNS_ERROR_NEED_WINS_SERVERS                        9616
1431 #define DNS_ERROR_NBSTAT_INIT_FAILED                       9617
1432 #define DNS_ERROR_SOA_DELETE_INVALID                       9618
1433 #define DNS_ERROR_PRIMARY_REQUIRES_DATAFILE                9651
1434 #define DNS_ERROR_INVALID_DATAFILE_NAME                    9652
1435 #define DNS_ERROR_DATAFILE_OPEN_FAILURE                    9653
1436 #define DNS_ERROR_FILE_WRITEBACK_FAILED                    9654
1437 #define DNS_ERROR_DATAFILE_PARSING                         9655
1438 #define DNS_ERROR_RECORD_DOES_NOT_EXIST                    9701
1439 #define DNS_ERROR_RECORD_FORMAT                            9702
1440 #define DNS_ERROR_NODE_CREATION_FAILED                     9703
1441 #define DNS_ERROR_UNKNOWN_RECORD_TYPE                      9704
1442 #define DNS_ERROR_RECORD_TIMED_OUT                         9705
1443 #define DNS_ERROR_NAME_NOT_IN_ZONE                         9706
1444 #define DNS_ERROR_CNAME_LOOP                               9707
1445 #define DNS_ERROR_NODE_IS_CNAME                            9708
1446 #define DNS_ERROR_CNAME_COLLISION                          9709
1447 #define DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT                 9710
1448 #define DNS_ERROR_RECORD_ALREADY_EXISTS                    9711
1449 #define DNS_ERROR_SECONDARY_DATA                           9712
1450 #define DNS_ERROR_NO_CREATE_CACHE_DATA                     9713
1451 #define DNS_ERROR_NAME_DOES_NOT_EXIST                      9714
1452 #define DNS_WARNING_PTR_CREATE_FAILED                      9715
1453 #define DNS_WARNING_DOMAIN_UNDELETED                       9716
1454 #define DNS_ERROR_DS_UNAVAILABLE                           9717
1455 #define DNS_ERROR_DS_ZONE_ALREADY_EXISTS                   9718
1456 #define DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE                   9719
1457 #define DNS_INFO_AXFR_COMPLETE                             9751
1458 #define DNS_ERROR_AXFR                                     9752
1459 #define DNS_INFO_ADDED_LOCAL_WINS                          9753
1460 #define DNS_STATUS_CONTINUE_NEEDED                         9801
1461 #define DNS_ERROR_NO_TCPIP                                 9851
1462 #define DNS_ERROR_NO_DNS_SERVERS                           9852
1463
1464 /* HRESULT values for OLE, SHELL and other Interface stuff */
1465 /* the codes 4000-40ff are reserved for OLE */
1466 #define NOERROR                                            0L
1467 #define S_OK                                               ((HRESULT)0L)
1468 #define S_FALSE                                            ((HRESULT)1L)
1469
1470 #define E_PENDING                                          0x8000000AL
1471
1472
1473 #define E_NOTIMPL                                          0x80004001L
1474 #define E_NOINTERFACE                                      0x80004002L
1475 #define E_POINTER                                          0x80004003L
1476 #define E_ABORT                                            0x80004004L
1477 #define E_FAIL                                             0x80004005L
1478 /* FIXME: E_UNSPEC is not a standard value but it is used by 
1479  * FileMoniker, IOleLink and DoDragDrop as a return value.
1480  */
1481 #define E_UNSPEC                                           E_FAIL
1482
1483
1484 #define CO_E_INIT_TLS                                      0x80004006L
1485 #define CO_E_INIT_SHARED_ALLOCATOR                         0x80004007L
1486 #define CO_E_INIT_MEMORY_ALLOCATOR                         0x80004008L
1487 #define CO_E_INIT_CLASS_CACHE                              0x80004009L
1488 #define CO_E_INIT_RPC_CHANNEL                              0x8000400AL
1489 #define CO_E_INIT_TLS_SET_CHANNEL_CONTROL                  0x8000400BL
1490 #define CO_E_INIT_TLS_CHANNEL_CONTROL                      0x8000400CL
1491 #define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR                0x8000400DL
1492 #define CO_E_INIT_SCM_MUTEX_EXISTS                         0x8000400EL
1493 #define CO_E_INIT_SCM_FILE_MAPPING_EXISTS                  0x8000400FL
1494 #define CO_E_INIT_SCM_MAP_VIEW_OF_FILE                     0x80004010L
1495 #define CO_E_INIT_SCM_EXEC_FAILURE                         0x80004011L
1496 #define CO_E_INIT_ONLY_SINGLE_THREADED                     0x80004012L
1497
1498 #define E_UNEXPECTED                                       0x8000FFFFL
1499
1500 #define RPC_E_CALL_REJECTED                                0x80010001L
1501 #define RPC_E_CALL_CANCELED                                0x80010002L
1502 #define RPC_E_CANTPOST_INSENDCALL                          0x80010003L
1503 #define RPC_E_CANTCALLOUT_INASYNCCALL                      0x80010004L
1504 #define RPC_E_CANTCALLOUT_INEXTERNALCALL                   0x80010005L
1505 #define RPC_E_CONNECTION_TERMINATED                        0x80010006L
1506 #define RPC_E_SERVER_DIED                                  0x80010007L
1507 #define RPC_E_CLIENT_DIED                                  0x80010008L
1508 #define RPC_E_INVALID_DATAPACKET                           0x80010009L
1509 #define RPC_E_CANTTRANSMIT_CALL                            0x8001000AL
1510 #define RPC_E_CLIENT_CANTMARSHAL_DATA                      0x8001000BL
1511 #define RPC_E_CLIENT_CANTUNMARSHAL_DATA                    0x8001000CL
1512 #define RPC_E_SERVER_CANTMARSHAL_DATA                      0x8001000DL
1513 #define RPC_E_SERVER_CANTUNMARSHAL_DATA                    0x8001000EL
1514 #define RPC_E_INVALID_DATA                                 0x8001000FL
1515 #define RPC_E_INVALID_PARAMETER                            0x80010010L
1516 #define RPC_E_CANTCALLOUT_AGAIN                            0x80010011L
1517 #define RPC_E_SERVER_DIED_DNE                              0x80010012L
1518 #define RPC_E_SYS_CALL_FAILED                              0x80010100L
1519 #define RPC_E_OUT_OF_RESOURCES                             0x80010101L
1520 #define RPC_E_ATTEMPTED_MULTITHREAD                        0x80010102L
1521 #define RPC_E_NOT_REGISTERED                               0x80010103L
1522 #define RPC_E_FAULT                                        0x80010104L
1523 #define RPC_E_SERVERFAULT                                  0x80010105L
1524 #define RPC_E_CHANGED_MODE                                 0x80010106L
1525 #define RPC_E_INVALIDMETHOD                                0x80010107L
1526 #define RPC_E_DISCONNECTED                                 0x80010108L
1527 #define RPC_E_RETRY                                        0x80010109L
1528 #define RPC_E_SERVERCALL_RETRYLATER                        0x8001010AL
1529 #define RPC_E_SERVERCALL_REJECTED                          0x8001010BL
1530 #define RPC_E_INVALID_CALLDATA                             0x8001010CL
1531 #define RPC_E_CANTCALLOUT_ININPUTSYNCCALL                  0x8001010DL
1532 #define RPC_E_WRONG_THREAD                                 0x8001010EL
1533 #define RPC_E_THREAD_NOT_INIT                              0x8001010FL
1534 #define RPC_E_VERSION_MISMATCH                             0x80010110L
1535 #define RPC_E_INVALID_HEADER                               0x80010111L
1536 #define RPC_E_INVALID_EXTENSION                            0x80010112L
1537 #define RPC_E_INVALID_IPID                                 0x80010113L
1538 #define RPC_E_INVALID_OBJECT                               0x80010114L
1539 #define RPC_S_CALLPENDING                                  0x80010115L
1540 #define RPC_S_WAITONTIMER                                  0x80010116L
1541 #define RPC_E_CALL_COMPLETE                                0x80010117L
1542 #define RPC_E_UNSECURE_CALL                                0x80010118L
1543 #define RPC_E_TOO_LATE                                     0x80010119L
1544 #define RPC_E_NO_GOOD_SECURITY_PACKAGES                    0x8001011AL
1545 #define RPC_E_ACCESS_DENIED                                0x8001011BL
1546 #define RPC_E_REMOTE_DISABLED                              0x8001011CL
1547 #define RPC_E_INVALID_OBJREF                               0x8001011DL
1548 #define RPC_E_NO_CONTEXT                                   0x8001011EL
1549 #define RPC_E_TIMEOUT                                      0x8001011FL
1550 #define RPC_E_NO_SYNC                                      0x80010120L
1551 #define RPC_E_UNEXPECTED                                   0x8001FFFFL
1552
1553 #define DISP_E_UNKNOWNINTERFACE                            0x80020001L
1554 #define DISP_E_MEMBERNOTFOUND                              0x80020003L
1555 #define DISP_E_PARAMNOTFOUND                               0x80020004L
1556 #define DISP_E_TYPEMISMATCH                                0x80020005L
1557 #define DISP_E_UNKNOWNNAME                                 0x80020006L
1558 #define DISP_E_NONAMEDARGS                                 0x80020007L
1559 #define DISP_E_BADVARTYPE                                  0x80020008L
1560 #define DISP_E_EXCEPTION                                   0x80020009L
1561 #define DISP_E_OVERFLOW                                    0x8002000AL
1562 #define DISP_E_BADINDEX                                    0x8002000BL
1563 #define DISP_E_UNKNOWNLCID                                 0x8002000CL
1564 #define DISP_E_ARRAYISLOCKED                               0x8002000DL
1565 #define DISP_E_BADPARAMCOUNT                               0x8002000EL
1566 #define DISP_E_PARAMNOTOPTIONAL                            0x8002000FL
1567 #define DISP_E_BADCALLEE                                   0x80020010L
1568 #define DISP_E_NOTACOLLECTION                              0x80020011L
1569 #define DISP_E_DIVBYZERO                                   0x80020012L
1570
1571 #define TYPE_E_BUFFERTOOSMALL                              0x80028016L
1572 #define TYPE_E_FIELDNOTFOUND                               0x80028017L
1573 #define TYPE_E_INVDATAREAD                                 0x80028018L
1574 #define TYPE_E_UNSUPFORMAT                                 0x80028019L
1575 #define TYPE_E_REGISTRYACCESS                              0x8002801CL
1576 #define TYPE_E_LIBNOTREGISTERED                            0x8002801DL
1577 #define TYPE_E_UNDEFINEDTYPE                               0x80028027L
1578 #define TYPE_E_QUALIFIEDNAMEDISALLOWED                     0x80028028L
1579 #define TYPE_E_INVALIDSTATE                                0x80028029L
1580 #define TYPE_E_WRONGTYPEKIND                               0x8002802AL
1581 #define TYPE_E_ELEMENTNOTFOUND                             0x8002802BL
1582 #define TYPE_E_AMBIGUOUSNAME                               0x8002802CL
1583 #define TYPE_E_NAMECONFLICT                                0x8002802DL
1584 #define TYPE_E_UNKNOWNLCID                                 0x8002802EL
1585 #define TYPE_E_DLLFUNCTIONNOTFOUND                         0x8002802FL
1586 #define TYPE_E_BADMODULEKIND                               0x800288BDL
1587 #define TYPE_E_SIZETOOBIG                                  0x800288C5L
1588 #define TYPE_E_DUPLICATEID                                 0x800288C6L
1589 #define TYPE_E_INVALIDID                                   0x800288CFL
1590 #define TYPE_E_TYPEMISMATCH                                0x80028CA0L
1591 #define TYPE_E_OUTOFBOUNDS                                 0x80028CA1L
1592 #define TYPE_E_IOERROR                                     0x80028CA2L
1593 #define TYPE_E_CANTCREATETMPFILE                           0x80028CA3L
1594 #define TYPE_E_CANTLOADLIBRARY                             0x80029C4AL
1595 #define TYPE_E_INCONSISTENTPROPFUNCS                       0x80029C83L
1596 #define TYPE_E_CIRCULARTYPE                                0x80029C84L
1597
1598 #define STG_S_CONVERTED                                    0x00030200L
1599 #define STG_S_BLOCK                                        0x00030201L
1600 #define STG_S_RETRYNOW                                     0x00030202L
1601 #define STG_S_MONITORING                                   0x00030203L
1602 #define STG_S_MULTIPLEOPENS                                0x00030204L
1603 #define STG_S_CONSOLIDATIONFAILED                          0x00030205L
1604 #define STG_S_CANNOTCONSOLIDATE                            0x00030206L
1605
1606 #define STG_E_INVALIDFUNCTION                              0x80030001L
1607 #define STG_E_FILENOTFOUND                                 0x80030002L
1608 #define STG_E_PATHNOTFOUND                                 0x80030003L
1609 #define STG_E_TOOMANYOPENFILES                             0x80030004L
1610 #define STG_E_ACCESSDENIED                                 0x80030005L
1611 #define STG_E_INVALIDHANDLE                                0x80030006L
1612 #define STG_E_INSUFFICIENTMEMORY                           0x80030008L
1613 #define STG_E_INVALIDPOINTER                               0x80030009L
1614 #define STG_E_NOMOREFILES                                  0x80030012L
1615 #define STG_E_DISKISWRITEPROTECTED                         0x80030013L
1616 #define STG_E_SEEKERROR                                    0x80030019L
1617 #define STG_E_WRITEFAULT                                   0x8003001DL
1618 #define STG_E_READFAULT                                    0x8003001EL
1619 #define STG_E_SHAREVIOLATION                               0x80030020L
1620 #define STG_E_LOCKVIOLATION                                0x80030021L
1621 #define STG_E_FILEALREADYEXISTS                            0x80030050L
1622 #define STG_E_INVALIDPARAMETER                             0x80030057L
1623 #define STG_E_MEDIUMFULL                                   0x80030070L
1624 #define STG_E_ABNORMALAPIEXIT                              0x800300FAL
1625 #define STG_E_INVALIDHEADER                                0x800300FBL
1626 #define STG_E_INVALIDNAME                                  0x800300FCL
1627 #define STG_E_UNKNOWN                                      0x800300FDL
1628 #define STG_E_UNIMPLEMENTEDFUNCTION                        0x800300FEL
1629 #define STG_E_INVALIDFLAG                                  0x800300FFL
1630 #define STG_E_INUSE                                        0x80030100L
1631 #define STG_E_NOTCURRENT                                   0x80030101L
1632 #define STG_E_REVERTED                                     0x80030102L
1633 #define STG_E_CANTSAVE                                     0x80030103L
1634 #define STG_E_OLDFORMAT                                    0x80030104L
1635 #define STG_E_OLDDLL                                       0x80030105L
1636 #define STG_E_SHAREREQUIRED                                0x80030106L
1637 #define STG_E_NOTFILEBASEDSTORAGE                          0x80030107L
1638 #define STG_E_EXTANTMARSHALLINGS                           0x80030108L
1639
1640 #define OLE_S_FIRST                                        0x00040000L
1641 #define OLE_S_USEREG                                       0x00040000L
1642 #define OLE_S_STATIC                                       0x00040001L
1643 #define OLE_S_MAC_CLIPFORMAT                               0x00040002L
1644 #define OLE_S_LAST                                         0x000400FFL
1645
1646 #define OLE_E_FIRST                                        0x80040000L
1647 #define OLE_E_OLEVERB                                      0x80040000L
1648 #define OLE_E_ADVF                                         0x80040001L
1649 #define OLE_E_ENUM_NOMORE                                  0x80040002L
1650 #define OLE_E_ADVISENOTSUPPORTED                           0x80040003L
1651 #define OLE_E_NOCONNECTION                                 0x80040004L
1652 #define OLE_E_NOTRUNNING                                   0x80040005L
1653 #define OLE_E_NOCACHE                                      0x80040006L
1654 #define OLE_E_BLANK                                        0x80040007L
1655 #define OLE_E_CLASSDIFF                                    0x80040008L
1656 #define OLE_E_CANT_GETMONIKER                              0x80040009L
1657 #define OLE_E_CANT_BINDTOSOURCE                            0x8004000AL
1658 #define OLE_E_STATIC                                       0x8004000BL
1659 #define OLE_E_PROMPTSAVECANCELLED                          0x8004000CL
1660 #define OLE_E_INVALIDRECT                                  0x8004000DL
1661 #define OLE_E_WRONGCOMPOBJ                                 0x8004000EL
1662 #define OLE_E_INVALIDHWND                                  0x8004000FL
1663 #define OLE_E_NOT_INPLACEACTIVE                            0x80040010L
1664 #define OLE_E_CANTCONVERT                                  0x80040011L
1665 #define OLE_E_NOSTORAGE                                    0x80040012L
1666 #define DV_E_FORMATETC                                     0x80040064L
1667 #define DV_E_DVTARGETDEVICE                                0x80040065L
1668 #define DV_E_STGMEDIUM                                     0x80040066L
1669 #define DV_E_STATDATA                                      0x80040067L
1670 #define DV_E_LINDEX                                        0x80040068L
1671 #define DV_E_TYMED                                         0x80040069L
1672 #define DV_E_CLIPFORMAT                                    0x8004006AL
1673 #define DV_E_DVASPECT                                      0x8004006BL
1674 #define DV_E_DVTARGETDEVICE_SIZE                           0x8004006CL
1675 #define DV_E_NOIVIEWOBJECT                                 0x8004006DL
1676 #define OLE_E_LAST                                         0x800400FFL
1677
1678 #define DRAGDROP_S_FIRST                                   0x00040100L
1679 #define DRAGDROP_S_DROP                                    0x00040100L
1680 #define DRAGDROP_S_CANCEL                                  0x00040101L
1681 #define DRAGDROP_S_USEDEFAULTCURSORS                       0x00040102L
1682 #define DRAGDROP_S_LAST                                    0x0004010FL
1683
1684 #define DRAGDROP_E_FIRST                                   0x80040100L
1685 #define DRAGDROP_E_NOTREGISTERED                           0x80040100L
1686 #define DRAGDROP_E_ALREADYREGISTERED                       0x80040101L
1687 #define DRAGDROP_E_INVALIDHWND                             0x80040102L
1688 #define DRAGDROP_E_LAST                                    0x8004010FL
1689
1690
1691 #define CLASSFACTORY_S_FIRST                               0x00040110L
1692 #define CLASSFACTORY_S_LAST                                0x0004011FL
1693
1694 #define CLASSFACTORY_E_FIRST                               0x80040110L
1695 #define CLASS_E_NOAGGREGATION                              0x80040110L
1696 #define CLASS_E_CLASSNOTAVAILABLE                          0x80040111L
1697 #define CLASS_E_NOTLICENSED                                0x80040112L
1698 #define CLASSFACTORY_E_LAST                                0x8004011FL
1699
1700 #define MARSHAL_S_FIRST                                    0x00040120L
1701 #define MARSHAL_S_LAST                                     0x0004012FL
1702
1703 #define MARSHAL_E_FIRST                                    0x80040120L
1704 #define MARSHAL_E_LAST                                     0x8004012FL
1705
1706 #define DATA_S_FIRST                                       0x00040130L
1707 #define DATA_S_SAMEFORMATETC                               0x00040130L
1708 #define DATA_S_LAST                                        0x0004013FL
1709
1710 #define DATA_E_FIRST                                       0x80040130L
1711 #define DATA_E_LAST                                        0x8004013FL
1712
1713 #define VIEW_S_FIRST                                       0x00040140L
1714 #define VIEW_S_ALREADY_FROZEN                              0x00040140L
1715 #define VIEW_S_LAST                                        0x0004014FL
1716
1717 #define VIEW_E_FIRST                                       0x80040140L
1718 #define VIEW_E_DRAW                                        0x80040140L
1719 #define VIEW_E_LAST                                        0x8004014FL
1720
1721 #define REGDB_S_FIRST                                      0x00040150L
1722 #define REGDB_S_LAST                                       0x0004015FL
1723
1724 #define REGDB_E_FIRST                                      0x80040150L
1725 #define REGDB_E_READREGDB                                  0x80040150L
1726 #define REGDB_E_WRITEREGDB                                 0x80040151L
1727 #define REGDB_E_KEYMISSING                                 0x80040152L
1728 #define REGDB_E_INVALIDVALUE                               0x80040153L
1729 #define REGDB_E_CLASSNOTREG                                0x80040154L
1730 #define REGDB_E_IIDNOTREG                                  0x80040155L
1731 #define REGDB_E_LAST                                       0x8004015FL
1732
1733 #define CACHE_S_FIRST                                      0x00040170L
1734 #define CACHE_S_FORMATETC_NOTSUPPORTED                     0x00040170L
1735 #define CACHE_S_SAMECACHE                                  0x00040171L
1736 #define CACHE_S_SOMECACHES_NOTUPDATED                      0x00040172L
1737 #define CACHE_S_LAST                                       0x0004017FL
1738
1739 #define CACHE_E_FIRST                                      0x80040170L
1740 #define CACHE_E_NOCACHE_UPDATED                            0x80040170L
1741 #define CACHE_E_LAST                                       0x8004017FL
1742
1743 #define OLEOBJ_S_FIRST                                     0x00040180L
1744 #define OLEOBJ_S_INVALIDVERB                               0x00040180L
1745 #define OLEOBJ_S_CANNOT_DOVERB_NOW                         0x00040181L
1746 #define OLEOBJ_S_INVALIDHWND                               0x00040182L
1747 #define OLEOBJ_S_LAST                                      0x0004018FL
1748
1749 #define OLEOBJ_E_FIRST                                     0x80040180L
1750 #define OLEOBJ_E_NOVERBS                                   0x80040180L
1751 #define OLEOBJ_E_INVALIDVERB                               0x80040181L
1752 #define OLEOBJ_E_LAST                                      0x8004018FL
1753
1754 #define CLIENTSITE_S_FIRST                                 0x00040190L
1755 #define CLIENTSITE_S_LAST                                  0x0004019FL
1756
1757 #define CLIENTSITE_E_FIRST                                 0x80040190L
1758 #define CLIENTSITE_E_LAST                                  0x8004019FL
1759
1760 #define INPLACE_S_FIRST                                    0x000401A0L
1761 #define INPLACE_S_TRUNCATED                                0x000401A0L
1762 #define INPLACE_S_LAST                                     0x000401AFL
1763
1764 #define INPLACE_E_FIRST                                    0x800401A0L
1765 #define INPLACE_E_NOTUNDOABLE                              0x800401A0L
1766 #define INPLACE_E_NOTOOLSPACE                              0x800401A1L
1767 #define INPLACE_E_LAST                                     0x800401AFL
1768
1769 #define ENUM_S_FIRST                                       0x000401B0L
1770 #define ENUM_S_LAST                                        0x000401BFL
1771
1772 #define ENUM_E_FIRST                                       0x800401B0L
1773 #define ENUM_E_LAST                                        0x800401BFL
1774
1775 #define CONVERT10_S_FIRST                                  0x000401C0L
1776 #define CONVERT10_S_NO_PRESENTATION                        0x000401C0L
1777 #define CONVERT10_S_LAST                                   0x000401CFL
1778
1779 #define CONVERT10_E_FIRST                                  0x800401C0L
1780 #define CONVERT10_E_OLESTREAM_GET                          0x800401C0L
1781 #define CONVERT10_E_OLESTREAM_PUT                          0x800401C1L
1782 #define CONVERT10_E_OLESTREAM_FMT                          0x800401C2L
1783 #define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB                0x800401C3L
1784 #define CONVERT10_E_STG_FMT                                0x800401C4L
1785 #define CONVERT10_E_STG_NO_STD_STREAM                      0x800401C5L
1786 #define CONVERT10_E_STG_DIB_TO_BITMAP                      0x800401C6L
1787 #define CONVERT10_E_LAST                                   0x800401CFL
1788
1789 #define CLIPBRD_S_FIRST                                    0x000401D0L
1790 #define CLIPBRD_S_LAST                                     0x000401DFL
1791
1792 #define CLIPBRD_E_FIRST                                    0x800401D0L
1793 #define CLIPBRD_E_LAST                                     0x800401DFL
1794 #define CLIPBRD_E_CANT_OPEN                                0x800401D0L
1795 #define CLIPBRD_E_CANT_EMPTY                               0x800401D1L
1796 #define CLIPBRD_E_CANT_SET                                 0x800401D2L
1797 #define CLIPBRD_E_BAD_DATA                                 0x800401D3L
1798 #define CLIPBRD_E_CANT_CLOSE                               0x800401D4L
1799
1800 #define MK_S_FIRST                                         0x000401E0L
1801 #define MK_S_REDUCED_TO_SELF                               0x000401E2L
1802 #define MK_S_ME                                            0x000401E4L
1803 #define MK_S_HIM                                           0x000401E5L
1804 #define MK_S_US                                            0x000401E6L
1805 #define MK_S_MONIKERALREADYREGISTERED                      0x000401E7L
1806 #define MK_S_LAST                                          0x000401EFL
1807
1808 #define MK_E_FIRST                                         0x800401E0L
1809 #define MK_E_CONNECTMANUALLY                               0x800401E0L
1810 #define MK_E_EXCEEDEDDEADLINE                              0x800401E1L
1811 #define MK_E_NEEDGENERIC                                   0x800401E2L
1812 #define MK_E_UNAVAILABLE                                   0x800401E3L
1813 #define MK_E_SYNTAX                                        0x800401E4L
1814 #define MK_E_NOOBJECT                                      0x800401E5L
1815 #define MK_E_INVALIDEXTENSION                              0x800401E6L
1816 #define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED             0x800401E7L
1817 #define MK_E_NOTBINDABLE                                   0x800401E8L
1818 #define MK_E_NOTBOUND                                      0x800401E9L
1819 #define MK_E_CANTOPENFILE                                  0x800401EAL
1820 #define MK_E_MUSTBOTHERUSER                                0x800401EBL
1821 #define MK_E_NOINVERSE                                     0x800401ECL
1822 #define MK_E_NOSTORAGE                                     0x800401EDL
1823 #define MK_E_NOPREFIX                                      0x800401EEL
1824 #define MK_E_ENUMERATION_FAILED                            0x800401EFL
1825 #define MK_E_LAST                                          0x800401EFL
1826
1827 #define CO_S_FIRST                                         0x000401F0L
1828 #define CO_S_LAST                                          0x000401FFL
1829
1830 #define CO_E_FIRST                                         0x800401F0L
1831 #define CO_E_NOTINITIALIZED                                0x800401F0L
1832 #define CO_E_ALREADYINITIALIZED                            0x800401F1L
1833 #define CO_E_CANTDETERMINECLASS                            0x800401F2L
1834 #define CO_E_CLASSSTRING                                   0x800401F3L
1835 #define CO_E_IIDSTRING                                     0x800401F4L
1836 #define CO_E_APPNOTFOUND                                   0x800401F5L
1837 #define CO_E_APPSINGLEUSE                                  0x800401F6L
1838 #define CO_E_ERRORINAPP                                    0x800401F7L
1839 #define CO_E_DLLNOTFOUND                                   0x800401F8L
1840 #define CO_E_ERRORINDLL                                    0x800401F9L
1841 #define CO_E_WRONGOSFORAPP                                 0x800401FAL
1842 #define CO_E_OBJNOTREG                                     0x800401FBL
1843 #define CO_E_OBJISREG                                      0x800401FCL
1844 #define CO_E_OBJNOTCONNECTED                               0x800401FDL
1845 #define CO_E_APPDIDNTREG                                   0x800401FEL
1846 #define CO_E_RELEASED                                      0x800401FFL
1847 #define CO_E_LAST                                          0x800401FFL
1848 #define CO_E_FAILEDTOIMPERSONATE                           0x80040200L
1849 #define CO_E_FAILEDTOGETSECCTX                             0x80040201L
1850 #define CO_E_FAILEDTOOPENTHREADTOKEN                       0x80040202L
1851 #define CO_E_FAILEDTOGETTOKENINFO                          0x80040203L
1852 #define CO_E_TRUSTEEDOESNTMATCHCLIENT                      0x80040204L
1853 #define CO_E_FAILEDTOQUERYCLIENTBLANKET                    0x80040205L
1854 #define CO_E_FAILEDTOSETDACL                               0x80040206L
1855 #define CO_E_ACCESSCHECKFAILED                             0x80040207L
1856 #define CO_E_NETACCESSAPIFAILED                            0x80040208L
1857 #define CO_E_WRONGTRUSTEENAMESYNTAX                        0x80040209L
1858 #define CO_E_INVALIDSID                                    0x8004020AL
1859 #define CO_E_CONVERSIONFAILED                              0x8004020BL
1860 #define CO_E_NOMATCHINGSIDFOUND                            0x8004020CL
1861 #define CO_E_LOOKUPACCSIDFAILED                            0x8004020DL
1862 #define CO_E_NOMATCHINGNAMEFOUND                           0x8004020EL
1863 #define CO_E_LOOKUPACCNAMEFAILED                           0x8004020FL
1864 #define CO_E_SETSERLHNDLFAILED                             0x80040210L
1865 #define CO_E_FAILEDTOGETWINDIR                             0x80040211L
1866 #define CO_E_PATHTOOLONG                                   0x80040212L
1867 #define CO_E_FAILEDTOGENUUID                               0x80040213L
1868 #define CO_E_FAILEDTOCREATEFILE                            0x80040214L
1869 #define CO_E_FAILEDTOCLOSEHANDLE                           0x80040215L
1870 #define CO_E_EXCEEDSYSACLLIMIT                             0x80040216L
1871 #define CO_E_ACESINWRONGORDER                              0x80040217L
1872 #define CO_E_INCOMPATIBLESTREAMVERSION                     0x80040218L
1873 #define CO_E_FAILEDTOOPENPROCESSTOKEN                      0x80040219L
1874 #define CO_E_DECODEFAILED                                  0x8004021AL
1875 #define CO_E_ACNOTINITIALIZED                              0x8004021BL
1876
1877 #define E_ACCESSDENIED                                     0x80070005L
1878 #define E_HANDLE                                           0x80070006L
1879 #define E_OUTOFMEMORY                                      0x8007000EL
1880 #define E_INVALIDARG                                       0x80070057L
1881
1882 /* For IKsPropertySets */
1883 #define E_PROP_ID_UNSUPPORTED                              0x80070490L
1884 #define E_PROP_SET_UNSUPPORTED                             0x80070492L
1885
1886 #define CO_S_NOTALLINTERFACES                              0x00080012L
1887
1888 #define CO_E_CLASS_CREATE_FAILED                           0x80080001L
1889 #define CO_E_SCM_ERROR                                     0x80080002L
1890 #define CO_E_SCM_RPC_FAILURE                               0x80080003L
1891 #define CO_E_BAD_PATH                                      0x80080004L
1892 #define CO_E_SERVER_EXEC_FAILURE                           0x80080005L
1893 #define CO_E_OBJSRV_RPC_FAILURE                            0x80080006L
1894 #define MK_E_NO_NORMALIZED                                 0x80080007L
1895 #define CO_E_SERVER_STOPPING                               0x80080008L
1896 #define MEM_E_INVALID_ROOT                                 0x80080009L
1897 #define MEM_E_INVALID_LINK                                 0x80080010L
1898 #define MEM_E_INVALID_SIZE                                 0x80080011L
1899
1900
1901 #endif  /* __WINE_WINERROR_H */