-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathgetError.ahk
4366 lines (4365 loc) · 234 KB
/
getError.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* getError(SystemErrorCode)
Adapted from:
https://www.codeproject.com/reference/800546/windows-system-error-codes
*/
getError(SystemErrorCode)
{
if SystemErrorCode == 0x0
return "The operation completed successfully."
else if SystemErrorCode == 0x1
return "Incorrect function."
else if SystemErrorCode == 0x2
return "The system cannot find the file specified."
else if SystemErrorCode == 0x3
return "The system cannot find the path specified."
else if SystemErrorCode == 0x4
return "The system cannot open the file."
else if SystemErrorCode == 0x5
return "Access is denied."
else if SystemErrorCode == 0x6
return "The handle is invalid."
else if SystemErrorCode == 0x7
return "The storage control blocks were destroyed."
else if SystemErrorCode == 0x8
return "Not enough storage is available to process this command."
else if SystemErrorCode == 0x9
return "The storage control block address is invalid."
else if SystemErrorCode == 0xA
return "The environment is incorrect."
else if SystemErrorCode == 0xB
return "An attempt was made to load a program with an incorrect format."
else if SystemErrorCode == 0xC
return "The access code is invalid."
else if SystemErrorCode == 0xD
return "The data is invalid."
else if SystemErrorCode == 0xE
return "Not enough storage is available to complete this operation."
else if SystemErrorCode == 0xF
return "The system cannot find the drive specified."
else if SystemErrorCode == 0x10
return "The directory cannot be removed."
else if SystemErrorCode == 0x11
return "The system cannot move the file to a different disk drive."
else if SystemErrorCode == 0x12
return "There are no more files."
else if SystemErrorCode == 0x13
return "The media is write protected."
else if SystemErrorCode == 0x14
return "The system cannot find the device specified."
else if SystemErrorCode == 0x15
return "The device is not ready."
else if SystemErrorCode == 0x16
return "The device does not recognize the command."
else if SystemErrorCode == 0x18
return "The program issued a command but the command length is incorrect."
else if SystemErrorCode == 0x19
return "The drive cannot locate a specific area or track on the disk."
else if SystemErrorCode == 0x1A
return "The specified disk or diskette cannot be accessed."
else if SystemErrorCode == 0x1B
return "The drive cannot find the sector requested."
else if SystemErrorCode == 0x1C
return "The printer is out of paper."
else if SystemErrorCode == 0x1D
return "The system cannot write to the specified device."
else if SystemErrorCode == 0x1E
return "The system cannot read from the specified device."
else if SystemErrorCode == 0x1F
return "A device attached to the system is not functioning."
else if SystemErrorCode == 0x20
return "The process cannot access the file because it is being used by another process."
else if SystemErrorCode == 0x21
return "The process cannot access the file because another process has locked a portion of the file."
else if SystemErrorCode == 0x24
return "Too many files opened for sharing."
else if SystemErrorCode == 0x26
return "Reached the end of the file."
else if SystemErrorCode == 0x27
return "The disk is full."
else if SystemErrorCode == 0x32
return "The request is not supported."
else if SystemErrorCode == 0x35
return "The network path was not found."
else if SystemErrorCode == 0x36
return "The network is busy."
else if SystemErrorCode == 0x37
return "The specified network resource or device is no longer available."
else if SystemErrorCode == 0x38
return "The network BIOS command limit has been reached."
else if SystemErrorCode == 0x39
return "A network adapter hardware error occurred."
else if SystemErrorCode == 0x3A
return "The specified server cannot perform the requested operation."
else if SystemErrorCode == 0x3B
return "An unexpected network error occurred."
else if SystemErrorCode == 0x3C
return "The remote adapter is not compatible."
else if SystemErrorCode == 0x3D
return "The printer queue is full."
else if SystemErrorCode == 0x3E
return "Space to store the file waiting to be printed is not available on the server."
else if SystemErrorCode == 0x3F
return "Your file waiting to be printed was deleted."
else if SystemErrorCode == 0x40
return "The specified network name is no longer available."
else if SystemErrorCode == 0x41
return "Network access is denied."
else if SystemErrorCode == 0x42
return "The network resource type is not correct."
else if SystemErrorCode == 0x43
return "The network name cannot be found."
else if SystemErrorCode == 0x44
return "The name limit for the local computer network adapter card was exceeded."
else if SystemErrorCode == 0x45
return "The network BIOS session limit was exceeded."
else if SystemErrorCode == 0x46
return "The remote server has been paused or is in the process of being started."
else if SystemErrorCode == 0x47
return "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."
else if SystemErrorCode == 0x48
return "The specified printer or disk device has been paused."
else if SystemErrorCode == 0x50
return "The file exists."
else if SystemErrorCode == 0x52
return "The directory or file cannot be created."
else if SystemErrorCode == 0x53
return "Fail on INT 24."
else if SystemErrorCode == 0x54
return "Storage to process this request is not available."
else if SystemErrorCode == 0x55
return "The local device name is already in use."
else if SystemErrorCode == 0x56
return "The specified network password is not correct."
else if SystemErrorCode == 0x57
return "The parameter is incorrect."
else if SystemErrorCode == 0x58
return "A write fault occurred on the network."
else if SystemErrorCode == 0x59
return "The system cannot start another process at this time."
else if SystemErrorCode == 0x64
return "Cannot create another system semaphore."
else if SystemErrorCode == 0x65
return "The exclusive semaphore is owned by another process."
else if SystemErrorCode == 0x66
return "The semaphore is set and cannot be closed."
else if SystemErrorCode == 0x67
return "The semaphore cannot be set again."
else if SystemErrorCode == 0x68
return "Cannot request exclusive semaphores at interrupt time."
else if SystemErrorCode == 0x69
return "The previous ownership of this semaphore has ended."
else if SystemErrorCode == 0x6B
return "The program stopped because an alternate diskette was not inserted."
else if SystemErrorCode == 0x6C
return "The disk is in use or locked by another process."
else if SystemErrorCode == 0x6D
return "The pipe has been ended."
else if SystemErrorCode == 0x6E
return "The system cannot open the device or file specified."
else if SystemErrorCode == 0x6F
return "The file name is too long."
else if SystemErrorCode == 0x70
return "There is not enough space on the disk."
else if SystemErrorCode == 0x71
return "No more internal file identifiers available."
else if SystemErrorCode == 0x72
return "The target internal file identifier is incorrect."
else if SystemErrorCode == 0x75
return "The IOCTL call made by the application program is not correct."
else if SystemErrorCode == 0x77
return "The system does not support the command requested."
else if SystemErrorCode == 0x78
return "This function is not supported on this system."
else if SystemErrorCode == 0x79
return "The semaphore timeout period has expired."
else if SystemErrorCode == 0x7A
return "The data area passed to a system call is too small."
else if SystemErrorCode == 0x7C
return "The system call level is not correct."
else if SystemErrorCode == 0x7D
return "The disk has no volume label."
else if SystemErrorCode == 0x7E
return "The specified module could not be found."
else if SystemErrorCode == 0x7F
return "The specified procedure could not be found."
else if SystemErrorCode == 0x80
return "There are no child processes to wait for."
else if SystemErrorCode == 0x83
return "An attempt was made to move the file pointer before the beginning of the file."
else if SystemErrorCode == 0x84
return "The file pointer cannot be set on the specified device or file."
else if SystemErrorCode == 0x85
return "A JOIN or SUBST command cannot be used for a drive that contains previously joined drives."
else if SystemErrorCode == 0x86
return "An attempt was made to use a JOIN or SUBST command on a drive that has already been joined."
else if SystemErrorCode == 0x87
return "An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted."
else if SystemErrorCode == 0x88
return "The system tried to delete the JOIN of a drive that is not joined."
else if SystemErrorCode == 0x89
return "The system tried to delete the substitution of a drive that is not substituted."
else if SystemErrorCode == 0x8A
return "The system tried to join a drive to a directory on a joined drive."
else if SystemErrorCode == 0x8B
return "The system tried to substitute a drive to a directory on a substituted drive."
else if SystemErrorCode == 0x8C
return "The system tried to join a drive to a directory on a substituted drive."
else if SystemErrorCode == 0x8D
return "The system tried to SUBST a drive to a directory on a joined drive."
else if SystemErrorCode == 0x8E
return "The system cannot perform a JOIN or SUBST at this time."
else if SystemErrorCode == 0x8F
return "The system cannot join or substitute a drive to or for a directory on the same drive."
else if SystemErrorCode == 0x90
return "The directory is not a subdirectory of the root directory."
else if SystemErrorCode == 0x91
return "The directory is not empty."
else if SystemErrorCode == 0x92
return "The path specified is being used in a substitute."
else if SystemErrorCode == 0x93
return "Not enough resources are available to process this command."
else if SystemErrorCode == 0x94
return "The path specified cannot be used at this time."
else if SystemErrorCode == 0x95
return "An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute."
else if SystemErrorCode == 0x97
return "The number of specified semaphore events for DosMuxSemWait is not correct."
else if SystemErrorCode == 0x99
return "The DosMuxSemWait list is not correct."
else if SystemErrorCode == 0x9A
return "The volume label you entered exceeds the label character limit of the target file system."
else if SystemErrorCode == 0x9B
return "Cannot create another thread."
else if SystemErrorCode == 0x9C
return "The recipient process has refused the signal."
else if SystemErrorCode == 0x9D
return "The segment is already discarded and cannot be locked."
else if SystemErrorCode == 0x9E
return "The segment is already unlocked."
else if SystemErrorCode == 0x9F
return "The address for the thread ID is not correct."
else if SystemErrorCode == 0xA0
return "One or more arguments are not correct."
else if SystemErrorCode == 0xA1
return "The specified path is invalid."
else if SystemErrorCode == 0xA2
return "A signal is already pending."
else if SystemErrorCode == 0xA4
return "No more threads can be created in the system."
else if SystemErrorCode == 0xA7
return "Unable to lock a region of a file."
else if SystemErrorCode == 0xAA
return "The requested resource is in use."
else if SystemErrorCode == 0xAD
return "A lock request was not outstanding for the supplied cancel region."
else if SystemErrorCode == 0xAE
return "The file system does not support atomic changes to the lock type."
else if SystemErrorCode == 0xB4
return "The system detected a segment number that was not correct."
else if SystemErrorCode == 0xB7
return "Cannot create a file when that file already exists."
else if SystemErrorCode == 0xBA
return "The flag passed is not correct."
else if SystemErrorCode == 0xBB
return "The specified system semaphore name was not found."
else if SystemErrorCode == 0xC4
return "The operating system cannot run this application program."
else if SystemErrorCode == 0xC5
return "The operating system is not presently configured to run this application."
else if SystemErrorCode == 0xC7
return "The operating system cannot run this application program."
else if SystemErrorCode == 0xC8
return "The code segment cannot be greater than or equal to 64K."
else if SystemErrorCode == 0xCB
return "The system could not find the environment option that was entered."
else if SystemErrorCode == 0xCD
return "No process in the command subtree has a signal handler."
else if SystemErrorCode == 0xCE
return "The filename or extension is too long."
else if SystemErrorCode == 0xCF
return "The ring 2 stack is in use."
else if SystemErrorCode == 0xD1
return "The signal being posted is not correct."
else if SystemErrorCode == 0xD2
return "The signal handler cannot be set."
else if SystemErrorCode == 0xD4
return "The segment is locked and cannot be reallocated."
else if SystemErrorCode == 0xD7
return "Cannot nest calls to LoadModule."
else if SystemErrorCode == 0xDC
return "This file is checked out or locked for editing by another user."
else if SystemErrorCode == 0xDD
return "The file must be checked out before saving changes."
else if SystemErrorCode == 0xDE
return "The file type being saved or retrieved has been blocked."
else if SystemErrorCode == 0xDF
return "The file size exceeds the limit allowed and cannot be saved."
else if SystemErrorCode == 0xE1
return "Operation did not complete successfully because the file contains a virus or potentially unwanted software."
else if SystemErrorCode == 0xE5
return "The pipe is local."
else if SystemErrorCode == 0xE6
return "The pipe state is invalid."
else if SystemErrorCode == 0xE7
return "All pipe instances are busy."
else if SystemErrorCode == 0xE8
return "The pipe is being closed."
else if SystemErrorCode == 0xE9
return "No process is on the other end of the pipe."
else if SystemErrorCode == 0xEA
return "More data is available."
else if SystemErrorCode == 0xF0
return "The session was canceled."
else if SystemErrorCode == 0xFE
return "The specified extended attribute name was invalid."
else if SystemErrorCode == 0xFF
return "The extended attributes are inconsistent."
else if SystemErrorCode == 0x102
return "The wait operation timed out."
else if SystemErrorCode == 0x103
return "No more data is available."
else if SystemErrorCode == 0x10A
return "The copy functions cannot be used."
else if SystemErrorCode == 0x10B
return "The directory name is invalid."
else if SystemErrorCode == 0x113
return "The extended attributes did not fit in the buffer."
else if SystemErrorCode == 0x114
return "The extended attribute file on the mounted file system is corrupt."
else if SystemErrorCode == 0x115
return "The extended attribute table file is full."
else if SystemErrorCode == 0x116
return "The specified extended attribute handle is invalid."
else if SystemErrorCode == 0x11A
return "The mounted file system does not support extended attributes."
else if SystemErrorCode == 0x120
return "Attempt to release mutex not owned by caller."
else if SystemErrorCode == 0x12A
return "Too many posts were made to a semaphore."
else if SystemErrorCode == 0x12B
return "Only part of a ReadProcessMemory or WriteProcessMemory request was completed."
else if SystemErrorCode == 0x12C
return "The oplock request is denied."
else if SystemErrorCode == 0x12D
return "An invalid oplock acknowledgment was received by the system."
else if SystemErrorCode == 0x12E
return "The volume is too fragmented to complete this operation."
else if SystemErrorCode == 0x12F
return "The file cannot be opened because it is in the process of being deleted."
else if SystemErrorCode == 0x130
return "Short name settings may not be changed on this volume due to the global registry setting."
else if SystemErrorCode == 0x131
return "Short names are not enabled on this volume."
else if SystemErrorCode == 0x132
return "The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volume."
else if SystemErrorCode == 0x133
return "A requested file lock operation cannot be processed due to an invalid byte range."
else if SystemErrorCode == 0x134
return "The subsystem needed to support the image type is not present."
else if SystemErrorCode == 0x135
return "The specified file already has a notification GUID associated with it."
else if SystemErrorCode == 0x136
return "An invalid exception handler routine has been detected."
else if SystemErrorCode == 0x137
return "Duplicate privileges were specified for the token."
else if SystemErrorCode == 0x138
return "No ranges for the specified operation were able to be processed."
else if SystemErrorCode == 0x139
return "Operation is not allowed on a file system internal file."
else if SystemErrorCode == 0x13A
return "The physical resources of this disk have been exhausted."
else if SystemErrorCode == 0x13B
return "The token representing the data is invalid."
else if SystemErrorCode == 0x13C
return "The device does not support the command feature."
else if SystemErrorCode == 0x13E
return "The scope specified was not found."
else if SystemErrorCode == 0x13F
return "The Central Access Policy specified is not defined on the target machine."
else if SystemErrorCode == 0x140
return "The Central Access Policy obtained from Active Directory is invalid."
else if SystemErrorCode == 0x141
return "The device is unreachable."
else if SystemErrorCode == 0x142
return "The target device has insufficient resources to complete the operation."
else if SystemErrorCode == 0x143
return "A data integrity checksum error occurred. Data in the file stream is corrupt."
else if SystemErrorCode == 0x148
return "The command specified an invalid field in its parameter list."
else if SystemErrorCode == 0x149
return "An operation is currently in progress with the device."
else if SystemErrorCode == 0x14A
return "An attempt was made to send down the command via an invalid path to the target device."
else if SystemErrorCode == 0x14B
return "The command specified a number of descriptors that exceeded the maximum supported by the device."
else if SystemErrorCode == 0x14C
return "Scrub is disabled on the specified file."
else if SystemErrorCode == 0x14D
return "The storage device does not provide redundancy."
else if SystemErrorCode == 0x14E
return "An operation is not supported on a resident file."
else if SystemErrorCode == 0x14F
return "An operation is not supported on a compressed file."
else if SystemErrorCode == 0x150
return "An operation is not supported on a directory."
else if SystemErrorCode == 0x151
return "The specified copy of the requested data could not be read."
else if SystemErrorCode == 0x15E
return "No action was taken as a system reboot is required."
else if SystemErrorCode == 0x15F
return "The shutdown operation failed."
else if SystemErrorCode == 0x160
return "The restart operation failed."
else if SystemErrorCode == 0x161
return "The maximum number of sessions has been reached."
else if SystemErrorCode == 0x190
return "The thread is already in background processing mode."
else if SystemErrorCode == 0x191
return "The thread is not in background processing mode."
else if SystemErrorCode == 0x192
return "The process is already in background processing mode."
else if SystemErrorCode == 0x193
return "The process is not in background processing mode."
else if SystemErrorCode == 0x1E7
return "Attempt to access invalid address."
else if SystemErrorCode == 0x1F4
return "User profile cannot be loaded."
else if SystemErrorCode == 0x216
return "Arithmetic result exceeded 32 bits."
else if SystemErrorCode == 0x217
return "There is a process on other end of the pipe."
else if SystemErrorCode == 0x218
return "Waiting for a process to open the other end of the pipe."
else if SystemErrorCode == 0x219
return "Application verifier has found an error in the current process."
else if SystemErrorCode == 0x21A
return "An error occurred in the ABIOS subsystem."
else if SystemErrorCode == 0x21B
return "A warning occurred in the WX86 subsystem."
else if SystemErrorCode == 0x21C
return "An error occurred in the WX86 subsystem."
else if SystemErrorCode == 0x21D
return "An attempt was made to cancel or set a timer that has an associated APC and the subject thread is not the thread that originally set the timer with an associated APC routine."
else if SystemErrorCode == 0x21E
return "Unwind exception code."
else if SystemErrorCode == 0x21F
return "An invalid or unaligned stack was encountered during an unwind operation."
else if SystemErrorCode == 0x220
return "An invalid unwind target was encountered during an unwind operation."
else if SystemErrorCode == 0x221
return "Invalid Object Attributes specified to NtCreatePort or invalid Port Attributes specified to NtConnectPort"
else if SystemErrorCode == 0x222
return "Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port."
else if SystemErrorCode == 0x223
return "An attempt was made to lower a quota limit below the current usage."
else if SystemErrorCode == 0x224
return "An attempt was made to attach to a device that was already attached to another device."
else if SystemErrorCode == 0x225
return "An attempt was made to execute an instruction at an unaligned address and the host system does not support unaligned instruction references."
else if SystemErrorCode == 0x226
return "Profiling not started."
else if SystemErrorCode == 0x227
return "Profiling not stopped."
else if SystemErrorCode == 0x228
return "The passed ACL did not contain the minimum required information."
else if SystemErrorCode == 0x229
return "The number of active profiling objects is at the maximum and no more may be started."
else if SystemErrorCode == 0x22F
return "A malformed function table was encountered during an unwind operation."
else if SystemErrorCode == 0x233
return "Indicates that the starting value for the LDT information was not an integral multiple of the selector size."
else if SystemErrorCode == 0x234
return "Indicates that the user supplied an invalid descriptor when trying to set up Ldt descriptors."
else if SystemErrorCode == 0x237
return "Page file quota was exceeded."
else if SystemErrorCode == 0x238
return "The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role."
else if SystemErrorCode == 0x239
return "The SAM database on a Windows Server is significantly out of synchronization with the copy on the Domain Controller. A complete synchronization is required."
else if SystemErrorCode == 0x245
return "A Windows Server has an incorrect configuration."
else if SystemErrorCode == 0x247
return "The Unicode character is not defined in the Unicode character set installed on the system."
else if SystemErrorCode == 0x248
return "The paging file cannot be created on a floppy diskette."
else if SystemErrorCode == 0x249
return "The system BIOS failed to connect a system interrupt to the device or bus for which the device is connected."
else if SystemErrorCode == 0x24A
return "This operation is only allowed for the Primary Domain Controller of the domain."
else if SystemErrorCode == 0x24B
return "An attempt was made to acquire a mutant such that its maximum count would have been exceeded."
else if SystemErrorCode == 0x24C
return "A volume has been accessed for which a file system driver is required that has not yet been loaded."
else if SystemErrorCode == 0x251
return "NTVDM encountered a hard error."
else if SystemErrorCode == 0x256
return "The stream is not a tiny stream."
else if SystemErrorCode == 0x257
return "The request must be handled by the stack overflow code."
else if SystemErrorCode == 0x258
return "Internal OFS status codes indicating how an allocation operation is handled. Either it is retried after the containing onode is moved or the extent stream is converted to a large stream."
else if SystemErrorCode == 0x259
return "The attempt to find the object found an object matching by ID on the volume but it is out of the scope of the handle used for the operation."
else if SystemErrorCode == 0x25A
return "The bucket array must be grown. Retry transaction after doing so."
else if SystemErrorCode == 0x25C
return "The supplied variant structure contains invalid data."
else if SystemErrorCode == 0x25F
return "The timer resolution was not previously set by the current process."
else if SystemErrorCode == 0x260
return "There is insufficient account information to log you on."
else if SystemErrorCode == 0x263
return "There is an IP address conflict with another system on the network."
else if SystemErrorCode == 0x264
return "There is an IP address conflict with another system on the network."
else if SystemErrorCode == 0x266
return "A callback return system service cannot be executed when no callback is active."
else if SystemErrorCode == 0x267
return "The password provided is too short to meet the policy of your user account. Please choose a longer password."
else if SystemErrorCode == 0x269
return "You have attempted to change your password to one that you have used in the past. The policy of your user account does not allow this. Please select a password that you have not previously used."
else if SystemErrorCode == 0x26A
return "The specified compression format is unsupported."
else if SystemErrorCode == 0x26B
return "The specified hardware profile configuration is invalid."
else if SystemErrorCode == 0x26C
return "The specified Plug and Play registry device path is invalid."
else if SystemErrorCode == 0x26D
return "The specified quota list is internally inconsistent with its descriptor."
else if SystemErrorCode == 0x271
return "The validation process needs to continue on to the next step."
else if SystemErrorCode == 0x272
return "There are no more matches for the current index enumeration."
else if SystemErrorCode == 0x273
return "The range could not be added to the range list because of a conflict."
else if SystemErrorCode == 0x274
return "The server process is running under a SID different than that required by client."
else if SystemErrorCode == 0x275
return "A group marked use for deny only cannot be enabled."
else if SystemErrorCode == 0x278
return "The requested interface is not supported."
else if SystemErrorCode == 0x27C
return "A device was removed so enumeration must be restarted."
else if SystemErrorCode == 0x27E
return "Device will not start without a reboot."
else if SystemErrorCode == 0x27F
return "There is not enough power to complete the requested operation."
else if SystemErrorCode == 0x280
return "ERROR_MULTIPLE_FAULT_VIOLATION"
else if SystemErrorCode == 0x281
return "The system is in the process of shutting down."
else if SystemErrorCode == 0x284
return "The specified range could not be found in the range list."
else if SystemErrorCode == 0x286
return "The driver was not loaded because the system is booting into safe mode."
else if SystemErrorCode == 0x287
return "The driver was not loaded because it failed its initialization call."
else if SystemErrorCode == 0x289
return "The create operation failed because the name contained at least one mount point which resolves to a volume to which the specified device object is not attached."
else if SystemErrorCode == 0x28A
return "The device object parameter is either not a valid device object or is not attached to the volume specified by the file name."
else if SystemErrorCode == 0x28B
return "A Machine Check Error has occurred. Please check the system eventlog for additional information."
else if SystemErrorCode == 0x28D
return "System hive size has exceeded its limit."
else if SystemErrorCode == 0x28E
return "The driver could not be loaded because a previous version of the driver is still in memory."
else if SystemErrorCode == 0x291
return "The password provided is too long to meet the policy of your user account. Please choose a shorter password."
else if SystemErrorCode == 0x299
return "The requested operation could not be completed due to a file system limitation."
else if SystemErrorCode == 0x29C
return "An assertion failure has occurred."
else if SystemErrorCode == 0x29D
return "An error occurred in the ACPI subsystem."
else if SystemErrorCode == 0x29E
return "WOW Assertion Error."
else if SystemErrorCode == 0x29F
return "A device is missing in the system BIOS MPS table. This device will not be used. Please contact your system vendor for system BIOS update."
else if SystemErrorCode == 0x2A0
return "A translator failed to translate resources."
else if SystemErrorCode == 0x2A1
return "A IRQ translator failed to translate resources."
else if SystemErrorCode == 0x2A9
return "The create operation stopped after reaching a symbolic link."
else if SystemErrorCode == 0x2AA
return "A long jump has been executed."
else if SystemErrorCode == 0x2AB
return "The Plug and Play query operation was not successful."
else if SystemErrorCode == 0x2AC
return "A frame consolidation has been executed."
else if SystemErrorCode == 0x2B0
return "Debugger did not handle the exception."
else if SystemErrorCode == 0x2B1
return "Debugger will reply later."
else if SystemErrorCode == 0x2B2
return "Debugger cannot provide handle."
else if SystemErrorCode == 0x2B3
return "Debugger terminated thread."
else if SystemErrorCode == 0x2B4
return "Debugger terminated process."
else if SystemErrorCode == 0x2B5
return "Debugger got control C."
else if SystemErrorCode == 0x2B6
return "Debugger printed exception on control C."
else if SystemErrorCode == 0x2B7
return "Debugger received RIP exception."
else if SystemErrorCode == 0x2B8
return "Debugger received control break."
else if SystemErrorCode == 0x2B9
return "Debugger command communication exception."
else if SystemErrorCode == 0x2CA
return "The specified registry key is referenced by a predefined handle."
else if SystemErrorCode == 0x2CF
return "ERROR_ALREADY_WIN32"
else if SystemErrorCode == 0x2D1
return "A yield execution was performed and no thread was available to run."
else if SystemErrorCode == 0x2D2
return "The resumable flag to a timer API was ignored."
else if SystemErrorCode == 0x2D3
return "The arbiter has deferred arbitration of these resources to its parent."
else if SystemErrorCode == 0x2D6
return "The system was put into hibernation."
else if SystemErrorCode == 0x2D7
return "The system was resumed from hibernation."
else if SystemErrorCode == 0x2DA
return "The system has awoken."
else if SystemErrorCode == 0x2DB
return "ERROR_WAIT_1"
else if SystemErrorCode == 0x2DC
return "ERROR_WAIT_2"
else if SystemErrorCode == 0x2DD
return "ERROR_WAIT_3"
else if SystemErrorCode == 0x2DE
return "ERROR_WAIT_63"
else if SystemErrorCode == 0x2DF
return "ERROR_ABANDONED_WAIT_0"
else if SystemErrorCode == 0x2E0
return "ERROR_ABANDONED_WAIT_63"
else if SystemErrorCode == 0x2E1
return "ERROR_USER_APC"
else if SystemErrorCode == 0x2E2
return "ERROR_KERNEL_APC"
else if SystemErrorCode == 0x2E3
return "ERROR_ALERTED"
else if SystemErrorCode == 0x2E4
return "The requested operation requires elevation."
else if SystemErrorCode == 0x2E5
return "A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link."
else if SystemErrorCode == 0x2E7
return "A new volume has been mounted by a file system."
else if SystemErrorCode == 0x2E9
return "This indicates that a notify change request has been completed due to closing the handle which made the notify change request."
else if SystemErrorCode == 0x2EB
return "Page fault was a transition fault."
else if SystemErrorCode == 0x2EC
return "Page fault was a demand zero fault."
else if SystemErrorCode == 0x2ED
return "Page fault was a demand zero fault."
else if SystemErrorCode == 0x2EE
return "Page fault was a demand zero fault."
else if SystemErrorCode == 0x2EF
return "Page fault was satisfied by reading from a secondary storage device."
else if SystemErrorCode == 0x2F0
return "Cached page was locked during operation."
else if SystemErrorCode == 0x2F1
return "Crash dump exists in paging file."
else if SystemErrorCode == 0x2F2
return "Specified buffer contains all zeros."
else if SystemErrorCode == 0x2F3
return "A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link."
else if SystemErrorCode == 0x2F5
return "The translator has translated these resources into the global space and no further translations should be performed."
else if SystemErrorCode == 0x2F6
return "A process being terminated has no threads to terminate."
else if SystemErrorCode == 0x2F7
return "The specified process is not part of a job."
else if SystemErrorCode == 0x2F8
return "The specified process is part of a job."
else if SystemErrorCode == 0x2FA
return "A file system or file system filter driver has successfully completed an FsFilter operation."
else if SystemErrorCode == 0x2FB
return "The specified interrupt vector was already connected."
else if SystemErrorCode == 0x2FC
return "The specified interrupt vector is still connected."
else if SystemErrorCode == 0x2FD
return "An operation is blocked waiting for an oplock."
else if SystemErrorCode == 0x2FE
return "Debugger handled exception."
else if SystemErrorCode == 0x2FF
return "Debugger continued."
else if SystemErrorCode == 0x300
return "An exception occurred in a user mode callback and the kernel callback frame should be removed."
else if SystemErrorCode == 0x301
return "Compression is disabled for this volume."
else if SystemErrorCode == 0x302
return "The data provider cannot fetch backwards through a result set."
else if SystemErrorCode == 0x303
return "The data provider cannot scroll backwards through a result set."
else if SystemErrorCode == 0x304
return "The data provider requires that previously fetched data is released before asking for more data."
else if SystemErrorCode == 0x305
return "The data provider was not able to interpret the flags set for a column binding in an accessor."
else if SystemErrorCode == 0x306
return "One or more errors occurred while processing the request."
else if SystemErrorCode == 0x307
return "The implementation is not capable of performing the request."
else if SystemErrorCode == 0x308
return "The client of a component requested an operation which is not valid given the state of the component instance."
else if SystemErrorCode == 0x309
return "A version number could not be parsed."
else if SystemErrorCode == 0x30B
return "The hardware has reported an uncorrectable memory error."
else if SystemErrorCode == 0x30C
return "The attempted operation required self healing to be enabled."
else if SystemErrorCode == 0x30D
return "The Desktop heap encountered an error while allocating session memory. There is more information in the system event log."
else if SystemErrorCode == 0x310
return "A thread is getting dispatched with MCA EXCEPTION because of MCA."
else if SystemErrorCode == 0x313
return "A valid hibernation file has been invalidated and should be abandoned."
else if SystemErrorCode == 0x317
return "The resources required for this device conflict with the MCFG table."
else if SystemErrorCode == 0x318
return "The volume repair could not be performed while it is online. Please schedule to take the volume offline so that it can be repaired."
else if SystemErrorCode == 0x319
return "The volume repair was not successful."
else if SystemErrorCode == 0x31B
return "One of the volume corruption logs is internally corrupted and needs to be recreated. The volume may contain undetected corruptions and must be scanned."
else if SystemErrorCode == 0x31C
return "One of the volume corruption logs is unavailable for being operated on."
else if SystemErrorCode == 0x31D
return "One of the volume corruption logs was deleted while still having corruption records in them. The volume contains detected corruptions and must be scanned."
else if SystemErrorCode == 0x31E
return "One of the volume corruption logs was cleared by chkdsk and no longer contains real corruptions."
else if SystemErrorCode == 0x31F
return "Orphaned files exist on the volume but could not be recovered because no more new names could be created in the recovery directory. Files must be moved from the recovery directory."
else if SystemErrorCode == 0x320
return "The oplock that was associated with this handle is now associated with a different handle."
else if SystemErrorCode == 0x321
return "An oplock of the requested level cannot be granted. An oplock of a lower level may be available."
else if SystemErrorCode == 0x322
return "The operation did not complete successfully because it would cause an oplock to be broken. The caller has requested that existing oplocks not be broken."
else if SystemErrorCode == 0x323
return "The handle with which this oplock was associated has been closed. The oplock is now broken."
else if SystemErrorCode == 0x326
return "Access to the specified file handle has been revoked."
else if SystemErrorCode == 0x327
return "An image file was mapped at a different address from the one specified in the image file but fixups will still be automatically performed on the image."
else if SystemErrorCode == 0x3E2
return "Access to the extended attribute was denied."
else if SystemErrorCode == 0x3E6
return "Invalid access to memory location."
else if SystemErrorCode == 0x3E7
return "Error performing inpage operation."
else if SystemErrorCode == 0x3EA
return "The window cannot act on the sent message."
else if SystemErrorCode == 0x3EB
return "Cannot complete this function."
else if SystemErrorCode == 0x3EC
return "Invalid flags."
else if SystemErrorCode == 0x3ED
return "The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupted."
else if SystemErrorCode == 0x3EE
return "The volume for a file has been externally altered so that the opened file is no longer valid."
else if SystemErrorCode == 0x3F0
return "An attempt was made to reference a token that does not exist."
else if SystemErrorCode == 0x3F1
return "The configuration registry database is corrupt."
else if SystemErrorCode == 0x3F2
return "The configuration registry key is invalid."
else if SystemErrorCode == 0x3F3
return "The configuration registry key could not be opened."
else if SystemErrorCode == 0x3F4
return "The configuration registry key could not be read."
else if SystemErrorCode == 0x3F5
return "The configuration registry key could not be written."
else if SystemErrorCode == 0x3F6
return "One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful."
else if SystemErrorCode == 0x3FA
return "Illegal operation attempted on a registry key that has been marked for deletion."
else if SystemErrorCode == 0x3FB
return "System could not allocate the required space in a registry log."
else if SystemErrorCode == 0x3FC
return "Cannot create a symbolic link in a registry key that already has subkeys or values."
else if SystemErrorCode == 0x3FD
return "Cannot create a stable subkey under a volatile parent key."
else if SystemErrorCode == 0x41B
return "A stop control has been sent to a service that other running services are dependent on."
else if SystemErrorCode == 0x41C
return "The requested control is not valid for this service."
else if SystemErrorCode == 0x41D
return "The service did not respond to the start or control request in a timely fashion."
else if SystemErrorCode == 0x41E
return "A thread could not be created for the service."
else if SystemErrorCode == 0x41F
return "The service database is locked."
else if SystemErrorCode == 0x420
return "An instance of the service is already running."
else if SystemErrorCode == 0x423
return "Circular service dependency was specified."
else if SystemErrorCode == 0x424
return "The specified service does not exist as an installed service."
else if SystemErrorCode == 0x425
return "The service cannot accept control messages at this time."
else if SystemErrorCode == 0x426
return "The service has not been started."
else if SystemErrorCode == 0x427
return "The service process could not connect to the service controller."
else if SystemErrorCode == 0x428
return "An exception occurred in the service when handling the control request."
else if SystemErrorCode == 0x429
return "The database specified does not exist."
else if SystemErrorCode == 0x42B
return "The process terminated unexpectedly."
else if SystemErrorCode == 0x42C
return "The dependency service or group failed to start."
else if SystemErrorCode == 0x42D
return "The service did not start due to a logon failure."
else if SystemErrorCode == 0x42F
return "The specified service database lock is invalid."
else if SystemErrorCode == 0x430
return "The specified service has been marked for deletion."
else if SystemErrorCode == 0x431
return "The specified service already exists."
else if SystemErrorCode == 0x433
return "The dependency service does not exist or has been marked for deletion."
else if SystemErrorCode == 0x435
return "No attempts to start the service have been made since the last boot."
else if SystemErrorCode == 0x436
return "The name is already in use as either a service name or a service display name."
else if SystemErrorCode == 0x437
return "The account specified for this service is different from the account specified for other services running in the same process."
else if SystemErrorCode == 0x43A
return "No recovery program has been configured for this service."
else if SystemErrorCode == 0x43B
return "The executable program that this service is configured to run in does not implement the service."
else if SystemErrorCode == 0x43C
return "This service cannot be started in Safe Mode."
else if SystemErrorCode == 0x44C
return "The physical end of the tape has been reached."
else if SystemErrorCode == 0x44D
return "A tape access reached a filemark."
else if SystemErrorCode == 0x44E
return "The beginning of the tape or a partition was encountered."
else if SystemErrorCode == 0x44F
return "A tape access reached the end of a set of files."
else if SystemErrorCode == 0x450
return "No more data is on the tape."
else if SystemErrorCode == 0x451
return "Tape could not be partitioned."
else if SystemErrorCode == 0x453
return "Tape partition information could not be found when loading a tape."
else if SystemErrorCode == 0x454
return "Unable to lock the media eject mechanism."
else if SystemErrorCode == 0x455
return "Unable to unload the media."
else if SystemErrorCode == 0x456
return "The media in the drive may have changed."
else if SystemErrorCode == 0x458
return "No media in drive."
else if SystemErrorCode == 0x45B
return "A system shutdown is in progress."
else if SystemErrorCode == 0x45C
return "Unable to abort the system shutdown because no shutdown was in progress."
else if SystemErrorCode == 0x45E
return "No serial device was successfully initialized. The serial driver will unload."
else if SystemErrorCode == 0x462
return "No ID address mark was found on the floppy disk."
else if SystemErrorCode == 0x463
return "Mismatch between the floppy disk sector ID field and the floppy disk controller track address."
else if SystemErrorCode == 0x464
return "The floppy disk controller reported an error that is not recognized by the floppy disk driver."
else if SystemErrorCode == 0x465
return "The floppy disk controller returned inconsistent results in its registers."
else if SystemErrorCode == 0x469
return "Physical end of tape encountered."
else if SystemErrorCode == 0x46A
return "Not enough server storage is available to process this command."
else if SystemErrorCode == 0x46B
return "A potential deadlock condition has been detected."
else if SystemErrorCode == 0x46C
return "The base address or the file offset specified does not have the proper alignment."
else if SystemErrorCode == 0x474
return "An attempt to change the system power state was vetoed by another application or driver."
else if SystemErrorCode == 0x475
return "The system BIOS failed an attempt to change the system power state."
else if SystemErrorCode == 0x476
return "An attempt was made to create more links on a file than the file system supports."
else if SystemErrorCode == 0x47E
return "The specified program requires a newer version of Windows."
else if SystemErrorCode == 0x480
return "Cannot start more than one instance of the specified program."
else if SystemErrorCode == 0x481
return "The specified program was written for an earlier version of Windows."
else if SystemErrorCode == 0x482
return "One of the library files needed to run this application is damaged."
else if SystemErrorCode == 0x483
return "No application is associated with the specified file for this operation."
else if SystemErrorCode == 0x484
return "An error occurred in sending the command to the application."
else if SystemErrorCode == 0x485
return "One of the library files needed to run this application cannot be found."
else if SystemErrorCode == 0x486
return "The current process has used all of its system allowance of handles for Window Manager objects."
else if SystemErrorCode == 0x487
return "The message can be used only with synchronous operations."
else if SystemErrorCode == 0x488
return "The indicated source element has no media."
else if SystemErrorCode == 0x489
return "The indicated destination element already contains media."
else if SystemErrorCode == 0x48A
return "The indicated element does not exist."
else if SystemErrorCode == 0x48B
return "The indicated element is part of a magazine that is not present."
else if SystemErrorCode == 0x48C
return "The indicated device requires reinitialization due to hardware errors."
else if SystemErrorCode == 0x48D
return "The device has indicated that cleaning is required before further operations are attempted."
else if SystemErrorCode == 0x48E
return "The device has indicated that its door is open."
else if SystemErrorCode == 0x48F
return "The device is not connected."
else if SystemErrorCode == 0x490
return "Element not found."
else if SystemErrorCode == 0x491
return "There was no match for the specified key in the index."
else if SystemErrorCode == 0x492
return "The property set specified does not exist on the object."
else if SystemErrorCode == 0x493
return "The point passed to GetMouseMovePoints is not in the buffer."
else if SystemErrorCode == 0x495
return "The Volume ID could not be found."
else if SystemErrorCode == 0x497
return "Unable to remove the file to be replaced."
else if SystemErrorCode == 0x498
return "Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name."
else if SystemErrorCode == 0x499
return "Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name."
else if SystemErrorCode == 0x49A
return "The volume change journal is being deleted."
else if SystemErrorCode == 0x49B
return "The volume change journal is not active."
else if SystemErrorCode == 0x49D
return "The journal entry has been deleted from the journal."
else if SystemErrorCode == 0x4A6
return "A system shutdown has already been scheduled."
else if SystemErrorCode == 0x4A7
return "The system shutdown cannot be initiated because there are other users logged on to the computer."
else if SystemErrorCode == 0x4B0
return "The specified device name is invalid."
else if SystemErrorCode == 0x4B1
return "The device is not currently connected but it is a remembered connection."
else if SystemErrorCode == 0x4B2
return "The local device name has a remembered connection to another network resource."
else if SystemErrorCode == 0x4B4
return "The specified network provider name is invalid."
else if SystemErrorCode == 0x4B5
return "Unable to open the network connection profile."
else if SystemErrorCode == 0x4B6
return "The network connection profile is corrupted."
else if SystemErrorCode == 0x4B7
return "Cannot enumerate a noncontainer."
else if SystemErrorCode == 0x4B8
return "An extended error has occurred."
else if SystemErrorCode == 0x4B9
return "The format of the specified group name is invalid."
else if SystemErrorCode == 0x4BA
return "The format of the specified computer name is invalid."
else if SystemErrorCode == 0x4BB
return "The format of the specified event name is invalid."
else if SystemErrorCode == 0x4BC
return "The format of the specified domain name is invalid."
else if SystemErrorCode == 0x4BD
return "The format of the specified service name is invalid."
else if SystemErrorCode == 0x4BE
return "The format of the specified network name is invalid."
else if SystemErrorCode == 0x4BF
return "The format of the specified share name is invalid."
else if SystemErrorCode == 0x4C0
return "The format of the specified password is invalid."
else if SystemErrorCode == 0x4C1
return "The format of the specified message name is invalid."
else if SystemErrorCode == 0x4C2
return "The format of the specified message destination is invalid."
else if SystemErrorCode == 0x4C5
return "The workgroup or domain name is already in use by another computer on the network."
else if SystemErrorCode == 0x4C6
return "The network is not present or not started."
else if SystemErrorCode == 0x4C7
return "The operation was canceled by the user."
else if SystemErrorCode == 0x4C9
return "The remote computer refused the network connection."
else if SystemErrorCode == 0x4CA
return "The network connection was gracefully closed."
else if SystemErrorCode == 0x4CB
return "The network transport endpoint already has an address associated with it."
else if SystemErrorCode == 0x4CC
return "An address has not yet been associated with the network endpoint."
else if SystemErrorCode == 0x4CD