Merge commit 'origin/master' into msys
[msysgit.git] / include / winerror.h
blob5dc58c774048d31ac67f5a16ddbc3023a2673d6d
1 #ifndef _WINERROR_H
2 #define _WINERROR_H
3 #define ERROR_SUCCESS 0L
4 #define NO_ERROR 0L
5 #define ERROR_INVALID_FUNCTION 1L
6 #define ERROR_FILE_NOT_FOUND 2L
7 #define ERROR_PATH_NOT_FOUND 3L
8 #define ERROR_TOO_MANY_OPEN_FILES 4L
9 #define ERROR_ACCESS_DENIED 5L
10 #define ERROR_INVALID_HANDLE 6L
11 #define ERROR_ARENA_TRASHED 7L
12 #define ERROR_NOT_ENOUGH_MEMORY 8L
13 #define ERROR_INVALID_BLOCK 9L
14 #define ERROR_BAD_ENVIRONMENT 10L
15 #define ERROR_BAD_FORMAT 11L
16 #define ERROR_INVALID_ACCESS 12L
17 #define ERROR_INVALID_DATA 13L
18 #define ERROR_OUTOFMEMORY 14L
19 #define ERROR_INVALID_DRIVE 15L
20 #define ERROR_CURRENT_DIRECTORY 16L
21 #define ERROR_NOT_SAME_DEVICE 17L
22 #define ERROR_NO_MORE_FILES 18L
23 #define ERROR_WRITE_PROTECT 19L
24 #define ERROR_BAD_UNIT 20L
25 #define ERROR_NOT_READY 21L
26 #define ERROR_BAD_COMMAND 22L
27 #define ERROR_CRC 23L
28 #define ERROR_BAD_LENGTH 24L
29 #define ERROR_SEEK 25L
30 #define ERROR_NOT_DOS_DISK 26L
31 #define ERROR_SECTOR_NOT_FOUND 27L
32 #define ERROR_OUT_OF_PAPER 28L
33 #define ERROR_WRITE_FAULT 29L
34 #define ERROR_READ_FAULT 30L
35 #define ERROR_GEN_FAILURE 31L
36 #define ERROR_SHARING_VIOLATION 32L
37 #define ERROR_LOCK_VIOLATION 33L
38 #define ERROR_WRONG_DISK 34L
39 #define ERROR_SHARING_BUFFER_EXCEEDED 36L
40 #define ERROR_HANDLE_EOF 38L
41 #define ERROR_HANDLE_DISK_FULL 39L
42 #define ERROR_NOT_SUPPORTED 50L
43 #define ERROR_REM_NOT_LIST 51L
44 #define ERROR_DUP_NAME 52L
45 #define ERROR_BAD_NETPATH 53L
46 #define ERROR_NETWORK_BUSY 54L
47 #define ERROR_DEV_NOT_EXIST 55L
48 #define ERROR_TOO_MANY_CMDS 56L
49 #define ERROR_ADAP_HDW_ERR 57L
50 #define ERROR_BAD_NET_RESP 58L
51 #define ERROR_UNEXP_NET_ERR 59L
52 #define ERROR_BAD_REM_ADAP 60L
53 #define ERROR_PRINTQ_FULL 61L
54 #define ERROR_NO_SPOOL_SPACE 62L
55 #define ERROR_PRINT_CANCELLED 63L
56 #define ERROR_NETNAME_DELETED 64L
57 #define ERROR_NETWORK_ACCESS_DENIED 65L
58 #define ERROR_BAD_DEV_TYPE 66L
59 #define ERROR_BAD_NET_NAME 67L
60 #define ERROR_TOO_MANY_NAMES 68L
61 #define ERROR_TOO_MANY_SESS 69L
62 #define ERROR_SHARING_PAUSED 70L
63 #define ERROR_REQ_NOT_ACCEP 71L
64 #define ERROR_REDIR_PAUSED 72L
65 #define ERROR_FILE_EXISTS 80L
66 #define ERROR_CANNOT_MAKE 82L
67 #define ERROR_FAIL_I24 83L
68 #define ERROR_OUT_OF_STRUCTURES 84L
69 #define ERROR_ALREADY_ASSIGNED 85L
70 #define ERROR_INVALID_PASSWORD 86L
71 #define ERROR_INVALID_PARAMETER 87L
72 #define ERROR_NET_WRITE_FAULT 88L
73 #define ERROR_NO_PROC_SLOTS 89L
74 #define ERROR_TOO_MANY_SEMAPHORES 100L
75 #define ERROR_EXCL_SEM_ALREADY_OWNED 101L
76 #define ERROR_SEM_IS_SET 102L
77 #define ERROR_TOO_MANY_SEM_REQUESTS 103L
78 #define ERROR_INVALID_AT_INTERRUPT_TIME 104L
79 #define ERROR_SEM_OWNER_DIED 105L
80 #define ERROR_SEM_USER_LIMIT 106L
81 #define ERROR_DISK_CHANGE 107L
82 #define ERROR_DRIVE_LOCKED 108L
83 #define ERROR_BROKEN_PIPE 109L
84 #define ERROR_OPEN_FAILED 110L
85 #define ERROR_BUFFER_OVERFLOW 111L
86 #define ERROR_DISK_FULL 112L
87 #define ERROR_NO_MORE_SEARCH_HANDLES 113L
88 #define ERROR_INVALID_TARGET_HANDLE 114L
89 #define ERROR_INVALID_CATEGORY 117L
90 #define ERROR_INVALID_VERIFY_SWITCH 118L
91 #define ERROR_BAD_DRIVER_LEVEL 119L
92 #define ERROR_CALL_NOT_IMPLEMENTED 120L
93 #define ERROR_SEM_TIMEOUT 121L
94 #define ERROR_INSUFFICIENT_BUFFER 122L
95 #define ERROR_INVALID_NAME 123L
96 #define ERROR_INVALID_LEVEL 124L
97 #define ERROR_NO_VOLUME_LABEL 125L
98 #define ERROR_MOD_NOT_FOUND 126L
99 #define ERROR_PROC_NOT_FOUND 127L
100 #define ERROR_WAIT_NO_CHILDREN 128L
101 #define ERROR_CHILD_NOT_COMPLETE 129L
102 #define ERROR_DIRECT_ACCESS_HANDLE 130L
103 #define ERROR_NEGATIVE_SEEK 131L
104 #define ERROR_SEEK_ON_DEVICE 132L
105 #define ERROR_IS_JOIN_TARGET 133L
106 #define ERROR_IS_JOINED 134L
107 #define ERROR_IS_SUBSTED 135L
108 #define ERROR_NOT_JOINED 136L
109 #define ERROR_NOT_SUBSTED 137L
110 #define ERROR_JOIN_TO_JOIN 138L
111 #define ERROR_SUBST_TO_SUBST 139L
112 #define ERROR_JOIN_TO_SUBST 140L
113 #define ERROR_SUBST_TO_JOIN 141L
114 #define ERROR_BUSY_DRIVE 142L
115 #define ERROR_SAME_DRIVE 143L
116 #define ERROR_DIR_NOT_ROOT 144L
117 #define ERROR_DIR_NOT_EMPTY 145L
118 #define ERROR_IS_SUBST_PATH 146L
119 #define ERROR_IS_JOIN_PATH 147L
120 #define ERROR_PATH_BUSY 148L
121 #define ERROR_IS_SUBST_TARGET 149L
122 #define ERROR_SYSTEM_TRACE 150L
123 #define ERROR_INVALID_EVENT_COUNT 151L
124 #define ERROR_TOO_MANY_MUXWAITERS 152L
125 #define ERROR_INVALID_LIST_FORMAT 153L
126 #define ERROR_LABEL_TOO_LONG 154L
127 #define ERROR_TOO_MANY_TCBS 155L
128 #define ERROR_SIGNAL_REFUSED 156L
129 #define ERROR_DISCARDED 157L
130 #define ERROR_NOT_LOCKED 158L
131 #define ERROR_BAD_THREADID_ADDR 159L
132 #define ERROR_BAD_ARGUMENTS 160L
133 #define ERROR_BAD_PATHNAME 161L
134 #define ERROR_SIGNAL_PENDING 162L
135 #define ERROR_MAX_THRDS_REACHED 164L
136 #define ERROR_LOCK_FAILED 167L
137 #define ERROR_BUSY 170L
138 #define ERROR_CANCEL_VIOLATION 173L
139 #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174L
140 #define ERROR_INVALID_SEGMENT_NUMBER 180L
141 #define ERROR_INVALID_ORDINAL 182L
142 #define ERROR_ALREADY_EXISTS 183L
143 #define ERROR_INVALID_FLAG_NUMBER 186L
144 #define ERROR_SEM_NOT_FOUND 187L
145 #define ERROR_INVALID_STARTING_CODESEG 188L
146 #define ERROR_INVALID_STACKSEG 189L
147 #define ERROR_INVALID_MODULETYPE 190L
148 #define ERROR_INVALID_EXE_SIGNATURE 191L
149 #define ERROR_EXE_MARKED_INVALID 192L
150 #define ERROR_BAD_EXE_FORMAT 193L
151 #define ERROR_ITERATED_DATA_EXCEEDS_64k 194L
152 #define ERROR_INVALID_MINALLOCSIZE 195L
153 #define ERROR_DYNLINK_FROM_INVALID_RING 196L
154 #define ERROR_IOPL_NOT_ENABLED 197L
155 #define ERROR_INVALID_SEGDPL 198L
156 #define ERROR_AUTODATASEG_EXCEEDS_64k 199L
157 #define ERROR_RING2SEG_MUST_BE_MOVABLE 200L
158 #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM 201L
159 #define ERROR_INFLOOP_IN_RELOC_CHAIN 202L
160 #define ERROR_ENVVAR_NOT_FOUND 203L
161 #define ERROR_NO_SIGNAL_SENT 205L
162 #define ERROR_FILENAME_EXCED_RANGE 206L
163 #define ERROR_RING2_STACK_IN_USE 207L
164 #define ERROR_META_EXPANSION_TOO_LONG 208L
165 #define ERROR_INVALID_SIGNAL_NUMBER 209L
166 #define ERROR_THREAD_1_INACTIVE 210L
167 #define ERROR_LOCKED 212L
168 #define ERROR_TOO_MANY_MODULES 214L
169 #define ERROR_NESTING_NOT_ALLOWED 215L
170 #define ERROR_BAD_PIPE 230L
171 #define ERROR_PIPE_BUSY 231L
172 #define ERROR_NO_DATA 232L
173 #define ERROR_PIPE_NOT_CONNECTED 233L
174 #define ERROR_MORE_DATA 234L
175 #define ERROR_VC_DISCONNECTED 240L
176 #define ERROR_INVALID_EA_NAME 254L
177 #define ERROR_EA_LIST_INCONSISTENT 255L
178 #define ERROR_NO_MORE_ITEMS 259L
179 #define ERROR_CANNOT_COPY 266L
180 #define ERROR_DIRECTORY 267L
181 #define ERROR_EAS_DIDNT_FIT 275L
182 #define ERROR_EA_FILE_CORRUPT 276L
183 #define ERROR_EA_TABLE_FULL 277L
184 #define ERROR_INVALID_EA_HANDLE 278L
185 #define ERROR_EAS_NOT_SUPPORTED 282L
186 #define ERROR_NOT_OWNER 288L
187 #define ERROR_TOO_MANY_POSTS 298L
188 #define ERROR_PARTIAL_COPY 299L
189 #define ERROR_MR_MID_NOT_FOUND 317L
190 #define ERROR_INVALID_ADDRESS 487L
191 #define ERROR_ARITHMETIC_OVERFLOW 534L
192 #define ERROR_PIPE_CONNECTED 535L
193 #define ERROR_PIPE_LISTENING 536L
194 #define ERROR_EA_ACCESS_DENIED 994L
195 #define ERROR_OPERATION_ABORTED 995L
196 #define ERROR_IO_INCOMPLETE 996L
197 #define ERROR_IO_PENDING 997L
198 #define ERROR_NOACCESS 998L
199 #define ERROR_SWAPERROR 999L
200 #define ERROR_STACK_OVERFLOW 1001L
201 #define ERROR_INVALID_MESSAGE 1002L
202 #define ERROR_CAN_NOT_COMPLETE 1003L
203 #define ERROR_INVALID_FLAGS 1004L
204 #define ERROR_UNRECOGNIZED_VOLUME 1005L
205 #define ERROR_FILE_INVALID 1006L
206 #define ERROR_FULLSCREEN_MODE 1007L
207 #define ERROR_NO_TOKEN 1008L
208 #define ERROR_BADDB 1009L
209 #define ERROR_BADKEY 1010L
210 #define ERROR_CANTOPEN 1011L
211 #define ERROR_CANTREAD 1012L
212 #define ERROR_CANTWRITE 1013L
213 #define ERROR_REGISTRY_RECOVERED 1014L
214 #define ERROR_REGISTRY_CORRUPT 1015L
215 #define ERROR_REGISTRY_IO_FAILED 1016L
216 #define ERROR_NOT_REGISTRY_FILE 1017L
217 #define ERROR_KEY_DELETED 1018L
218 #define ERROR_NO_LOG_SPACE 1019L
219 #define ERROR_KEY_HAS_CHILDREN 1020L
220 #define ERROR_CHILD_MUST_BE_VOLATILE 1021L
221 #define ERROR_NOTIFY_ENUM_DIR 1022L
222 #define ERROR_DEPENDENT_SERVICES_RUNNING 1051L
223 #define ERROR_INVALID_SERVICE_CONTROL 1052L
224 #define ERROR_SERVICE_REQUEST_TIMEOUT 1053L
225 #define ERROR_SERVICE_NO_THREAD 1054L
226 #define ERROR_SERVICE_DATABASE_LOCKED 1055L
227 #define ERROR_SERVICE_ALREADY_RUNNING 1056L
228 #define ERROR_INVALID_SERVICE_ACCOUNT 1057L
229 #define ERROR_SERVICE_DISABLED 1058L
230 #define ERROR_CIRCULAR_DEPENDENCY 1059L
231 #define ERROR_SERVICE_DOES_NOT_EXIST 1060L
232 #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061L
233 #define ERROR_SERVICE_NOT_ACTIVE 1062L
234 #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063L
235 #define ERROR_EXCEPTION_IN_SERVICE 1064L
236 #define ERROR_DATABASE_DOES_NOT_EXIST 1065L
237 #define ERROR_SERVICE_SPECIFIC_ERROR 1066L
238 #define ERROR_PROCESS_ABORTED 1067L
239 #define ERROR_SERVICE_DEPENDENCY_FAIL 1068L
240 #define ERROR_SERVICE_LOGON_FAILED 1069L
241 #define ERROR_SERVICE_START_HANG 1070L
242 #define ERROR_INVALID_SERVICE_LOCK 1071L
243 #define ERROR_SERVICE_MARKED_FOR_DELETE 1072L
244 #define ERROR_SERVICE_EXISTS 1073L
245 #define ERROR_ALREADY_RUNNING_LKG 1074L
246 #define ERROR_SERVICE_DEPENDENCY_DELETED 1075L
247 #define ERROR_BOOT_ALREADY_ACCEPTED 1076L
248 #define ERROR_SERVICE_NEVER_STARTED 1077L
249 #define ERROR_DUPLICATE_SERVICE_NAME 1078L
250 #define ERROR_END_OF_MEDIA 1100L
251 #define ERROR_FILEMARK_DETECTED 1101L
252 #define ERROR_BEGINNING_OF_MEDIA 1102L
253 #define ERROR_SETMARK_DETECTED 1103L
254 #define ERROR_NO_DATA_DETECTED 1104L
255 #define ERROR_PARTITION_FAILURE 1105L
256 #define ERROR_INVALID_BLOCK_LENGTH 1106L
257 #define ERROR_DEVICE_NOT_PARTITIONED 1107L
258 #define ERROR_UNABLE_TO_LOCK_MEDIA 1108L
259 #define ERROR_UNABLE_TO_UNLOAD_MEDIA 1109L
260 #define ERROR_MEDIA_CHANGED 1110L
261 #define ERROR_BUS_RESET 1111L
262 #define ERROR_NO_MEDIA_IN_DRIVE 1112L
263 #define ERROR_NO_UNICODE_TRANSLATION 1113L
264 #define ERROR_DLL_INIT_FAILED 1114L
265 #define ERROR_SHUTDOWN_IN_PROGRESS 1115L
266 #define ERROR_NO_SHUTDOWN_IN_PROGRESS 1116L
267 #define ERROR_IO_DEVICE 1117L
268 #define ERROR_SERIAL_NO_DEVICE 1118L
269 #define ERROR_IRQ_BUSY 1119L
270 #define ERROR_MORE_WRITES 1120L
271 #define ERROR_COUNTER_TIMEOUT 1121L
272 #define ERROR_FLOPPY_ID_MARK_NOT_FOUND 1122L
273 #define ERROR_FLOPPY_WRONG_CYLINDER 1123L
274 #define ERROR_FLOPPY_UNKNOWN_ERROR 1124L
275 #define ERROR_FLOPPY_BAD_REGISTERS 1125L
276 #define ERROR_DISK_RECALIBRATE_FAILED 1126L
277 #define ERROR_DISK_OPERATION_FAILED 1127L
278 #define ERROR_DISK_RESET_FAILED 1128L
279 #define ERROR_EOM_OVERFLOW 1129L
280 #define ERROR_NOT_ENOUGH_SERVER_MEMORY 1130L
281 #define ERROR_POSSIBLE_DEADLOCK 1131L
282 #define ERROR_MAPPED_ALIGNMENT 1132L
283 #define ERROR_SET_POWER_STATE_VETOED 1140L
284 #define ERROR_SET_POWER_STATE_FAILED 1141L
285 #define ERROR_TOO_MANY_LINKS 1142L
286 #define ERROR_OLD_WIN_VERSION 1150L
287 #define ERROR_APP_WRONG_OS 1151L
288 #define ERROR_SINGLE_INSTANCE_APP 1152L
289 #define ERROR_RMODE_APP 1153L
290 #define ERROR_INVALID_DLL 1154L
291 #define ERROR_NO_ASSOCIATION 1155L
292 #define ERROR_DDE_FAIL 1156L
293 #define ERROR_DLL_NOT_FOUND 1157L
294 #define ERROR_BAD_USERNAME 2202L
295 #define ERROR_NOT_CONNECTED 2250L
296 #define ERROR_OPEN_FILES 2401L
297 #define ERROR_ACTIVE_CONNECTIONS 2402L
298 #define ERROR_DEVICE_IN_USE 2404L
299 #define ERROR_BAD_DEVICE 1200L
300 #define ERROR_CONNECTION_UNAVAIL 1201L
301 #define ERROR_DEVICE_ALREADY_REMEMBERED 1202L
302 #define ERROR_NO_NET_OR_BAD_PATH 1203L
303 #define ERROR_BAD_PROVIDER 1204L
304 #define ERROR_CANNOT_OPEN_PROFILE 1205L
305 #define ERROR_BAD_PROFILE 1206L
306 #define ERROR_NOT_CONTAINER 1207L
307 #define ERROR_EXTENDED_ERROR 1208L
308 #define ERROR_INVALID_GROUPNAME 1209L
309 #define ERROR_INVALID_COMPUTERNAME 1210L
310 #define ERROR_INVALID_EVENTNAME 1211L
311 #define ERROR_INVALID_DOMAINNAME 1212L
312 #define ERROR_INVALID_SERVICENAME 1213L
313 #define ERROR_INVALID_NETNAME 1214L
314 #define ERROR_INVALID_SHARENAME 1215L
315 #define ERROR_INVALID_PASSWORDNAME 1216L
316 #define ERROR_INVALID_MESSAGENAME 1217L
317 #define ERROR_INVALID_MESSAGEDEST 1218L
318 #define ERROR_SESSION_CREDENTIAL_CONFLICT 1219L
319 #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220L
320 #define ERROR_DUP_DOMAINNAME 1221L
321 #define ERROR_NO_NETWORK 1222L
322 #define ERROR_CANCELLED 1223L
323 #define ERROR_USER_MAPPED_FILE 1224L
324 #define ERROR_CONNECTION_REFUSED 1225L
325 #define ERROR_GRACEFUL_DISCONNECT 1226L
326 #define ERROR_ADDRESS_ALREADY_ASSOCIATED 1227L
327 #define ERROR_ADDRESS_NOT_ASSOCIATED 1228L
328 #define ERROR_CONNECTION_INVALID 1229L
329 #define ERROR_CONNECTION_ACTIVE 1230L
330 #define ERROR_NETWORK_UNREACHABLE 1231L
331 #define ERROR_HOST_UNREACHABLE 1232L
332 #define ERROR_PROTOCOL_UNREACHABLE 1233L
333 #define ERROR_PORT_UNREACHABLE 1234L
334 #define ERROR_REQUEST_ABORTED 1235L
335 #define ERROR_CONNECTION_ABORTED 1236L
336 #define ERROR_RETRY 1237L
337 #define ERROR_CONNECTION_COUNT_LIMIT 1238L
338 #define ERROR_LOGIN_TIME_RESTRICTION 1239L
339 #define ERROR_LOGIN_WKSTA_RESTRICTION 1240L
340 #define ERROR_INCORRECT_ADDRESS 1241L
341 #define ERROR_ALREADY_REGISTERED 1242L
342 #define ERROR_SERVICE_NOT_FOUND 1243L
343 #define ERROR_NOT_AUTHENTICATED 1244L
344 #define ERROR_NOT_LOGGED_ON 1245L
345 #define ERROR_CONTINUE 1246L
346 #define ERROR_ALREADY_INITIALIZED 1247L
347 #define ERROR_NO_MORE_DEVICES 1248L
348 #define ERROR_NOT_ALL_ASSIGNED 1300L
349 #define ERROR_SOME_NOT_MAPPED 1301L
350 #define ERROR_NO_QUOTAS_FOR_ACCOUNT 1302L
351 #define ERROR_LOCAL_USER_SESSION_KEY 1303L
352 #define ERROR_NULL_LM_PASSWORD 1304L
353 #define ERROR_UNKNOWN_REVISION 1305L
354 #define ERROR_REVISION_MISMATCH 1306L
355 #define ERROR_INVALID_OWNER 1307L
356 #define ERROR_INVALID_PRIMARY_GROUP 1308L
357 #define ERROR_NO_IMPERSONATION_TOKEN 1309L
358 #define ERROR_CANT_DISABLE_MANDATORY 1310L
359 #define ERROR_NO_LOGON_SERVERS 1311L
360 #define ERROR_NO_SUCH_LOGON_SESSION 1312L
361 #define ERROR_NO_SUCH_PRIVILEGE 1313L
362 #define ERROR_PRIVILEGE_NOT_HELD 1314L
363 #define ERROR_INVALID_ACCOUNT_NAME 1315L
364 #define ERROR_USER_EXISTS 1316L
365 #define ERROR_NO_SUCH_USER 1317L
366 #define ERROR_GROUP_EXISTS 1318L
367 #define ERROR_NO_SUCH_GROUP 1319L
368 #define ERROR_MEMBER_IN_GROUP 1320L
369 #define ERROR_MEMBER_NOT_IN_GROUP 1321L
370 #define ERROR_LAST_ADMIN 1322L
371 #define ERROR_WRONG_PASSWORD 1323L
372 #define ERROR_ILL_FORMED_PASSWORD 1324L
373 #define ERROR_PASSWORD_RESTRICTION 1325L
374 #define ERROR_LOGON_FAILURE 1326L
375 #define ERROR_ACCOUNT_RESTRICTION 1327L
376 #define ERROR_INVALID_LOGON_HOURS 1328L
377 #define ERROR_INVALID_WORKSTATION 1329L
378 #define ERROR_PASSWORD_EXPIRED 1330L
379 #define ERROR_ACCOUNT_DISABLED 1331L
380 #define ERROR_NONE_MAPPED 1332L
381 #define ERROR_TOO_MANY_LUIDS_REQUESTED 1333L
382 #define ERROR_LUIDS_EXHAUSTED 1334L
383 #define ERROR_INVALID_SUB_AUTHORITY 1335L
384 #define ERROR_INVALID_ACL 1336L
385 #define ERROR_INVALID_SID 1337L
386 #define ERROR_INVALID_SECURITY_DESCR 1338L
387 #define ERROR_BAD_INHERITANCE_ACL 1340L
388 #define ERROR_SERVER_DISABLED 1341L
389 #define ERROR_SERVER_NOT_DISABLED 1342L
390 #define ERROR_INVALID_ID_AUTHORITY 1343L
391 #define ERROR_ALLOTTED_SPACE_EXCEEDED 1344L
392 #define ERROR_INVALID_GROUP_ATTRIBUTES 1345L
393 #define ERROR_BAD_IMPERSONATION_LEVEL 1346L
394 #define ERROR_CANT_OPEN_ANONYMOUS 1347L
395 #define ERROR_BAD_VALIDATION_CLASS 1348L
396 #define ERROR_BAD_TOKEN_TYPE 1349L
397 #define ERROR_NO_SECURITY_ON_OBJECT 1350L
398 #define ERROR_CANT_ACCESS_DOMAIN_INFO 1351L
399 #define ERROR_INVALID_SERVER_STATE 1352L
400 #define ERROR_INVALID_DOMAIN_STATE 1353L
401 #define ERROR_INVALID_DOMAIN_ROLE 1354L
402 #define ERROR_NO_SUCH_DOMAIN 1355L
403 #define ERROR_DOMAIN_EXISTS 1356L
404 #define ERROR_DOMAIN_LIMIT_EXCEEDED 1357L
405 #define ERROR_INTERNAL_DB_CORRUPTION 1358L
406 #define ERROR_INTERNAL_ERROR 1359L
407 #define ERROR_GENERIC_NOT_MAPPED 1360L
408 #define ERROR_BAD_DESCRIPTOR_FORMAT 1361L
409 #define ERROR_NOT_LOGON_PROCESS 1362L
410 #define ERROR_LOGON_SESSION_EXISTS 1363L
411 #define ERROR_NO_SUCH_PACKAGE 1364L
412 #define ERROR_BAD_LOGON_SESSION_STATE 1365L
413 #define ERROR_LOGON_SESSION_COLLISION 1366L
414 #define ERROR_INVALID_LOGON_TYPE 1367L
415 #define ERROR_CANNOT_IMPERSONATE 1368L
416 #define ERROR_RXACT_INVALID_STATE 1369L
417 #define ERROR_RXACT_COMMIT_FAILURE 1370L
418 #define ERROR_SPECIAL_ACCOUNT 1371L
419 #define ERROR_SPECIAL_GROUP 1372L
420 #define ERROR_SPECIAL_USER 1373L
421 #define ERROR_MEMBERS_PRIMARY_GROUP 1374L
422 #define ERROR_TOKEN_ALREADY_IN_USE 1375L
423 #define ERROR_NO_SUCH_ALIAS 1376L
424 #define ERROR_MEMBER_NOT_IN_ALIAS 1377L
425 #define ERROR_MEMBER_IN_ALIAS 1378L
426 #define ERROR_ALIAS_EXISTS 1379L
427 #define ERROR_LOGON_NOT_GRANTED 1380L
428 #define ERROR_TOO_MANY_SECRETS 1381L
429 #define ERROR_SECRET_TOO_LONG 1382L
430 #define ERROR_INTERNAL_DB_ERROR 1383L
431 #define ERROR_TOO_MANY_CONTEXT_IDS 1384L
432 #define ERROR_LOGON_TYPE_NOT_GRANTED 1385L
433 #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386L
434 #define ERROR_NO_SUCH_MEMBER 1387L
435 #define ERROR_INVALID_MEMBER 1388L
436 #define ERROR_TOO_MANY_SIDS 1389L
437 #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390L
438 #define ERROR_NO_INHERITANCE 1391L
439 #define ERROR_FILE_CORRUPT 1392L
440 #define ERROR_DISK_CORRUPT 1393L
441 #define ERROR_NO_USER_SESSION_KEY 1394L
442 #define ERROR_LICENSE_QUOTA_EXCEEDED 1395L
443 #define ERROR_INVALID_WINDOW_HANDLE 1400L
444 #define ERROR_INVALID_MENU_HANDLE 1401L
445 #define ERROR_INVALID_CURSOR_HANDLE 1402L
446 #define ERROR_INVALID_ACCEL_HANDLE 1403L
447 #define ERROR_INVALID_HOOK_HANDLE 1404L
448 #define ERROR_INVALID_DWP_HANDLE 1405L
449 #define ERROR_TLW_WITH_WSCHILD 1406L
450 #define ERROR_CANNOT_FIND_WND_CLASS 1407L
451 #define ERROR_WINDOW_OF_OTHER_THREAD 1408L
452 #define ERROR_HOTKEY_ALREADY_REGISTERED 1409L
453 #define ERROR_CLASS_ALREADY_EXISTS 1410L
454 #define ERROR_CLASS_DOES_NOT_EXIST 1411L
455 #define ERROR_CLASS_HAS_WINDOWS 1412L
456 #define ERROR_INVALID_INDEX 1413L
457 #define ERROR_INVALID_ICON_HANDLE 1414L
458 #define ERROR_PRIVATE_DIALOG_INDEX 1415L
459 #define ERROR_LISTBOX_ID_NOT_FOUND 1416L
460 #define ERROR_NO_WILDCARD_CHARACTERS 1417L
461 #define ERROR_CLIPBOARD_NOT_OPEN 1418L
462 #define ERROR_HOTKEY_NOT_REGISTERED 1419L
463 #define ERROR_WINDOW_NOT_DIALOG 1420L
464 #define ERROR_CONTROL_ID_NOT_FOUND 1421L
465 #define ERROR_INVALID_COMBOBOX_MESSAGE 1422L
466 #define ERROR_WINDOW_NOT_COMBOBOX 1423L
467 #define ERROR_INVALID_EDIT_HEIGHT 1424L
468 #define ERROR_DC_NOT_FOUND 1425L
469 #define ERROR_INVALID_HOOK_FILTER 1426L
470 #define ERROR_INVALID_FILTER_PROC 1427L
471 #define ERROR_HOOK_NEEDS_HMOD 1428L
472 #define ERROR_GLOBAL_ONLY_HOOK 1429L
473 #define ERROR_JOURNAL_HOOK_SET 1430L
474 #define ERROR_HOOK_NOT_INSTALLED 1431L
475 #define ERROR_INVALID_LB_MESSAGE 1432L
476 #define ERROR_SETCOUNT_ON_BAD_LB 1433L
477 #define ERROR_LB_WITHOUT_TABSTOPS 1434L
478 #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435L
479 #define ERROR_CHILD_WINDOW_MENU 1436L
480 #define ERROR_NO_SYSTEM_MENU 1437L
481 #define ERROR_INVALID_MSGBOX_STYLE 1438L
482 #define ERROR_INVALID_SPI_VALUE 1439L
483 #define ERROR_SCREEN_ALREADY_LOCKED 1440L
484 #define ERROR_HWNDS_HAVE_DIFF_PARENT 1441L
485 #define ERROR_NOT_CHILD_WINDOW 1442L
486 #define ERROR_INVALID_GW_COMMAND 1443L
487 #define ERROR_INVALID_THREAD_ID 1444L
488 #define ERROR_NON_MDICHILD_WINDOW 1445L
489 #define ERROR_POPUP_ALREADY_ACTIVE 1446L
490 #define ERROR_NO_SCROLLBARS 1447L
491 #define ERROR_INVALID_SCROLLBAR_RANGE 1448L
492 #define ERROR_INVALID_SHOWWIN_COMMAND 1449L
493 #define ERROR_NO_SYSTEM_RESOURCES 1450L
494 #define ERROR_NONPAGED_SYSTEM_RESOURCES 1451L
495 #define ERROR_PAGED_SYSTEM_RESOURCES 1452L
496 #define ERROR_WORKING_SET_QUOTA 1453L
497 #define ERROR_PAGEFILE_QUOTA 1454L
498 #define ERROR_COMMITMENT_LIMIT 1455L
499 #define ERROR_MENU_ITEM_NOT_FOUND 1456L
500 #define ERROR_EVENTLOG_FILE_CORRUPT 1500L
501 #define ERROR_EVENTLOG_CANT_START 1501L
502 #define ERROR_LOG_FILE_FULL 1502L
503 #define ERROR_EVENTLOG_FILE_CHANGED 1503L
504 #define RPC_S_INVALID_STRING_BINDING 1700L
505 #define RPC_S_WRONG_KIND_OF_BINDING 1701L
506 #define RPC_S_INVALID_BINDING 1702L
507 #define RPC_S_PROTSEQ_NOT_SUPPORTED 1703L
508 #define RPC_S_INVALID_RPC_PROTSEQ 1704L
509 #define RPC_S_INVALID_STRING_UUID 1705L
510 #define RPC_S_INVALID_ENDPOINT_FORMAT 1706L
511 #define RPC_S_INVALID_NET_ADDR 1707L
512 #define RPC_S_NO_ENDPOINT_FOUND 1708L
513 #define RPC_S_INVALID_TIMEOUT 1709L
514 #define RPC_S_OBJECT_NOT_FOUND 1710L
515 #define RPC_S_ALREADY_REGISTERED 1711L
516 #define RPC_S_TYPE_ALREADY_REGISTERED 1712L
517 #define RPC_S_ALREADY_LISTENING 1713L
518 #define RPC_S_NO_PROTSEQS_REGISTERED 1714L
519 #define RPC_S_NOT_LISTENING 1715L
520 #define RPC_S_UNKNOWN_MGR_TYPE 1716L
521 #define RPC_S_UNKNOWN_IF 1717L
522 #define RPC_S_NO_BINDINGS 1718L
523 #define RPC_S_NO_PROTSEQS 1719L
524 #define RPC_S_CANT_CREATE_ENDPOINT 1720L
525 #define RPC_S_OUT_OF_RESOURCES 1721L
526 #define RPC_S_SERVER_UNAVAILABLE 1722L
527 #define RPC_S_SERVER_TOO_BUSY 1723L
528 #define RPC_S_INVALID_NETWORK_OPTIONS 1724L
529 #define RPC_S_NO_CALL_ACTIVE 1725L
530 #define RPC_S_CALL_FAILED 1726L
531 #define RPC_S_CALL_FAILED_DNE 1727L
532 #define RPC_S_PROTOCOL_ERROR 1728L
533 #define RPC_S_UNSUPPORTED_TRANS_SYN 1730L
534 #define RPC_S_UNSUPPORTED_TYPE 1732L
535 #define RPC_S_INVALID_TAG 1733L
536 #define RPC_S_INVALID_BOUND 1734L
537 #define RPC_S_NO_ENTRY_NAME 1735L
538 #define RPC_S_INVALID_NAME_SYNTAX 1736L
539 #define RPC_S_UNSUPPORTED_NAME_SYNTAX 1737L
540 #define RPC_S_UUID_NO_ADDRESS 1739L
541 #define RPC_S_DUPLICATE_ENDPOINT 1740L
542 #define RPC_S_UNKNOWN_AUTHN_TYPE 1741L
543 #define RPC_S_MAX_CALLS_TOO_SMALL 1742L
544 #define RPC_S_STRING_TOO_LONG 1743L
545 #define RPC_S_PROTSEQ_NOT_FOUND 1744L
546 #define RPC_S_PROCNUM_OUT_OF_RANGE 1745L
547 #define RPC_S_BINDING_HAS_NO_AUTH 1746L
548 #define RPC_S_UNKNOWN_AUTHN_SERVICE 1747L
549 #define RPC_S_UNKNOWN_AUTHN_LEVEL 1748L
550 #define RPC_S_INVALID_AUTH_IDENTITY 1749L
551 #define RPC_S_UNKNOWN_AUTHZ_SERVICE 1750L
552 #define EPT_S_INVALID_ENTRY 1751L
553 #define EPT_S_CANT_PERFORM_OP 1752L
554 #define EPT_S_NOT_REGISTERED 1753L
555 #define RPC_S_NOTHING_TO_EXPORT 1754L
556 #define RPC_S_INCOMPLETE_NAME 1755L
557 #define RPC_S_INVALID_VERS_OPTION 1756L
558 #define RPC_S_NO_MORE_MEMBERS 1757L
559 #define RPC_S_NOT_ALL_OBJS_UNEXPORTED 1758L
560 #define RPC_S_INTERFACE_NOT_FOUND 1759L
561 #define RPC_S_ENTRY_ALREADY_EXISTS 1760L
562 #define RPC_S_ENTRY_NOT_FOUND 1761L
563 #define RPC_S_NAME_SERVICE_UNAVAILABLE 1762L
564 #define RPC_S_INVALID_NAF_ID 1763L
565 #define RPC_S_CANNOT_SUPPORT 1764L
566 #define RPC_S_NO_CONTEXT_AVAILABLE 1765L
567 #define RPC_S_INTERNAL_ERROR 1766L
568 #define RPC_S_ZERO_DIVIDE 1767L
569 #define RPC_S_ADDRESS_ERROR 1768L
570 #define RPC_S_FP_DIV_ZERO 1769L
571 #define RPC_S_FP_UNDERFLOW 1770L
572 #define RPC_S_FP_OVERFLOW 1771L
573 #define RPC_X_NO_MORE_ENTRIES 1772L
574 #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 1773L
575 #define RPC_X_SS_CHAR_TRANS_SHORT_FILE 1774L
576 #define RPC_X_SS_IN_NULL_CONTEXT 1775L
577 #define RPC_X_SS_CONTEXT_DAMAGED 1777L
578 #define RPC_X_SS_HANDLES_MISMATCH 1778L
579 #define RPC_X_SS_CANNOT_GET_CALL_HANDLE 1779L
580 #define RPC_X_NULL_REF_POINTER 1780L
581 #define RPC_X_ENUM_VALUE_OUT_OF_RANGE 1781L
582 #define RPC_X_BYTE_COUNT_TOO_SMALL 1782L
583 #define RPC_X_BAD_STUB_DATA 1783L
584 #define ERROR_INVALID_USER_BUFFER 1784L
585 #define ERROR_UNRECOGNIZED_MEDIA 1785L
586 #define ERROR_NO_TRUST_LSA_SECRET 1786L
587 #define ERROR_NO_TRUST_SAM_ACCOUNT 1787L
588 #define ERROR_TRUSTED_DOMAIN_FAILURE 1788L
589 #define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789L
590 #define ERROR_TRUST_FAILURE 1790L
591 #define RPC_S_CALL_IN_PROGRESS 1791L
592 #define ERROR_NETLOGON_NOT_STARTED 1792L
593 #define ERROR_ACCOUNT_EXPIRED 1793L
594 #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794L
595 #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L
596 #define ERROR_UNKNOWN_PORT 1796L
597 #define ERROR_UNKNOWN_PRINTER_DRIVER 1797L
598 #define ERROR_UNKNOWN_PRINTPROCESSOR 1798L
599 #define ERROR_INVALID_SEPARATOR_FILE 1799L
600 #define ERROR_INVALID_PRIORITY 1800L
601 #define ERROR_INVALID_PRINTER_NAME 1801L
602 #define ERROR_PRINTER_ALREADY_EXISTS 1802L
603 #define ERROR_INVALID_PRINTER_COMMAND 1803L
604 #define ERROR_INVALID_DATATYPE 1804L
605 #define ERROR_INVALID_ENVIRONMENT 1805L
606 #define RPC_S_NO_MORE_BINDINGS 1806L
607 #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807L
608 #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808L
609 #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809L
610 #define ERROR_DOMAIN_TRUST_INCONSISTENT 1810L
611 #define ERROR_SERVER_HAS_OPEN_HANDLES 1811L
612 #define ERROR_RESOURCE_DATA_NOT_FOUND 1812L
613 #define ERROR_RESOURCE_TYPE_NOT_FOUND 1813L
614 #define ERROR_RESOURCE_NAME_NOT_FOUND 1814L
615 #define ERROR_RESOURCE_LANG_NOT_FOUND 1815L
616 #define ERROR_NOT_ENOUGH_QUOTA 1816L
617 #define RPC_S_NO_INTERFACES 1817L
618 #define RPC_S_CALL_CANCELLED 1818L
619 #define RPC_S_BINDING_INCOMPLETE 1819L
620 #define RPC_S_COMM_FAILURE 1820L
621 #define RPC_S_UNSUPPORTED_AUTHN_LEVEL 1821L
622 #define RPC_S_NO_PRINC_NAME 1822L
623 #define RPC_S_NOT_RPC_ERROR 1823L
624 #define RPC_S_UUID_LOCAL_ONLY 1824L
625 #define RPC_S_SEC_PKG_ERROR 1825L
626 #define RPC_S_NOT_CANCELLED 1826L
627 #define RPC_X_INVALID_ES_ACTION 1827L
628 #define RPC_X_WRONG_ES_VERSION 1828L
629 #define RPC_X_WRONG_STUB_VERSION 1829L
630 #define RPC_S_GROUP_MEMBER_NOT_FOUND 1898L
631 #define EPT_S_CANT_CREATE 1899L
632 #define RPC_S_INVALID_OBJECT 1900L
633 #define ERROR_INVALID_TIME 1901L
634 #define ERROR_INVALID_FORM_NAME 1902L
635 #define ERROR_INVALID_FORM_SIZE 1903L
636 #define ERROR_ALREADY_WAITING 1904L
637 #define ERROR_PRINTER_DELETED 1905L
638 #define ERROR_INVALID_PRINTER_STATE 1906L
639 #define ERROR_PASSWORD_MUST_CHANGE 1907L
640 #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908L
641 #define ERROR_ACCOUNT_LOCKED_OUT 1909L
642 #define ERROR_NO_BROWSER_SERVERS_FOUND 6118L
643 #define ERROR_INVALID_PIXEL_FORMAT 2000L
644 #define ERROR_BAD_DRIVER 2001L
645 #define ERROR_INVALID_WINDOW_STYLE 2002L
646 #define ERROR_METAFILE_NOT_SUPPORTED 2003L
647 #define ERROR_TRANSFORM_NOT_SUPPORTED 2004L
648 #define ERROR_CLIPPING_NOT_SUPPORTED 2005L
649 #define ERROR_UNKNOWN_PRINT_MONITOR 3000L
650 #define ERROR_PRINTER_DRIVER_IN_USE 3001L
651 #define ERROR_SPOOL_FILE_NOT_FOUND 3002L
652 #define ERROR_SPL_NO_STARTDOC 3003L
653 #define ERROR_SPL_NO_ADDJOB 3004L
654 #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005L
655 #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006L
656 #define ERROR_WINS_INTERNAL 4000L
657 #define ERROR_CAN_NOT_DEL_LOCAL_WINS 4001L
658 #define ERROR_STATIC_INIT 4002L
659 #define ERROR_INC_BACKUP 4003L
660 #define ERROR_FULL_BACKUP 4004L
661 #define ERROR_REC_NON_EXISTENT 4005L
662 #define ERROR_RPL_NOT_ALLOWED 4006L
663 #define SEVERITY_SUCCESS 0
664 #define SEVERITY_ERROR 1
665 #define FACILITY_WINDOWS 8
666 #define FACILITY_STORAGE 3
667 #define FACILITY_RPC 1
668 #define FACILITY_WIN32 7
669 #define FACILITY_CONTROL 10
670 #define FACILITY_NULL 0
671 #define FACILITY_ITF 4
672 #define FACILITY_DISPATCH 2
673 #define SUCCEEDED(Status) ((HRESULT)(Status) >= 0)
674 #define FAILED(Status) ((HRESULT)(Status)<0)
675 #define IS_ERROR(Status) ((unsigned long)(Status) >> 31 == SEVERITY_ERROR)
676 #define HRESULT_CODE(r) ((r)&0xFFFF)
677 #define SCODE_CODE(c) ((c)&0xFFFF)
678 #define HRESULT_FACILITY(r) (((r)>>16)&0x1fff)
679 #define SCODE_FACILITY(c) (((c)>>16)&0x1fff)
680 #define HRESULT_SEVERITY(r) (((r)>>31)&0x1)
681 #define SCODE_SEVERITY(c) (((c)>>31)&0x1)
682 #define MAKE_HRESULT(s,f,c) ((HRESULT)(((unsigned long)(s)<<31)|((unsigned long)(f)<<16)|((unsigned long)(c))))
683 #define MAKE_SCODE(s,f,c) ((SCODE)(((unsigned long)(s)<<31)|((unsigned long)(f)<<16)|((unsigned long)(c))) )
684 #define FACILITY_NT_BIT 0x10000000
685 #define HRESULT_FROM_WIN32(x) (x?((HRESULT)(((x)&0x0000FFFF)|(FACILITY_WIN32<<16)|0x80000000)):0)
686 #define HRESULT_FROM_NT(x) ((HRESULT)((x)|FACILITY_NT_BIT))
687 #define GetScode(hr) ((SCODE) (hr))
688 #define ResultFromScode(sc) ((HRESULT) (sc))
689 #define PropagateResult(hrPrevious, scBase) ((HRESULT) scBase)
691 #define NOERROR S_OK
692 #define E_UNEXPECTED 0x8000FFFFL
693 #define E_NOTIMPL 0x80004001L
694 #define E_OUTOFMEMORY 0x8007000EL
695 #define E_INVALIDARG 0x80070057L
696 #define E_NOINTERFACE 0x80004002L
697 #define E_POINTER 0x80004003L
698 #define E_HANDLE 0x80070006L
699 #define E_ABORT 0x80004004L
700 #define E_FAIL 0x80004005L
701 #define E_ACCESSDENIED 0x80070005L
702 #define E_PENDING 0x8000000AL
703 #define CO_E_INIT_TLS 0x80004006L
704 #define CO_E_INIT_SHARED_ALLOCATOR 0x80004007L
705 #define CO_E_INIT_MEMORY_ALLOCATOR 0x80004008L
706 #define CO_E_INIT_CLASS_CACHE 0x80004009L
707 #define CO_E_INIT_RPC_CHANNEL 0x8000400AL
708 #define CO_E_INIT_TLS_SET_CHANNEL_CONTROL 0x8000400BL
709 #define CO_E_INIT_TLS_CHANNEL_CONTROL 0x8000400CL
710 #define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR 0x8000400DL
711 #define CO_E_INIT_SCM_MUTEX_EXISTS 0x8000400EL
712 #define CO_E_INIT_SCM_FILE_MAPPING_EXISTS 0x8000400FL
713 #define CO_E_INIT_SCM_MAP_VIEW_OF_FILE 0x80004010L
714 #define CO_E_INIT_SCM_EXEC_FAILURE 0x80004011L
715 #define CO_E_INIT_ONLY_SINGLE_THREADED 0x80004012L
716 #define S_OK (0x00000000L)
717 #define S_FALSE (0x00000001L)
718 #define OLE_E_FIRST 0x80040000L
719 #define OLE_E_LAST 0x800400FFL
720 #define OLE_S_FIRST 0x00040000L
721 #define OLE_S_LAST 0x000400FFL
722 #define OLE_E_OLEVERB 0x80040000L
723 #define OLE_E_ADVF 0x80040001L
724 #define OLE_E_ENUM_NOMORE 0x80040002L
725 #define OLE_E_ADVISENOTSUPPORTED 0x80040003L
726 #define OLE_E_NOCONNECTION 0x80040004L
727 #define OLE_E_NOTRUNNING 0x80040005L
728 #define OLE_E_NOCACHE 0x80040006L
729 #define OLE_E_BLANK 0x80040007L
730 #define OLE_E_CLASSDIFF 0x80040008L
731 #define OLE_E_CANT_GETMONIKER 0x80040009L
732 #define OLE_E_CANT_BINDTOSOURCE 0x8004000AL
733 #define OLE_E_STATIC 0x8004000BL
734 #define OLE_E_PROMPTSAVECANCELLED 0x8004000CL
735 #define OLE_E_INVALIDRECT 0x8004000DL
736 #define OLE_E_WRONGCOMPOBJ 0x8004000EL
737 #define OLE_E_INVALIDHWND 0x8004000FL
738 #define OLE_E_NOT_INPLACEACTIVE 0x80040010L
739 #define OLE_E_CANTCONVERT 0x80040011L
740 #define OLE_E_NOSTORAGE 0x80040012L
741 #define DV_E_FORMATETC 0x80040064L
742 #define DV_E_DVTARGETDEVICE 0x80040065L
743 #define DV_E_STGMEDIUM 0x80040066L
744 #define DV_E_STATDATA 0x80040067L
745 #define DV_E_LINDEX 0x80040068L
746 #define DV_E_TYMED 0x80040069L
747 #define DV_E_CLIPFORMAT 0x8004006AL
748 #define DV_E_DVASPECT 0x8004006BL
749 #define DV_E_DVTARGETDEVICE_SIZE 0x8004006CL
750 #define DV_E_NOIVIEWOBJECT 0x8004006DL
751 #define DRAGDROP_E_FIRST 0x80040100L
752 #define DRAGDROP_E_LAST 0x8004010FL
753 #define DRAGDROP_S_FIRST 0x00040100L
754 #define DRAGDROP_S_LAST 0x0004010FL
755 #define DRAGDROP_E_NOTREGISTERED 0x80040100L
756 #define DRAGDROP_E_ALREADYREGISTERED 0x80040101L
757 #define DRAGDROP_E_INVALIDHWND 0x80040102L
758 #define CLASSFACTORY_E_FIRST 0x80040110L
759 #define CLASSFACTORY_E_LAST 0x8004011FL
760 #define CLASSFACTORY_S_FIRST 0x00040110L
761 #define CLASSFACTORY_S_LAST 0x0004011FL
762 #define CLASS_E_NOAGGREGATION 0x80040110L
763 #define CLASS_E_CLASSNOTAVAILABLE 0x80040111L
764 #define MARSHAL_E_FIRST 0x80040120L
765 #define MARSHAL_E_LAST 0x8004012FL
766 #define MARSHAL_S_FIRST 0x00040120L
767 #define MARSHAL_S_LAST 0x0004012FL
768 #define DATA_E_FIRST 0x80040130L
769 #define DATA_E_LAST 0x8004013FL
770 #define DATA_S_FIRST 0x00040130L
771 #define DATA_S_LAST 0x0004013FL
772 #define VIEW_E_FIRST 0x80040140L
773 #define VIEW_E_LAST 0x8004014FL
774 #define VIEW_S_FIRST 0x00040140L
775 #define VIEW_S_LAST 0x0004014FL
776 #define VIEW_E_DRAW 0x80040140L
777 #define REGDB_E_FIRST 0x80040150L
778 #define REGDB_E_LAST 0x8004015FL
779 #define REGDB_S_FIRST 0x00040150L
780 #define REGDB_S_LAST 0x0004015FL
781 #define REGDB_E_READREGDB 0x80040150L
782 #define REGDB_E_WRITEREGDB 0x80040151L
783 #define REGDB_E_KEYMISSING 0x80040152L
784 #define REGDB_E_INVALIDVALUE 0x80040153L
785 #define REGDB_E_CLASSNOTREG 0x80040154L
786 #define REGDB_E_IIDNOTREG 0x80040155L
787 #define CACHE_E_FIRST 0x80040170L
788 #define CACHE_E_LAST 0x8004017FL
789 #define CACHE_S_FIRST 0x00040170L
790 #define CACHE_S_LAST 0x0004017FL
791 #define CACHE_E_NOCACHE_UPDATED 0x80040170L
792 #define OLEOBJ_E_FIRST 0x80040180L
793 #define OLEOBJ_E_LAST 0x8004018FL
794 #define OLEOBJ_S_FIRST 0x00040180L
795 #define OLEOBJ_S_LAST 0x0004018FL
796 #define OLEOBJ_E_NOVERBS 0x80040180L
797 #define OLEOBJ_E_INVALIDVERB 0x80040181L
798 #define CLIENTSITE_E_FIRST 0x80040190L
799 #define CLIENTSITE_E_LAST 0x8004019FL
800 #define CLIENTSITE_S_FIRST 0x00040190L
801 #define CLIENTSITE_S_LAST 0x0004019FL
802 #define INPLACE_E_NOTUNDOABLE 0x800401A0L
803 #define INPLACE_E_NOTOOLSPACE 0x800401A1L
804 #define INPLACE_E_FIRST 0x800401A0L
805 #define INPLACE_E_LAST 0x800401AFL
806 #define INPLACE_S_FIRST 0x000401A0L
807 #define INPLACE_S_LAST 0x000401AFL
808 #define ENUM_E_FIRST 0x800401B0L
809 #define ENUM_E_LAST 0x800401BFL
810 #define ENUM_S_FIRST 0x000401B0L
811 #define ENUM_S_LAST 0x000401BFL
812 #define CONVERT10_E_FIRST 0x800401C0L
813 #define CONVERT10_E_LAST 0x800401CFL
814 #define CONVERT10_S_FIRST 0x000401C0L
815 #define CONVERT10_S_LAST 0x000401CFL
816 #define CONVERT10_E_OLESTREAM_GET 0x800401C0L
817 #define CONVERT10_E_OLESTREAM_PUT 0x800401C1L
818 #define CONVERT10_E_OLESTREAM_FMT 0x800401C2L
819 #define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB 0x800401C3L
820 #define CONVERT10_E_STG_FMT 0x800401C4L
821 #define CONVERT10_E_STG_NO_STD_STREAM 0x800401C5L
822 #define CONVERT10_E_STG_DIB_TO_BITMAP 0x800401C6L
823 #define CLIPBRD_E_FIRST 0x800401D0L
824 #define CLIPBRD_E_LAST 0x800401DFL
825 #define CLIPBRD_S_FIRST 0x000401D0L
826 #define CLIPBRD_S_LAST 0x000401DFL
827 #define CLIPBRD_E_CANT_OPEN 0x800401D0L
828 #define CLIPBRD_E_CANT_EMPTY 0x800401D1L
829 #define CLIPBRD_E_CANT_SET 0x800401D2L
830 #define CLIPBRD_E_BAD_DATA 0x800401D3L
831 #define CLIPBRD_E_CANT_CLOSE 0x800401D4L
832 #define MK_E_FIRST 0x800401E0L
833 #define MK_E_LAST 0x800401EFL
834 #define MK_S_FIRST 0x000401E0L
835 #define MK_S_LAST 0x000401EFL
836 #define MK_E_CONNECTMANUALLY 0x800401E0L
837 #define MK_E_EXCEEDEDDEADLINE 0x800401E1L
838 #define MK_E_NEEDGENERIC 0x800401E2L
839 #define MK_E_UNAVAILABLE 0x800401E3L
840 #define MK_E_SYNTAX 0x800401E4L
841 #define MK_E_NOOBJECT 0x800401E5L
842 #define MK_E_INVALIDEXTENSION 0x800401E6L
843 #define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED 0x800401E7L
844 #define MK_E_NOTBINDABLE 0x800401E8L
845 #define MK_E_NOTBOUND 0x800401E9L
846 #define MK_E_CANTOPENFILE 0x800401EAL
847 #define MK_E_MUSTBOTHERUSER 0x800401EBL
848 #define MK_E_NOINVERSE 0x800401ECL
849 #define MK_E_NOSTORAGE 0x800401EDL
850 #define MK_E_NOPREFIX 0x800401EEL
851 #define MK_E_ENUMERATION_FAILED 0x800401EFL
852 #define CO_E_FIRST 0x800401F0L
853 #define CO_E_LAST 0x800401FFL
854 #define CO_S_FIRST 0x000401F0L
855 #define CO_S_LAST 0x000401FFL
856 #define CO_E_NOTINITIALIZED 0x800401F0L
857 #define CO_E_ALREADYINITIALIZED 0x800401F1L
858 #define CO_E_CANTDETERMINECLASS 0x800401F2L
859 #define CO_E_CLASSSTRING 0x800401F3L
860 #define CO_E_IIDSTRING 0x800401F4L
861 #define CO_E_APPNOTFOUND 0x800401F5L
862 #define CO_E_APPSINGLEUSE 0x800401F6L
863 #define CO_E_ERRORINAPP 0x800401F7L
864 #define CO_E_DLLNOTFOUND 0x800401F8L
865 #define CO_E_ERRORINDLL 0x800401F9L
866 #define CO_E_WRONGOSFORAPP 0x800401FAL
867 #define CO_E_OBJNOTREG 0x800401FBL
868 #define CO_E_OBJISREG 0x800401FCL
869 #define CO_E_OBJNOTCONNECTED 0x800401FDL
870 #define CO_E_APPDIDNTREG 0x800401FEL
871 #define CO_E_RELEASED 0x800401FFL
872 #define OLE_S_USEREG 0x00040000L
873 #define OLE_S_STATIC 0x00040001L
874 #define OLE_S_MAC_CLIPFORMAT 0x00040002L
875 #define DRAGDROP_S_DROP 0x00040100L
876 #define DRAGDROP_S_CANCEL 0x00040101L
877 #define DRAGDROP_S_USEDEFAULTCURSORS 0x00040102L
878 #define DATA_S_SAMEFORMATETC 0x00040130L
879 #define VIEW_S_ALREADY_FROZEN 0x00040140L
880 #define CACHE_S_FORMATETC_NOTSUPPORTED 0x00040170L
881 #define CACHE_S_SAMECACHE 0x00040171L
882 #define CACHE_S_SOMECACHES_NOTUPDATED 0x00040172L
883 #define OLEOBJ_S_INVALIDVERB 0x00040180L
884 #define OLEOBJ_S_CANNOT_DOVERB_NOW 0x00040181L
885 #define OLEOBJ_S_INVALIDHWND 0x00040182L
886 #define INPLACE_S_TRUNCATED 0x000401A0L
887 #define CONVERT10_S_NO_PRESENTATION 0x000401C0L
888 #define MK_S_REDUCED_TO_SELF 0x000401E2L
889 #define MK_S_ME 0x000401E4L
890 #define MK_S_HIM 0x000401E5L
891 #define MK_S_US 0x000401E6L
892 #define MK_S_MONIKERALREADYREGISTERED 0x000401E7L
893 #define CO_E_CLASS_CREATE_FAILED 0x80080001L
894 #define CO_E_SCM_ERROR 0x80080002L
895 #define CO_E_SCM_RPC_FAILURE 0x80080003L
896 #define CO_E_BAD_PATH 0x80080004L
897 #define CO_E_SERVER_EXEC_FAILURE 0x80080005L
898 #define CO_E_OBJSRV_RPC_FAILURE 0x80080006L
899 #define MK_E_NO_NORMALIZED 0x80080007L
900 #define CO_E_SERVER_STOPPING 0x80080008L
901 #define MEM_E_INVALID_ROOT 0x80080009L
902 #define MEM_E_INVALID_LINK 0x80080010L
903 #define MEM_E_INVALID_SIZE 0x80080011L
904 #define DISP_E_UNKNOWNINTERFACE 0x80020001L
905 #define DISP_E_MEMBERNOTFOUND 0x80020003L
906 #define DISP_E_PARAMNOTFOUND 0x80020004L
907 #define DISP_E_TYPEMISMATCH 0x80020005L
908 #define DISP_E_UNKNOWNNAME 0x80020006L
909 #define DISP_E_NONAMEDARGS 0x80020007L
910 #define DISP_E_BADVARTYPE 0x80020008L
911 #define DISP_E_EXCEPTION 0x80020009L
912 #define DISP_E_OVERFLOW 0x8002000AL
913 #define DISP_E_BADINDEX 0x8002000BL
914 #define DISP_E_UNKNOWNLCID 0x8002000CL
915 #define DISP_E_ARRAYISLOCKED 0x8002000DL
916 #define DISP_E_BADPARAMCOUNT 0x8002000EL
917 #define DISP_E_PARAMNOTOPTIONAL 0x8002000FL
918 #define DISP_E_BADCALLEE 0x80020010L
919 #define DISP_E_NOTACOLLECTION 0x80020011L
920 #define TYPE_E_BUFFERTOOSMALL 0x80028016L
921 #define TYPE_E_INVDATAREAD 0x80028018L
922 #define TYPE_E_UNSUPFORMAT 0x80028019L
923 #define TYPE_E_REGISTRYACCESS 0x8002801CL
924 #define TYPE_E_LIBNOTREGISTERED 0x8002801DL
925 #define TYPE_E_UNDEFINEDTYPE 0x80028027L
926 #define TYPE_E_QUALIFIEDNAMEDISALLOWED 0x80028028L
927 #define TYPE_E_INVALIDSTATE 0x80028029L
928 #define TYPE_E_WRONGTYPEKIND 0x8002802AL
929 #define TYPE_E_ELEMENTNOTFOUND 0x8002802BL
930 #define TYPE_E_AMBIGUOUSNAME 0x8002802CL
931 #define TYPE_E_NAMECONFLICT 0x8002802DL
932 #define TYPE_E_UNKNOWNLCID 0x8002802EL
933 #define TYPE_E_DLLFUNCTIONNOTFOUND 0x8002802FL
934 #define TYPE_E_BADMODULEKIND 0x800288BDL
935 #define TYPE_E_SIZETOOBIG 0x800288C5L
936 #define TYPE_E_DUPLICATEID 0x800288C6L
937 #define TYPE_E_INVALIDID 0x800288CFL
938 #define TYPE_E_TYPEMISMATCH 0x80028CA0L
939 #define TYPE_E_OUTOFBOUNDS 0x80028CA1L
940 #define TYPE_E_IOERROR 0x80028CA2L
941 #define TYPE_E_CANTCREATETMPFILE 0x80028CA3L
942 #define TYPE_E_CANTLOADLIBRARY 0x80029C4AL
943 #define TYPE_E_INCONSISTENTPROPFUNCS 0x80029C83L
944 #define TYPE_E_CIRCULARTYPE 0x80029C84L
945 #define STG_E_INVALIDFUNCTION 0x80030001L
946 #define STG_E_FILENOTFOUND 0x80030002L
947 #define STG_E_PATHNOTFOUND 0x80030003L
948 #define STG_E_TOOMANYOPENFILES 0x80030004L
949 #define STG_E_ACCESSDENIED 0x80030005L
950 #define STG_E_INVALIDHANDLE 0x80030006L
951 #define STG_E_INSUFFICIENTMEMORY 0x80030008L
952 #define STG_E_INVALIDPOINTER 0x80030009L
953 #define STG_E_NOMOREFILES 0x80030012L
954 #define STG_E_DISKISWRITEPROTECTED 0x80030013L
955 #define STG_E_SEEKERROR 0x80030019L
956 #define STG_E_WRITEFAULT 0x8003001DL
957 #define STG_E_READFAULT 0x8003001EL
958 #define STG_E_SHAREVIOLATION 0x80030020L
959 #define STG_E_LOCKVIOLATION 0x80030021L
960 #define STG_E_FILEALREADYEXISTS 0x80030050L
961 #define STG_E_INVALIDPARAMETER 0x80030057L
962 #define STG_E_MEDIUMFULL 0x80030070L
963 #define STG_E_ABNORMALAPIEXIT 0x800300FAL
964 #define STG_E_INVALIDHEADER 0x800300FBL
965 #define STG_E_INVALIDNAME 0x800300FCL
966 #define STG_E_UNKNOWN 0x800300FDL
967 #define STG_E_UNIMPLEMENTEDFUNCTION 0x800300FEL
968 #define STG_E_INVALIDFLAG 0x800300FFL
969 #define STG_E_INUSE 0x80030100L
970 #define STG_E_NOTCURRENT 0x80030101L
971 #define STG_E_REVERTED 0x80030102L
972 #define STG_E_CANTSAVE 0x80030103L
973 #define STG_E_OLDFORMAT 0x80030104L
974 #define STG_E_OLDDLL 0x80030105L
975 #define STG_E_SHAREREQUIRED 0x80030106L
976 #define STG_E_NOTFILEBASEDSTORAGE 0x80030107L
977 #define STG_E_EXTANTMARSHALLINGS 0x80030108L
978 #define STG_S_CONVERTED 0x00030200L
979 #define RPC_E_CALL_REJECTED 0x80010001L
980 #define RPC_E_CALL_CANCELED 0x80010002L
981 #define RPC_E_CANTPOST_INSENDCALL 0x80010003L
982 #define RPC_E_CANTCALLOUT_INASYNCCALL 0x80010004L
983 #define RPC_E_CANTCALLOUT_INEXTERNALCALL 0x80010005L
984 #define RPC_E_CONNECTION_TERMINATED 0x80010006L
985 #define RPC_E_SERVER_DIED 0x80010007L
986 #define RPC_E_CLIENT_DIED 0x80010008L
987 #define RPC_E_INVALID_DATAPACKET 0x80010009L
988 #define RPC_E_CANTTRANSMIT_CALL 0x8001000AL
989 #define RPC_E_CLIENT_CANTMARSHAL_DATA 0x8001000BL
990 #define RPC_E_CLIENT_CANTUNMARSHAL_DATA 0x8001000CL
991 #define RPC_E_SERVER_CANTMARSHAL_DATA 0x8001000DL
992 #define RPC_E_SERVER_CANTUNMARSHAL_DATA 0x8001000EL
993 #define RPC_E_INVALID_DATA 0x8001000FL
994 #define RPC_E_INVALID_PARAMETER 0x80010010L
995 #define RPC_E_CANTCALLOUT_AGAIN 0x80010011L
996 #define RPC_E_SERVER_DIED_DNE 0x80010012L
997 #define RPC_E_SYS_CALL_FAILED 0x80010100L
998 #define RPC_E_OUT_OF_RESOURCES 0x80010101L
999 #define RPC_E_ATTEMPTED_MULTITHREAD 0x80010102L
1000 #define RPC_E_NOT_REGISTERED 0x80010103L
1001 #define RPC_E_FAULT 0x80010104L
1002 #define RPC_E_SERVERFAULT 0x80010105L
1003 #define RPC_E_CHANGED_MODE 0x80010106L
1004 #define RPC_E_INVALIDMETHOD 0x80010107L
1005 #define RPC_E_DISCONNECTED 0x80010108L
1006 #define RPC_E_RETRY 0x80010109L
1007 #define RPC_E_SERVERCALL_RETRYLATER 0x8001010AL
1008 #define RPC_E_SERVERCALL_REJECTED 0x8001010BL
1009 #define RPC_E_INVALID_CALLDATA 0x8001010CL
1010 #define RPC_E_CANTCALLOUT_ININPUTSYNCCALL 0x8001010DL
1011 #define RPC_E_WRONG_THREAD 0x8001010EL
1012 #define RPC_E_THREAD_NOT_INIT 0x8001010FL
1013 #define RPC_E_UNEXPECTED 0x8001FFFFL
1015 #define NTE_BAD_UID 0x80090001L
1016 #define NTE_BAD_HASH 0x80090002L
1017 #define NTE_BAD_KEY 0x80090003L
1018 #define NTE_BAD_LEN 0x80090004L
1019 #define NTE_BAD_DATA 0x80090005L
1020 #define NTE_BAD_SIGNATURE 0x80090006L
1021 #define NTE_BAD_VER 0x80090007L
1022 #define NTE_BAD_ALGID 0x80090008L
1023 #define NTE_BAD_FLAGS 0x80090009L
1024 #define NTE_BAD_TYPE 0x8009000AL
1025 #define NTE_BAD_KEY_STATE 0x8009000BL
1026 #define NTE_BAD_HASH_STATE 0x8009000CL
1027 #define NTE_NO_KEY 0x8009000DL
1028 #define NTE_NO_MEMORY 0x8009000EL
1029 #define NTE_EXISTS 0x8009000FL
1030 #define NTE_PERM 0x80090010L
1031 #define NTE_NOT_FOUND 0x80090011L
1032 #define NTE_DOUBLE_ENCRYPT 0x80090012L
1033 #define NTE_BAD_PROVIDER 0x80090013L
1034 #define NTE_BAD_PROV_TYPE 0x80090014L
1035 #define NTE_BAD_PUBLIC_KEY 0x80090015L
1036 #define NTE_BAD_KEYSET 0x80090016L
1037 #define NTE_PROV_TYPE_NOT_DEF 0x80090017L
1038 #define NTE_PROV_TYPE_ENTRY_BAD 0x80090018L
1039 #define NTE_KEYSET_NOT_DEF 0x80090019L
1040 #define NTE_KEYSET_ENTRY_BAD 0x8009001AL
1041 #define NTE_PROV_TYPE_NO_MATCH 0x8009001BL
1042 #define NTE_SIGNATURE_FILE_BAD 0x8009001CL
1043 #define NTE_PROVIDER_DLL_FAIL 0x8009001DL
1044 #define NTE_PROV_DLL_NOT_FOUND 0x8009001EL
1045 #define NTE_BAD_KEYSET_PARAM 0x8009001FL
1046 #define NTE_FAIL 0x80090020L
1047 #define NTE_SYS_ERR 0x80090021L
1048 /* #define NTE_TOKEN_KEYSET_STORAGE ??? */
1050 #endif