2 * messages.c: Error message handling
5 * Dick Porter (dick@ximian.com)
7 * (C) 2008 Novell, Inc.
15 #include <mono/io-layer/wapi.h>
16 #include <mono/io-layer/wapi-private.h>
17 #include <mono/io-layer/misc-private.h>
18 #include <mono/io-layer/messages.h>
22 static const gchar
*message_string (guint32 id
);
24 static guint32
unicode_chars (const gunichar2
*str
)
29 if (str
[len
] == '\0') {
36 guint32
FormatMessage (guint32 flags
, gconstpointer source
, guint32 messageid
,
37 guint32 languageid
, gunichar2
*buf
, guint32 size
, ...)
42 gboolean freestr
= FALSE
;
44 if ((flags
& FORMAT_MESSAGE_FROM_HMODULE
) ||
45 (flags
& FORMAT_MESSAGE_ARGUMENT_ARRAY
) ||
46 !(flags
& FORMAT_MESSAGE_IGNORE_INSERTS
)) {
47 g_warning ("%s: Unsupported flags passed: %d", __func__
,
49 SetLastError (ERROR_NOT_SUPPORTED
);
53 if ((flags
& FORMAT_MESSAGE_MAX_WIDTH_MASK
) != 0) {
54 g_warning ("%s: Message width mask (%d) not supported",
55 __func__
, (flags
& FORMAT_MESSAGE_MAX_WIDTH_MASK
));
58 if (languageid
!= 0) {
59 g_warning ("%s: Locale 0x%x not supported, returning language neutral string", __func__
, languageid
);
62 /* We're only supporting IGNORE_INSERTS, so we don't need to
63 * use va_start (ap, size) and va_end (ap)
66 if (flags
& FORMAT_MESSAGE_FROM_STRING
) {
67 str
= (gunichar2
*)source
;
68 } else if (flags
& FORMAT_MESSAGE_FROM_SYSTEM
) {
69 str
= g_utf8_to_utf16 (message_string (messageid
), -1, NULL
,
74 strlen
= unicode_chars (str
);
76 if (flags
& FORMAT_MESSAGE_ALLOCATE_BUFFER
) {
77 *(gpointer
*)buf
= (gunichar2
*)g_new0 (gunichar2
, strlen
+ 2 < size
?size
:strlen
+ 2);
85 memcpy (buf
, str
, cpy
* 2);
95 static const gchar
*message_string (guint32 id
)
101 case ERROR_INVALID_FUNCTION
:
102 return("Invalid function");
104 case ERROR_FILE_NOT_FOUND
:
105 return("Cannot find the specified file");
107 case ERROR_PATH_NOT_FOUND
:
108 return("Cannot find the specified file");
110 case ERROR_TOO_MANY_OPEN_FILES
:
111 return("Too many open files");
113 case ERROR_ACCESS_DENIED
:
114 return("Access denied");
116 case ERROR_INVALID_HANDLE
:
117 return("Invalid handle");
119 case ERROR_ARENA_TRASHED
:
120 return("Arena trashed");
122 case ERROR_NOT_ENOUGH_MEMORY
:
123 return("Not enough memory");
125 case ERROR_INVALID_BLOCK
:
126 return("Invalid block");
128 case ERROR_BAD_ENVIRONMENT
:
129 return("Bad environment");
131 case ERROR_BAD_FORMAT
:
132 return("Bad format");
134 case ERROR_INVALID_ACCESS
:
135 return("Invalid access");
137 case ERROR_INVALID_DATA
:
138 return("Invalid data");
140 case ERROR_OUTOFMEMORY
:
141 return("Out of memory");
143 case ERROR_INVALID_DRIVE
:
144 return("Invalid drive");
146 case ERROR_CURRENT_DIRECTORY
:
147 return("Current directory");
149 case ERROR_NOT_SAME_DEVICE
:
150 return("Not same device");
152 case ERROR_NO_MORE_FILES
:
153 return("No more files");
155 case ERROR_WRITE_PROTECT
:
156 return("Write protect");
161 case ERROR_NOT_READY
:
164 case ERROR_BAD_COMMAND
:
165 return("Bad command");
170 case ERROR_BAD_LENGTH
:
171 return("Bad length");
176 case ERROR_NOT_DOS_DISK
:
177 return("Not DOS disk");
179 case ERROR_SECTOR_NOT_FOUND
:
180 return("Sector not found");
182 case ERROR_OUT_OF_PAPER
:
183 return("Out of paper");
185 case ERROR_WRITE_FAULT
:
186 return("Write fault");
188 case ERROR_READ_FAULT
:
189 return("Read fault");
191 case ERROR_GEN_FAILURE
:
192 return("General failure");
194 case ERROR_SHARING_VIOLATION
:
195 return("Sharing violation");
197 case ERROR_LOCK_VIOLATION
:
198 return("Lock violation");
200 case ERROR_WRONG_DISK
:
201 return("Wrong disk");
203 case ERROR_SHARING_BUFFER_EXCEEDED
:
204 return("Sharing buffer exceeded");
206 case ERROR_HANDLE_EOF
:
207 return("Handle EOF");
209 case ERROR_HANDLE_DISK_FULL
:
210 return("Handle disk full");
212 case ERROR_NOT_SUPPORTED
:
213 return("Operation not supported");
215 case ERROR_REM_NOT_LIST
:
216 return("Rem not list");
219 return("Duplicate name");
221 case ERROR_BAD_NETPATH
:
222 return("Bad netpath");
224 case ERROR_NETWORK_BUSY
:
225 return("Network busy");
227 case ERROR_DEV_NOT_EXIST
:
228 return("Device does not exist");
230 case ERROR_TOO_MANY_CMDS
:
231 return("Too many commands");
233 case ERROR_ADAP_HDW_ERR
:
234 return("ADAP HDW error");
236 case ERROR_BAD_NET_RESP
:
237 return("Bad net response");
239 case ERROR_UNEXP_NET_ERR
:
240 return("Unexpected net error");
242 case ERROR_BAD_REM_ADAP
:
243 return("Bad rem adap");
245 case ERROR_PRINTQ_FULL
:
246 return("Print queue full");
248 case ERROR_NO_SPOOL_SPACE
:
249 return("No spool space");
251 case ERROR_PRINT_CANCELLED
:
252 return("Print cancelled");
254 case ERROR_NETNAME_DELETED
:
255 return("Netname deleted");
257 case ERROR_NETWORK_ACCESS_DENIED
:
258 return("Network access denied");
260 case ERROR_BAD_DEV_TYPE
:
261 return("Bad device type");
263 case ERROR_BAD_NET_NAME
:
264 return("Bad net name");
266 case ERROR_TOO_MANY_NAMES
:
267 return("Too many names");
269 case ERROR_TOO_MANY_SESS
:
270 return("Too many sessions");
272 case ERROR_SHARING_PAUSED
:
273 return("Sharing paused");
275 case ERROR_REQ_NOT_ACCEP
:
276 return("Req not accep");
278 case ERROR_REDIR_PAUSED
:
279 return("Redir paused");
281 case ERROR_FILE_EXISTS
:
282 return("File exists");
284 case ERROR_CANNOT_MAKE
:
285 return("Cannot make");
290 case ERROR_OUT_OF_STRUCTURES
:
291 return("Out of structures");
293 case ERROR_ALREADY_ASSIGNED
:
294 return("Already assigned");
296 case ERROR_INVALID_PASSWORD
:
297 return("Invalid password");
299 case ERROR_INVALID_PARAMETER
:
300 return("Invalid parameter");
302 case ERROR_NET_WRITE_FAULT
:
303 return("Net write fault");
305 case ERROR_NO_PROC_SLOTS
:
306 return("No proc slots");
308 case ERROR_TOO_MANY_SEMAPHORES
:
309 return("Too many semaphores");
311 case ERROR_EXCL_SEM_ALREADY_OWNED
:
312 return("Exclusive semaphore already owned");
314 case ERROR_SEM_IS_SET
:
315 return("Semaphore is set");
317 case ERROR_TOO_MANY_SEM_REQUESTS
:
318 return("Too many semaphore requests");
320 case ERROR_INVALID_AT_INTERRUPT_TIME
:
321 return("Invalid at interrupt time");
323 case ERROR_SEM_OWNER_DIED
:
324 return("Semaphore owner died");
326 case ERROR_SEM_USER_LIMIT
:
327 return("Semaphore user limit");
329 case ERROR_DISK_CHANGE
:
330 return("Disk change");
332 case ERROR_DRIVE_LOCKED
:
333 return("Drive locked");
335 case ERROR_BROKEN_PIPE
:
336 return("Broken pipe");
338 case ERROR_OPEN_FAILED
:
339 return("Open failed");
341 case ERROR_BUFFER_OVERFLOW
:
342 return("Buffer overflow");
344 case ERROR_DISK_FULL
:
347 case ERROR_NO_MORE_SEARCH_HANDLES
:
348 return("No more search handles");
350 case ERROR_INVALID_TARGET_HANDLE
:
351 return("Invalid target handle");
353 case ERROR_INVALID_CATEGORY
:
354 return("Invalid category");
356 case ERROR_INVALID_VERIFY_SWITCH
:
357 return("Invalid verify switch");
359 case ERROR_BAD_DRIVER_LEVEL
:
360 return("Bad driver level");
362 case ERROR_CALL_NOT_IMPLEMENTED
:
363 return("Call not implemented");
365 case ERROR_SEM_TIMEOUT
:
366 return("Semaphore timeout");
368 case ERROR_INSUFFICIENT_BUFFER
:
369 return("Insufficient buffer");
371 case ERROR_INVALID_NAME
:
372 return("Invalid name");
374 case ERROR_INVALID_LEVEL
:
375 return("Invalid level");
377 case ERROR_NO_VOLUME_LABEL
:
378 return("No volume label");
380 case ERROR_MOD_NOT_FOUND
:
381 return("Module not found");
383 case ERROR_PROC_NOT_FOUND
:
384 return("Process not found");
386 case ERROR_WAIT_NO_CHILDREN
:
387 return("Wait no children");
389 case ERROR_CHILD_NOT_COMPLETE
:
390 return("Child not complete");
392 case ERROR_DIRECT_ACCESS_HANDLE
:
393 return("Direct access handle");
395 case ERROR_NEGATIVE_SEEK
:
396 return("Negative seek");
398 case ERROR_SEEK_ON_DEVICE
:
399 return("Seek on device");
401 case ERROR_IS_JOIN_TARGET
:
402 return("Is join target");
404 case ERROR_IS_JOINED
:
407 case ERROR_IS_SUBSTED
:
408 return("Is substed");
410 case ERROR_NOT_JOINED
:
411 return("Not joined");
413 case ERROR_NOT_SUBSTED
:
414 return("Not substed");
416 case ERROR_JOIN_TO_JOIN
:
417 return("Join to join");
419 case ERROR_SUBST_TO_SUBST
:
420 return("Subst to subst");
422 case ERROR_JOIN_TO_SUBST
:
423 return("Join to subst");
425 case ERROR_SUBST_TO_JOIN
:
426 return("Subst to join");
428 case ERROR_BUSY_DRIVE
:
429 return("Busy drive");
431 case ERROR_SAME_DRIVE
:
432 return("Same drive");
434 case ERROR_DIR_NOT_ROOT
:
435 return("Directory not root");
437 case ERROR_DIR_NOT_EMPTY
:
438 return("Directory not empty");
440 case ERROR_IS_SUBST_PATH
:
441 return("Is subst path");
443 case ERROR_IS_JOIN_PATH
:
444 return("Is join path");
446 case ERROR_PATH_BUSY
:
449 case ERROR_IS_SUBST_TARGET
:
450 return("Is subst target");
452 case ERROR_SYSTEM_TRACE
:
453 return("System trace");
455 case ERROR_INVALID_EVENT_COUNT
:
456 return("Invalid event count");
458 case ERROR_TOO_MANY_MUXWAITERS
:
459 return("Too many muxwaiters");
461 case ERROR_INVALID_LIST_FORMAT
:
462 return("Invalid list format");
464 case ERROR_LABEL_TOO_LONG
:
465 return("Label too long");
467 case ERROR_TOO_MANY_TCBS
:
468 return("Too many TCBs");
470 case ERROR_SIGNAL_REFUSED
:
471 return("Signal refused");
473 case ERROR_DISCARDED
:
476 case ERROR_NOT_LOCKED
:
477 return("Not locked");
479 case ERROR_BAD_THREADID_ADDR
:
480 return("Bad thread ID addr");
482 case ERROR_BAD_ARGUMENTS
:
483 return("Bad arguments");
485 case ERROR_BAD_PATHNAME
:
486 return("Bad pathname");
488 case ERROR_SIGNAL_PENDING
:
489 return("Signal pending");
491 case ERROR_MAX_THRDS_REACHED
:
492 return("Max thrds reached");
494 case ERROR_LOCK_FAILED
:
495 return("Lock failed");
500 case ERROR_CANCEL_VIOLATION
:
501 return("Cancel violation");
503 case ERROR_ATOMIC_LOCKS_NOT_SUPPORTED
:
504 return("Atomic locks not supported");
506 case ERROR_INVALID_SEGMENT_NUMBER
:
507 return("Invalid segment number");
509 case ERROR_INVALID_ORDINAL
:
510 return("Invalid ordinal");
512 case ERROR_ALREADY_EXISTS
:
513 return("Already exists");
515 case ERROR_INVALID_FLAG_NUMBER
:
516 return("Invalid flag number");
518 case ERROR_SEM_NOT_FOUND
:
519 return("Sem not found");
521 case ERROR_INVALID_STARTING_CODESEG
:
522 return("Invalid starting codeseg");
524 case ERROR_INVALID_STACKSEG
:
525 return("Invalid stackseg");
527 case ERROR_INVALID_MODULETYPE
:
528 return("Invalid moduletype");
530 case ERROR_INVALID_EXE_SIGNATURE
:
531 return("Invalid exe signature");
533 case ERROR_EXE_MARKED_INVALID
:
534 return("Exe marked invalid");
536 case ERROR_BAD_EXE_FORMAT
:
537 return("Bad exe format");
539 case ERROR_ITERATED_DATA_EXCEEDS_64k
:
540 return("Iterated data exceeds 64k (and that should be enough for anybody!)");
542 case ERROR_INVALID_MINALLOCSIZE
:
543 return("Invalid minallocsize");
545 case ERROR_DYNLINK_FROM_INVALID_RING
:
546 return("Dynlink from invalid ring");
548 case ERROR_IOPL_NOT_ENABLED
:
549 return("IOPL not enabled");
551 case ERROR_INVALID_SEGDPL
:
552 return("Invalid segdpl");
554 case ERROR_AUTODATASEG_EXCEEDS_64k
:
555 return("Autodataseg exceeds 64k");
557 case ERROR_RING2SEG_MUST_BE_MOVABLE
:
558 return("Ring2seg must be movable");
560 case ERROR_RELOC_CHAIN_XEEDS_SEGLIM
:
561 return("Reloc chain exceeds seglim");
563 case ERROR_INFLOOP_IN_RELOC_CHAIN
:
564 return("Infloop in reloc chain");
566 case ERROR_ENVVAR_NOT_FOUND
:
567 return("Env var not found");
569 case ERROR_NO_SIGNAL_SENT
:
570 return("No signal sent");
572 case ERROR_FILENAME_EXCED_RANGE
:
573 return("Filename exceeds range");
575 case ERROR_RING2_STACK_IN_USE
:
576 return("Ring2 stack in use");
578 case ERROR_META_EXPANSION_TOO_LONG
:
579 return("Meta expansion too long");
581 case ERROR_INVALID_SIGNAL_NUMBER
:
582 return("Invalid signal number");
584 case ERROR_THREAD_1_INACTIVE
:
585 return("Thread 1 inactive");
590 case ERROR_TOO_MANY_MODULES
:
591 return("Too many modules");
593 case ERROR_NESTING_NOT_ALLOWED
:
594 return("Nesting not allowed");
596 case ERROR_EXE_MACHINE_TYPE_MISMATCH
:
597 return("Exe machine type mismatch");
602 case ERROR_PIPE_BUSY
:
608 case ERROR_PIPE_NOT_CONNECTED
:
609 return("Pipe not connected");
611 case ERROR_MORE_DATA
:
614 case ERROR_VC_DISCONNECTED
:
615 return("VC disconnected");
617 case ERROR_INVALID_EA_NAME
:
618 return("Invalid EA name");
620 case ERROR_EA_LIST_INCONSISTENT
:
621 return("EA list inconsistent");
624 return("Wait timeout");
626 case ERROR_NO_MORE_ITEMS
:
627 return("No more items");
629 case ERROR_CANNOT_COPY
:
630 return("Cannot copy");
632 case ERROR_DIRECTORY
:
633 return("Is a directory");
635 case ERROR_EAS_DIDNT_FIT
:
636 return("EAS didnt fit");
638 case ERROR_EA_FILE_CORRUPT
:
639 return("EA file corrupt");
641 case ERROR_EA_TABLE_FULL
:
642 return("EA table full");
644 case ERROR_INVALID_EA_HANDLE
:
645 return("Invalid EA handle");
647 case ERROR_EAS_NOT_SUPPORTED
:
648 return("EAs not supported");
650 case ERROR_NOT_OWNER
:
653 case ERROR_TOO_MANY_POSTS
:
654 return("Too many posts");
656 case ERROR_PARTIAL_COPY
:
657 return("Partial copy");
659 case ERROR_OPLOCK_NOT_GRANTED
:
660 return("Oplock not granted");
662 case ERROR_INVALID_OPLOCK_PROTOCOL
:
663 return("Invalid oplock protocol");
665 case ERROR_DISK_TOO_FRAGMENTED
:
666 return("Disk too fragmented");
668 case ERROR_DELETE_PENDING
:
669 return("Delete pending");
671 case ERROR_MR_MID_NOT_FOUND
:
672 return("Mr Mid not found");
674 case ERROR_INVALID_ADDRESS
:
675 return("Invalid address");
677 case ERROR_ARITHMETIC_OVERFLOW
:
678 return("Arithmetic overflow");
680 case ERROR_PIPE_CONNECTED
:
681 return("Pipe connected");
683 case ERROR_PIPE_LISTENING
:
684 return("Pipe listening");
686 case ERROR_EA_ACCESS_DENIED
:
687 return("EA access denied");
689 case ERROR_OPERATION_ABORTED
:
690 return("Operation aborted");
692 case ERROR_IO_INCOMPLETE
:
693 return("IO incomplete");
695 case ERROR_IO_PENDING
:
696 return("IO pending");
701 case ERROR_SWAPERROR
:
702 return("Swap error");
704 case ERROR_STACK_OVERFLOW
:
705 return("Stack overflow");
707 case ERROR_INVALID_MESSAGE
:
708 return("Invalid message");
710 case ERROR_CAN_NOT_COMPLETE
:
711 return("Can not complete");
713 case ERROR_INVALID_FLAGS
:
714 return("Invalid flags");
716 case ERROR_UNRECOGNIZED_VOLUME
:
717 return("Unrecognised volume");
719 case ERROR_FILE_INVALID
:
720 return("File invalid");
722 case ERROR_FULLSCREEN_MODE
:
723 return("Full screen mode");
735 return("Can't open");
738 return("Can't read");
740 case ERROR_CANTWRITE
:
741 return("Can't write");
743 case ERROR_REGISTRY_RECOVERED
:
744 return("Registry recovered");
746 case ERROR_REGISTRY_CORRUPT
:
747 return("Registry corrupt");
749 case ERROR_REGISTRY_IO_FAILED
:
750 return("Registry IO failed");
752 case ERROR_NOT_REGISTRY_FILE
:
753 return("Not registry file");
755 case ERROR_KEY_DELETED
:
756 return("Key deleted");
758 case ERROR_NO_LOG_SPACE
:
759 return("No log space");
761 case ERROR_KEY_HAS_CHILDREN
:
762 return("Key has children");
764 case ERROR_CHILD_MUST_BE_VOLATILE
:
765 return("Child must be volatile");
767 case ERROR_NOTIFY_ENUM_DIR
:
768 return("Notify enum dir");
770 case ERROR_DEPENDENT_SERVICES_RUNNING
:
771 return("Dependent services running");
773 case ERROR_INVALID_SERVICE_CONTROL
:
774 return("Invalid service control");
776 case ERROR_SERVICE_REQUEST_TIMEOUT
:
777 return("Service request timeout");
779 case ERROR_SERVICE_NO_THREAD
:
780 return("Service no thread");
782 case ERROR_SERVICE_DATABASE_LOCKED
:
783 return("Service database locked");
785 case ERROR_SERVICE_ALREADY_RUNNING
:
786 return("Service already running");
788 case ERROR_INVALID_SERVICE_ACCOUNT
:
789 return("Invalid service account");
791 case ERROR_SERVICE_DISABLED
:
792 return("Service disabled");
794 case ERROR_CIRCULAR_DEPENDENCY
:
795 return("Circular dependency");
797 case ERROR_SERVICE_DOES_NOT_EXIST
:
798 return("Service does not exist");
800 case ERROR_SERVICE_CANNOT_ACCEPT_CTRL
:
801 return("Service cannot accept ctrl");
803 case ERROR_SERVICE_NOT_ACTIVE
:
804 return("Service not active");
806 case ERROR_FAILED_SERVICE_CONTROLLER_CONNECT
:
807 return("Failed service controller connect");
809 case ERROR_EXCEPTION_IN_SERVICE
:
810 return("Exception in service");
812 case ERROR_DATABASE_DOES_NOT_EXIST
:
813 return("Database does not exist");
815 case ERROR_SERVICE_SPECIFIC_ERROR
:
816 return("Service specific error");
818 case ERROR_PROCESS_ABORTED
:
819 return("Process aborted");
821 case ERROR_SERVICE_DEPENDENCY_FAIL
:
822 return("Service dependency fail");
824 case ERROR_SERVICE_LOGON_FAILED
:
825 return("Service logon failed");
827 case ERROR_SERVICE_START_HANG
:
828 return("Service start hang");
830 case ERROR_INVALID_SERVICE_LOCK
:
831 return("Invalid service lock");
833 case ERROR_SERVICE_MARKED_FOR_DELETE
:
834 return("Service marked for delete");
836 case ERROR_SERVICE_EXISTS
:
837 return("Service exists");
839 case ERROR_ALREADY_RUNNING_LKG
:
840 return("Already running lkg");
842 case ERROR_SERVICE_DEPENDENCY_DELETED
:
843 return("Service dependency deleted");
845 case ERROR_BOOT_ALREADY_ACCEPTED
:
846 return("Boot already accepted");
848 case ERROR_SERVICE_NEVER_STARTED
:
849 return("Service never started");
851 case ERROR_DUPLICATE_SERVICE_NAME
:
852 return("Duplicate service name");
854 case ERROR_DIFFERENT_SERVICE_ACCOUNT
:
855 return("Different service account");
857 case ERROR_CANNOT_DETECT_DRIVER_FAILURE
:
858 return("Cannot detect driver failure");
860 case ERROR_CANNOT_DETECT_PROCESS_ABORT
:
861 return("Cannot detect process abort");
863 case ERROR_NO_RECOVERY_PROGRAM
:
864 return("No recovery program");
866 case ERROR_SERVICE_NOT_IN_EXE
:
867 return("Service not in exe");
869 case ERROR_NOT_SAFEBOOT_SERVICE
:
870 return("Not safeboot service");
872 case ERROR_END_OF_MEDIA
:
873 return("End of media");
875 case ERROR_FILEMARK_DETECTED
:
876 return("Filemark detected");
878 case ERROR_BEGINNING_OF_MEDIA
:
879 return("Beginning of media");
881 case ERROR_SETMARK_DETECTED
:
882 return("Setmark detected");
884 case ERROR_NO_DATA_DETECTED
:
885 return("No data detected");
887 case ERROR_PARTITION_FAILURE
:
888 return("Partition failure");
890 case ERROR_INVALID_BLOCK_LENGTH
:
891 return("Invalid block length");
893 case ERROR_DEVICE_NOT_PARTITIONED
:
894 return("Device not partitioned");
896 case ERROR_UNABLE_TO_LOCK_MEDIA
:
897 return("Unable to lock media");
899 case ERROR_UNABLE_TO_UNLOAD_MEDIA
:
900 return("Unable to unload media");
902 case ERROR_MEDIA_CHANGED
:
903 return("Media changed");
905 case ERROR_BUS_RESET
:
908 case ERROR_NO_MEDIA_IN_DRIVE
:
909 return("No media in drive");
911 case ERROR_NO_UNICODE_TRANSLATION
:
912 return("No unicode translation");
914 case ERROR_DLL_INIT_FAILED
:
915 return("DLL init failed");
917 case ERROR_SHUTDOWN_IN_PROGRESS
:
918 return("Shutdown in progress");
920 case ERROR_NO_SHUTDOWN_IN_PROGRESS
:
921 return("No shutdown in progress");
923 case ERROR_IO_DEVICE
:
926 case ERROR_SERIAL_NO_DEVICE
:
927 return("Serial IO device");
932 case ERROR_MORE_WRITES
:
933 return("More writes");
935 case ERROR_COUNTER_TIMEOUT
:
936 return("Counter timeout");
938 case ERROR_FLOPPY_ID_MARK_NOT_FOUND
:
939 return("Floppy ID mark not found");
941 case ERROR_FLOPPY_WRONG_CYLINDER
:
942 return("Floppy wrong cylinder");
944 case ERROR_FLOPPY_UNKNOWN_ERROR
:
945 return("Floppy unknown error");
947 case ERROR_FLOPPY_BAD_REGISTERS
:
948 return("Floppy bad registers");
950 case ERROR_DISK_RECALIBRATE_FAILED
:
951 return("Disk recalibrate failed");
953 case ERROR_DISK_OPERATION_FAILED
:
954 return("Disk operation failed");
956 case ERROR_DISK_RESET_FAILED
:
957 return("Disk reset failed");
959 case ERROR_EOM_OVERFLOW
:
960 return("EOM overflow");
962 case ERROR_NOT_ENOUGH_SERVER_MEMORY
:
963 return("Not enough server memory");
965 case ERROR_POSSIBLE_DEADLOCK
:
966 return("Possible deadlock");
968 case ERROR_MAPPED_ALIGNMENT
:
969 return("Mapped alignment");
971 case ERROR_SET_POWER_STATE_VETOED
:
972 return("Set power state vetoed");
974 case ERROR_SET_POWER_STATE_FAILED
:
975 return("Set power state failed");
977 case ERROR_TOO_MANY_LINKS
:
978 return("Too many links");
980 case ERROR_OLD_WIN_VERSION
:
981 return("Old win version");
983 case ERROR_APP_WRONG_OS
:
984 return("App wrong OS");
986 case ERROR_SINGLE_INSTANCE_APP
:
987 return("Single instance app");
989 case ERROR_RMODE_APP
:
992 case ERROR_INVALID_DLL
:
993 return("Invalid DLL");
995 case ERROR_NO_ASSOCIATION
:
996 return("No association");
1001 case ERROR_DLL_NOT_FOUND
:
1002 return("DLL not found");
1004 case ERROR_NO_MORE_USER_HANDLES
:
1005 return("No more user handles");
1007 case ERROR_MESSAGE_SYNC_ONLY
:
1008 return("Message sync only");
1010 case ERROR_SOURCE_ELEMENT_EMPTY
:
1011 return("Source element empty");
1013 case ERROR_DESTINATION_ELEMENT_FULL
:
1014 return("Destination element full");
1016 case ERROR_ILLEGAL_ELEMENT_ADDRESS
:
1017 return("Illegal element address");
1019 case ERROR_MAGAZINE_NOT_PRESENT
:
1020 return("Magazine not present");
1022 case ERROR_DEVICE_REINITIALIZATION_NEEDED
:
1023 return("Device reinitialization needed");
1025 case ERROR_DEVICE_REQUIRES_CLEANING
:
1026 return("Device requires cleaning");
1028 case ERROR_DEVICE_DOOR_OPEN
:
1029 return("Device door open");
1031 case ERROR_DEVICE_NOT_CONNECTED
:
1032 return("Device not connected");
1034 case ERROR_NOT_FOUND
:
1035 return("Not found");
1037 case ERROR_NO_MATCH
:
1040 case ERROR_SET_NOT_FOUND
:
1041 return("Set not found");
1043 case ERROR_POINT_NOT_FOUND
:
1044 return("Point not found");
1046 case ERROR_NO_TRACKING_SERVICE
:
1047 return("No tracking service");
1049 case ERROR_NO_VOLUME_ID
:
1050 return("No volume ID");
1052 case ERROR_UNABLE_TO_REMOVE_REPLACED
:
1053 return("Unable to remove replaced");
1055 case ERROR_UNABLE_TO_MOVE_REPLACEMENT
:
1056 return("Unable to move replacement");
1058 case ERROR_UNABLE_TO_MOVE_REPLACEMENT_2
:
1059 return("Unable to move replacement 2");
1061 case ERROR_JOURNAL_DELETE_IN_PROGRESS
:
1062 return("Journal delete in progress");
1064 case ERROR_JOURNAL_NOT_ACTIVE
:
1065 return("Journal not active");
1067 case ERROR_POTENTIAL_FILE_FOUND
:
1068 return("Potential file found");
1070 case ERROR_JOURNAL_ENTRY_DELETED
:
1071 return("Journal entry deleted");
1073 case ERROR_BAD_DEVICE
:
1074 return("Bad device");
1076 case ERROR_CONNECTION_UNAVAIL
:
1077 return("Connection unavail");
1079 case ERROR_DEVICE_ALREADY_REMEMBERED
:
1080 return("Device already remembered");
1082 case ERROR_NO_NET_OR_BAD_PATH
:
1083 return("No net or bad path");
1085 case ERROR_BAD_PROVIDER
:
1086 return("Bad provider");
1088 case ERROR_CANNOT_OPEN_PROFILE
:
1089 return("Cannot open profile");
1091 case ERROR_BAD_PROFILE
:
1092 return("Bad profile");
1094 case ERROR_NOT_CONTAINER
:
1095 return("Not container");
1097 case ERROR_EXTENDED_ERROR
:
1098 return("Extended error");
1100 case ERROR_INVALID_GROUPNAME
:
1101 return("Invalid group name");
1103 case ERROR_INVALID_COMPUTERNAME
:
1104 return("Invalid computer name");
1106 case ERROR_INVALID_EVENTNAME
:
1107 return("Invalid event name");
1109 case ERROR_INVALID_DOMAINNAME
:
1110 return("Invalid domain name");
1112 case ERROR_INVALID_SERVICENAME
:
1113 return("Invalid service name");
1115 case ERROR_INVALID_NETNAME
:
1116 return("Invalid net name");
1118 case ERROR_INVALID_SHARENAME
:
1119 return("Invalid share name");
1121 case ERROR_INVALID_PASSWORDNAME
:
1122 return("Invalid password name");
1124 case ERROR_INVALID_MESSAGENAME
:
1125 return("Invalid message name");
1127 case ERROR_INVALID_MESSAGEDEST
:
1128 return("Invalid message dest");
1130 case ERROR_SESSION_CREDENTIAL_CONFLICT
:
1131 return("Session credential conflict");
1133 case ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
:
1134 return("Remote session limit exceeded");
1136 case ERROR_DUP_DOMAINNAME
:
1137 return("Dup domain name");
1139 case ERROR_NO_NETWORK
:
1140 return("No network");
1142 case ERROR_CANCELLED
:
1143 return("Cancelled");
1145 case ERROR_USER_MAPPED_FILE
:
1146 return("User mapped file");
1148 case ERROR_CONNECTION_REFUSED
:
1149 return("Connection refused");
1151 case ERROR_GRACEFUL_DISCONNECT
:
1152 return("Graceful disconnect");
1154 case ERROR_ADDRESS_ALREADY_ASSOCIATED
:
1155 return("Address already associated");
1157 case ERROR_ADDRESS_NOT_ASSOCIATED
:
1158 return("Address not associated");
1160 case ERROR_CONNECTION_INVALID
:
1161 return("Connected invalid");
1163 case ERROR_CONNECTION_ACTIVE
:
1164 return("Connection active");
1166 case ERROR_NETWORK_UNREACHABLE
:
1167 return("Network unreachable");
1169 case ERROR_HOST_UNREACHABLE
:
1170 return("Host unreachable");
1172 case ERROR_PROTOCOL_UNREACHABLE
:
1173 return("Protocol unreachable");
1175 case ERROR_PORT_UNREACHABLE
:
1176 return("Port unreachable");
1178 case ERROR_REQUEST_ABORTED
:
1179 return("Request aborted");
1181 case ERROR_CONNECTION_ABORTED
:
1182 return("Connection aborted");
1187 case ERROR_CONNECTION_COUNT_LIMIT
:
1188 return("Connection count limit");
1190 case ERROR_LOGIN_TIME_RESTRICTION
:
1191 return("Login time restriction");
1193 case ERROR_LOGIN_WKSTA_RESTRICTION
:
1194 return("Login wksta restriction");
1196 case ERROR_INCORRECT_ADDRESS
:
1197 return("Incorrect address");
1199 case ERROR_ALREADY_REGISTERED
:
1200 return("Already registered");
1202 case ERROR_SERVICE_NOT_FOUND
:
1203 return("Service not found");
1205 case ERROR_NOT_AUTHENTICATED
:
1206 return("Not authenticated");
1208 case ERROR_NOT_LOGGED_ON
:
1209 return("Not logged on");
1211 case ERROR_CONTINUE
:
1214 case ERROR_ALREADY_INITIALIZED
:
1215 return("Already initialised");
1217 case ERROR_NO_MORE_DEVICES
:
1218 return("No more devices");
1220 case ERROR_NO_SUCH_SITE
:
1221 return("No such site");
1223 case ERROR_DOMAIN_CONTROLLER_EXISTS
:
1224 return("Domain controller exists");
1226 case ERROR_ONLY_IF_CONNECTED
:
1227 return("Only if connected");
1229 case ERROR_OVERRIDE_NOCHANGES
:
1230 return("Override no changes");
1232 case ERROR_BAD_USER_PROFILE
:
1233 return("Bad user profile");
1235 case ERROR_NOT_SUPPORTED_ON_SBS
:
1236 return("Not supported on SBS");
1238 case ERROR_SERVER_SHUTDOWN_IN_PROGRESS
:
1239 return("Server shutdown in progress");
1241 case ERROR_HOST_DOWN
:
1242 return("Host down");
1244 case ERROR_NON_ACCOUNT_SID
:
1245 return("Non account sid");
1247 case ERROR_NON_DOMAIN_SID
:
1248 return("Non domain sid");
1250 case ERROR_APPHELP_BLOCK
:
1251 return("Apphelp block");
1253 case ERROR_ACCESS_DISABLED_BY_POLICY
:
1254 return("Access disabled by policy");
1256 case ERROR_REG_NAT_CONSUMPTION
:
1257 return("Reg nat consumption");
1259 case ERROR_CSCSHARE_OFFLINE
:
1260 return("CSC share offline");
1262 case ERROR_PKINIT_FAILURE
:
1263 return("PK init failure");
1265 case ERROR_SMARTCARD_SUBSYSTEM_FAILURE
:
1266 return("Smartcard subsystem failure");
1268 case ERROR_DOWNGRADE_DETECTED
:
1269 return("Downgrade detected");
1271 case SEC_E_SMARTCARD_CERT_REVOKED
:
1272 return("Smartcard cert revoked");
1274 case SEC_E_ISSUING_CA_UNTRUSTED
:
1275 return("Issuing CA untrusted");
1277 case SEC_E_REVOCATION_OFFLINE_C
:
1278 return("Revocation offline");
1280 case SEC_E_PKINIT_CLIENT_FAILUR
:
1281 return("PK init client failure");
1283 case SEC_E_SMARTCARD_CERT_EXPIRED
:
1284 return("Smartcard cert expired");
1286 case ERROR_MACHINE_LOCKED
:
1287 return("Machine locked");
1289 case ERROR_CALLBACK_SUPPLIED_INVALID_DATA
:
1290 return("Callback supplied invalid data");
1292 case ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED
:
1293 return("Sync foreground refresh required");
1295 case ERROR_DRIVER_BLOCKED
:
1296 return("Driver blocked");
1298 case ERROR_INVALID_IMPORT_OF_NON_DLL
:
1299 return("Invalid import of non DLL");
1301 case ERROR_NOT_ALL_ASSIGNED
:
1302 return("Not all assigned");
1304 case ERROR_SOME_NOT_MAPPED
:
1305 return("Some not mapped");
1307 case ERROR_NO_QUOTAS_FOR_ACCOUNT
:
1308 return("No quotas for account");
1310 case ERROR_LOCAL_USER_SESSION_KEY
:
1311 return("Local user session key");
1313 case ERROR_NULL_LM_PASSWORD
:
1314 return("Null LM password");
1316 case ERROR_UNKNOWN_REVISION
:
1317 return("Unknown revision");
1319 case ERROR_REVISION_MISMATCH
:
1320 return("Revision mismatch");
1322 case ERROR_INVALID_OWNER
:
1323 return("Invalid owner");
1325 case ERROR_INVALID_PRIMARY_GROUP
:
1326 return("Invalid primary group");
1328 case ERROR_NO_IMPERSONATION_TOKEN
:
1329 return("No impersonation token");
1331 case ERROR_CANT_DISABLE_MANDATORY
:
1332 return("Can't disable mandatory");
1334 case ERROR_NO_LOGON_SERVERS
:
1335 return("No logon servers");
1337 case ERROR_NO_SUCH_LOGON_SESSION
:
1338 return("No such logon session");
1340 case ERROR_NO_SUCH_PRIVILEGE
:
1341 return("No such privilege");
1343 case ERROR_PRIVILEGE_NOT_HELD
:
1344 return("Privilege not held");
1346 case ERROR_INVALID_ACCOUNT_NAME
:
1347 return("Invalid account name");
1349 case ERROR_USER_EXISTS
:
1350 return("User exists");
1352 case ERROR_NO_SUCH_USER
:
1353 return("No such user");
1355 case ERROR_GROUP_EXISTS
:
1356 return("Group exists");
1358 case ERROR_NO_SUCH_GROUP
:
1359 return("No such group");
1361 case ERROR_MEMBER_IN_GROUP
:
1362 return("Member in group");
1364 case ERROR_MEMBER_NOT_IN_GROUP
:
1365 return("Member not in group");
1367 case ERROR_LAST_ADMIN
:
1368 return("Last admin");
1370 case ERROR_WRONG_PASSWORD
:
1371 return("Wrong password");
1373 case ERROR_ILL_FORMED_PASSWORD
:
1374 return("Ill formed password");
1376 case ERROR_PASSWORD_RESTRICTION
:
1377 return("Password restriction");
1379 case ERROR_LOGON_FAILURE
:
1380 return("Logon failure");
1382 case ERROR_ACCOUNT_RESTRICTION
:
1383 return("Account restriction");
1385 case ERROR_INVALID_LOGON_HOURS
:
1386 return("Invalid logon hours");
1388 case ERROR_INVALID_WORKSTATION
:
1389 return("Invalid workstation");
1391 case ERROR_PASSWORD_EXPIRED
:
1392 return("Password expired");
1394 case ERROR_ACCOUNT_DISABLED
:
1395 return("Account disabled");
1397 case ERROR_NONE_MAPPED
:
1398 return("None mapped");
1400 case ERROR_TOO_MANY_LUIDS_REQUESTED
:
1401 return("Too many LUIDs requested");
1403 case ERROR_LUIDS_EXHAUSTED
:
1404 return("LUIDs exhausted");
1406 case ERROR_INVALID_SUB_AUTHORITY
:
1407 return("Invalid sub authority");
1409 case ERROR_INVALID_ACL
:
1410 return("Invalid ACL");
1412 case ERROR_INVALID_SID
:
1413 return("Invalid SID");
1415 case ERROR_INVALID_SECURITY_DESCR
:
1416 return("Invalid security descr");
1418 case ERROR_BAD_INHERITANCE_ACL
:
1419 return("Bad inheritance ACL");
1421 case ERROR_SERVER_DISABLED
:
1422 return("Server disabled");
1424 case ERROR_SERVER_NOT_DISABLED
:
1425 return("Server not disabled");
1427 case ERROR_INVALID_ID_AUTHORITY
:
1428 return("Invalid ID authority");
1430 case ERROR_ALLOTTED_SPACE_EXCEEDED
:
1431 return("Allotted space exceeded");
1433 case ERROR_INVALID_GROUP_ATTRIBUTES
:
1434 return("Invalid group attributes");
1436 case ERROR_BAD_IMPERSONATION_LEVEL
:
1437 return("Bad impersonation level");
1439 case ERROR_CANT_OPEN_ANONYMOUS
:
1440 return("Can't open anonymous");
1442 case ERROR_BAD_VALIDATION_CLASS
:
1443 return("Bad validation class");
1445 case ERROR_BAD_TOKEN_TYPE
:
1446 return("Bad token type");
1448 case ERROR_NO_SECURITY_ON_OBJECT
:
1449 return("No security on object");
1451 case ERROR_CANT_ACCESS_DOMAIN_INFO
:
1452 return("Can't access domain info");
1454 case ERROR_INVALID_SERVER_STATE
:
1455 return("Invalid server state");
1457 case ERROR_INVALID_DOMAIN_STATE
:
1458 return("Invalid domain state");
1460 case ERROR_INVALID_DOMAIN_ROLE
:
1461 return("Invalid domain role");
1463 case ERROR_NO_SUCH_DOMAIN
:
1464 return("No such domain");
1466 case ERROR_DOMAIN_EXISTS
:
1467 return("Domain exists");
1469 case ERROR_DOMAIN_LIMIT_EXCEEDED
:
1470 return("Domain limit exceeded");
1472 case ERROR_INTERNAL_DB_CORRUPTION
:
1473 return("Internal DB corruption");
1475 case ERROR_INTERNAL_ERROR
:
1476 return("Internal error");
1478 case ERROR_GENERIC_NOT_MAPPED
:
1479 return("Generic not mapped");
1481 case ERROR_BAD_DESCRIPTOR_FORMAT
:
1482 return("Bad descriptor format");
1484 case ERROR_NOT_LOGON_PROCESS
:
1485 return("Not logon process");
1487 case ERROR_LOGON_SESSION_EXISTS
:
1488 return("Logon session exists");
1490 case ERROR_NO_SUCH_PACKAGE
:
1491 return("No such package");
1493 case ERROR_BAD_LOGON_SESSION_STATE
:
1494 return("Bad logon session state");
1496 case ERROR_LOGON_SESSION_COLLISION
:
1497 return("Logon session collision");
1499 case ERROR_INVALID_LOGON_TYPE
:
1500 return("Invalid logon type");
1502 case ERROR_CANNOT_IMPERSONATE
:
1503 return("Cannot impersonate");
1505 case ERROR_RXACT_INVALID_STATE
:
1506 return("Rxact invalid state");
1508 case ERROR_RXACT_COMMIT_FAILURE
:
1509 return("Rxact commit failure");
1511 case ERROR_SPECIAL_ACCOUNT
:
1512 return("Special account");
1514 case ERROR_SPECIAL_GROUP
:
1515 return("Special group");
1517 case ERROR_SPECIAL_USER
:
1518 return("Special user");
1520 case ERROR_MEMBERS_PRIMARY_GROUP
:
1521 return("Members primary group");
1523 case ERROR_TOKEN_ALREADY_IN_USE
:
1524 return("Token already in use");
1526 case ERROR_NO_SUCH_ALIAS
:
1527 return("No such alias");
1529 case ERROR_MEMBER_NOT_IN_ALIAS
:
1530 return("Member not in alias");
1532 case ERROR_MEMBER_IN_ALIAS
:
1533 return("Member in alias");
1535 case ERROR_ALIAS_EXISTS
:
1536 return("Alias exists");
1538 case ERROR_LOGON_NOT_GRANTED
:
1539 return("Logon not granted");
1541 case ERROR_TOO_MANY_SECRETS
:
1542 return("Too many secrets");
1544 case ERROR_SECRET_TOO_LONG
:
1545 return("Secret too long");
1547 case ERROR_INTERNAL_DB_ERROR
:
1548 return("Internal DB error");
1550 case ERROR_TOO_MANY_CONTEXT_IDS
:
1551 return("Too many context IDs");
1553 case ERROR_LOGON_TYPE_NOT_GRANTED
:
1554 return("Logon type not granted");
1556 case ERROR_NT_CROSS_ENCRYPTION_REQUIRED
:
1557 return("NT cross encryption required");
1559 case ERROR_NO_SUCH_MEMBER
:
1560 return("No such member");
1562 case ERROR_INVALID_MEMBER
:
1563 return("Invalid member");
1565 case ERROR_TOO_MANY_SIDS
:
1566 return("Too many SIDs");
1568 case ERROR_LM_CROSS_ENCRYPTION_REQUIRED
:
1569 return("LM cross encryption required");
1571 case ERROR_NO_INHERITANCE
:
1572 return("No inheritance");
1574 case ERROR_FILE_CORRUPT
:
1575 return("File corrupt");
1577 case ERROR_DISK_CORRUPT
:
1578 return("Disk corrupt");
1580 case ERROR_NO_USER_SESSION_KEY
:
1581 return("No user session key");
1583 case ERROR_LICENSE_QUOTA_EXCEEDED
:
1584 return("Licence quota exceeded");
1586 case ERROR_WRONG_TARGET_NAME
:
1587 return("Wrong target name");
1589 case ERROR_MUTUAL_AUTH_FAILED
:
1590 return("Mutual auth failed");
1592 case ERROR_TIME_SKEW
:
1593 return("Time skew");
1595 case ERROR_CURRENT_DOMAIN_NOT_ALLOWED
:
1596 return("Current domain not allowed");
1598 case ERROR_INVALID_WINDOW_HANDLE
:
1599 return("Invalid window handle");
1601 case ERROR_INVALID_MENU_HANDLE
:
1602 return("Invalid menu handle");
1604 case ERROR_INVALID_CURSOR_HANDLE
:
1605 return("Invalid cursor handle");
1607 case ERROR_INVALID_ACCEL_HANDLE
:
1608 return("Invalid accel handle");
1610 case ERROR_INVALID_HOOK_HANDLE
:
1611 return("Invalid hook handle");
1613 case ERROR_INVALID_DWP_HANDLE
:
1614 return("Invalid DWP handle");
1616 case ERROR_TLW_WITH_WSCHILD
:
1617 return("TLW with wschild");
1619 case ERROR_CANNOT_FIND_WND_CLASS
:
1620 return("Cannot find WND class");
1622 case ERROR_WINDOW_OF_OTHER_THREAD
:
1623 return("Window of other thread");
1625 case ERROR_HOTKEY_ALREADY_REGISTERED
:
1626 return("Hotkey already registered");
1628 case ERROR_CLASS_ALREADY_EXISTS
:
1629 return("Class already exists");
1631 case ERROR_CLASS_DOES_NOT_EXIST
:
1632 return("Class does not exist");
1634 case ERROR_CLASS_HAS_WINDOWS
:
1635 return("Class has windows");
1637 case ERROR_INVALID_INDEX
:
1638 return("Invalid index");
1640 case ERROR_INVALID_ICON_HANDLE
:
1641 return("Invalid icon handle");
1643 case ERROR_PRIVATE_DIALOG_INDEX
:
1644 return("Private dialog index");
1646 case ERROR_LISTBOX_ID_NOT_FOUND
:
1647 return("Listbox ID not found");
1649 case ERROR_NO_WILDCARD_CHARACTERS
:
1650 return("No wildcard characters");
1652 case ERROR_CLIPBOARD_NOT_OPEN
:
1653 return("Clipboard not open");
1655 case ERROR_HOTKEY_NOT_REGISTERED
:
1656 return("Hotkey not registered");
1658 case ERROR_WINDOW_NOT_DIALOG
:
1659 return("Window not dialog");
1661 case ERROR_CONTROL_ID_NOT_FOUND
:
1662 return("Control ID not found");
1664 case ERROR_INVALID_COMBOBOX_MESSAGE
:
1665 return("Invalid combobox message");
1667 case ERROR_WINDOW_NOT_COMBOBOX
:
1668 return("Window not combobox");
1670 case ERROR_INVALID_EDIT_HEIGHT
:
1671 return("Invalid edit height");
1673 case ERROR_DC_NOT_FOUND
:
1674 return("DC not found");
1676 case ERROR_INVALID_HOOK_FILTER
:
1677 return("Invalid hook filter");
1679 case ERROR_INVALID_FILTER_PROC
:
1680 return("Invalid filter proc");
1682 case ERROR_HOOK_NEEDS_HMOD
:
1683 return("Hook needs HMOD");
1685 case ERROR_GLOBAL_ONLY_HOOK
:
1686 return("Global only hook");
1688 case ERROR_JOURNAL_HOOK_SET
:
1689 return("Journal hook set");
1691 case ERROR_HOOK_NOT_INSTALLED
:
1692 return("Hook not installed");
1694 case ERROR_INVALID_LB_MESSAGE
:
1695 return("Invalid LB message");
1697 case ERROR_SETCOUNT_ON_BAD_LB
:
1698 return("Setcount on bad LB");
1700 case ERROR_LB_WITHOUT_TABSTOPS
:
1701 return("LB without tabstops");
1703 case ERROR_DESTROY_OBJECT_OF_OTHER_THREAD
:
1704 return("Destroy object of other thread");
1706 case ERROR_CHILD_WINDOW_MENU
:
1707 return("Child window menu");
1709 case ERROR_NO_SYSTEM_MENU
:
1710 return("No system menu");
1712 case ERROR_INVALID_MSGBOX_STYLE
:
1713 return("Invalid msgbox style");
1715 case ERROR_INVALID_SPI_VALUE
:
1716 return("Invalid SPI value");
1718 case ERROR_SCREEN_ALREADY_LOCKED
:
1719 return("Screen already locked");
1721 case ERROR_HWNDS_HAVE_DIFF_PARENT
:
1722 return("HWNDs have different parent");
1724 case ERROR_NOT_CHILD_WINDOW
:
1725 return("Not child window");
1727 case ERROR_INVALID_GW_COMMAND
:
1728 return("Invalid GW command");
1730 case ERROR_INVALID_THREAD_ID
:
1731 return("Invalid thread ID");
1733 case ERROR_NON_MDICHILD_WINDOW
:
1734 return("Non MDI child window");
1736 case ERROR_POPUP_ALREADY_ACTIVE
:
1737 return("Popup already active");
1739 case ERROR_NO_SCROLLBARS
:
1740 return("No scrollbars");
1742 case ERROR_INVALID_SCROLLBAR_RANGE
:
1743 return("Invalid scrollbar range");
1745 case ERROR_INVALID_SHOWWIN_COMMAND
:
1746 return("Invalid showwin command");
1748 case ERROR_NO_SYSTEM_RESOURCES
:
1749 return("No system resources");
1751 case ERROR_NONPAGED_SYSTEM_RESOURCES
:
1752 return("Nonpaged system resources");
1754 case ERROR_PAGED_SYSTEM_RESOURCES
:
1755 return("Paged system resources");
1757 case ERROR_WORKING_SET_QUOTA
:
1758 return("Working set quota");
1760 case ERROR_PAGEFILE_QUOTA
:
1761 return("Pagefile quota");
1763 case ERROR_COMMITMENT_LIMIT
:
1764 return("Commitment limit");
1766 case ERROR_MENU_ITEM_NOT_FOUND
:
1767 return("Menu item not found");
1769 case ERROR_INVALID_KEYBOARD_HANDLE
:
1770 return("Invalid keyboard handle");
1772 case ERROR_HOOK_TYPE_NOT_ALLOWED
:
1773 return("Hook type not allowed");
1775 case ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION
:
1776 return("Requires interactive windowstation");
1781 case ERROR_INVALID_MONITOR_HANDLE
:
1782 return("Invalid monitor handle");
1784 case ERROR_EVENTLOG_FILE_CORRUPT
:
1785 return("Eventlog file corrupt");
1787 case ERROR_EVENTLOG_CANT_START
:
1788 return("Eventlog can't start");
1790 case ERROR_LOG_FILE_FULL
:
1791 return("Log file full");
1793 case ERROR_EVENTLOG_FILE_CHANGED
:
1794 return("Eventlog file changed");
1796 case ERROR_INSTALL_SERVICE_FAILURE
:
1797 return("Install service failure");
1799 case ERROR_INSTALL_USEREXIT
:
1800 return("Install userexit");
1802 case ERROR_INSTALL_FAILURE
:
1803 return("Install failure");
1805 case ERROR_INSTALL_SUSPEND
:
1806 return("Install suspend");
1808 case ERROR_UNKNOWN_PRODUCT
:
1809 return("Unknown product");
1811 case ERROR_UNKNOWN_FEATURE
:
1812 return("Unknown feature");
1814 case ERROR_UNKNOWN_COMPONENT
:
1815 return("Unknown component");
1817 case ERROR_UNKNOWN_PROPERTY
:
1818 return("Unknown property");
1820 case ERROR_INVALID_HANDLE_STATE
:
1821 return("Invalid handle state");
1823 case ERROR_BAD_CONFIGURATION
:
1824 return("Bad configuration");
1826 case ERROR_INDEX_ABSENT
:
1827 return("Index absent");
1829 case ERROR_INSTALL_SOURCE_ABSENT
:
1830 return("Install source absent");
1832 case ERROR_INSTALL_PACKAGE_VERSION
:
1833 return("Install package version");
1835 case ERROR_PRODUCT_UNINSTALLED
:
1836 return("Product uninstalled");
1838 case ERROR_BAD_QUERY_SYNTAX
:
1839 return("Bad query syntax");
1841 case ERROR_INVALID_FIELD
:
1842 return("Invalid field");
1844 case ERROR_DEVICE_REMOVED
:
1845 return("Device removed");
1847 case ERROR_INSTALL_ALREADY_RUNNING
:
1848 return("Install already running");
1850 case ERROR_INSTALL_PACKAGE_OPEN_FAILED
:
1851 return("Install package open failed");
1853 case ERROR_INSTALL_PACKAGE_INVALID
:
1854 return("Install package invalid");
1856 case ERROR_INSTALL_UI_FAILURE
:
1857 return("Install UI failure");
1859 case ERROR_INSTALL_LOG_FAILURE
:
1860 return("Install log failure");
1862 case ERROR_INSTALL_LANGUAGE_UNSUPPORTED
:
1863 return("Install language unsupported");
1865 case ERROR_INSTALL_TRANSFORM_FAILURE
:
1866 return("Install transform failure");
1868 case ERROR_INSTALL_PACKAGE_REJECTED
:
1869 return("Install package rejected");
1871 case ERROR_FUNCTION_NOT_CALLED
:
1872 return("Function not called");
1874 case ERROR_FUNCTION_FAILED
:
1875 return("Function failed");
1877 case ERROR_INVALID_TABLE
:
1878 return("Invalid table");
1880 case ERROR_DATATYPE_MISMATCH
:
1881 return("Datatype mismatch");
1883 case ERROR_UNSUPPORTED_TYPE
:
1884 return("Unsupported type");
1886 case ERROR_CREATE_FAILED
:
1887 return("Create failed");
1889 case ERROR_INSTALL_TEMP_UNWRITABLE
:
1890 return("Install temp unwritable");
1892 case ERROR_INSTALL_PLATFORM_UNSUPPORTED
:
1893 return("Install platform unsupported");
1895 case ERROR_INSTALL_NOTUSED
:
1896 return("Install notused");
1898 case ERROR_PATCH_PACKAGE_OPEN_FAILED
:
1899 return("Patch package open failed");
1901 case ERROR_PATCH_PACKAGE_INVALID
:
1902 return("Patch package invalid");
1904 case ERROR_PATCH_PACKAGE_UNSUPPORTED
:
1905 return("Patch package unsupported");
1907 case ERROR_PRODUCT_VERSION
:
1908 return("Product version");
1910 case ERROR_INVALID_COMMAND_LINE
:
1911 return("Invalid command line");
1913 case ERROR_INSTALL_REMOTE_DISALLOWED
:
1914 return("Install remote disallowed");
1916 case ERROR_SUCCESS_REBOOT_INITIATED
:
1917 return("Success reboot initiated");
1919 case ERROR_PATCH_TARGET_NOT_FOUND
:
1920 return("Patch target not found");
1922 case ERROR_PATCH_PACKAGE_REJECTED
:
1923 return("Patch package rejected");
1925 case ERROR_INSTALL_TRANSFORM_REJECTED
:
1926 return("Install transform rejected");
1928 case RPC_S_INVALID_STRING_BINDING
:
1929 return("RPC S Invalid string binding");
1931 case RPC_S_WRONG_KIND_OF_BINDING
:
1932 return("RPC S Wrong kind of binding");
1934 case RPC_S_INVALID_BINDING
:
1935 return("RPC S Invalid binding");
1937 case RPC_S_PROTSEQ_NOT_SUPPORTED
:
1938 return("RPC S Protseq not supported");
1940 case RPC_S_INVALID_RPC_PROTSEQ
:
1941 return("RPC S Invalid RPC protseq");
1943 case RPC_S_INVALID_STRING_UUID
:
1944 return("RPC S Invalid string UUID");
1946 case RPC_S_INVALID_ENDPOINT_FORMAT
:
1947 return("RPC S Invalid endpoint format");
1949 case RPC_S_INVALID_NET_ADDR
:
1950 return("RPC S Invalid net addr");
1952 case RPC_S_NO_ENDPOINT_FOUND
:
1953 return("RPC S No endpoint found");
1955 case RPC_S_INVALID_TIMEOUT
:
1956 return("RPC S Invalid timeout");
1958 case RPC_S_OBJECT_NOT_FOUND
:
1959 return("RPC S Object not found");
1961 case RPC_S_ALREADY_REGISTERED
:
1962 return("RPC S Already registered");
1964 case RPC_S_TYPE_ALREADY_REGISTERED
:
1965 return("RPC S Type already registered");
1967 case RPC_S_ALREADY_LISTENING
:
1968 return("RPC S Already listening");
1970 case RPC_S_NO_PROTSEQS_REGISTERED
:
1971 return("RPC S Not protseqs registered");
1973 case RPC_S_NOT_LISTENING
:
1974 return("RPC S Not listening");
1976 case RPC_S_UNKNOWN_MGR_TYPE
:
1977 return("RPC S Unknown mgr type");
1979 case RPC_S_UNKNOWN_IF
:
1980 return("RPC S Unknown IF");
1982 case RPC_S_NO_BINDINGS
:
1983 return("RPC S No bindings");
1985 case RPC_S_NO_PROTSEQS
:
1986 return("RPC S Not protseqs");
1988 case RPC_S_CANT_CREATE_ENDPOINT
:
1989 return("RPC S Can't create endpoint");
1991 case RPC_S_OUT_OF_RESOURCES
:
1992 return("RPC S Out of resources");
1994 case RPC_S_SERVER_UNAVAILABLE
:
1995 return("RPC S Server unavailable");
1997 case RPC_S_SERVER_TOO_BUSY
:
1998 return("RPC S Server too busy");
2000 case RPC_S_INVALID_NETWORK_OPTIONS
:
2001 return("RPC S Invalid network options");
2003 case RPC_S_NO_CALL_ACTIVE
:
2004 return("RPC S No call active");
2006 case RPC_S_CALL_FAILED
:
2007 return("RPC S Call failed");
2009 case RPC_S_CALL_FAILED_DNE
:
2010 return("RPC S Call failed DNE");
2012 case RPC_S_PROTOCOL_ERROR
:
2013 return("RPC S Protocol error");
2015 case RPC_S_UNSUPPORTED_TRANS_SYN
:
2016 return("RPC S Unsupported trans syn");
2018 case RPC_S_UNSUPPORTED_TYPE
:
2019 return("RPC S Unsupported type");
2021 case RPC_S_INVALID_TAG
:
2022 return("RPC S Invalid tag");
2024 case RPC_S_INVALID_BOUND
:
2025 return("RPC S Invalid bound");
2027 case RPC_S_NO_ENTRY_NAME
:
2028 return("RPC S No entry name");
2030 case RPC_S_INVALID_NAME_SYNTAX
:
2031 return("RPC S Invalid name syntax");
2033 case RPC_S_UNSUPPORTED_NAME_SYNTAX
:
2034 return("RPC S Unsupported name syntax");
2036 case RPC_S_UUID_NO_ADDRESS
:
2037 return("RPC S UUID no address");
2039 case RPC_S_DUPLICATE_ENDPOINT
:
2040 return("RPC S Duplicate endpoint");
2042 case RPC_S_UNKNOWN_AUTHN_TYPE
:
2043 return("RPC S Unknown authn type");
2045 case RPC_S_MAX_CALLS_TOO_SMALL
:
2046 return("RPC S Max calls too small");
2048 case RPC_S_STRING_TOO_LONG
:
2049 return("RPC S String too long");
2051 case RPC_S_PROTSEQ_NOT_FOUND
:
2052 return("RPC S Protseq not found");
2054 case RPC_S_PROCNUM_OUT_OF_RANGE
:
2055 return("RPC S Procnum out of range");
2057 case RPC_S_BINDING_HAS_NO_AUTH
:
2058 return("RPC S Binding has no auth");
2060 case RPC_S_UNKNOWN_AUTHN_SERVICE
:
2061 return("RPC S Unknown authn service");
2063 case RPC_S_UNKNOWN_AUTHN_LEVEL
:
2064 return("RPC S Unknown authn level");
2066 case RPC_S_INVALID_AUTH_IDENTITY
:
2067 return("RPC S Invalid auth identity");
2069 case RPC_S_UNKNOWN_AUTHZ_SERVICE
:
2070 return("RPC S Unknown authz service");
2072 case EPT_S_INVALID_ENTRY
:
2073 return("EPT S Invalid entry");
2075 case EPT_S_CANT_PERFORM_OP
:
2076 return("EPT S Can't perform op");
2078 case EPT_S_NOT_REGISTERED
:
2079 return("EPT S Not registered");
2081 case RPC_S_NOTHING_TO_EXPORT
:
2082 return("RPC S Nothing to export");
2084 case RPC_S_INCOMPLETE_NAME
:
2085 return("RPC S Incomplete name");
2087 case RPC_S_INVALID_VERS_OPTION
:
2088 return("RPC S Invalid vers option");
2090 case RPC_S_NO_MORE_MEMBERS
:
2091 return("RPC S No more members");
2093 case RPC_S_NOT_ALL_OBJS_UNEXPORTED
:
2094 return("RPC S Not all objs unexported");
2096 case RPC_S_INTERFACE_NOT_FOUND
:
2097 return("RPC S Interface not found");
2099 case RPC_S_ENTRY_ALREADY_EXISTS
:
2100 return("RPC S Entry already exists");
2102 case RPC_S_ENTRY_NOT_FOUND
:
2103 return("RPC S Entry not found");
2105 case RPC_S_NAME_SERVICE_UNAVAILABLE
:
2106 return("RPC S Name service unavailable");
2108 case RPC_S_INVALID_NAF_ID
:
2109 return("RPC S Invalid naf ID");
2111 case RPC_S_CANNOT_SUPPORT
:
2112 return("RPC S Cannot support");
2114 case RPC_S_NO_CONTEXT_AVAILABLE
:
2115 return("RPC S No context available");
2117 case RPC_S_INTERNAL_ERROR
:
2118 return("RPC S Internal error");
2120 case RPC_S_ZERO_DIVIDE
:
2121 return("RPC S Zero divide");
2123 case RPC_S_ADDRESS_ERROR
:
2124 return("RPC S Address error");
2126 case RPC_S_FP_DIV_ZERO
:
2127 return("RPC S FP div zero");
2129 case RPC_S_FP_UNDERFLOW
:
2130 return("RPC S FP Underflow");
2132 case RPC_S_FP_OVERFLOW
:
2133 return("RPC S Overflow");
2135 case RPC_X_NO_MORE_ENTRIES
:
2136 return("RPC X No more entries");
2138 case RPC_X_SS_CHAR_TRANS_OPEN_FAIL
:
2139 return("RPC X SS char trans open fail");
2141 case RPC_X_SS_CHAR_TRANS_SHORT_FILE
:
2142 return("RPC X SS char trans short file");
2144 case RPC_X_SS_IN_NULL_CONTEXT
:
2145 return("RPC S SS in null context");
2147 case RPC_X_SS_CONTEXT_DAMAGED
:
2148 return("RPC X SS context damaged");
2150 case RPC_X_SS_HANDLES_MISMATCH
:
2151 return("RPC X SS handles mismatch");
2153 case RPC_X_SS_CANNOT_GET_CALL_HANDLE
:
2154 return("RPC X SS cannot get call handle");
2156 case RPC_X_NULL_REF_POINTER
:
2157 return("RPC X Null ref pointer");
2159 case RPC_X_ENUM_VALUE_OUT_OF_RANGE
:
2160 return("RPC X enum value out of range");
2162 case RPC_X_BYTE_COUNT_TOO_SMALL
:
2163 return("RPC X byte count too small");
2165 case RPC_X_BAD_STUB_DATA
:
2166 return("RPC X bad stub data");
2168 case ERROR_INVALID_USER_BUFFER
:
2169 return("Invalid user buffer");
2171 case ERROR_UNRECOGNIZED_MEDIA
:
2172 return("Unrecognised media");
2174 case ERROR_NO_TRUST_LSA_SECRET
:
2175 return("No trust lsa secret");
2177 case ERROR_NO_TRUST_SAM_ACCOUNT
:
2178 return("No trust sam account");
2180 case ERROR_TRUSTED_DOMAIN_FAILURE
:
2181 return("Trusted domain failure");
2183 case ERROR_TRUSTED_RELATIONSHIP_FAILURE
:
2184 return("Trusted relationship failure");
2186 case ERROR_TRUST_FAILURE
:
2187 return("Trust failure");
2189 case RPC_S_CALL_IN_PROGRESS
:
2190 return("RPC S call in progress");
2192 case ERROR_NETLOGON_NOT_STARTED
:
2193 return("Error netlogon not started");
2195 case ERROR_ACCOUNT_EXPIRED
:
2196 return("Account expired");
2198 case ERROR_REDIRECTOR_HAS_OPEN_HANDLES
:
2199 return("Redirector has open handles");
2201 case ERROR_PRINTER_DRIVER_ALREADY_INSTALLED
:
2202 return("Printer driver already installed");
2204 case ERROR_UNKNOWN_PORT
:
2205 return("Unknown port");
2207 case ERROR_UNKNOWN_PRINTER_DRIVER
:
2208 return("Unknown printer driver");
2210 case ERROR_UNKNOWN_PRINTPROCESSOR
:
2211 return("Unknown printprocessor");
2213 case ERROR_INVALID_SEPARATOR_FILE
:
2214 return("Invalid separator file");
2216 case ERROR_INVALID_PRIORITY
:
2217 return("Invalid priority");
2219 case ERROR_INVALID_PRINTER_NAME
:
2220 return("Invalid printer name");
2222 case ERROR_PRINTER_ALREADY_EXISTS
:
2223 return("Printer already exists");
2225 case ERROR_INVALID_PRINTER_COMMAND
:
2226 return("Invalid printer command");
2228 case ERROR_INVALID_DATATYPE
:
2229 return("Invalid datatype");
2231 case ERROR_INVALID_ENVIRONMENT
:
2232 return("Invalid environment");
2234 case RPC_S_NO_MORE_BINDINGS
:
2235 return("RPC S no more bindings");
2237 case ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
:
2238 return("Nologon interdomain trust account");
2240 case ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
:
2241 return("Nologon workstation trust account");
2243 case ERROR_NOLOGON_SERVER_TRUST_ACCOUNT
:
2244 return("Nologon server trust account");
2246 case ERROR_DOMAIN_TRUST_INCONSISTENT
:
2247 return("Domain trust inconsistent");
2249 case ERROR_SERVER_HAS_OPEN_HANDLES
:
2250 return("Server has open handles");
2252 case ERROR_RESOURCE_DATA_NOT_FOUND
:
2253 return("Resource data not found");
2255 case ERROR_RESOURCE_TYPE_NOT_FOUND
:
2256 return("Resource type not found");
2258 case ERROR_RESOURCE_NAME_NOT_FOUND
:
2259 return("Resource name not found");
2261 case ERROR_RESOURCE_LANG_NOT_FOUND
:
2262 return("Resource lang not found");
2264 case ERROR_NOT_ENOUGH_QUOTA
:
2265 return("Not enough quota");
2267 case RPC_S_NO_INTERFACES
:
2268 return("RPC S no interfaces");
2270 case RPC_S_CALL_CANCELLED
:
2271 return("RPC S Call cancelled");
2273 case RPC_S_BINDING_INCOMPLETE
:
2274 return("RPC S Binding incomplete");
2276 case RPC_S_COMM_FAILURE
:
2277 return("RPC S Comm failure");
2279 case RPC_S_UNSUPPORTED_AUTHN_LEVEL
:
2280 return("RPC S Unsupported authn level");
2282 case RPC_S_NO_PRINC_NAME
:
2283 return("RPC S No princ name");
2285 case RPC_S_NOT_RPC_ERROR
:
2286 return("RPC S Not RPC error");
2288 case RPC_S_UUID_LOCAL_ONLY
:
2289 return("RPC U UUID local only");
2291 case RPC_S_SEC_PKG_ERROR
:
2292 return("RPC S Sec pkg error");
2294 case RPC_S_NOT_CANCELLED
:
2295 return("RPC S Not cancelled");
2297 case RPC_X_INVALID_ES_ACTION
:
2298 return("RPC X Invalid ES action");
2300 case RPC_X_WRONG_ES_VERSION
:
2301 return("RPC X Wrong ES version");
2303 case RPC_X_WRONG_STUB_VERSION
:
2304 return("RPC X Wrong stub version");
2306 case RPC_X_INVALID_PIPE_OBJECT
:
2307 return("RPC X Invalid pipe object");
2309 case RPC_X_WRONG_PIPE_ORDER
:
2310 return("RPC X Wrong pipe order");
2312 case RPC_X_WRONG_PIPE_VERSION
:
2313 return("RPC X Wrong pipe version");
2315 case RPC_S_GROUP_MEMBER_NOT_FOUND
:
2316 return("RPC S group member not found");
2318 case EPT_S_CANT_CREATE
:
2319 return("EPT S Can't create");
2321 case RPC_S_INVALID_OBJECT
:
2322 return("RPC S Invalid object");
2324 case ERROR_INVALID_TIME
:
2325 return("Invalid time");
2327 case ERROR_INVALID_FORM_NAME
:
2328 return("Invalid form name");
2330 case ERROR_INVALID_FORM_SIZE
:
2331 return("Invalid form size");
2333 case ERROR_ALREADY_WAITING
:
2334 return("Already waiting");
2336 case ERROR_PRINTER_DELETED
:
2337 return("Printer deleted");
2339 case ERROR_INVALID_PRINTER_STATE
:
2340 return("Invalid printer state");
2342 case ERROR_PASSWORD_MUST_CHANGE
:
2343 return("Password must change");
2345 case ERROR_DOMAIN_CONTROLLER_NOT_FOUND
:
2346 return("Domain controller not found");
2348 case ERROR_ACCOUNT_LOCKED_OUT
:
2349 return("Account locked out");
2351 case OR_INVALID_OXID
:
2352 return("OR Invalid OXID");
2354 case OR_INVALID_OID
:
2355 return("OR Invalid OID");
2357 case OR_INVALID_SET
:
2358 return("OR Invalid set");
2360 case RPC_S_SEND_INCOMPLETE
:
2361 return("RPC S Send incomplete");
2363 case RPC_S_INVALID_ASYNC_HANDLE
:
2364 return("RPC S Invalid async handle");
2366 case RPC_S_INVALID_ASYNC_CALL
:
2367 return("RPC S Invalid async call");
2369 case RPC_X_PIPE_CLOSED
:
2370 return("RPC X Pipe closed");
2372 case RPC_X_PIPE_DISCIPLINE_ERROR
:
2373 return("RPC X Pipe discipline error");
2375 case RPC_X_PIPE_EMPTY
:
2376 return("RPC X Pipe empty");
2378 case ERROR_NO_SITENAME
:
2379 return("No sitename");
2381 case ERROR_CANT_ACCESS_FILE
:
2382 return("Can't access file");
2384 case ERROR_CANT_RESOLVE_FILENAME
:
2385 return("Can't resolve filename");
2387 case RPC_S_ENTRY_TYPE_MISMATCH
:
2388 return("RPC S Entry type mismatch");
2390 case RPC_S_NOT_ALL_OBJS_EXPORTED
:
2391 return("RPC S Not all objs exported");
2393 case RPC_S_INTERFACE_NOT_EXPORTED
:
2394 return("RPC S Interface not exported");
2396 case RPC_S_PROFILE_NOT_ADDED
:
2397 return("RPC S Profile not added");
2399 case RPC_S_PRF_ELT_NOT_ADDED
:
2400 return("RPC S PRF ELT not added");
2402 case RPC_S_PRF_ELT_NOT_REMOVED
:
2403 return("RPC S PRF ELT not removed");
2405 case RPC_S_GRP_ELT_NOT_ADDED
:
2406 return("RPC S GRP ELT not added");
2408 case RPC_S_GRP_ELT_NOT_REMOVED
:
2409 return("RPC S GRP ELT not removed");
2411 case ERROR_KM_DRIVER_BLOCKED
:
2412 return("KM driver blocked");
2414 case ERROR_CONTEXT_EXPIRED
:
2415 return("Context expired");
2417 case ERROR_INVALID_PIXEL_FORMAT
:
2418 return("Invalid pixel format");
2420 case ERROR_BAD_DRIVER
:
2421 return("Bad driver");
2423 case ERROR_INVALID_WINDOW_STYLE
:
2424 return("Invalid window style");
2426 case ERROR_METAFILE_NOT_SUPPORTED
:
2427 return("Metafile not supported");
2429 case ERROR_TRANSFORM_NOT_SUPPORTED
:
2430 return("Transform not supported");
2432 case ERROR_CLIPPING_NOT_SUPPORTED
:
2433 return("Clipping not supported");
2435 case ERROR_INVALID_CMM
:
2436 return("Invalid CMM");
2438 case ERROR_INVALID_PROFILE
:
2439 return("Invalid profile");
2441 case ERROR_TAG_NOT_FOUND
:
2442 return("Tag not found");
2444 case ERROR_TAG_NOT_PRESENT
:
2445 return("Tag not present");
2447 case ERROR_DUPLICATE_TAG
:
2448 return("Duplicate tag");
2450 case ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE
:
2451 return("Profile not associated with device");
2453 case ERROR_PROFILE_NOT_FOUND
:
2454 return("Profile not found");
2456 case ERROR_INVALID_COLORSPACE
:
2457 return("Invalid colorspace");
2459 case ERROR_ICM_NOT_ENABLED
:
2460 return("ICM not enabled");
2462 case ERROR_DELETING_ICM_XFORM
:
2463 return("Deleting ICM xform");
2465 case ERROR_INVALID_TRANSFORM
:
2466 return("Invalid transform");
2468 case ERROR_COLORSPACE_MISMATCH
:
2469 return("Colorspace mismatch");
2471 case ERROR_INVALID_COLORINDEX
:
2472 return("Invalid colorindex");
2474 case ERROR_CONNECTED_OTHER_PASSWORD
:
2475 return("Connected other password");
2477 case ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT
:
2478 return("Connected other password default");
2480 case ERROR_BAD_USERNAME
:
2481 return("Bad username");
2483 case ERROR_NOT_CONNECTED
:
2484 return("Not connected");
2486 case ERROR_OPEN_FILES
:
2487 return("Open files");
2489 case ERROR_ACTIVE_CONNECTIONS
:
2490 return("Active connections");
2492 case ERROR_DEVICE_IN_USE
:
2493 return("Device in use");
2495 case ERROR_UNKNOWN_PRINT_MONITOR
:
2496 return("Unknown print monitor");
2498 case ERROR_PRINTER_DRIVER_IN_USE
:
2499 return("Printer driver in use");
2501 case ERROR_SPOOL_FILE_NOT_FOUND
:
2502 return("Spool file not found");
2504 case ERROR_SPL_NO_STARTDOC
:
2505 return("SPL no startdoc");
2507 case ERROR_SPL_NO_ADDJOB
:
2508 return("SPL no addjob");
2510 case ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED
:
2511 return("Print processor already installed");
2513 case ERROR_PRINT_MONITOR_ALREADY_INSTALLED
:
2514 return("Print monitor already installed");
2516 case ERROR_INVALID_PRINT_MONITOR
:
2517 return("Invalid print monitor");
2519 case ERROR_PRINT_MONITOR_IN_USE
:
2520 return("Print monitor in use");
2522 case ERROR_PRINTER_HAS_JOBS_QUEUED
:
2523 return("Printer has jobs queued");
2525 case ERROR_SUCCESS_REBOOT_REQUIRED
:
2526 return("Success reboot required");
2528 case ERROR_SUCCESS_RESTART_REQUIRED
:
2529 return("Success restart required");
2531 case ERROR_PRINTER_NOT_FOUND
:
2532 return("Printer not found");
2534 case ERROR_PRINTER_DRIVER_WARNED
:
2535 return("Printer driver warned");
2537 case ERROR_PRINTER_DRIVER_BLOCKED
:
2538 return("Printer driver blocked");
2540 case ERROR_WINS_INTERNAL
:
2541 return("Wins internal");
2543 case ERROR_CAN_NOT_DEL_LOCAL_WINS
:
2544 return("Can not del local wins");
2546 case ERROR_STATIC_INIT
:
2547 return("Static init");
2549 case ERROR_INC_BACKUP
:
2550 return("Inc backup");
2552 case ERROR_FULL_BACKUP
:
2553 return("Full backup");
2555 case ERROR_REC_NON_EXISTENT
:
2556 return("Rec not existent");
2558 case ERROR_RPL_NOT_ALLOWED
:
2559 return("RPL not allowed");
2561 case ERROR_DHCP_ADDRESS_CONFLICT
:
2562 return("DHCP address conflict");
2564 case ERROR_WMI_GUID_NOT_FOUND
:
2565 return("WMU GUID not found");
2567 case ERROR_WMI_INSTANCE_NOT_FOUND
:
2568 return("WMI instance not found");
2570 case ERROR_WMI_ITEMID_NOT_FOUND
:
2571 return("WMI ItemID not found");
2573 case ERROR_WMI_TRY_AGAIN
:
2574 return("WMI try again");
2576 case ERROR_WMI_DP_NOT_FOUND
:
2577 return("WMI DP not found");
2579 case ERROR_WMI_UNRESOLVED_INSTANCE_REF
:
2580 return("WMI unresolved instance ref");
2582 case ERROR_WMI_ALREADY_ENABLED
:
2583 return("WMU already enabled");
2585 case ERROR_WMI_GUID_DISCONNECTED
:
2586 return("WMU GUID disconnected");
2588 case ERROR_WMI_SERVER_UNAVAILABLE
:
2589 return("WMI server unavailable");
2591 case ERROR_WMI_DP_FAILED
:
2592 return("WMI DP failed");
2594 case ERROR_WMI_INVALID_MOF
:
2595 return("WMI invalid MOF");
2597 case ERROR_WMI_INVALID_REGINFO
:
2598 return("WMI invalid reginfo");
2600 case ERROR_WMI_ALREADY_DISABLED
:
2601 return("WMI already disabled");
2603 case ERROR_WMI_READ_ONLY
:
2604 return("WMI read only");
2606 case ERROR_WMI_SET_FAILURE
:
2607 return("WMI set failure");
2609 case ERROR_INVALID_MEDIA
:
2610 return("Invalid media");
2612 case ERROR_INVALID_LIBRARY
:
2613 return("Invalid library");
2615 case ERROR_INVALID_MEDIA_POOL
:
2616 return("Invalid media pool");
2618 case ERROR_DRIVE_MEDIA_MISMATCH
:
2619 return("Drive media mismatch");
2621 case ERROR_MEDIA_OFFLINE
:
2622 return("Media offline");
2624 case ERROR_LIBRARY_OFFLINE
:
2625 return("Library offline");
2630 case ERROR_NOT_EMPTY
:
2631 return("Not empty");
2633 case ERROR_MEDIA_UNAVAILABLE
:
2634 return("Media unavailable");
2636 case ERROR_RESOURCE_DISABLED
:
2637 return("Resource disabled");
2639 case ERROR_INVALID_CLEANER
:
2640 return("Invalid cleaner");
2642 case ERROR_UNABLE_TO_CLEAN
:
2643 return("Unable to clean");
2645 case ERROR_OBJECT_NOT_FOUND
:
2646 return("Object not found");
2648 case ERROR_DATABASE_FAILURE
:
2649 return("Database failure");
2651 case ERROR_DATABASE_FULL
:
2652 return("Database full");
2654 case ERROR_MEDIA_INCOMPATIBLE
:
2655 return("Media incompatible");
2657 case ERROR_RESOURCE_NOT_PRESENT
:
2658 return("Resource not present");
2660 case ERROR_INVALID_OPERATION
:
2661 return("Invalid operation");
2663 case ERROR_MEDIA_NOT_AVAILABLE
:
2664 return("Media not available");
2666 case ERROR_DEVICE_NOT_AVAILABLE
:
2667 return("Device not available");
2669 case ERROR_REQUEST_REFUSED
:
2670 return("Request refused");
2672 case ERROR_INVALID_DRIVE_OBJECT
:
2673 return("Invalid drive object");
2675 case ERROR_LIBRARY_FULL
:
2676 return("Library full");
2678 case ERROR_MEDIUM_NOT_ACCESSIBLE
:
2679 return("Medium not accessible");
2681 case ERROR_UNABLE_TO_LOAD_MEDIUM
:
2682 return("Unable to load medium");
2684 case ERROR_UNABLE_TO_INVENTORY_DRIVE
:
2685 return("Unable to inventory drive");
2687 case ERROR_UNABLE_TO_INVENTORY_SLOT
:
2688 return("Unable to inventory slot");
2690 case ERROR_UNABLE_TO_INVENTORY_TRANSPORT
:
2691 return("Unable to inventory transport");
2693 case ERROR_TRANSPORT_FULL
:
2694 return("Transport full");
2696 case ERROR_CONTROLLING_IEPORT
:
2697 return("Controlling ieport");
2699 case ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA
:
2700 return("Unable to eject mounted media");
2702 case ERROR_CLEANER_SLOT_SET
:
2703 return("Cleaner slot set");
2705 case ERROR_CLEANER_SLOT_NOT_SET
:
2706 return("Cleaner slot not set");
2708 case ERROR_CLEANER_CARTRIDGE_SPENT
:
2709 return("Cleaner cartridge spent");
2711 case ERROR_UNEXPECTED_OMID
:
2712 return("Unexpected omid");
2714 case ERROR_CANT_DELETE_LAST_ITEM
:
2715 return("Can't delete last item");
2717 case ERROR_MESSAGE_EXCEEDS_MAX_SIZE
:
2718 return("Message exceeds max size");
2720 case ERROR_VOLUME_CONTAINS_SYS_FILES
:
2721 return("Volume contains sys files");
2723 case ERROR_INDIGENOUS_TYPE
:
2724 return("Indigenous type");
2726 case ERROR_NO_SUPPORTING_DRIVES
:
2727 return("No supporting drives");
2729 case ERROR_CLEANER_CARTRIDGE_INSTALLED
:
2730 return("Cleaner cartridge installed");
2732 case ERROR_FILE_OFFLINE
:
2733 return("Fill offline");
2735 case ERROR_REMOTE_STORAGE_NOT_ACTIVE
:
2736 return("Remote storage not active");
2738 case ERROR_REMOTE_STORAGE_MEDIA_ERROR
:
2739 return("Remote storage media error");
2741 case ERROR_NOT_A_REPARSE_POINT
:
2742 return("Not a reparse point");
2744 case ERROR_REPARSE_ATTRIBUTE_CONFLICT
:
2745 return("Reparse attribute conflict");
2747 case ERROR_INVALID_REPARSE_DATA
:
2748 return("Invalid reparse data");
2750 case ERROR_REPARSE_TAG_INVALID
:
2751 return("Reparse tag invalid");
2753 case ERROR_REPARSE_TAG_MISMATCH
:
2754 return("Reparse tag mismatch");
2756 case ERROR_VOLUME_NOT_SIS_ENABLED
:
2757 return("Volume not sis enabled");
2759 case ERROR_DEPENDENT_RESOURCE_EXISTS
:
2760 return("Dependent resource exists");
2762 case ERROR_DEPENDENCY_NOT_FOUND
:
2763 return("Dependency not found");
2765 case ERROR_DEPENDENCY_ALREADY_EXISTS
:
2766 return("Dependency already exists");
2768 case ERROR_RESOURCE_NOT_ONLINE
:
2769 return("Resource not online");
2771 case ERROR_HOST_NODE_NOT_AVAILABLE
:
2772 return("Host node not available");
2774 case ERROR_RESOURCE_NOT_AVAILABLE
:
2775 return("Resource not available");
2777 case ERROR_RESOURCE_NOT_FOUND
:
2778 return("Resource not found");
2780 case ERROR_SHUTDOWN_CLUSTER
:
2781 return("Shutdown cluster");
2783 case ERROR_CANT_EVICT_ACTIVE_NODE
:
2784 return("Can't evict active node");
2786 case ERROR_OBJECT_ALREADY_EXISTS
:
2787 return("Object already exists");
2789 case ERROR_OBJECT_IN_LIST
:
2790 return("Object in list");
2792 case ERROR_GROUP_NOT_AVAILABLE
:
2793 return("Group not available");
2795 case ERROR_GROUP_NOT_FOUND
:
2796 return("Group not found");
2798 case ERROR_GROUP_NOT_ONLINE
:
2799 return("Group not online");
2801 case ERROR_HOST_NODE_NOT_RESOURCE_OWNER
:
2802 return("Host node not resource owner");
2804 case ERROR_HOST_NODE_NOT_GROUP_OWNER
:
2805 return("Host node not group owner");
2807 case ERROR_RESMON_CREATE_FAILED
:
2808 return("Resmon create failed");
2810 case ERROR_RESMON_ONLINE_FAILED
:
2811 return("Resmon online failed");
2813 case ERROR_RESOURCE_ONLINE
:
2814 return("Resource online");
2816 case ERROR_QUORUM_RESOURCE
:
2817 return("Quorum resource");
2819 case ERROR_NOT_QUORUM_CAPABLE
:
2820 return("Not quorum capable");
2822 case ERROR_CLUSTER_SHUTTING_DOWN
:
2823 return("Cluster shutting down");
2825 case ERROR_INVALID_STATE
:
2826 return("Invalid state");
2828 case ERROR_RESOURCE_PROPERTIES_STORED
:
2829 return("Resource properties stored");
2831 case ERROR_NOT_QUORUM_CLASS
:
2832 return("Not quorum class");
2834 case ERROR_CORE_RESOURCE
:
2835 return("Core resource");
2837 case ERROR_QUORUM_RESOURCE_ONLINE_FAILED
:
2838 return("Quorum resource online failed");
2840 case ERROR_QUORUMLOG_OPEN_FAILED
:
2841 return("Quorumlog open failed");
2843 case ERROR_CLUSTERLOG_CORRUPT
:
2844 return("Clusterlog corrupt");
2846 case ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE
:
2847 return("Clusterlog record exceeds maxsize");
2849 case ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE
:
2850 return("Clusterlog exceeds maxsize");
2852 case ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND
:
2853 return("Clusterlog chkpoint not found");
2855 case ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE
:
2856 return("Clusterlog not enough space");
2858 case ERROR_QUORUM_OWNER_ALIVE
:
2859 return("Quorum owner alive");
2861 case ERROR_NETWORK_NOT_AVAILABLE
:
2862 return("Network not available");
2864 case ERROR_NODE_NOT_AVAILABLE
:
2865 return("Node not available");
2867 case ERROR_ALL_NODES_NOT_AVAILABLE
:
2868 return("All nodes not available");
2870 case ERROR_RESOURCE_FAILED
:
2871 return("Resource failed");
2873 case ERROR_CLUSTER_INVALID_NODE
:
2874 return("Cluster invalid node");
2876 case ERROR_CLUSTER_NODE_EXISTS
:
2877 return("Cluster node exists");
2879 case ERROR_CLUSTER_JOIN_IN_PROGRESS
:
2880 return("Cluster join in progress");
2882 case ERROR_CLUSTER_NODE_NOT_FOUND
:
2883 return("Cluster node not found");
2885 case ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND
:
2886 return("Cluster local node not found");
2888 case ERROR_CLUSTER_NETWORK_EXISTS
:
2889 return("Cluster network exists");
2891 case ERROR_CLUSTER_NETWORK_NOT_FOUND
:
2892 return("Cluster network not found");
2894 case ERROR_CLUSTER_NETINTERFACE_EXISTS
:
2895 return("Cluster netinterface exists");
2897 case ERROR_CLUSTER_NETINTERFACE_NOT_FOUND
:
2898 return("Cluster netinterface not found");
2900 case ERROR_CLUSTER_INVALID_REQUEST
:
2901 return("Cluster invalid request");
2903 case ERROR_CLUSTER_INVALID_NETWORK_PROVIDER
:
2904 return("Cluster invalid network provider");
2906 case ERROR_CLUSTER_NODE_DOWN
:
2907 return("Cluster node down");
2909 case ERROR_CLUSTER_NODE_UNREACHABLE
:
2910 return("Cluster node unreachable");
2912 case ERROR_CLUSTER_NODE_NOT_MEMBER
:
2913 return("Cluster node not member");
2915 case ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS
:
2916 return("Cluster join not in progress");
2918 case ERROR_CLUSTER_INVALID_NETWORK
:
2919 return("Cluster invalid network");
2921 case ERROR_CLUSTER_NODE_UP
:
2922 return("Cluster node up");
2924 case ERROR_CLUSTER_IPADDR_IN_USE
:
2925 return("Cluster ipaddr in use");
2927 case ERROR_CLUSTER_NODE_NOT_PAUSED
:
2928 return("Cluster node not paused");
2930 case ERROR_CLUSTER_NO_SECURITY_CONTEXT
:
2931 return("Cluster no security context");
2933 case ERROR_CLUSTER_NETWORK_NOT_INTERNAL
:
2934 return("Cluster network not internal");
2936 case ERROR_CLUSTER_NODE_ALREADY_UP
:
2937 return("Cluster node already up");
2939 case ERROR_CLUSTER_NODE_ALREADY_DOWN
:
2940 return("Cluster node already down");
2942 case ERROR_CLUSTER_NETWORK_ALREADY_ONLINE
:
2943 return("Cluster network already online");
2945 case ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE
:
2946 return("Cluster network already offline");
2948 case ERROR_CLUSTER_NODE_ALREADY_MEMBER
:
2949 return("Cluster node already member");
2951 case ERROR_CLUSTER_LAST_INTERNAL_NETWORK
:
2952 return("Cluster last internal network");
2954 case ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS
:
2955 return("Cluster network has dependents");
2957 case ERROR_INVALID_OPERATION_ON_QUORUM
:
2958 return("Invalid operation on quorum");
2960 case ERROR_DEPENDENCY_NOT_ALLOWED
:
2961 return("Dependency not allowed");
2963 case ERROR_CLUSTER_NODE_PAUSED
:
2964 return("Cluster node paused");
2966 case ERROR_NODE_CANT_HOST_RESOURCE
:
2967 return("Node can't host resource");
2969 case ERROR_CLUSTER_NODE_NOT_READY
:
2970 return("Cluster node not ready");
2972 case ERROR_CLUSTER_NODE_SHUTTING_DOWN
:
2973 return("Cluster node shutting down");
2975 case ERROR_CLUSTER_JOIN_ABORTED
:
2976 return("Cluster join aborted");
2978 case ERROR_CLUSTER_INCOMPATIBLE_VERSIONS
:
2979 return("Cluster incompatible versions");
2981 case ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED
:
2982 return("Cluster maxnum of resources exceeded");
2984 case ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED
:
2985 return("Cluster system config changed");
2987 case ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND
:
2988 return("Cluster resource type not found");
2990 case ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED
:
2991 return("Cluster restype not supported");
2993 case ERROR_CLUSTER_RESNAME_NOT_FOUND
:
2994 return("Cluster resname not found");
2996 case ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED
:
2997 return("Cluster no RPC packages registered");
2999 case ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST
:
3000 return("Cluster owner not in preflist");
3002 case ERROR_CLUSTER_DATABASE_SEQMISMATCH
:
3003 return("Cluster database seqmismatch");
3005 case ERROR_RESMON_INVALID_STATE
:
3006 return("Resmon invalid state");
3008 case ERROR_CLUSTER_GUM_NOT_LOCKER
:
3009 return("Cluster gum not locker");
3011 case ERROR_QUORUM_DISK_NOT_FOUND
:
3012 return("Quorum disk not found");
3014 case ERROR_DATABASE_BACKUP_CORRUPT
:
3015 return("Database backup corrupt");
3017 case ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT
:
3018 return("Cluster node already has DFS root");
3020 case ERROR_RESOURCE_PROPERTY_UNCHANGEABLE
:
3021 return("Resource property unchangeable");
3023 case ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE
:
3024 return("Cluster membership invalid state");
3026 case ERROR_CLUSTER_QUORUMLOG_NOT_FOUND
:
3027 return("Cluster quorumlog not found");
3029 case ERROR_CLUSTER_MEMBERSHIP_HALT
:
3030 return("Cluster membership halt");
3032 case ERROR_CLUSTER_INSTANCE_ID_MISMATCH
:
3033 return("Cluster instance ID mismatch");
3035 case ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP
:
3036 return("Cluster network not found for IP");
3038 case ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH
:
3039 return("Cluster property data type mismatch");
3041 case ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP
:
3042 return("Cluster evict without cleanup");
3044 case ERROR_CLUSTER_PARAMETER_MISMATCH
:
3045 return("Cluster parameter mismatch");
3047 case ERROR_NODE_CANNOT_BE_CLUSTERED
:
3048 return("Node cannot be clustered");
3050 case ERROR_CLUSTER_WRONG_OS_VERSION
:
3051 return("Cluster wrong OS version");
3053 case ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME
:
3054 return("Cluster can't create dup cluster name");
3056 case ERROR_ENCRYPTION_FAILED
:
3057 return("Encryption failed");
3059 case ERROR_DECRYPTION_FAILED
:
3060 return("Decryption failed");
3062 case ERROR_FILE_ENCRYPTED
:
3063 return("File encrypted");
3065 case ERROR_NO_RECOVERY_POLICY
:
3066 return("No recovery policy");
3071 case ERROR_WRONG_EFS
:
3072 return("Wrong EFS");
3074 case ERROR_NO_USER_KEYS
:
3075 return("No user keys");
3077 case ERROR_FILE_NOT_ENCRYPTED
:
3078 return("File not encryped");
3080 case ERROR_NOT_EXPORT_FORMAT
:
3081 return("Not export format");
3083 case ERROR_FILE_READ_ONLY
:
3084 return("File read only");
3086 case ERROR_DIR_EFS_DISALLOWED
:
3087 return("Dir EFS disallowed");
3089 case ERROR_EFS_SERVER_NOT_TRUSTED
:
3090 return("EFS server not trusted");
3092 case ERROR_BAD_RECOVERY_POLICY
:
3093 return("Bad recovery policy");
3095 case ERROR_EFS_ALG_BLOB_TOO_BIG
:
3096 return("ETS alg blob too big");
3098 case ERROR_VOLUME_NOT_SUPPORT_EFS
:
3099 return("Volume not support EFS");
3101 case ERROR_EFS_DISABLED
:
3102 return("EFS disabled");
3104 case ERROR_EFS_VERSION_NOT_SUPPORT
:
3105 return("EFS version not support");
3107 case ERROR_NO_BROWSER_SERVERS_FOUND
:
3108 return("No browser servers found");
3110 case SCHED_E_SERVICE_NOT_LOCALSYSTEM
:
3111 return("Sched E service not localsystem");
3113 case ERROR_CTX_WINSTATION_NAME_INVALID
:
3114 return("Ctx winstation name invalid");
3116 case ERROR_CTX_INVALID_PD
:
3117 return("Ctx invalid PD");
3119 case ERROR_CTX_PD_NOT_FOUND
:
3120 return("Ctx PD not found");
3122 case ERROR_CTX_WD_NOT_FOUND
:
3123 return("Ctx WD not found");
3125 case ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY
:
3126 return("Ctx cannot make eventlog entry");
3128 case ERROR_CTX_SERVICE_NAME_COLLISION
:
3129 return("Ctx service name collision");
3131 case ERROR_CTX_CLOSE_PENDING
:
3132 return("Ctx close pending");
3134 case ERROR_CTX_NO_OUTBUF
:
3135 return("Ctx no outbuf");
3137 case ERROR_CTX_MODEM_INF_NOT_FOUND
:
3138 return("Ctx modem inf not found");
3140 case ERROR_CTX_INVALID_MODEMNAME
:
3141 return("Ctx invalid modemname");
3143 case ERROR_CTX_MODEM_RESPONSE_ERROR
:
3144 return("Ctx modem response error");
3146 case ERROR_CTX_MODEM_RESPONSE_TIMEOUT
:
3147 return("Ctx modem response timeout");
3149 case ERROR_CTX_MODEM_RESPONSE_NO_CARRIER
:
3150 return("Ctx modem response no carrier");
3152 case ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE
:
3153 return("Ctx modem response no dial tone");
3155 case ERROR_CTX_MODEM_RESPONSE_BUSY
:
3156 return("Ctx modem response busy");
3158 case ERROR_CTX_MODEM_RESPONSE_VOICE
:
3159 return("Ctx modem response voice");
3161 case ERROR_CTX_TD_ERROR
:
3162 return("Ctx TD error");
3164 case ERROR_CTX_WINSTATION_NOT_FOUND
:
3165 return("Ctx winstation not found");
3167 case ERROR_CTX_WINSTATION_ALREADY_EXISTS
:
3168 return("Ctx winstation already exists");
3170 case ERROR_CTX_WINSTATION_BUSY
:
3171 return("Ctx winstation busy");
3173 case ERROR_CTX_BAD_VIDEO_MODE
:
3174 return("Ctx bad video mode");
3176 case ERROR_CTX_GRAPHICS_INVALID
:
3177 return("Ctx graphics invalid");
3179 case ERROR_CTX_LOGON_DISABLED
:
3180 return("Ctx logon disabled");
3182 case ERROR_CTX_NOT_CONSOLE
:
3183 return("Ctx not console");
3185 case ERROR_CTX_CLIENT_QUERY_TIMEOUT
:
3186 return("Ctx client query timeout");
3188 case ERROR_CTX_CONSOLE_DISCONNECT
:
3189 return("Ctx console disconnect");
3191 case ERROR_CTX_CONSOLE_CONNECT
:
3192 return("Ctx console connect");
3194 case ERROR_CTX_SHADOW_DENIED
:
3195 return("Ctx shadow denied");
3197 case ERROR_CTX_WINSTATION_ACCESS_DENIED
:
3198 return("Ctx winstation access denied");
3200 case ERROR_CTX_INVALID_WD
:
3201 return("Ctx invalid WD");
3203 case ERROR_CTX_SHADOW_INVALID
:
3204 return("Ctx shadow invalid");
3206 case ERROR_CTX_SHADOW_DISABLED
:
3207 return("Ctx shadow disabled");
3209 case ERROR_CTX_CLIENT_LICENSE_IN_USE
:
3210 return("Ctx client licence in use");
3212 case ERROR_CTX_CLIENT_LICENSE_NOT_SET
:
3213 return("Ctx client licence not set");
3215 case ERROR_CTX_LICENSE_NOT_AVAILABLE
:
3216 return("Ctx licence not available");
3218 case ERROR_CTX_LICENSE_CLIENT_INVALID
:
3219 return("Ctx licence client invalid");
3221 case ERROR_CTX_LICENSE_EXPIRED
:
3222 return("Ctx licence expired");
3224 case ERROR_CTX_SHADOW_NOT_RUNNING
:
3225 return("Ctx shadow not running");
3227 case ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE
:
3228 return("Ctx shadow ended by mode change");
3230 case FRS_ERR_INVALID_API_SEQUENCE
:
3231 return("FRS err invalid API sequence");
3233 case FRS_ERR_STARTING_SERVICE
:
3234 return("FRS err starting service");
3236 case FRS_ERR_STOPPING_SERVICE
:
3237 return("FRS err stopping service");
3239 case FRS_ERR_INTERNAL_API
:
3240 return("FRS err internal API");
3242 case FRS_ERR_INTERNAL
:
3243 return("FRS err internal");
3245 case FRS_ERR_SERVICE_COMM
:
3246 return("FRS err service comm");
3248 case FRS_ERR_INSUFFICIENT_PRIV
:
3249 return("FRS err insufficient priv");
3251 case FRS_ERR_AUTHENTICATION
:
3252 return("FRS err authentication");
3254 case FRS_ERR_PARENT_INSUFFICIENT_PRIV
:
3255 return("FRS err parent insufficient priv");
3257 case FRS_ERR_PARENT_AUTHENTICATION
:
3258 return("FRS err parent authentication");
3260 case FRS_ERR_CHILD_TO_PARENT_COMM
:
3261 return("FRS err child to parent comm");
3263 case FRS_ERR_PARENT_TO_CHILD_COMM
:
3264 return("FRS err parent to child comm");
3266 case FRS_ERR_SYSVOL_POPULATE
:
3267 return("FRS err sysvol populate");
3269 case FRS_ERR_SYSVOL_POPULATE_TIMEOUT
:
3270 return("FRS err sysvol populate timeout");
3272 case FRS_ERR_SYSVOL_IS_BUSY
:
3273 return("FRS err sysvol is busy");
3275 case FRS_ERR_SYSVOL_DEMOTE
:
3276 return("FRS err sysvol demote");
3278 case FRS_ERR_INVALID_SERVICE_PARAMETER
:
3279 return("FRS err invalid service parameter");
3281 case ERROR_DS_NOT_INSTALLED
:
3282 return("DS not installed");
3284 case ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
:
3285 return("DS membership evaluated locally");
3287 case ERROR_DS_NO_ATTRIBUTE_OR_VALUE
:
3288 return("DS no attribute or value");
3290 case ERROR_DS_INVALID_ATTRIBUTE_SYNTAX
:
3291 return("DS invalid attribute syntax");
3293 case ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED
:
3294 return("DS attribute type undefined");
3296 case ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS
:
3297 return("DS attribute or value exists");
3302 case ERROR_DS_UNAVAILABLE
:
3303 return("DS unavailable");
3305 case ERROR_DS_NO_RIDS_ALLOCATED
:
3306 return("DS no rids allocated");
3308 case ERROR_DS_NO_MORE_RIDS
:
3309 return("DS no more rids");
3311 case ERROR_DS_INCORRECT_ROLE_OWNER
:
3312 return("DS incorrect role owner");
3314 case ERROR_DS_RIDMGR_INIT_ERROR
:
3315 return("DS ridmgr init error");
3317 case ERROR_DS_OBJ_CLASS_VIOLATION
:
3318 return("DS obj class violation");
3320 case ERROR_DS_CANT_ON_NON_LEAF
:
3321 return("DS can't on non leaf");
3323 case ERROR_DS_CANT_ON_RDN
:
3324 return("DS can't on rnd");
3326 case ERROR_DS_CANT_MOD_OBJ_CLASS
:
3327 return("DS can't mod obj class");
3329 case ERROR_DS_CROSS_DOM_MOVE_ERROR
:
3330 return("DS cross dom move error");
3332 case ERROR_DS_GC_NOT_AVAILABLE
:
3333 return("DS GC not available");
3335 case ERROR_SHARED_POLICY
:
3336 return("Shared policy");
3338 case ERROR_POLICY_OBJECT_NOT_FOUND
:
3339 return("Policy object not found");
3341 case ERROR_POLICY_ONLY_IN_DS
:
3342 return("Policy only in DS");
3344 case ERROR_PROMOTION_ACTIVE
:
3345 return("Promotion active");
3347 case ERROR_NO_PROMOTION_ACTIVE
:
3348 return("No promotion active");
3350 case ERROR_DS_OPERATIONS_ERROR
:
3351 return("DS operations error");
3353 case ERROR_DS_PROTOCOL_ERROR
:
3354 return("DS protocol error");
3356 case ERROR_DS_TIMELIMIT_EXCEEDED
:
3357 return("DS timelimit exceeded");
3359 case ERROR_DS_SIZELIMIT_EXCEEDED
:
3360 return("DS sizelimit exceeded");
3362 case ERROR_DS_ADMIN_LIMIT_EXCEEDED
:
3363 return("DS admin limit exceeded");
3365 case ERROR_DS_COMPARE_FALSE
:
3366 return("DS compare false");
3368 case ERROR_DS_COMPARE_TRUE
:
3369 return("DS compare true");
3371 case ERROR_DS_AUTH_METHOD_NOT_SUPPORTED
:
3372 return("DS auth method not supported");
3374 case ERROR_DS_STRONG_AUTH_REQUIRED
:
3375 return("DS strong auth required");
3377 case ERROR_DS_INAPPROPRIATE_AUTH
:
3378 return("DS inappropriate auth");
3380 case ERROR_DS_AUTH_UNKNOWN
:
3381 return("DS auth unknown");
3383 case ERROR_DS_REFERRAL
:
3384 return("DS referral");
3386 case ERROR_DS_UNAVAILABLE_CRIT_EXTENSION
:
3387 return("DS unavailable crit extension");
3389 case ERROR_DS_CONFIDENTIALITY_REQUIRED
:
3390 return("DS confidentiality required");
3392 case ERROR_DS_INAPPROPRIATE_MATCHING
:
3393 return("DS inappropriate matching");
3395 case ERROR_DS_CONSTRAINT_VIOLATION
:
3396 return("DS constraint violation");
3398 case ERROR_DS_NO_SUCH_OBJECT
:
3399 return("DS no such object");
3401 case ERROR_DS_ALIAS_PROBLEM
:
3402 return("DS alias problem");
3404 case ERROR_DS_INVALID_DN_SYNTAX
:
3405 return("DS invalid dn syntax");
3407 case ERROR_DS_IS_LEAF
:
3408 return("DS is leaf");
3410 case ERROR_DS_ALIAS_DEREF_PROBLEM
:
3411 return("DS alias deref problem");
3413 case ERROR_DS_UNWILLING_TO_PERFORM
:
3414 return("DS unwilling to perform");
3416 case ERROR_DS_LOOP_DETECT
:
3417 return("DS loop detect");
3419 case ERROR_DS_NAMING_VIOLATION
:
3420 return("DS naming violation");
3422 case ERROR_DS_OBJECT_RESULTS_TOO_LARGE
:
3423 return("DS object results too large");
3425 case ERROR_DS_AFFECTS_MULTIPLE_DSAS
:
3426 return("DS affects multiple dsas");
3428 case ERROR_DS_SERVER_DOWN
:
3429 return("DS server down");
3431 case ERROR_DS_LOCAL_ERROR
:
3432 return("DS local error");
3434 case ERROR_DS_ENCODING_ERROR
:
3435 return("DS encoding error");
3437 case ERROR_DS_DECODING_ERROR
:
3438 return("DS decoding error");
3440 case ERROR_DS_FILTER_UNKNOWN
:
3441 return("DS filter unknown");
3443 case ERROR_DS_PARAM_ERROR
:
3444 return("DS param error");
3446 case ERROR_DS_NOT_SUPPORTED
:
3447 return("DS not supported");
3449 case ERROR_DS_NO_RESULTS_RETURNED
:
3450 return("DS no results returned");
3452 case ERROR_DS_CONTROL_NOT_FOUND
:
3453 return("DS control not found");
3455 case ERROR_DS_CLIENT_LOOP
:
3456 return("DS client loop");
3458 case ERROR_DS_REFERRAL_LIMIT_EXCEEDED
:
3459 return("DS referral limit exceeded");
3461 case ERROR_DS_SORT_CONTROL_MISSING
:
3462 return("DS sort control missing");
3464 case ERROR_DS_OFFSET_RANGE_ERROR
:
3465 return("DS offset range error");
3467 case ERROR_DS_ROOT_MUST_BE_NC
:
3468 return("DS root must be nc");
3470 case ERROR_DS_ADD_REPLICA_INHIBITED
:
3471 return("DS and replica inhibited");
3473 case ERROR_DS_ATT_NOT_DEF_IN_SCHEMA
:
3474 return("DS att not def in schema");
3476 case ERROR_DS_MAX_OBJ_SIZE_EXCEEDED
:
3477 return("DS max obj size exceeded");
3479 case ERROR_DS_OBJ_STRING_NAME_EXISTS
:
3480 return("DS obj string name exists");
3482 case ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA
:
3483 return("DS no rdn defined in schema");
3485 case ERROR_DS_RDN_DOESNT_MATCH_SCHEMA
:
3486 return("DS rdn doesn't match schema");
3488 case ERROR_DS_NO_REQUESTED_ATTS_FOUND
:
3489 return("DS no requested atts found");
3491 case ERROR_DS_USER_BUFFER_TO_SMALL
:
3492 return("DS user buffer too small");
3494 case ERROR_DS_ATT_IS_NOT_ON_OBJ
:
3495 return("DS att is not on obj");
3497 case ERROR_DS_ILLEGAL_MOD_OPERATION
:
3498 return("DS illegal mod operation");
3500 case ERROR_DS_OBJ_TOO_LARGE
:
3501 return("DS obj too large");
3503 case ERROR_DS_BAD_INSTANCE_TYPE
:
3504 return("DS bad instance type");
3506 case ERROR_DS_MASTERDSA_REQUIRED
:
3507 return("DS masterdsa required");
3509 case ERROR_DS_OBJECT_CLASS_REQUIRED
:
3510 return("DS object class required");
3512 case ERROR_DS_MISSING_REQUIRED_ATT
:
3513 return("DS missing required att");
3515 case ERROR_DS_ATT_NOT_DEF_FOR_CLASS
:
3516 return("DS att not def for class");
3518 case ERROR_DS_ATT_ALREADY_EXISTS
:
3519 return("DS att already exists");
3521 case ERROR_DS_CANT_ADD_ATT_VALUES
:
3522 return("DS can't add att values");
3524 case ERROR_DS_SINGLE_VALUE_CONSTRAINT
:
3525 return("DS single value constraint");
3527 case ERROR_DS_RANGE_CONSTRAINT
:
3528 return("DS range constraint");
3530 case ERROR_DS_ATT_VAL_ALREADY_EXISTS
:
3531 return("DS att val already exists");
3533 case ERROR_DS_CANT_REM_MISSING_ATT
:
3534 return("DS can't rem missing att");
3536 case ERROR_DS_CANT_REM_MISSING_ATT_VAL
:
3537 return("DS can't rem missing att val");
3539 case ERROR_DS_ROOT_CANT_BE_SUBREF
:
3540 return("DS root can't be subref");
3542 case ERROR_DS_NO_CHAINING
:
3543 return("DS no chaining");
3545 case ERROR_DS_NO_CHAINED_EVAL
:
3546 return("DS no chained eval");
3548 case ERROR_DS_NO_PARENT_OBJECT
:
3549 return("DS no parent object");
3551 case ERROR_DS_PARENT_IS_AN_ALIAS
:
3552 return("DS parent is an alias");
3554 case ERROR_DS_CANT_MIX_MASTER_AND_REPS
:
3555 return("DS can't mix master and reps");
3557 case ERROR_DS_CHILDREN_EXIST
:
3558 return("DS children exist");
3560 case ERROR_DS_OBJ_NOT_FOUND
:
3561 return("DS obj not found");
3563 case ERROR_DS_ALIASED_OBJ_MISSING
:
3564 return("DS aliased obj missing");
3566 case ERROR_DS_BAD_NAME_SYNTAX
:
3567 return("DS bad name syntax");
3569 case ERROR_DS_ALIAS_POINTS_TO_ALIAS
:
3570 return("DS alias points to alias");
3572 case ERROR_DS_CANT_DEREF_ALIAS
:
3573 return("DS can't redef alias");
3575 case ERROR_DS_OUT_OF_SCOPE
:
3576 return("DS out of scope");
3578 case ERROR_DS_OBJECT_BEING_REMOVED
:
3579 return("DS object being removed");
3581 case ERROR_DS_CANT_DELETE_DSA_OBJ
:
3582 return("DS can't delete dsa obj");
3584 case ERROR_DS_GENERIC_ERROR
:
3585 return("DS generic error");
3587 case ERROR_DS_DSA_MUST_BE_INT_MASTER
:
3588 return("DS dsa must be int master");
3590 case ERROR_DS_CLASS_NOT_DSA
:
3591 return("DS class not dsa");
3593 case ERROR_DS_INSUFF_ACCESS_RIGHTS
:
3594 return("DS insuff access rights");
3596 case ERROR_DS_ILLEGAL_SUPERIOR
:
3597 return("DS illegal superior");
3599 case ERROR_DS_ATTRIBUTE_OWNED_BY_SAM
:
3600 return("DS attribute owned by sam");
3602 case ERROR_DS_NAME_TOO_MANY_PARTS
:
3603 return("DS name too many parts");
3605 case ERROR_DS_NAME_TOO_LONG
:
3606 return("DS name too long");
3608 case ERROR_DS_NAME_VALUE_TOO_LONG
:
3609 return("DS name value too long");
3611 case ERROR_DS_NAME_UNPARSEABLE
:
3612 return("DS name unparseable");
3614 case ERROR_DS_NAME_TYPE_UNKNOWN
:
3615 return("DS name type unknown");
3617 case ERROR_DS_NOT_AN_OBJECT
:
3618 return("DS not an object");
3620 case ERROR_DS_SEC_DESC_TOO_SHORT
:
3621 return("DS sec desc too short");
3623 case ERROR_DS_SEC_DESC_INVALID
:
3624 return("DS sec desc invalid");
3626 case ERROR_DS_NO_DELETED_NAME
:
3627 return("DS no deleted name");
3629 case ERROR_DS_SUBREF_MUST_HAVE_PARENT
:
3630 return("DS subref must have parent");
3632 case ERROR_DS_NCNAME_MUST_BE_NC
:
3633 return("DS ncname must be nc");
3635 case ERROR_DS_CANT_ADD_SYSTEM_ONLY
:
3636 return("DS can't add system only");
3638 case ERROR_DS_CLASS_MUST_BE_CONCRETE
:
3639 return("DS class must be concrete");
3641 case ERROR_DS_INVALID_DMD
:
3642 return("DS invalid dmd");
3644 case ERROR_DS_OBJ_GUID_EXISTS
:
3645 return("DS obj GUID exists");
3647 case ERROR_DS_NOT_ON_BACKLINK
:
3648 return("DS not on backlink");
3650 case ERROR_DS_NO_CROSSREF_FOR_NC
:
3651 return("DS no crossref for nc");
3653 case ERROR_DS_SHUTTING_DOWN
:
3654 return("DS shutting down");
3656 case ERROR_DS_UNKNOWN_OPERATION
:
3657 return("DS unknown operation");
3659 case ERROR_DS_INVALID_ROLE_OWNER
:
3660 return("DS invalid role owner");
3662 case ERROR_DS_COULDNT_CONTACT_FSMO
:
3663 return("DS couldn't contact fsmo");
3665 case ERROR_DS_CROSS_NC_DN_RENAME
:
3666 return("DS cross nc dn rename");
3668 case ERROR_DS_CANT_MOD_SYSTEM_ONLY
:
3669 return("DS can't mod system only");
3671 case ERROR_DS_REPLICATOR_ONLY
:
3672 return("DS replicator only");
3674 case ERROR_DS_OBJ_CLASS_NOT_DEFINED
:
3675 return("DS obj class not defined");
3677 case ERROR_DS_OBJ_CLASS_NOT_SUBCLASS
:
3678 return("DS obj class not subclass");
3680 case ERROR_DS_NAME_REFERENCE_INVALID
:
3681 return("DS name reference invalid");
3683 case ERROR_DS_CROSS_REF_EXISTS
:
3684 return("DS cross ref exists");
3686 case ERROR_DS_CANT_DEL_MASTER_CROSSREF
:
3687 return("DS can't del master crossref");
3689 case ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD
:
3690 return("DS subtree notify not nc head");
3692 case ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX
:
3693 return("DS notify filter too complex");
3695 case ERROR_DS_DUP_RDN
:
3696 return("DS dup rdn");
3698 case ERROR_DS_DUP_OID
:
3699 return("DS dup oid");
3701 case ERROR_DS_DUP_MAPI_ID
:
3702 return("DS dup mapi ID");
3704 case ERROR_DS_DUP_SCHEMA_ID_GUID
:
3705 return("DS dup schema ID GUID");
3707 case ERROR_DS_DUP_LDAP_DISPLAY_NAME
:
3708 return("DS dup LDAP display name");
3710 case ERROR_DS_SEMANTIC_ATT_TEST
:
3711 return("DS semantic att test");
3713 case ERROR_DS_SYNTAX_MISMATCH
:
3714 return("DS syntax mismatch");
3716 case ERROR_DS_EXISTS_IN_MUST_HAVE
:
3717 return("DS exists in must have");
3719 case ERROR_DS_EXISTS_IN_MAY_HAVE
:
3720 return("DS exists in may have");
3722 case ERROR_DS_NONEXISTENT_MAY_HAVE
:
3723 return("DS nonexistent may have");
3725 case ERROR_DS_NONEXISTENT_MUST_HAVE
:
3726 return("DS nonexistent must have");
3728 case ERROR_DS_AUX_CLS_TEST_FAIL
:
3729 return("DS aux cls test fail");
3731 case ERROR_DS_NONEXISTENT_POSS_SUP
:
3732 return("DS nonexistent poss sup");
3734 case ERROR_DS_SUB_CLS_TEST_FAIL
:
3735 return("DS sub cls test fail");
3737 case ERROR_DS_BAD_RDN_ATT_ID_SYNTAX
:
3738 return("DS bad rdn att ID syntax");
3740 case ERROR_DS_EXISTS_IN_AUX_CLS
:
3741 return("DS exists in aux cls");
3743 case ERROR_DS_EXISTS_IN_SUB_CLS
:
3744 return("DS exists in sub cls");
3746 case ERROR_DS_EXISTS_IN_POSS_SUP
:
3747 return("DS exists in poss sup");
3749 case ERROR_DS_RECALCSCHEMA_FAILED
:
3750 return("DS recalcschema failed");
3752 case ERROR_DS_TREE_DELETE_NOT_FINISHED
:
3753 return("DS tree delete not finished");
3755 case ERROR_DS_CANT_DELETE
:
3756 return("DS can't delete");
3758 case ERROR_DS_ATT_SCHEMA_REQ_ID
:
3759 return("DS att schema req ID");
3761 case ERROR_DS_BAD_ATT_SCHEMA_SYNTAX
:
3762 return("DS bad att schema syntax");
3764 case ERROR_DS_CANT_CACHE_ATT
:
3765 return("DS can't cache att");
3767 case ERROR_DS_CANT_CACHE_CLASS
:
3768 return("DS can't cache class");
3770 case ERROR_DS_CANT_REMOVE_ATT_CACHE
:
3771 return("DS can't remove att cache");
3773 case ERROR_DS_CANT_REMOVE_CLASS_CACHE
:
3774 return("DS can't remove class cache");
3776 case ERROR_DS_CANT_RETRIEVE_DN
:
3777 return("DS can't retrieve DN");
3779 case ERROR_DS_MISSING_SUPREF
:
3780 return("DS missing supref");
3782 case ERROR_DS_CANT_RETRIEVE_INSTANCE
:
3783 return("DS can't retrieve instance");
3785 case ERROR_DS_CODE_INCONSISTENCY
:
3786 return("DS code inconsistency");
3788 case ERROR_DS_DATABASE_ERROR
:
3789 return("DS database error");
3791 case ERROR_DS_GOVERNSID_MISSING
:
3792 return("DS governsid missing");
3794 case ERROR_DS_MISSING_EXPECTED_ATT
:
3795 return("DS missing expected att");
3797 case ERROR_DS_NCNAME_MISSING_CR_REF
:
3798 return("DS ncname missing cr ref");
3800 case ERROR_DS_SECURITY_CHECKING_ERROR
:
3801 return("DS security checking error");
3803 case ERROR_DS_SCHEMA_NOT_LOADED
:
3804 return("DS schema not loaded");
3806 case ERROR_DS_SCHEMA_ALLOC_FAILED
:
3807 return("DS schema alloc failed");
3809 case ERROR_DS_ATT_SCHEMA_REQ_SYNTAX
:
3810 return("DS att schema req syntax");
3812 case ERROR_DS_GCVERIFY_ERROR
:
3813 return("DS gcverify error");
3815 case ERROR_DS_DRA_SCHEMA_MISMATCH
:
3816 return("DS dra schema mismatch");
3818 case ERROR_DS_CANT_FIND_DSA_OBJ
:
3819 return("DS can't find dsa obj");
3821 case ERROR_DS_CANT_FIND_EXPECTED_NC
:
3822 return("DS can't find expected nc");
3824 case ERROR_DS_CANT_FIND_NC_IN_CACHE
:
3825 return("DS can't find nc in cache");
3827 case ERROR_DS_CANT_RETRIEVE_CHILD
:
3828 return("DS can't retrieve child");
3830 case ERROR_DS_SECURITY_ILLEGAL_MODIFY
:
3831 return("DS security illegal modify");
3833 case ERROR_DS_CANT_REPLACE_HIDDEN_REC
:
3834 return("DS can't replace hidden rec");
3836 case ERROR_DS_BAD_HIERARCHY_FILE
:
3837 return("DS bad hierarchy file");
3839 case ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED
:
3840 return("DS build hierarchy table failed");
3842 case ERROR_DS_CONFIG_PARAM_MISSING
:
3843 return("DS config param missing");
3845 case ERROR_DS_COUNTING_AB_INDICES_FAILED
:
3846 return("DS counting ab indices failed");
3848 case ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED
:
3849 return("DS hierarchy table malloc failed");
3851 case ERROR_DS_INTERNAL_FAILURE
:
3852 return("DS internal failure");
3854 case ERROR_DS_UNKNOWN_ERROR
:
3855 return("DS unknown error");
3857 case ERROR_DS_ROOT_REQUIRES_CLASS_TOP
:
3858 return("DS root requires class top");
3860 case ERROR_DS_REFUSING_FSMO_ROLES
:
3861 return("DS refusing fmso roles");
3863 case ERROR_DS_MISSING_FSMO_SETTINGS
:
3864 return("DS missing fmso settings");
3866 case ERROR_DS_UNABLE_TO_SURRENDER_ROLES
:
3867 return("DS unable to surrender roles");
3869 case ERROR_DS_DRA_GENERIC
:
3870 return("DS dra generic");
3872 case ERROR_DS_DRA_INVALID_PARAMETER
:
3873 return("DS dra invalid parameter");
3875 case ERROR_DS_DRA_BUSY
:
3876 return("DS dra busy");
3878 case ERROR_DS_DRA_BAD_DN
:
3879 return("DS dra bad dn");
3881 case ERROR_DS_DRA_BAD_NC
:
3882 return("DS dra bad nc");
3884 case ERROR_DS_DRA_DN_EXISTS
:
3885 return("DS dra dn exists");
3887 case ERROR_DS_DRA_INTERNAL_ERROR
:
3888 return("DS dra internal error");
3890 case ERROR_DS_DRA_INCONSISTENT_DIT
:
3891 return("DS dra inconsistent dit");
3893 case ERROR_DS_DRA_CONNECTION_FAILED
:
3894 return("DS dra connection failed");
3896 case ERROR_DS_DRA_BAD_INSTANCE_TYPE
:
3897 return("DS dra bad instance type");
3899 case ERROR_DS_DRA_OUT_OF_MEM
:
3900 return("DS dra out of mem");
3902 case ERROR_DS_DRA_MAIL_PROBLEM
:
3903 return("DS dra mail problem");
3905 case ERROR_DS_DRA_REF_ALREADY_EXISTS
:
3906 return("DS dra ref already exists");
3908 case ERROR_DS_DRA_REF_NOT_FOUND
:
3909 return("DS dra ref not found");
3911 case ERROR_DS_DRA_OBJ_IS_REP_SOURCE
:
3912 return("DS dra obj is rep source");
3914 case ERROR_DS_DRA_DB_ERROR
:
3915 return("DS dra db error");
3917 case ERROR_DS_DRA_NO_REPLICA
:
3918 return("DS dra no replica");
3920 case ERROR_DS_DRA_ACCESS_DENIED
:
3921 return("DS dra access denied");
3923 case ERROR_DS_DRA_NOT_SUPPORTED
:
3924 return("DS dra not supported");
3926 case ERROR_DS_DRA_RPC_CANCELLED
:
3927 return("DS dra RPC cancelled");
3929 case ERROR_DS_DRA_SOURCE_DISABLED
:
3930 return("DS dra source disabled");
3932 case ERROR_DS_DRA_SINK_DISABLED
:
3933 return("DS dra sink disabled");
3935 case ERROR_DS_DRA_NAME_COLLISION
:
3936 return("DS dra name collision");
3938 case ERROR_DS_DRA_SOURCE_REINSTALLED
:
3939 return("DS dra source reinstalled");
3941 case ERROR_DS_DRA_MISSING_PARENT
:
3942 return("DS dra missing parent");
3944 case ERROR_DS_DRA_PREEMPTED
:
3945 return("DS dra preempted");
3947 case ERROR_DS_DRA_ABANDON_SYNC
:
3948 return("DS dra abandon sync");
3950 case ERROR_DS_DRA_SHUTDOWN
:
3951 return("DS dra shutdown");
3953 case ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET
:
3954 return("DS dra incompatible partial set");
3956 case ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA
:
3957 return("DS dra source is partial replica");
3959 case ERROR_DS_DRA_EXTN_CONNECTION_FAILED
:
3960 return("DS dra extn connection failed");
3962 case ERROR_DS_INSTALL_SCHEMA_MISMATCH
:
3963 return("DS install schema mismatch");
3965 case ERROR_DS_DUP_LINK_ID
:
3966 return("DS dup link ID");
3968 case ERROR_DS_NAME_ERROR_RESOLVING
:
3969 return("DS name error resolving");
3971 case ERROR_DS_NAME_ERROR_NOT_FOUND
:
3972 return("DS name error not found");
3974 case ERROR_DS_NAME_ERROR_NOT_UNIQUE
:
3975 return("DS name error not unique");
3977 case ERROR_DS_NAME_ERROR_NO_MAPPING
:
3978 return("DS name error no mapping");
3980 case ERROR_DS_NAME_ERROR_DOMAIN_ONLY
:
3981 return("DS name error domain only");
3983 case ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING
:
3984 return("DS name error no syntactical mapping");
3986 case ERROR_DS_CONSTRUCTED_ATT_MOD
:
3987 return("DS constructed att mod");
3989 case ERROR_DS_WRONG_OM_OBJ_CLASS
:
3990 return("DS wrong om obj class");
3992 case ERROR_DS_DRA_REPL_PENDING
:
3993 return("DS dra repl pending");
3995 case ERROR_DS_DS_REQUIRED
:
3996 return("DS ds required");
3998 case ERROR_DS_INVALID_LDAP_DISPLAY_NAME
:
3999 return("DS invalid LDAP display name");
4001 case ERROR_DS_NON_BASE_SEARCH
:
4002 return("DS non base search");
4004 case ERROR_DS_CANT_RETRIEVE_ATTS
:
4005 return("DS can't retrieve atts");
4007 case ERROR_DS_BACKLINK_WITHOUT_LINK
:
4008 return("DS backlink without link");
4010 case ERROR_DS_EPOCH_MISMATCH
:
4011 return("DS epoch mismatch");
4013 case ERROR_DS_SRC_NAME_MISMATCH
:
4014 return("DS src name mismatch");
4016 case ERROR_DS_SRC_AND_DST_NC_IDENTICAL
:
4017 return("DS src and dst nc identical");
4019 case ERROR_DS_DST_NC_MISMATCH
:
4020 return("DS dst nc mismatch");
4022 case ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC
:
4023 return("DS not authoritive for dst nc");
4025 case ERROR_DS_SRC_GUID_MISMATCH
:
4026 return("DS src GUID mismatch");
4028 case ERROR_DS_CANT_MOVE_DELETED_OBJECT
:
4029 return("DS can't move deleted object");
4031 case ERROR_DS_PDC_OPERATION_IN_PROGRESS
:
4032 return("DS pdc operation in progress");
4034 case ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD
:
4035 return("DS cross domain cleanup reqd");
4037 case ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION
:
4038 return("DS illegal xdom move operation");
4040 case ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS
:
4041 return("DS can't with acct group membershps");
4043 case ERROR_DS_NC_MUST_HAVE_NC_PARENT
:
4044 return("DS nc must have nc parent");
4046 case ERROR_DS_DST_DOMAIN_NOT_NATIVE
:
4047 return("DS dst domain not native");
4049 case ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER
:
4050 return("DS missing infrastructure container");
4052 case ERROR_DS_CANT_MOVE_ACCOUNT_GROUP
:
4053 return("DS can't move account group");
4055 case ERROR_DS_CANT_MOVE_RESOURCE_GROUP
:
4056 return("DS can't move resource group");
4058 case ERROR_DS_INVALID_SEARCH_FLAG
:
4059 return("DS invalid search flag");
4061 case ERROR_DS_NO_TREE_DELETE_ABOVE_NC
:
4062 return("DS no tree delete above nc");
4064 case ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE
:
4065 return("DS couldn't lock tree for delete");
4067 case ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE
:
4068 return("DS couldn't identify objects for tree delete");
4070 case ERROR_DS_SAM_INIT_FAILURE
:
4071 return("DS sam init failure");
4073 case ERROR_DS_SENSITIVE_GROUP_VIOLATION
:
4074 return("DS sensitive group violation");
4076 case ERROR_DS_CANT_MOD_PRIMARYGROUPID
:
4077 return("DS can't mod primarygroupid");
4079 case ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD
:
4080 return("DS illegal base schema mod");
4082 case ERROR_DS_NONSAFE_SCHEMA_CHANGE
:
4083 return("DS nonsafe schema change");
4085 case ERROR_DS_SCHEMA_UPDATE_DISALLOWED
:
4086 return("DS schema update disallowed");
4088 case ERROR_DS_CANT_CREATE_UNDER_SCHEMA
:
4089 return("DS can't create under schema");
4091 case ERROR_DS_INSTALL_NO_SRC_SCH_VERSION
:
4092 return("DS install no src sch version");
4094 case ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE
:
4095 return("DS install no sch version in inifile");
4097 case ERROR_DS_INVALID_GROUP_TYPE
:
4098 return("DS invalid group type");
4100 case ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
:
4101 return("DS no nest globalgroup in mixeddomain");
4103 case ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
:
4104 return("DS no nest localgroup in mixeddomain");
4106 case ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
:
4107 return("DS global can't have local member");
4109 case ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
:
4110 return("DS global can't have universal member");
4112 case ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
:
4113 return("DS universal can't have local member");
4115 case ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
:
4116 return("DS global can't have crossdomain member");
4118 case ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
:
4119 return("DS local can't have crossdomain local member");
4121 case ERROR_DS_HAVE_PRIMARY_MEMBERS
:
4122 return("DS have primary members");
4124 case ERROR_DS_STRING_SD_CONVERSION_FAILED
:
4125 return("DS string sd conversion failed");
4127 case ERROR_DS_NAMING_MASTER_GC
:
4128 return("DS naming master gc");
4130 case ERROR_DS_LOOKUP_FAILURE
:
4131 return("DS lookup failure");
4133 case ERROR_DS_COULDNT_UPDATE_SPNS
:
4134 return("DS couldn't update spns");
4136 case ERROR_DS_CANT_RETRIEVE_SD
:
4137 return("DS can't retrieve sd");
4139 case ERROR_DS_KEY_NOT_UNIQUE
:
4140 return("DS key not unique");
4142 case ERROR_DS_WRONG_LINKED_ATT_SYNTAX
:
4143 return("DS wrong linked att syntax");
4145 case ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD
:
4146 return("DS sam need bootkey password");
4148 case ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY
:
4149 return("DS sam need bootkey floppy");
4151 case ERROR_DS_CANT_START
:
4152 return("DS can't start");
4154 case ERROR_DS_INIT_FAILURE
:
4155 return("DS init failure");
4157 case ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION
:
4158 return("DS no pkt privacy on connection");
4160 case ERROR_DS_SOURCE_DOMAIN_IN_FOREST
:
4161 return("DS source domain in forest");
4163 case ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST
:
4164 return("DS destination domain not in forest");
4166 case ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED
:
4167 return("DS destination auditing not enabled");
4169 case ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN
:
4170 return("DS can't find dc for src domain");
4172 case ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER
:
4173 return("DS src obj not group or user");
4175 case ERROR_DS_SRC_SID_EXISTS_IN_FOREST
:
4176 return("DS src sid exists in forest");
4178 case ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH
:
4179 return("DS src and dst object class mismatch");
4181 case ERROR_SAM_INIT_FAILURE
:
4182 return("Sam init failure");
4184 case ERROR_DS_DRA_SCHEMA_INFO_SHIP
:
4185 return("DS dra schema info ship");
4187 case ERROR_DS_DRA_SCHEMA_CONFLICT
:
4188 return("DS dra schema conflict");
4190 case ERROR_DS_DRA_EARLIER_SCHEMA_CONLICT
:
4191 return("DS dra earlier schema conflict");
4193 case ERROR_DS_DRA_OBJ_NC_MISMATCH
:
4194 return("DS dra obj nc mismatch");
4196 case ERROR_DS_NC_STILL_HAS_DSAS
:
4197 return("DS nc still has dsas");
4199 case ERROR_DS_GC_REQUIRED
:
4200 return("DS gc required");
4202 case ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
:
4203 return("DS local member of local only");
4205 case ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS
:
4206 return("DS no fpo in universal groups");
4208 case ERROR_DS_CANT_ADD_TO_GC
:
4209 return("DS can't add to gc");
4211 case ERROR_DS_NO_CHECKPOINT_WITH_PDC
:
4212 return("DS no checkpoint with pdc");
4214 case ERROR_DS_SOURCE_AUDITING_NOT_ENABLED
:
4215 return("DS source auditing not enabled");
4217 case ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC
:
4218 return("DS can't create in nondomain nc");
4220 case ERROR_DS_INVALID_NAME_FOR_SPN
:
4221 return("DS invalid name for spn");
4223 case ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS
:
4224 return("DS filter uses constructed attrs");
4226 case ERROR_DS_UNICODEPWD_NOT_IN_QUOTES
:
4227 return("DS unicodepwd not in quotes");
4229 case ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
:
4230 return("DS machine account quota exceeded");
4232 case ERROR_DS_MUST_BE_RUN_ON_DST_DC
:
4233 return("DS must be run on dst dc");
4235 case ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER
:
4236 return("DS src dc must be sp4 or greater");
4238 case ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ
:
4239 return("DS can't tree delete critical obj");
4241 case ERROR_DS_INIT_FAILURE_CONSOLE
:
4242 return("DS init failure console");
4244 case ERROR_DS_SAM_INIT_FAILURE_CONSOLE
:
4245 return("DS sam init failure console");
4247 case ERROR_DS_FOREST_VERSION_TOO_HIGH
:
4248 return("DS forest version too high");
4250 case ERROR_DS_DOMAIN_VERSION_TOO_HIGH
:
4251 return("DS domain version too high");
4253 case ERROR_DS_FOREST_VERSION_TOO_LOW
:
4254 return("DS forest version too low");
4256 case ERROR_DS_DOMAIN_VERSION_TOO_LOW
:
4257 return("DS domain version too low");
4259 case ERROR_DS_INCOMPATIBLE_VERSION
:
4260 return("DS incompatible version");
4262 case ERROR_DS_LOW_DSA_VERSION
:
4263 return("DS low dsa version");
4265 case ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN
:
4266 return("DS no behaviour version in mixeddomain");
4268 case ERROR_DS_NOT_SUPPORTED_SORT_ORDER
:
4269 return("DS not supported sort order");
4271 case ERROR_DS_NAME_NOT_UNIQUE
:
4272 return("DS name not unique");
4274 case ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4
:
4275 return("DS machine account created prent4");
4277 case ERROR_DS_OUT_OF_VERSION_STORE
:
4278 return("DS out of version store");
4280 case ERROR_DS_INCOMPATIBLE_CONTROLS_USED
:
4281 return("DS incompatible controls used");
4283 case ERROR_DS_NO_REF_DOMAIN
:
4284 return("DS no ref domain");
4286 case ERROR_DS_RESERVED_LINK_ID
:
4287 return("DS reserved link ID");
4289 case ERROR_DS_LINK_ID_NOT_AVAILABLE
:
4290 return("DS link ID not available");
4292 case ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
:
4293 return("DS ag can't have universal member");
4295 case ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE
:
4296 return("DS modifydn disallowed by instance type");
4298 case ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC
:
4299 return("DS no object move in schema nc");
4301 case ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG
:
4302 return("DS modifydn disallowed by flag");
4304 case ERROR_DS_MODIFYDN_WRONG_GRANDPARENT
:
4305 return("DS modifydn wrong grandparent");
4307 case ERROR_DS_NAME_ERROR_TRUST_REFERRAL
:
4308 return("DS name error trust referral");
4310 case ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER
:
4311 return("Not supported on standard server");
4313 case ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD
:
4314 return("DS can't access remote part of ad");
4316 case ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE
:
4317 return("DS cr impossible to validate");
4319 case ERROR_DS_THREAD_LIMIT_EXCEEDED
:
4320 return("DS thread limit exceeded");
4322 case ERROR_DS_NOT_CLOSEST
:
4323 return("DS not closest");
4325 case ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF
:
4326 return("DS can't derive spn without server ref");
4328 case ERROR_DS_SINGLE_USER_MODE_FAILED
:
4329 return("DS single user mode failed");
4331 case ERROR_DS_NTDSCRIPT_SYNTAX_ERROR
:
4332 return("DS ntdscript syntax error");
4334 case ERROR_DS_NTDSCRIPT_PROCESS_ERROR
:
4335 return("DS ntdscript process error");
4337 case ERROR_DS_DIFFERENT_REPL_EPOCHS
:
4338 return("DS different repl epochs");
4340 case ERROR_DS_DRS_EXTENSIONS_CHANGED
:
4341 return("DS drs extensions changed");
4343 case ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR
:
4344 return("DS replica set change not allowed on disabled cr");
4346 case ERROR_DS_NO_MSDS_INTID
:
4347 return("DS no msds intid");
4349 case ERROR_DS_DUP_MSDS_INTID
:
4350 return("DS dup msds intid");
4352 case ERROR_DS_EXISTS_IN_RDNATTID
:
4353 return("DS exists in rdnattid");
4355 case ERROR_DS_AUTHORIZATION_FAILED
:
4356 return("DS authorisation failed");
4358 case ERROR_DS_INVALID_SCRIPT
:
4359 return("DS invalid script");
4361 case ERROR_DS_REMOTE_CROSSREF_OP_FAILED
:
4362 return("DS remote crossref op failed");
4364 case DNS_ERROR_RCODE_FORMAT_ERROR
:
4365 return("DNS error rcode format error");
4367 case DNS_ERROR_RCODE_SERVER_FAILURE
:
4368 return("DNS error rcode server failure");
4370 case DNS_ERROR_RCODE_NAME_ERROR
:
4371 return("DNS error rcode name error");
4373 case DNS_ERROR_RCODE_NOT_IMPLEMENTED
:
4374 return("DNS error rcode not implemented");
4376 case DNS_ERROR_RCODE_REFUSED
:
4377 return("DNS error rcode refused");
4379 case DNS_ERROR_RCODE_YXDOMAIN
:
4380 return("DNS error rcode yxdomain");
4382 case DNS_ERROR_RCODE_YXRRSET
:
4383 return("DNS error rcode yxrrset");
4385 case DNS_ERROR_RCODE_NXRRSET
:
4386 return("DNS error rcode nxrrset");
4388 case DNS_ERROR_RCODE_NOTAUTH
:
4389 return("DNS error rcode notauth");
4391 case DNS_ERROR_RCODE_NOTZONE
:
4392 return("DNS error rcode notzone");
4394 case DNS_ERROR_RCODE_BADSIG
:
4395 return("DNS error rcode badsig");
4397 case DNS_ERROR_RCODE_BADKEY
:
4398 return("DNS error rcode badkey");
4400 case DNS_ERROR_RCODE_BADTIME
:
4401 return("DNS error rcode badtime");
4403 case DNS_INFO_NO_RECORDS
:
4404 return("DNS info no records");
4406 case DNS_ERROR_BAD_PACKET
:
4407 return("DNS error bad packet");
4409 case DNS_ERROR_NO_PACKET
:
4410 return("DNS error no packet");
4412 case DNS_ERROR_RCODE
:
4413 return("DNS error rcode");
4415 case DNS_ERROR_UNSECURE_PACKET
:
4416 return("DNS error unsecure packet");
4418 case DNS_ERROR_INVALID_TYPE
:
4419 return("DNS error invalid type");
4421 case DNS_ERROR_INVALID_IP_ADDRESS
:
4422 return("DNS error invalid IP address");
4424 case DNS_ERROR_INVALID_PROPERTY
:
4425 return("DNS error invalid property");
4427 case DNS_ERROR_TRY_AGAIN_LATER
:
4428 return("DNS error try again later");
4430 case DNS_ERROR_NOT_UNIQUE
:
4431 return("DNS error not unique");
4433 case DNS_ERROR_NON_RFC_NAME
:
4434 return("DNS error non RFC name");
4436 case DNS_STATUS_FQDN
:
4437 return("DNS status FQDN");
4439 case DNS_STATUS_DOTTED_NAME
:
4440 return("DNS status dotted name");
4442 case DNS_STATUS_SINGLE_PART_NAME
:
4443 return("DNS status single part name");
4445 case DNS_ERROR_INVALID_NAME_CHAR
:
4446 return("DNS error invalid name char");
4448 case DNS_ERROR_NUMERIC_NAME
:
4449 return("DNS error numeric name");
4451 case DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER
:
4452 return("DNS error not allowed on root server");
4454 case DNS_ERROR_ZONE_DOES_NOT_EXIST
:
4455 return("DNS error zone does not exist");
4457 case DNS_ERROR_NO_ZONE_INFO
:
4458 return("DNS error not zone info");
4460 case DNS_ERROR_INVALID_ZONE_OPERATION
:
4461 return("DNS error invalid zone operation");
4463 case DNS_ERROR_ZONE_CONFIGURATION_ERROR
:
4464 return("DNS error zone configuration error");
4466 case DNS_ERROR_ZONE_HAS_NO_SOA_RECORD
:
4467 return("DNS error zone has not SOA record");
4469 case DNS_ERROR_ZONE_HAS_NO_NS_RECORDS
:
4470 return("DNS error zone has no NS records");
4472 case DNS_ERROR_ZONE_LOCKED
:
4473 return("DNS error zone locked");
4475 case DNS_ERROR_ZONE_CREATION_FAILED
:
4476 return("DNS error zone creation failed");
4478 case DNS_ERROR_ZONE_ALREADY_EXISTS
:
4479 return("DNS error zone already exists");
4481 case DNS_ERROR_AUTOZONE_ALREADY_EXISTS
:
4482 return("DNS error autozone already exists");
4484 case DNS_ERROR_INVALID_ZONE_TYPE
:
4485 return("DNS error invalid zone type");
4487 case DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP
:
4488 return("DNS error secondary requires master IP");
4490 case DNS_ERROR_ZONE_NOT_SECONDARY
:
4491 return("DNS error zone not secondary");
4493 case DNS_ERROR_NEED_SECONDARY_ADDRESSES
:
4494 return("DNS error need secondary addresses");
4496 case DNS_ERROR_WINS_INIT_FAILED
:
4497 return("DNS error wins init failed");
4499 case DNS_ERROR_NEED_WINS_SERVERS
:
4500 return("DNS error need wins servers");
4502 case DNS_ERROR_NBSTAT_INIT_FAILED
:
4503 return("DNS error nbstat init failed");
4505 case DNS_ERROR_SOA_DELETE_INVALID
:
4506 return("DNS error SOA delete invalid");
4508 case DNS_ERROR_FORWARDER_ALREADY_EXISTS
:
4509 return("DNS error forwarder already exists");
4511 case DNS_ERROR_ZONE_REQUIRES_MASTER_IP
:
4512 return("DNS error zone requires master IP");
4514 case DNS_ERROR_ZONE_IS_SHUTDOWN
:
4515 return("DNS error zone is shutdown");
4517 case DNS_ERROR_PRIMARY_REQUIRES_DATAFILE
:
4518 return("DNS error primary requires datafile");
4520 case DNS_ERROR_INVALID_DATAFILE_NAME
:
4521 return("DNS error invalid datafile name");
4523 case DNS_ERROR_DATAFILE_OPEN_FAILURE
:
4524 return("DNS error datafile open failure");
4526 case DNS_ERROR_FILE_WRITEBACK_FAILED
:
4527 return("DNS error file writeback failed");
4529 case DNS_ERROR_DATAFILE_PARSING
:
4530 return("DNS error datafile parsing");
4532 case DNS_ERROR_RECORD_DOES_NOT_EXIST
:
4533 return("DNS error record does not exist");
4535 case DNS_ERROR_RECORD_FORMAT
:
4536 return("DNS error record format");
4538 case DNS_ERROR_NODE_CREATION_FAILED
:
4539 return("DNS error node creation failed");
4541 case DNS_ERROR_UNKNOWN_RECORD_TYPE
:
4542 return("DNS error unknown record type");
4544 case DNS_ERROR_RECORD_TIMED_OUT
:
4545 return("DNS error record timed out");
4547 case DNS_ERROR_NAME_NOT_IN_ZONE
:
4548 return("DNS error name not in zone");
4550 case DNS_ERROR_CNAME_LOOP
:
4551 return("DNS error CNAME loop");
4553 case DNS_ERROR_NODE_IS_CNAME
:
4554 return("DNS error node is CNAME");
4556 case DNS_ERROR_CNAME_COLLISION
:
4557 return("DNS error CNAME collision");
4559 case DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT
:
4560 return("DNS error record only at zone root");
4562 case DNS_ERROR_RECORD_ALREADY_EXISTS
:
4563 return("DNS error record already exists");
4565 case DNS_ERROR_SECONDARY_DATA
:
4566 return("DNS error secondary data");
4568 case DNS_ERROR_NO_CREATE_CACHE_DATA
:
4569 return("DNS error no create cache data");
4571 case DNS_ERROR_NAME_DOES_NOT_EXIST
:
4572 return("DNS error name does not exist");
4574 case DNS_WARNING_PTR_CREATE_FAILED
:
4575 return("DNS warning PTR create failed");
4577 case DNS_WARNING_DOMAIN_UNDELETED
:
4578 return("DNS warning domain undeleted");
4580 case DNS_ERROR_DS_UNAVAILABLE
:
4581 return("DNS error ds unavailable");
4583 case DNS_ERROR_DS_ZONE_ALREADY_EXISTS
:
4584 return("DNS error ds zone already exists");
4586 case DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE
:
4587 return("DNS error no bootfile if ds zone");
4589 case DNS_INFO_AXFR_COMPLETE
:
4590 return("DNS info AXFR complete");
4592 case DNS_ERROR_AXFR
:
4593 return("DNS error AXFR");
4595 case DNS_INFO_ADDED_LOCAL_WINS
:
4596 return("DNS info added local wins");
4598 case DNS_STATUS_CONTINUE_NEEDED
:
4599 return("DNS status continue needed");
4601 case DNS_ERROR_NO_TCPIP
:
4602 return("DNS error no TCPIP");
4604 case DNS_ERROR_NO_DNS_SERVERS
:
4605 return("DNS error no DNS servers");
4607 case DNS_ERROR_DP_DOES_NOT_EXIST
:
4608 return("DNS error dp does not exist");
4610 case DNS_ERROR_DP_ALREADY_EXISTS
:
4611 return("DNS error dp already exists");
4613 case DNS_ERROR_DP_NOT_ENLISTED
:
4614 return("DNS error dp not enlisted");
4616 case DNS_ERROR_DP_ALREADY_ENLISTED
:
4617 return("DNS error dp already enlisted");
4620 return("interrupted");
4623 return("Bad file number");
4626 return("Access denied");
4629 return("Bad address");
4632 return("Invalid arguments");
4635 return("Too many open files");
4637 case WSAEWOULDBLOCK
:
4638 return("Operation on non-blocking socket would block");
4640 case WSAEINPROGRESS
:
4641 return("Operation in progress");
4644 return("Operation already in progress");
4647 return("The descriptor is not a socket");
4649 case WSAEDESTADDRREQ
:
4650 return("Destination address required");
4653 return("Message too long");
4656 return("Protocol wrong type for socket");
4658 case WSAENOPROTOOPT
:
4659 return("Protocol option not supported");
4661 case WSAEPROTONOSUPPORT
:
4662 return("Protocol not supported");
4664 case WSAESOCKTNOSUPPORT
:
4665 return("Socket not supported");
4668 return("Operation not supported");
4670 case WSAEPFNOSUPPORT
:
4671 return("Protocol family not supported");
4673 case WSAEAFNOSUPPORT
:
4674 return("An address incompatible with the requested protocol was used");
4677 return("Address already in use");
4679 case WSAEADDRNOTAVAIL
:
4680 return("The requested address is not valid in this context");
4683 return("Network subsystem is down");
4685 case WSAENETUNREACH
:
4686 return("Network is unreachable");
4689 return("Connection broken, keep-alive detected a problem");
4691 case WSAECONNABORTED
:
4692 return("An established connection was aborted in your host machine.");
4695 return("Connection reset by peer");
4698 return("Not enough buffer space is available");
4701 return("Socket is already connected");
4704 return("The socket is not connected");
4707 return("The socket has been shut down");
4709 case WSAETOOMANYREFS
:
4710 return("Too many references: cannot splice");
4713 return("Connection timed out");
4715 case WSAECONNREFUSED
:
4716 return("Connection refused");
4719 return("Too many symbolic links encountered");
4721 case WSAENAMETOOLONG
:
4722 return("File name too long");
4725 return("Host is down");
4727 case WSAEHOSTUNREACH
:
4728 return("No route to host");
4731 return("Directory not empty");
4737 return("Too many users");
4740 return("Quota exceeded");
4743 return("Stale NFS file handle");
4746 return("Object is remote");
4748 case WSASYSNOTREADY
:
4749 return("SYSNOTREADY");
4751 case WSAVERNOTSUPPORTED
:
4752 return("VERNOTSUPPORTED");
4754 case WSANOTINITIALISED
:
4755 return("Winsock not initialised");
4764 return("Operation canceled");
4766 case WSAEINVALIDPROCTABLE
:
4767 return("EINVALIDPROCTABLE");
4769 case WSAEINVALIDPROVIDER
:
4770 return("EINVALIDPROVIDER");
4772 case WSAEPROVIDERFAILEDINIT
:
4773 return("EPROVIDERFAILEDINIT");
4775 case WSASYSCALLFAILURE
:
4776 return("System call failed");
4778 case WSASERVICE_NOT_FOUND
:
4779 return("SERVICE_NOT_FOUND");
4781 case WSATYPE_NOT_FOUND
:
4782 return("TYPE_NOT_FOUND");
4785 return("E_NO_MORE");
4787 case WSA_E_CANCELLED
:
4788 return("E_CANCELLED");
4793 case WSAHOST_NOT_FOUND
:
4794 return("No such host is known");
4797 return("A temporary error occurred on an authoritative name server. Try again later.");
4799 case WSANO_RECOVERY
:
4800 return("No recovery");
4805 case WSA_QOS_RECEIVERS
:
4806 return("QOS receivers");
4808 case WSA_QOS_SENDERS
:
4809 return("QOS senders");
4811 case WSA_QOS_NO_SENDERS
:
4812 return("QOS no senders");
4814 case WSA_QOS_NO_RECEIVERS
:
4815 return("QOS no receivers");
4817 case WSA_QOS_REQUEST_CONFIRMED
:
4818 return("QOS request confirmed");
4820 case WSA_QOS_ADMISSION_FAILURE
:
4821 return("QOS admission failure");
4823 case WSA_QOS_POLICY_FAILURE
:
4824 return("QOS policy failure");
4826 case WSA_QOS_BAD_STYLE
:
4827 return("QOS bad style");
4829 case WSA_QOS_BAD_OBJECT
:
4830 return("QOS bad object");
4832 case WSA_QOS_TRAFFIC_CTRL_ERROR
:
4833 return("QOS traffic ctrl error");
4835 case WSA_QOS_GENERIC_ERROR
:
4836 return("QOS generic error");
4838 case WSA_QOS_ESERVICETYPE
:
4839 return("QOS eservicetype");
4841 case WSA_QOS_EFLOWSPEC
:
4842 return("QOS eflowspec");
4844 case WSA_QOS_EPROVSPECBUF
:
4845 return("QOS eprovspecbuf");
4847 case WSA_QOS_EFILTERSTYLE
:
4848 return("QOS efilterstyle");
4850 case WSA_QOS_EFILTERTYPE
:
4851 return("QOS efiltertype");
4853 case WSA_QOS_EFILTERCOUNT
:
4854 return("QOS efiltercount");
4856 case WSA_QOS_EOBJLENGTH
:
4857 return("QOS eobjlength");
4859 case WSA_QOS_EFLOWCOUNT
:
4860 return("QOS eflowcount");
4862 case WSA_QOS_EUNKNOWNPSOBJ
:
4863 return("QOS eunknownpsobj");
4865 case WSA_QOS_EPOLICYOBJ
:
4866 return("QOS epolicyobj");
4868 case WSA_QOS_EFLOWDESC
:
4869 return("QOS eflowdesc");
4871 case WSA_QOS_EPSFLOWSPEC
:
4872 return("QOS epsflowspec");
4874 case WSA_QOS_EPSFILTERSPEC
:
4875 return("QOS epsfilterspec");
4877 case WSA_QOS_ESDMODEOBJ
:
4878 return("QOS esdmodeobj");
4880 case WSA_QOS_ESHAPERATEOBJ
:
4881 return("QOS eshaperateobj");
4883 case WSA_QOS_RESERVED_PETYPE
:
4884 return("QOS reserved petype");
4886 case ERROR_IPSEC_QM_POLICY_EXISTS
:
4887 return("IPSEC qm policy exists");
4889 case ERROR_IPSEC_QM_POLICY_NOT_FOUND
:
4890 return("IPSEC qm policy not found");
4892 case ERROR_IPSEC_QM_POLICY_IN_USE
:
4893 return("IPSEC qm policy in use");
4895 case ERROR_IPSEC_MM_POLICY_EXISTS
:
4896 return("IPSEC mm policy exists");
4898 case ERROR_IPSEC_MM_POLICY_NOT_FOUND
:
4899 return("IPSEC mm policy not found");
4901 case ERROR_IPSEC_MM_POLICY_IN_USE
:
4902 return("IPSEC mm policy in use");
4904 case ERROR_IPSEC_MM_FILTER_EXISTS
:
4905 return("IPSEC mm filter exists");
4907 case ERROR_IPSEC_MM_FILTER_NOT_FOUND
:
4908 return("IPSEC mm filter not found");
4910 case ERROR_IPSEC_TRANSPORT_FILTER_EXISTS
:
4911 return("IPSEC transport filter exists");
4913 case ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND
:
4914 return("IPSEC transport filter not found");
4916 case ERROR_IPSEC_MM_AUTH_EXISTS
:
4917 return("IPSEC mm auth exists");
4919 case ERROR_IPSEC_MM_AUTH_NOT_FOUND
:
4920 return("IPSEC mm auth not found");
4922 case ERROR_IPSEC_MM_AUTH_IN_USE
:
4923 return("IPSEC mm auth in use");
4925 case ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND
:
4926 return("IPSEC default mm policy not found");
4928 case ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND
:
4929 return("IPSEC default mm auth not found");
4931 case ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND
:
4932 return("IPSEC default qm policy not found");
4934 case ERROR_IPSEC_TUNNEL_FILTER_EXISTS
:
4935 return("IPSEC tunnel filter exists");
4937 case ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND
:
4938 return("IPSEC tunnel filter not found");
4940 case ERROR_IPSEC_MM_FILTER_PENDING_DELETION
:
4941 return("IPSEC mm filter pending deletion");
4943 case ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION
:
4944 return("IPSEC transport filter pending deletion");
4946 case ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION
:
4947 return("IPSEC tunnel filter pending deletion");
4949 case ERROR_IPSEC_MM_POLICY_PENDING_DELETION
:
4950 return("IPSEC mm policy pending deletion");
4952 case ERROR_IPSEC_MM_AUTH_PENDING_DELETION
:
4953 return("IPSEC mm auth pending deletion");
4955 case ERROR_IPSEC_QM_POLICY_PENDING_DELETION
:
4956 return("IPSEC qm policy pending deletion");
4958 case ERROR_IPSEC_IKE_AUTH_FAIL
:
4959 return("IPSEC IKE auth fail");
4961 case ERROR_IPSEC_IKE_ATTRIB_FAIL
:
4962 return("IPSEC IKE attrib fail");
4964 case ERROR_IPSEC_IKE_NEGOTIATION_PENDING
:
4965 return("IPSEC IKE negotiation pending");
4967 case ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR
:
4968 return("IPSEC IKE general processing error");
4970 case ERROR_IPSEC_IKE_TIMED_OUT
:
4971 return("IPSEC IKE timed out");
4973 case ERROR_IPSEC_IKE_NO_CERT
:
4974 return("IPSEC IKE no cert");
4976 case ERROR_IPSEC_IKE_SA_DELETED
:
4977 return("IPSEC IKE sa deleted");
4979 case ERROR_IPSEC_IKE_SA_REAPED
:
4980 return("IPSEC IKE sa reaped");
4982 case ERROR_IPSEC_IKE_MM_ACQUIRE_DROP
:
4983 return("IPSEC IKE mm acquire drop");
4985 case ERROR_IPSEC_IKE_QM_ACQUIRE_DROP
:
4986 return("IPSEC IKE qm acquire drop");
4988 case ERROR_IPSEC_IKE_QUEUE_DROP_MM
:
4989 return("IPSEC IKE queue drop mm");
4991 case ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM
:
4992 return("IPSEC IKE queue drop no mm");
4994 case ERROR_IPSEC_IKE_DROP_NO_RESPONSE
:
4995 return("IPSEC IKE drop no response");
4997 case ERROR_IPSEC_IKE_MM_DELAY_DROP
:
4998 return("IPSEC IKE mm delay drop");
5000 case ERROR_IPSEC_IKE_QM_DELAY_DROP
:
5001 return("IPSEC IKE qm delay drop");
5003 case ERROR_IPSEC_IKE_ERROR
:
5004 return("IPSEC IKE error");
5006 case ERROR_IPSEC_IKE_CRL_FAILED
:
5007 return("IPSEC IKE crl failed");
5009 case ERROR_IPSEC_IKE_INVALID_KEY_USAGE
:
5010 return("IPSEC IKE invalid key usage");
5012 case ERROR_IPSEC_IKE_INVALID_CERT_TYPE
:
5013 return("IPSEC IKE invalid cert type");
5015 case ERROR_IPSEC_IKE_NO_PRIVATE_KEY
:
5016 return("IPSEC IKE no private key");
5018 case ERROR_IPSEC_IKE_DH_FAIL
:
5019 return("IPSEC IKE dh fail");
5021 case ERROR_IPSEC_IKE_INVALID_HEADER
:
5022 return("IPSEC IKE invalid header");
5024 case ERROR_IPSEC_IKE_NO_POLICY
:
5025 return("IPSEC IKE no policy");
5027 case ERROR_IPSEC_IKE_INVALID_SIGNATURE
:
5028 return("IPSEC IKE invalid signature");
5030 case ERROR_IPSEC_IKE_KERBEROS_ERROR
:
5031 return("IPSEC IKE kerberos error");
5033 case ERROR_IPSEC_IKE_NO_PUBLIC_KEY
:
5034 return("IPSEC IKE no public key");
5036 case ERROR_IPSEC_IKE_PROCESS_ERR
:
5037 return("IPSEC IKE process err");
5039 case ERROR_IPSEC_IKE_PROCESS_ERR_SA
:
5040 return("IPSEC IKE process err sa");
5042 case ERROR_IPSEC_IKE_PROCESS_ERR_PROP
:
5043 return("IPSEC IKE process err prop");
5045 case ERROR_IPSEC_IKE_PROCESS_ERR_TRANS
:
5046 return("IPSEC IKE process err trans");
5048 case ERROR_IPSEC_IKE_PROCESS_ERR_KE
:
5049 return("IPSEC IKE process err ke");
5051 case ERROR_IPSEC_IKE_PROCESS_ERR_ID
:
5052 return("IPSEC IKE process err ID");
5054 case ERROR_IPSEC_IKE_PROCESS_ERR_CERT
:
5055 return("IPSEC IKE process err cert");
5057 case ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ
:
5058 return("IPSEC IKE process err cert req");
5060 case ERROR_IPSEC_IKE_PROCESS_ERR_HASH
:
5061 return("IPSEC IKE process err hash");
5063 case ERROR_IPSEC_IKE_PROCESS_ERR_SIG
:
5064 return("IPSEC IKE process err sig");
5066 case ERROR_IPSEC_IKE_PROCESS_ERR_NONCE
:
5067 return("IPSEC IKE process err nonce");
5069 case ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY
:
5070 return("IPSEC IKE process err notify");
5072 case ERROR_IPSEC_IKE_PROCESS_ERR_DELETE
:
5073 return("IPSEC IKE process err delete");
5075 case ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR
:
5076 return("IPSEC IKE process err vendor");
5078 case ERROR_IPSEC_IKE_INVALID_PAYLOAD
:
5079 return("IPSEC IKE invalid payload");
5081 case ERROR_IPSEC_IKE_LOAD_SOFT_SA
:
5082 return("IPSEC IKE load soft sa");
5084 case ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN
:
5085 return("IPSEC IKE soft sa torn down");
5087 case ERROR_IPSEC_IKE_INVALID_COOKIE
:
5088 return("IPSEC IKE invalid cookie");
5090 case ERROR_IPSEC_IKE_NO_PEER_CERT
:
5091 return("IPSEC IKE no peer cert");
5093 case ERROR_IPSEC_IKE_PEER_CRL_FAILED
:
5094 return("IPSEC IKE peer CRL failed");
5096 case ERROR_IPSEC_IKE_POLICY_CHANGE
:
5097 return("IPSEC IKE policy change");
5099 case ERROR_IPSEC_IKE_NO_MM_POLICY
:
5100 return("IPSEC IKE no mm policy");
5102 case ERROR_IPSEC_IKE_NOTCBPRIV
:
5103 return("IPSEC IKE notcbpriv");
5105 case ERROR_IPSEC_IKE_SECLOADFAIL
:
5106 return("IPSEC IKE secloadfail");
5108 case ERROR_IPSEC_IKE_FAILSSPINIT
:
5109 return("IPSEC IKE failsspinit");
5111 case ERROR_IPSEC_IKE_FAILQUERYSSP
:
5112 return("IPSEC IKE failqueryssp");
5114 case ERROR_IPSEC_IKE_SRVACQFAIL
:
5115 return("IPSEC IKE srvacqfail");
5117 case ERROR_IPSEC_IKE_SRVQUERYCRED
:
5118 return("IPSEC IKE srvquerycred");
5120 case ERROR_IPSEC_IKE_GETSPIFAIL
:
5121 return("IPSEC IKE getspifail");
5123 case ERROR_IPSEC_IKE_INVALID_FILTER
:
5124 return("IPSEC IKE invalid filter");
5126 case ERROR_IPSEC_IKE_OUT_OF_MEMORY
:
5127 return("IPSEC IKE out of memory");
5129 case ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED
:
5130 return("IPSEC IKE add update key failed");
5132 case ERROR_IPSEC_IKE_INVALID_POLICY
:
5133 return("IPSEC IKE invalid policy");
5135 case ERROR_IPSEC_IKE_UNKNOWN_DOI
:
5136 return("IPSEC IKE unknown doi");
5138 case ERROR_IPSEC_IKE_INVALID_SITUATION
:
5139 return("IPSEC IKE invalid situation");
5141 case ERROR_IPSEC_IKE_DH_FAILURE
:
5142 return("IPSEC IKE dh failure");
5144 case ERROR_IPSEC_IKE_INVALID_GROUP
:
5145 return("IPSEC IKE invalid group");
5147 case ERROR_IPSEC_IKE_ENCRYPT
:
5148 return("IPSEC IKE encrypt");
5150 case ERROR_IPSEC_IKE_DECRYPT
:
5151 return("IPSEC IKE decrypt");
5153 case ERROR_IPSEC_IKE_POLICY_MATCH
:
5154 return("IPSEC IKE policy match");
5156 case ERROR_IPSEC_IKE_UNSUPPORTED_ID
:
5157 return("IPSEC IKE unsupported ID");
5159 case ERROR_IPSEC_IKE_INVALID_HASH
:
5160 return("IPSEC IKE invalid hash");
5162 case ERROR_IPSEC_IKE_INVALID_HASH_ALG
:
5163 return("IPSEC IKE invalid hash alg");
5165 case ERROR_IPSEC_IKE_INVALID_HASH_SIZE
:
5166 return("IPSEC IKE invalid hash size");
5168 case ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG
:
5169 return("IPSEC IKE invalid encrypt alg");
5171 case ERROR_IPSEC_IKE_INVALID_AUTH_ALG
:
5172 return("IPSEC IKE invalid auth alg");
5174 case ERROR_IPSEC_IKE_INVALID_SIG
:
5175 return("IPSEC IKE invalid sig");
5177 case ERROR_IPSEC_IKE_LOAD_FAILED
:
5178 return("IPSEC IKE load failed");
5180 case ERROR_IPSEC_IKE_RPC_DELETE
:
5181 return("IPSEC IKE rpc delete");
5183 case ERROR_IPSEC_IKE_BENIGN_REINIT
:
5184 return("IPSEC IKE benign reinit");
5186 case ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY
:
5187 return("IPSEC IKE invalid responder lifetime notify");
5189 case ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN
:
5190 return("IPSEC IKE invalid cert keylen");
5192 case ERROR_IPSEC_IKE_MM_LIMIT
:
5193 return("IPSEC IKE mm limit");
5195 case ERROR_IPSEC_IKE_NEGOTIATION_DISABLED
:
5196 return("IPSEC IKE negotiation disabled");
5198 case ERROR_IPSEC_IKE_NEG_STATUS_END
:
5199 return("IPSEC IKE neg status end");
5201 case ERROR_SXS_SECTION_NOT_FOUND
:
5202 return("Sxs section not found");
5204 case ERROR_SXS_CANT_GEN_ACTCTX
:
5205 return("Sxs can't gen actctx");
5207 case ERROR_SXS_INVALID_ACTCTXDATA_FORMAT
:
5208 return("Sxs invalid actctxdata format");
5210 case ERROR_SXS_ASSEMBLY_NOT_FOUND
:
5211 return("Sxs assembly not found");
5213 case ERROR_SXS_MANIFEST_FORMAT_ERROR
:
5214 return("Sxs manifest format error");
5216 case ERROR_SXS_MANIFEST_PARSE_ERROR
:
5217 return("Sxs manifest parse error");
5219 case ERROR_SXS_ACTIVATION_CONTEXT_DISABLED
:
5220 return("Sxs activation context disabled");
5222 case ERROR_SXS_KEY_NOT_FOUND
:
5223 return("Sxs key not found");
5225 case ERROR_SXS_VERSION_CONFLICT
:
5226 return("Sxs version conflict");
5228 case ERROR_SXS_WRONG_SECTION_TYPE
:
5229 return("Sxs wrong section type");
5231 case ERROR_SXS_THREAD_QUERIES_DISABLED
:
5232 return("Sxs thread queries disabled");
5234 case ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET
:
5235 return("Sxs process default already set");
5237 case ERROR_SXS_UNKNOWN_ENCODING_GROUP
:
5238 return("Sxs unknown encoding group");
5240 case ERROR_SXS_UNKNOWN_ENCODING
:
5241 return("Sxs unknown encoding");
5243 case ERROR_SXS_INVALID_XML_NAMESPACE_URI
:
5244 return("Sxs invalid XML namespace URI");
5246 case ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED
:
5247 return("Sxs root manifest dependency not installed");
5249 case ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED
:
5250 return("Sxs leaf manifest dependency not installed");
5252 case ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE
:
5253 return("Sxs invalid assembly indentity attribute");
5255 case ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE
:
5256 return("Sxs manifest missing required default namespace");
5258 case ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE
:
5259 return("Sxs manifest invalid required default namespace");
5261 case ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT
:
5262 return("Sxs private manifest cross path with reparse point");
5264 case ERROR_SXS_DUPLICATE_DLL_NAME
:
5265 return("Sxs duplicate dll name");
5267 case ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME
:
5268 return("Sxs duplicate windowclass name");
5270 case ERROR_SXS_DUPLICATE_CLSID
:
5271 return("Sxs duplicate clsid");
5273 case ERROR_SXS_DUPLICATE_IID
:
5274 return("Sxs duplicate iid");
5276 case ERROR_SXS_DUPLICATE_TLBID
:
5277 return("Sxs duplicate tlbid");
5279 case ERROR_SXS_DUPLICATE_PROGID
:
5280 return("Sxs duplicate progid");
5282 case ERROR_SXS_DUPLICATE_ASSEMBLY_NAME
:
5283 return("Sxs duplicate assembly name");
5285 case ERROR_SXS_FILE_HASH_MISMATCH
:
5286 return("Sxs file hash mismatch");
5288 case ERROR_SXS_POLICY_PARSE_ERROR
:
5289 return("Sxs policy parse error");
5291 case ERROR_SXS_XML_E_MISSINGQUOTE
:
5292 return("Sxs XML e missingquote");
5294 case ERROR_SXS_XML_E_COMMENTSYNTAX
:
5295 return("Sxs XML e commentsyntax");
5297 case ERROR_SXS_XML_E_BADSTARTNAMECHAR
:
5298 return("Sxs XML e badstartnamechar");
5300 case ERROR_SXS_XML_E_BADNAMECHAR
:
5301 return("Sxs XML e badnamechar");
5303 case ERROR_SXS_XML_E_BADCHARINSTRING
:
5304 return("Sxs XML e badcharinstring");
5306 case ERROR_SXS_XML_E_XMLDECLSYNTAX
:
5307 return("Sxs XML e xmldeclsyntax");
5309 case ERROR_SXS_XML_E_BADCHARDATA
:
5310 return("Sxs XML e badchardata");
5312 case ERROR_SXS_XML_E_MISSINGWHITESPACE
:
5313 return("Sxs XML e missingwhitespace");
5315 case ERROR_SXS_XML_E_EXPECTINGTAGEND
:
5316 return("Sxs XML e expectingtagend");
5318 case ERROR_SXS_XML_E_MISSINGSEMICOLON
:
5319 return("Sxs XML e missingsemicolon");
5321 case ERROR_SXS_XML_E_UNBALANCEDPAREN
:
5322 return("Sxs XML e unbalancedparen");
5324 case ERROR_SXS_XML_E_INTERNALERROR
:
5325 return("Sxs XML e internalerror");
5327 case ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE
:
5328 return("Sxs XML e unexpected whitespace");
5330 case ERROR_SXS_XML_E_INCOMPLETE_ENCODING
:
5331 return("Sxs XML e incomplete encoding");
5333 case ERROR_SXS_XML_E_MISSING_PAREN
:
5334 return("Sxs XML e missing paren");
5336 case ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE
:
5337 return("Sxs XML e expectingclosequote");
5339 case ERROR_SXS_XML_E_MULTIPLE_COLONS
:
5340 return("Sxs XML e multiple colons");
5342 case ERROR_SXS_XML_E_INVALID_DECIMAL
:
5343 return("Sxs XML e invalid decimal");
5345 case ERROR_SXS_XML_E_INVALID_HEXIDECIMAL
:
5346 return("Sxs XML e invalid hexidecimal");
5348 case ERROR_SXS_XML_E_INVALID_UNICODE
:
5349 return("Sxs XML e invalid unicode");
5351 case ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK
:
5352 return("Sxs XML e whitespaceorquestionmark");
5354 case ERROR_SXS_XML_E_UNEXPECTEDENDTAG
:
5355 return("Sxs XML e unexpectedendtag");
5357 case ERROR_SXS_XML_E_UNCLOSEDTAG
:
5358 return("Sxs XML e unclosedtag");
5360 case ERROR_SXS_XML_E_DUPLICATEATTRIBUTE
:
5361 return("Sxs XML e duplicateattribute");
5363 case ERROR_SXS_XML_E_MULTIPLEROOTS
:
5364 return("Sxs XML e multipleroots");
5366 case ERROR_SXS_XML_E_INVALIDATROOTLEVEL
:
5367 return("Sxs XML e invalidatrootlevel");
5369 case ERROR_SXS_XML_E_BADXMLDECL
:
5370 return("Sxs XML e badxmldecl");
5372 case ERROR_SXS_XML_E_MISSINGROOT
:
5373 return("Sxs XML e missingroot");
5375 case ERROR_SXS_XML_E_UNEXPECTEDEOF
:
5376 return("Sxs XML e unexpectedeof");
5378 case ERROR_SXS_XML_E_BADPEREFINSUBSET
:
5379 return("Sxs XML e badperefinsubset");
5381 case ERROR_SXS_XML_E_UNCLOSEDSTARTTAG
:
5382 return("Sxs XML e unclosedstarttag");
5384 case ERROR_SXS_XML_E_UNCLOSEDENDTAG
:
5385 return("Sxs XML e unclosedendtag");
5387 case ERROR_SXS_XML_E_UNCLOSEDSTRING
:
5388 return("Sxs XML e unclosedstring");
5390 case ERROR_SXS_XML_E_UNCLOSEDCOMMENT
:
5391 return("Sxs XML e unclosedcomment");
5393 case ERROR_SXS_XML_E_UNCLOSEDDECL
:
5394 return("Sxs XML e uncloseddecl");
5396 case ERROR_SXS_XML_E_UNCLOSEDCDATA
:
5397 return("Sxs XML e unclosedcdata");
5399 case ERROR_SXS_XML_E_RESERVEDNAMESPACE
:
5400 return("Sxs XML e reservednamespace");
5402 case ERROR_SXS_XML_E_INVALIDENCODING
:
5403 return("Sxs XML e invalidencoding");
5405 case ERROR_SXS_XML_E_INVALIDSWITCH
:
5406 return("Sxs XML e invalidswitch");
5408 case ERROR_SXS_XML_E_BADXMLCASE
:
5409 return("Sxs XML e badxmlcase");
5411 case ERROR_SXS_XML_E_INVALID_STANDALONE
:
5412 return("Sxs XML e invalid standalone");
5414 case ERROR_SXS_XML_E_UNEXPECTED_STANDALONE
:
5415 return("Sxs XML e unexpected standalone");
5417 case ERROR_SXS_XML_E_INVALID_VERSION
:
5418 return("Sxs XML e invalid version");
5420 case ERROR_SXS_XML_E_MISSINGEQUALS
:
5421 return("Sxs XML e missingequals");
5423 case ERROR_SXS_PROTECTION_RECOVERY_FAILED
:
5424 return("Sxs protection recovery failed");
5426 case ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT
:
5427 return("Sxs protection public key too short");
5429 case ERROR_SXS_PROTECTION_CATALOG_NOT_VALID
:
5430 return("Sxs protection catalog not valid");
5432 case ERROR_SXS_UNTRANSLATABLE_HRESULT
:
5433 return("Sxs untranslatable hresult");
5435 case ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING
:
5436 return("Sxs protection catalog file missing");
5438 case ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE
:
5439 return("Sxs missing assembly identity attribute");
5441 case ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME
:
5442 return("Sxs invalid assembly identity attribute name");
5445 return("Unknown error");