PageRenderTime 205ms CodeModel.GetById 135ms app.highlight 38ms RepoModel.GetById 1ms app.codeStats 3ms

/binding/win32/winerror.d

http://github.com/wilkie/djehuty
D | 23301 lines | 2538 code | 2662 blank | 18101 comment | 0 complexity | c375a9c2080a5622a71d11e5c1621a98 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1/*
   2 * winerror.d
   3 *
   4 * This module binds WinError.h to D. The original copyright notice
   5 * is preserved below.
   6 *
   7 * Author: Dave Wilkinson
   8 * Originated: November 25th, 2009
   9 *
  10 */
  11
  12module binding.win32.winerror;
  13
  14/************************************************************************
  15*                                                                       *
  16*   winerror.h --  error code definitions for the Win32 API functions   *
  17*                                                                       *
  18*   Copyright (c) Microsoft Corp.  All rights reserved.                 *
  19*                                                                       *
  20************************************************************************/
  21
  22
  23//
  24//  Values are 32 bit values laid out as follows:
  25//
  26//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  27//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  28//  +---+-+-+-----------------------+-------------------------------+
  29//  |Sev|C|R|     Facility          |               Code            |
  30//  +---+-+-+-----------------------+-------------------------------+
  31//
  32//  where
  33//
  34//      Sev - is the severity code
  35//
  36//          00 - Success
  37//          01 - Informational
  38//          10 - Warning
  39//          11 - Error
  40//
  41//      C - is the Customer code flag
  42//
  43//      R - is a reserved bit
  44//
  45//      Facility - is the facility code
  46//
  47//      Code - is the facility's status code
  48//
  49//
  50// Define the facility codes
  51//
  52const auto FACILITY_WINRM = 51;
  53const auto FACILITY_WINDOWSUPDATE = 36;
  54const auto FACILITY_WINDOWS_DEFENDER = 80;
  55const auto FACILITY_WINDOWS_CE = 24;
  56const auto FACILITY_WINDOWS = 8;
  57const auto FACILITY_URT = 19;
  58const auto FACILITY_UMI = 22;
  59const auto FACILITY_TPM_SOFTWARE = 41;
  60const auto FACILITY_TPM_SERVICES = 40;
  61const auto FACILITY_SXS = 23;
  62const auto FACILITY_STORAGE = 3;
  63const auto FACILITY_STATE_MANAGEMENT = 34;
  64const auto FACILITY_SSPI = 9;
  65const auto FACILITY_SCARD = 16;
  66const auto FACILITY_SHELL = 39;
  67const auto FACILITY_SETUPAPI = 15;
  68const auto FACILITY_SECURITY = 9;
  69const auto FACILITY_RPC = 1;
  70const auto FACILITY_PLA = 48;
  71const auto FACILITY_WIN32 = 7;
  72const auto FACILITY_CONTROL = 10;
  73const auto FACILITY_NULL = 0;
  74const auto FACILITY_NDIS = 52;
  75const auto FACILITY_METADIRECTORY = 35;
  76const auto FACILITY_MSMQ = 14;
  77const auto FACILITY_MEDIASERVER = 13;
  78const auto FACILITY_INTERNET = 12;
  79const auto FACILITY_ITF = 4;
  80const auto FACILITY_USERMODE_HYPERVISOR = 53;
  81const auto FACILITY_HTTP = 25;
  82const auto FACILITY_GRAPHICS = 38;
  83const auto FACILITY_FWP = 50;
  84const auto FACILITY_FVE = 49;
  85const auto FACILITY_USERMODE_FILTER_MANAGER = 31;
  86const auto FACILITY_DPLAY = 21;
  87const auto FACILITY_DISPATCH = 2;
  88const auto FACILITY_DIRECTORYSERVICE = 37;
  89const auto FACILITY_CONFIGURATION = 33;
  90const auto FACILITY_COMPLUS = 17;
  91const auto FACILITY_USERMODE_COMMONLOG = 26;
  92const auto FACILITY_CMI = 54;
  93const auto FACILITY_CERT = 11;
  94const auto FACILITY_BACKGROUNDCOPY = 32;
  95const auto FACILITY_ACS = 20;
  96
  97const auto FACILITY_AAF = 18;
  98
  99//
 100// Define the severity codes
 101//
 102
 103
 104//
 105// MessageId: ERROR_SUCCESS
 106//
 107// MessageText:
 108//
 109// The operation completed successfully.
 110//
 111
 112const auto ERROR_SUCCESS = 0;
 113const auto NO_ERROR = 0;
 114
 115const auto SEC_E_OK = 0x00000000;
 116//
 117// MessageId: ERROR_INVALID_FUNCTION
 118//
 119// MessageText:
 120//
 121// Incorrect function.
 122//
 123
 124const auto ERROR_INVALID_FUNCTION = 1;
 125//
 126// MessageId: ERROR_FILE_NOT_FOUND
 127//
 128// MessageText:
 129//
 130// The system cannot find the file specified.
 131//
 132
 133const auto ERROR_FILE_NOT_FOUND = 2;
 134//
 135// MessageId: ERROR_PATH_NOT_FOUND
 136//
 137// MessageText:
 138//
 139// The system cannot find the path specified.
 140//
 141
 142const auto ERROR_PATH_NOT_FOUND = 3;
 143//
 144// MessageId: ERROR_TOO_MANY_OPEN_FILES
 145//
 146// MessageText:
 147//
 148// The system cannot open the file.
 149//
 150
 151const auto ERROR_TOO_MANY_OPEN_FILES = 4;
 152//
 153// MessageId: ERROR_ACCESS_DENIED
 154//
 155// MessageText:
 156//
 157// Access is denied.
 158//
 159
 160const auto ERROR_ACCESS_DENIED = 5;
 161//
 162// MessageId: ERROR_INVALID_HANDLE
 163//
 164// MessageText:
 165//
 166// The handle is invalid.
 167//
 168
 169const auto ERROR_INVALID_HANDLE = 6;
 170//
 171// MessageId: ERROR_ARENA_TRASHED
 172//
 173// MessageText:
 174//
 175// The storage control blocks were destroyed.
 176//
 177
 178const auto ERROR_ARENA_TRASHED = 7;
 179//
 180// MessageId: ERROR_NOT_ENOUGH_MEMORY
 181//
 182// MessageText:
 183//
 184// Not enough storage is available to process this command.
 185//
 186
 187const auto ERROR_NOT_ENOUGH_MEMORY = 8;
 188//
 189// MessageId: ERROR_INVALID_BLOCK
 190//
 191// MessageText:
 192//
 193// The storage control block address is invalid.
 194//
 195
 196const auto ERROR_INVALID_BLOCK = 9;
 197//
 198// MessageId: ERROR_BAD_ENVIRONMENT
 199//
 200// MessageText:
 201//
 202// The environment is incorrect.
 203//
 204
 205const auto ERROR_BAD_ENVIRONMENT = 10;
 206//
 207// MessageId: ERROR_BAD_FORMAT
 208//
 209// MessageText:
 210//
 211// An attempt was made to load a program with an incorrect format.
 212//
 213
 214const auto ERROR_BAD_FORMAT = 11;
 215//
 216// MessageId: ERROR_INVALID_ACCESS
 217//
 218// MessageText:
 219//
 220// The access code is invalid.
 221//
 222
 223const auto ERROR_INVALID_ACCESS = 12;
 224//
 225// MessageId: ERROR_INVALID_DATA
 226//
 227// MessageText:
 228//
 229// The data is invalid.
 230//
 231
 232const auto ERROR_INVALID_DATA = 13;
 233//
 234// MessageId: ERROR_OUTOFMEMORY
 235//
 236// MessageText:
 237//
 238// Not enough storage is available to complete this operation.
 239//
 240
 241const auto ERROR_OUTOFMEMORY = 14;
 242//
 243// MessageId: ERROR_INVALID_DRIVE
 244//
 245// MessageText:
 246//
 247// The system cannot find the drive specified.
 248//
 249
 250const auto ERROR_INVALID_DRIVE = 15;
 251//
 252// MessageId: ERROR_CURRENT_DIRECTORY
 253//
 254// MessageText:
 255//
 256// The directory cannot be removed.
 257//
 258
 259const auto ERROR_CURRENT_DIRECTORY = 16;
 260//
 261// MessageId: ERROR_NOT_SAME_DEVICE
 262//
 263// MessageText:
 264//
 265// The system cannot move the file to a different disk drive.
 266//
 267
 268const auto ERROR_NOT_SAME_DEVICE = 17;
 269//
 270// MessageId: ERROR_NO_MORE_FILES
 271//
 272// MessageText:
 273//
 274// There are no more files.
 275//
 276
 277const auto ERROR_NO_MORE_FILES = 18;
 278//
 279// MessageId: ERROR_WRITE_PROTECT
 280//
 281// MessageText:
 282//
 283// The media is write protected.
 284//
 285
 286const auto ERROR_WRITE_PROTECT = 19;
 287//
 288// MessageId: ERROR_BAD_UNIT
 289//
 290// MessageText:
 291//
 292// The system cannot find the device specified.
 293//
 294
 295const auto ERROR_BAD_UNIT = 20;
 296//
 297// MessageId: ERROR_NOT_READY
 298//
 299// MessageText:
 300//
 301// The device is not ready.
 302//
 303
 304const auto ERROR_NOT_READY = 21;
 305//
 306// MessageId: ERROR_BAD_COMMAND
 307//
 308// MessageText:
 309//
 310// The device does not recognize the command.
 311//
 312
 313const auto ERROR_BAD_COMMAND = 22;
 314//
 315// MessageId: ERROR_CRC
 316//
 317// MessageText:
 318//
 319// Data error (cyclic redundancy check).
 320//
 321
 322const auto ERROR_CRC = 23;
 323//
 324// MessageId: ERROR_BAD_LENGTH
 325//
 326// MessageText:
 327//
 328// The program issued a command but the command length is incorrect.
 329//
 330
 331const auto ERROR_BAD_LENGTH = 24;
 332//
 333// MessageId: ERROR_SEEK
 334//
 335// MessageText:
 336//
 337// The drive cannot locate a specific area or track on the disk.
 338//
 339
 340const auto ERROR_SEEK = 25;
 341//
 342// MessageId: ERROR_NOT_DOS_DISK
 343//
 344// MessageText:
 345//
 346// The specified disk or diskette cannot be accessed.
 347//
 348
 349const auto ERROR_NOT_DOS_DISK = 26;
 350//
 351// MessageId: ERROR_SECTOR_NOT_FOUND
 352//
 353// MessageText:
 354//
 355// The drive cannot find the sector requested.
 356//
 357
 358const auto ERROR_SECTOR_NOT_FOUND = 27;
 359//
 360// MessageId: ERROR_OUT_OF_PAPER
 361//
 362// MessageText:
 363//
 364// The printer is out of paper.
 365//
 366
 367const auto ERROR_OUT_OF_PAPER = 28;
 368//
 369// MessageId: ERROR_WRITE_FAULT
 370//
 371// MessageText:
 372//
 373// The system cannot write to the specified device.
 374//
 375
 376const auto ERROR_WRITE_FAULT = 29;
 377//
 378// MessageId: ERROR_READ_FAULT
 379//
 380// MessageText:
 381//
 382// The system cannot read from the specified device.
 383//
 384
 385const auto ERROR_READ_FAULT = 30;
 386//
 387// MessageId: ERROR_GEN_FAILURE
 388//
 389// MessageText:
 390//
 391// A device attached to the system is not functioning.
 392//
 393
 394const auto ERROR_GEN_FAILURE = 31;
 395//
 396// MessageId: ERROR_SHARING_VIOLATION
 397//
 398// MessageText:
 399//
 400// The process cannot access the file because it is being used by another process.
 401//
 402
 403const auto ERROR_SHARING_VIOLATION = 32;
 404//
 405// MessageId: ERROR_LOCK_VIOLATION
 406//
 407// MessageText:
 408//
 409// The process cannot access the file because another process has locked a portion of the file.
 410//
 411
 412const auto ERROR_LOCK_VIOLATION = 33;
 413//
 414// MessageId: ERROR_WRONG_DISK
 415//
 416// MessageText:
 417//
 418// The wrong diskette is in the drive.
 419// Insert %2 (Volume Serial Number: %3) into drive %1.
 420//
 421
 422const auto ERROR_WRONG_DISK = 34;
 423//
 424// MessageId: ERROR_SHARING_BUFFER_EXCEEDED
 425//
 426// MessageText:
 427//
 428// Too many files opened for sharing.
 429//
 430
 431const auto ERROR_SHARING_BUFFER_EXCEEDED = 36;
 432//
 433// MessageId: ERROR_HANDLE_EOF
 434//
 435// MessageText:
 436//
 437// Reached the end of the file.
 438//
 439
 440const auto ERROR_HANDLE_EOF = 38;
 441//
 442// MessageId: ERROR_HANDLE_DISK_FULL
 443//
 444// MessageText:
 445//
 446// The disk is full.
 447//
 448
 449const auto ERROR_HANDLE_DISK_FULL = 39;
 450//
 451// MessageId: ERROR_NOT_SUPPORTED
 452//
 453// MessageText:
 454//
 455// The request is not supported.
 456//
 457
 458const auto ERROR_NOT_SUPPORTED = 50;
 459//
 460// MessageId: ERROR_REM_NOT_LIST
 461//
 462// MessageText:
 463//
 464// Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy or turned off. If Windows still cannot find the network path, contact your network administrator.
 465//
 466
 467const auto ERROR_REM_NOT_LIST = 51;
 468//
 469// MessageId: ERROR_DUP_NAME
 470//
 471// MessageText:
 472//
 473// You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Panel to change the computer name and try again.  If joining a workgroup, choose another workgroup name.
 474//
 475
 476const auto ERROR_DUP_NAME = 52;
 477//
 478// MessageId: ERROR_BAD_NETPATH
 479//
 480// MessageText:
 481//
 482// The network path was not found.
 483//
 484
 485const auto ERROR_BAD_NETPATH = 53;
 486//
 487// MessageId: ERROR_NETWORK_BUSY
 488//
 489// MessageText:
 490//
 491// The network is busy.
 492//
 493
 494const auto ERROR_NETWORK_BUSY = 54;
 495//
 496// MessageId: ERROR_DEV_NOT_EXIST
 497//
 498// MessageText:
 499//
 500// The specified network resource or device is no longer available.
 501//
 502
 503const auto ERROR_DEV_NOT_EXIST = 55;
 504//
 505// MessageId: ERROR_TOO_MANY_CMDS
 506//
 507// MessageText:
 508//
 509// The network BIOS command limit has been reached.
 510//
 511
 512const auto ERROR_TOO_MANY_CMDS = 56;
 513//
 514// MessageId: ERROR_ADAP_HDW_ERR
 515//
 516// MessageText:
 517//
 518// A network adapter hardware error occurred.
 519//
 520
 521const auto ERROR_ADAP_HDW_ERR = 57;
 522//
 523// MessageId: ERROR_BAD_NET_RESP
 524//
 525// MessageText:
 526//
 527// The specified server cannot perform the requested operation.
 528//
 529
 530const auto ERROR_BAD_NET_RESP = 58;
 531//
 532// MessageId: ERROR_UNEXP_NET_ERR
 533//
 534// MessageText:
 535//
 536// An unexpected network error occurred.
 537//
 538
 539const auto ERROR_UNEXP_NET_ERR = 59;
 540//
 541// MessageId: ERROR_BAD_REM_ADAP
 542//
 543// MessageText:
 544//
 545// The remote adapter is not compatible.
 546//
 547
 548const auto ERROR_BAD_REM_ADAP = 60;
 549//
 550// MessageId: ERROR_PRINTQ_FULL
 551//
 552// MessageText:
 553//
 554// The printer queue is full.
 555//
 556
 557const auto ERROR_PRINTQ_FULL = 61;
 558//
 559// MessageId: ERROR_NO_SPOOL_SPACE
 560//
 561// MessageText:
 562//
 563// Space to store the file waiting to be printed is not available on the server.
 564//
 565
 566const auto ERROR_NO_SPOOL_SPACE = 62;
 567//
 568// MessageId: ERROR_PRINT_CANCELLED
 569//
 570// MessageText:
 571//
 572// Your file waiting to be printed was deleted.
 573//
 574
 575const auto ERROR_PRINT_CANCELLED = 63;
 576//
 577// MessageId: ERROR_NETNAME_DELETED
 578//
 579// MessageText:
 580//
 581// The specified network name is no longer available.
 582//
 583
 584const auto ERROR_NETNAME_DELETED = 64;
 585//
 586// MessageId: ERROR_NETWORK_ACCESS_DENIED
 587//
 588// MessageText:
 589//
 590// Network access is denied.
 591//
 592
 593const auto ERROR_NETWORK_ACCESS_DENIED = 65;
 594//
 595// MessageId: ERROR_BAD_DEV_TYPE
 596//
 597// MessageText:
 598//
 599// The network resource type is not correct.
 600//
 601
 602const auto ERROR_BAD_DEV_TYPE = 66;
 603//
 604// MessageId: ERROR_BAD_NET_NAME
 605//
 606// MessageText:
 607//
 608// The network name cannot be found.
 609//
 610
 611const auto ERROR_BAD_NET_NAME = 67;
 612//
 613// MessageId: ERROR_TOO_MANY_NAMES
 614//
 615// MessageText:
 616//
 617// The name limit for the local computer network adapter card was exceeded.
 618//
 619
 620const auto ERROR_TOO_MANY_NAMES = 68;
 621//
 622// MessageId: ERROR_TOO_MANY_SESS
 623//
 624// MessageText:
 625//
 626// The network BIOS session limit was exceeded.
 627//
 628
 629const auto ERROR_TOO_MANY_SESS = 69;
 630//
 631// MessageId: ERROR_SHARING_PAUSED
 632//
 633// MessageText:
 634//
 635// The remote server has been paused or is in the process of being started.
 636//
 637
 638const auto ERROR_SHARING_PAUSED = 70;
 639//
 640// MessageId: ERROR_REQ_NOT_ACCEP
 641//
 642// MessageText:
 643//
 644// 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.
 645//
 646
 647const auto ERROR_REQ_NOT_ACCEP = 71;
 648//
 649// MessageId: ERROR_REDIR_PAUSED
 650//
 651// MessageText:
 652//
 653// The specified printer or disk device has been paused.
 654//
 655
 656const auto ERROR_REDIR_PAUSED = 72;
 657//
 658// MessageId: ERROR_FILE_EXISTS
 659//
 660// MessageText:
 661//
 662// The file exists.
 663//
 664
 665const auto ERROR_FILE_EXISTS = 80;
 666//
 667// MessageId: ERROR_CANNOT_MAKE
 668//
 669// MessageText:
 670//
 671// The directory or file cannot be created.
 672//
 673
 674const auto ERROR_CANNOT_MAKE = 82;
 675//
 676// MessageId: ERROR_FAIL_I24
 677//
 678// MessageText:
 679//
 680// Fail on INT 24.
 681//
 682
 683const auto ERROR_FAIL_I24 = 83;
 684//
 685// MessageId: ERROR_OUT_OF_STRUCTURES
 686//
 687// MessageText:
 688//
 689// Storage to process this request is not available.
 690//
 691
 692const auto ERROR_OUT_OF_STRUCTURES = 84;
 693//
 694// MessageId: ERROR_ALREADY_ASSIGNED
 695//
 696// MessageText:
 697//
 698// The local device name is already in use.
 699//
 700
 701const auto ERROR_ALREADY_ASSIGNED = 85;
 702//
 703// MessageId: ERROR_INVALID_PASSWORD
 704//
 705// MessageText:
 706//
 707// The specified network password is not correct.
 708//
 709
 710const auto ERROR_INVALID_PASSWORD = 86;
 711//
 712// MessageId: ERROR_INVALID_PARAMETER
 713//
 714// MessageText:
 715//
 716// The parameter is incorrect.
 717//
 718
 719const auto ERROR_INVALID_PARAMETER = 87;
 720//
 721// MessageId: ERROR_NET_WRITE_FAULT
 722//
 723// MessageText:
 724//
 725// A write fault occurred on the network.
 726//
 727
 728const auto ERROR_NET_WRITE_FAULT = 88;
 729//
 730// MessageId: ERROR_NO_PROC_SLOTS
 731//
 732// MessageText:
 733//
 734// The system cannot start another process at this time.
 735//
 736
 737const auto ERROR_NO_PROC_SLOTS = 89;
 738//
 739// MessageId: ERROR_TOO_MANY_SEMAPHORES
 740//
 741// MessageText:
 742//
 743// Cannot create another system semaphore.
 744//
 745
 746const auto ERROR_TOO_MANY_SEMAPHORES = 100;
 747//
 748// MessageId: ERROR_EXCL_SEM_ALREADY_OWNED
 749//
 750// MessageText:
 751//
 752// The exclusive semaphore is owned by another process.
 753//
 754
 755const auto ERROR_EXCL_SEM_ALREADY_OWNED = 101;
 756//
 757// MessageId: ERROR_SEM_IS_SET
 758//
 759// MessageText:
 760//
 761// The semaphore is set and cannot be closed.
 762//
 763
 764const auto ERROR_SEM_IS_SET = 102;
 765//
 766// MessageId: ERROR_TOO_MANY_SEM_REQUESTS
 767//
 768// MessageText:
 769//
 770// The semaphore cannot be set again.
 771//
 772
 773const auto ERROR_TOO_MANY_SEM_REQUESTS = 103;
 774//
 775// MessageId: ERROR_INVALID_AT_INTERRUPT_TIME
 776//
 777// MessageText:
 778//
 779// Cannot request exclusive semaphores at interrupt time.
 780//
 781
 782const auto ERROR_INVALID_AT_INTERRUPT_TIME = 104;
 783//
 784// MessageId: ERROR_SEM_OWNER_DIED
 785//
 786// MessageText:
 787//
 788// The previous ownership of this semaphore has ended.
 789//
 790
 791const auto ERROR_SEM_OWNER_DIED = 105;
 792//
 793// MessageId: ERROR_SEM_USER_LIMIT
 794//
 795// MessageText:
 796//
 797// Insert the diskette for drive %1.
 798//
 799
 800const auto ERROR_SEM_USER_LIMIT = 106;
 801//
 802// MessageId: ERROR_DISK_CHANGE
 803//
 804// MessageText:
 805//
 806// The program stopped because an alternate diskette was not inserted.
 807//
 808
 809const auto ERROR_DISK_CHANGE = 107;
 810//
 811// MessageId: ERROR_DRIVE_LOCKED
 812//
 813// MessageText:
 814//
 815// The disk is in use or locked by another process.
 816//
 817
 818const auto ERROR_DRIVE_LOCKED = 108;
 819//
 820// MessageId: ERROR_BROKEN_PIPE
 821//
 822// MessageText:
 823//
 824// The pipe has been ended.
 825//
 826
 827const auto ERROR_BROKEN_PIPE = 109;
 828//
 829// MessageId: ERROR_OPEN_FAILED
 830//
 831// MessageText:
 832//
 833// The system cannot open the device or file specified.
 834//
 835
 836const auto ERROR_OPEN_FAILED = 110;
 837//
 838// MessageId: ERROR_BUFFER_OVERFLOW
 839//
 840// MessageText:
 841//
 842// The file name is too long.
 843//
 844
 845const auto ERROR_BUFFER_OVERFLOW = 111;
 846//
 847// MessageId: ERROR_DISK_FULL
 848//
 849// MessageText:
 850//
 851// There is not enough space on the disk.
 852//
 853
 854const auto ERROR_DISK_FULL = 112;
 855//
 856// MessageId: ERROR_NO_MORE_SEARCH_HANDLES
 857//
 858// MessageText:
 859//
 860// No more internal file identifiers available.
 861//
 862
 863const auto ERROR_NO_MORE_SEARCH_HANDLES = 113;
 864//
 865// MessageId: ERROR_INVALID_TARGET_HANDLE
 866//
 867// MessageText:
 868//
 869// The target internal file identifier is incorrect.
 870//
 871
 872const auto ERROR_INVALID_TARGET_HANDLE = 114;
 873//
 874// MessageId: ERROR_INVALID_CATEGORY
 875//
 876// MessageText:
 877//
 878// The IOCTL call made by the application program is not correct.
 879//
 880
 881const auto ERROR_INVALID_CATEGORY = 117;
 882//
 883// MessageId: ERROR_INVALID_VERIFY_SWITCH
 884//
 885// MessageText:
 886//
 887// The verify-on-write switch parameter value is not correct.
 888//
 889
 890const auto ERROR_INVALID_VERIFY_SWITCH = 118;
 891//
 892// MessageId: ERROR_BAD_DRIVER_LEVEL
 893//
 894// MessageText:
 895//
 896// The system does not support the command requested.
 897//
 898
 899const auto ERROR_BAD_DRIVER_LEVEL = 119;
 900//
 901// MessageId: ERROR_CALL_NOT_IMPLEMENTED
 902//
 903// MessageText:
 904//
 905// This function is not supported on this system.
 906//
 907
 908const auto ERROR_CALL_NOT_IMPLEMENTED = 120;
 909//
 910// MessageId: ERROR_SEM_TIMEOUT
 911//
 912// MessageText:
 913//
 914// The semaphore timeout period has expired.
 915//
 916
 917const auto ERROR_SEM_TIMEOUT = 121;
 918//
 919// MessageId: ERROR_INSUFFICIENT_BUFFER
 920//
 921// MessageText:
 922//
 923// The data area passed to a system call is too small.
 924//
 925
 926const auto ERROR_INSUFFICIENT_BUFFER = 122;
 927//
 928// MessageId: ERROR_INVALID_NAME
 929//
 930// MessageText:
 931//
 932// The filename, directory name, or volume label syntax is incorrect.
 933//
 934
 935const auto ERROR_INVALID_NAME = 123;
 936//
 937// MessageId: ERROR_INVALID_LEVEL
 938//
 939// MessageText:
 940//
 941// The system call level is not correct.
 942//
 943
 944const auto ERROR_INVALID_LEVEL = 124;
 945//
 946// MessageId: ERROR_NO_VOLUME_LABEL
 947//
 948// MessageText:
 949//
 950// The disk has no volume label.
 951//
 952
 953const auto ERROR_NO_VOLUME_LABEL = 125;
 954//
 955// MessageId: ERROR_MOD_NOT_FOUND
 956//
 957// MessageText:
 958//
 959// The specified module could not be found.
 960//
 961
 962const auto ERROR_MOD_NOT_FOUND = 126;
 963//
 964// MessageId: ERROR_PROC_NOT_FOUND
 965//
 966// MessageText:
 967//
 968// The specified procedure could not be found.
 969//
 970
 971const auto ERROR_PROC_NOT_FOUND = 127;
 972//
 973// MessageId: ERROR_WAIT_NO_CHILDREN
 974//
 975// MessageText:
 976//
 977// There are no child processes to wait for.
 978//
 979
 980const auto ERROR_WAIT_NO_CHILDREN = 128;
 981//
 982// MessageId: ERROR_CHILD_NOT_COMPLETE
 983//
 984// MessageText:
 985//
 986// The %1 application cannot be run in Win32 mode.
 987//
 988
 989const auto ERROR_CHILD_NOT_COMPLETE = 129;
 990//
 991// MessageId: ERROR_DIRECT_ACCESS_HANDLE
 992//
 993// MessageText:
 994//
 995// Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
 996//
 997
 998const auto ERROR_DIRECT_ACCESS_HANDLE = 130;
 999//
1000// MessageId: ERROR_NEGATIVE_SEEK
1001//
1002// MessageText:
1003//
1004// An attempt was made to move the file pointer before the beginning of the file.
1005//
1006
1007const auto ERROR_NEGATIVE_SEEK = 131;
1008//
1009// MessageId: ERROR_SEEK_ON_DEVICE
1010//
1011// MessageText:
1012//
1013// The file pointer cannot be set on the specified device or file.
1014//
1015
1016const auto ERROR_SEEK_ON_DEVICE = 132;
1017//
1018// MessageId: ERROR_IS_JOIN_TARGET
1019//
1020// MessageText:
1021//
1022// A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
1023//
1024
1025const auto ERROR_IS_JOIN_TARGET = 133;
1026//
1027// MessageId: ERROR_IS_JOINED
1028//
1029// MessageText:
1030//
1031// An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
1032//
1033
1034const auto ERROR_IS_JOINED = 134;
1035//
1036// MessageId: ERROR_IS_SUBSTED
1037//
1038// MessageText:
1039//
1040// An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
1041//
1042
1043const auto ERROR_IS_SUBSTED = 135;
1044//
1045// MessageId: ERROR_NOT_JOINED
1046//
1047// MessageText:
1048//
1049// The system tried to delete the JOIN of a drive that is not joined.
1050//
1051
1052const auto ERROR_NOT_JOINED = 136;
1053//
1054// MessageId: ERROR_NOT_SUBSTED
1055//
1056// MessageText:
1057//
1058// The system tried to delete the substitution of a drive that is not substituted.
1059//
1060
1061const auto ERROR_NOT_SUBSTED = 137;
1062//
1063// MessageId: ERROR_JOIN_TO_JOIN
1064//
1065// MessageText:
1066//
1067// The system tried to join a drive to a directory on a joined drive.
1068//
1069
1070const auto ERROR_JOIN_TO_JOIN = 138;
1071//
1072// MessageId: ERROR_SUBST_TO_SUBST
1073//
1074// MessageText:
1075//
1076// The system tried to substitute a drive to a directory on a substituted drive.
1077//
1078
1079const auto ERROR_SUBST_TO_SUBST = 139;
1080//
1081// MessageId: ERROR_JOIN_TO_SUBST
1082//
1083// MessageText:
1084//
1085// The system tried to join a drive to a directory on a substituted drive.
1086//
1087
1088const auto ERROR_JOIN_TO_SUBST = 140;
1089//
1090// MessageId: ERROR_SUBST_TO_JOIN
1091//
1092// MessageText:
1093//
1094// The system tried to SUBST a drive to a directory on a joined drive.
1095//
1096
1097const auto ERROR_SUBST_TO_JOIN = 141;
1098//
1099// MessageId: ERROR_BUSY_DRIVE
1100//
1101// MessageText:
1102//
1103// The system cannot perform a JOIN or SUBST at this time.
1104//
1105
1106const auto ERROR_BUSY_DRIVE = 142;
1107//
1108// MessageId: ERROR_SAME_DRIVE
1109//
1110// MessageText:
1111//
1112// The system cannot join or substitute a drive to or for a directory on the same drive.
1113//
1114
1115const auto ERROR_SAME_DRIVE = 143;
1116//
1117// MessageId: ERROR_DIR_NOT_ROOT
1118//
1119// MessageText:
1120//
1121// The directory is not a subdirectory of the root directory.
1122//
1123
1124const auto ERROR_DIR_NOT_ROOT = 144;
1125//
1126// MessageId: ERROR_DIR_NOT_EMPTY
1127//
1128// MessageText:
1129//
1130// The directory is not empty.
1131//
1132
1133const auto ERROR_DIR_NOT_EMPTY = 145;
1134//
1135// MessageId: ERROR_IS_SUBST_PATH
1136//
1137// MessageText:
1138//
1139// The path specified is being used in a substitute.
1140//
1141
1142const auto ERROR_IS_SUBST_PATH = 146;
1143//
1144// MessageId: ERROR_IS_JOIN_PATH
1145//
1146// MessageText:
1147//
1148// Not enough resources are available to process this command.
1149//
1150
1151const auto ERROR_IS_JOIN_PATH = 147;
1152//
1153// MessageId: ERROR_PATH_BUSY
1154//
1155// MessageText:
1156//
1157// The path specified cannot be used at this time.
1158//
1159
1160const auto ERROR_PATH_BUSY = 148;
1161//
1162// MessageId: ERROR_IS_SUBST_TARGET
1163//
1164// MessageText:
1165//
1166// An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
1167//
1168
1169const auto ERROR_IS_SUBST_TARGET = 149;
1170//
1171// MessageId: ERROR_SYSTEM_TRACE
1172//
1173// MessageText:
1174//
1175// System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
1176//
1177
1178const auto ERROR_SYSTEM_TRACE = 150;
1179//
1180// MessageId: ERROR_INVALID_EVENT_COUNT
1181//
1182// MessageText:
1183//
1184// The number of specified semaphore events for DosMuxSemWait is not correct.
1185//
1186
1187const auto ERROR_INVALID_EVENT_COUNT = 151;
1188//
1189// MessageId: ERROR_TOO_MANY_MUXWAITERS
1190//
1191// MessageText:
1192//
1193// DosMuxSemWait did not execute; too many semaphores are already set.
1194//
1195
1196const auto ERROR_TOO_MANY_MUXWAITERS = 152;
1197//
1198// MessageId: ERROR_INVALID_LIST_FORMAT
1199//
1200// MessageText:
1201//
1202// The DosMuxSemWait list is not correct.
1203//
1204
1205const auto ERROR_INVALID_LIST_FORMAT = 153;
1206//
1207// MessageId: ERROR_LABEL_TOO_LONG
1208//
1209// MessageText:
1210//
1211// The volume label you entered exceeds the label character limit of the target file system.
1212//
1213
1214const auto ERROR_LABEL_TOO_LONG = 154;
1215//
1216// MessageId: ERROR_TOO_MANY_TCBS
1217//
1218// MessageText:
1219//
1220// Cannot create another thread.
1221//
1222
1223const auto ERROR_TOO_MANY_TCBS = 155;
1224//
1225// MessageId: ERROR_SIGNAL_REFUSED
1226//
1227// MessageText:
1228//
1229// The recipient process has refused the signal.
1230//
1231
1232const auto ERROR_SIGNAL_REFUSED = 156;
1233//
1234// MessageId: ERROR_DISCARDED
1235//
1236// MessageText:
1237//
1238// The segment is already discarded and cannot be locked.
1239//
1240
1241const auto ERROR_DISCARDED = 157;
1242//
1243// MessageId: ERROR_NOT_LOCKED
1244//
1245// MessageText:
1246//
1247// The segment is already unlocked.
1248//
1249
1250const auto ERROR_NOT_LOCKED = 158;
1251//
1252// MessageId: ERROR_BAD_THREADID_ADDR
1253//
1254// MessageText:
1255//
1256// The address for the thread ID is not correct.
1257//
1258
1259const auto ERROR_BAD_THREADID_ADDR = 159;
1260//
1261// MessageId: ERROR_BAD_ARGUMENTS
1262//
1263// MessageText:
1264//
1265// One or more arguments are not correct.
1266//
1267
1268const auto ERROR_BAD_ARGUMENTS = 160;
1269//
1270// MessageId: ERROR_BAD_PATHNAME
1271//
1272// MessageText:
1273//
1274// The specified path is invalid.
1275//
1276
1277const auto ERROR_BAD_PATHNAME = 161;
1278//
1279// MessageId: ERROR_SIGNAL_PENDING
1280//
1281// MessageText:
1282//
1283// A signal is already pending.
1284//
1285
1286const auto ERROR_SIGNAL_PENDING = 162;
1287//
1288// MessageId: ERROR_MAX_THRDS_REACHED
1289//
1290// MessageText:
1291//
1292// No more threads can be created in the system.
1293//
1294
1295const auto ERROR_MAX_THRDS_REACHED = 164;
1296//
1297// MessageId: ERROR_LOCK_FAILED
1298//
1299// MessageText:
1300//
1301// Unable to lock a region of a file.
1302//
1303
1304const auto ERROR_LOCK_FAILED = 167;
1305//
1306// MessageId: ERROR_BUSY
1307//
1308// MessageText:
1309//
1310// The requested resource is in use.
1311//
1312
1313const auto ERROR_BUSY = 170;
1314//
1315// MessageId: ERROR_CANCEL_VIOLATION
1316//
1317// MessageText:
1318//
1319// A lock request was not outstanding for the supplied cancel region.
1320//
1321
1322const auto ERROR_CANCEL_VIOLATION = 173;
1323//
1324// MessageId: ERROR_ATOMIC_LOCKS_NOT_SUPPORTED
1325//
1326// MessageText:
1327//
1328// The file system does not support atomic changes to the lock type.
1329//
1330
1331const auto ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174;
1332//
1333// MessageId: ERROR_INVALID_SEGMENT_NUMBER
1334//
1335// MessageText:
1336//
1337// The system detected a segment number that was not correct.
1338//
1339
1340const auto ERROR_INVALID_SEGMENT_NUMBER = 180;
1341//
1342// MessageId: ERROR_INVALID_ORDINAL
1343//
1344// MessageText:
1345//
1346// The operating system cannot run %1.
1347//
1348
1349const auto ERROR_INVALID_ORDINAL = 182;
1350//
1351// MessageId: ERROR_ALREADY_EXISTS
1352//
1353// MessageText:
1354//
1355// Cannot create a file when that file already exists.
1356//
1357
1358const auto ERROR_ALREADY_EXISTS = 183;
1359//
1360// MessageId: ERROR_INVALID_FLAG_NUMBER
1361//
1362// MessageText:
1363//
1364// The flag passed is not correct.
1365//
1366
1367const auto ERROR_INVALID_FLAG_NUMBER = 186;
1368//
1369// MessageId: ERROR_SEM_NOT_FOUND
1370//
1371// MessageText:
1372//
1373// The specified system semaphore name was not found.
1374//
1375
1376const auto ERROR_SEM_NOT_FOUND = 187;
1377//
1378// MessageId: ERROR_INVALID_STARTING_CODESEG
1379//
1380// MessageText:
1381//
1382// The operating system cannot run %1.
1383//
1384
1385const auto ERROR_INVALID_STARTING_CODESEG = 188;
1386//
1387// MessageId: ERROR_INVALID_STACKSEG
1388//
1389// MessageText:
1390//
1391// The operating system cannot run %1.
1392//
1393
1394const auto ERROR_INVALID_STACKSEG = 189;
1395//
1396// MessageId: ERROR_INVALID_MODULETYPE
1397//
1398// MessageText:
1399//
1400// The operating system cannot run %1.
1401//
1402
1403const auto ERROR_INVALID_MODULETYPE = 190;
1404//
1405// MessageId: ERROR_INVALID_EXE_SIGNATURE
1406//
1407// MessageText:
1408//
1409// Cannot run %1 in Win32 mode.
1410//
1411
1412const auto ERROR_INVALID_EXE_SIGNATURE = 191;
1413//
1414// MessageId: ERROR_EXE_MARKED_INVALID
1415//
1416// MessageText:
1417//
1418// The operating system cannot run %1.
1419//
1420
1421const auto ERROR_EXE_MARKED_INVALID = 192;
1422//
1423// MessageId: ERROR_BAD_EXE_FORMAT
1424//
1425// MessageText:
1426//
1427// %1 is not a valid Win32 application.
1428//
1429
1430const auto ERROR_BAD_EXE_FORMAT = 193;
1431//
1432// MessageId: ERROR_ITERATED_DATA_EXCEEDS_64k
1433//
1434// MessageText:
1435//
1436// The operating system cannot run %1.
1437//
1438
1439const auto ERROR_ITERATED_DATA_EXCEEDS_64k = 194;
1440//
1441// MessageId: ERROR_INVALID_MINALLOCSIZE
1442//
1443// MessageText:
1444//
1445// The operating system cannot run %1.
1446//
1447
1448const auto ERROR_INVALID_MINALLOCSIZE = 195;
1449//
1450// MessageId: ERROR_DYNLINK_FROM_INVALID_RING
1451//
1452// MessageText:
1453//
1454// The operating system cannot run this application program.
1455//
1456
1457const auto ERROR_DYNLINK_FROM_INVALID_RING = 196;
1458//
1459// MessageId: ERROR_IOPL_NOT_ENABLED
1460//
1461// MessageText:
1462//
1463// The operating system is not presently configured to run this application.
1464//
1465
1466const auto ERROR_IOPL_NOT_ENABLED = 197;
1467//
1468// MessageId: ERROR_INVALID_SEGDPL
1469//
1470// MessageText:
1471//
1472// The operating system cannot run %1.
1473//
1474
1475const auto ERROR_INVALID_SEGDPL = 198;
1476//
1477// MessageId: ERROR_AUTODATASEG_EXCEEDS_64k
1478//
1479// MessageText:
1480//
1481// The operating system cannot run this application program.
1482//
1483
1484const auto ERROR_AUTODATASEG_EXCEEDS_64k = 199;
1485//
1486// MessageId: ERROR_RING2SEG_MUST_BE_MOVABLE
1487//
1488// MessageText:
1489//
1490// The code segment cannot be greater than or equal to 64K.
1491//
1492
1493const auto ERROR_RING2SEG_MUST_BE_MOVABLE = 200;
1494//
1495// MessageId: ERROR_RELOC_CHAIN_XEEDS_SEGLIM
1496//
1497// MessageText:
1498//
1499// The operating system cannot run %1.
1500//
1501
1502const auto ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201;
1503//
1504// MessageId: ERROR_INFLOOP_IN_RELOC_CHAIN
1505//
1506// MessageText:
1507//
1508// The operating system cannot run %1.
1509//
1510
1511const auto ERROR_INFLOOP_IN_RELOC_CHAIN = 202;
1512//
1513// MessageId: ERROR_ENVVAR_NOT_FOUND
1514//
1515// MessageText:
1516//
1517// The system could not find the environment option that was entered.
1518//
1519
1520const auto ERROR_ENVVAR_NOT_FOUND = 203;
1521//
1522// MessageId: ERROR_NO_SIGNAL_SENT
1523//
1524// MessageText:
1525//
1526// No process in the command subtree has a signal handler.
1527//
1528
1529const auto ERROR_NO_SIGNAL_SENT = 205;
1530//
1531// MessageId: ERROR_FILENAME_EXCED_RANGE
1532//
1533// MessageText:
1534//
1535// The filename or extension is too long.
1536//
1537
1538const auto ERROR_FILENAME_EXCED_RANGE = 206;
1539//
1540// MessageId: ERROR_RING2_STACK_IN_USE
1541//
1542// MessageText:
1543//
1544// The ring 2 stack is in use.
1545//
1546
1547const auto ERROR_RING2_STACK_IN_USE = 207;
1548//
1549// MessageId: ERROR_META_EXPANSION_TOO_LONG
1550//
1551// MessageText:
1552//
1553// The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
1554//
1555
1556const auto ERROR_META_EXPANSION_TOO_LONG = 208;
1557//
1558// MessageId: ERROR_INVALID_SIGNAL_NUMBER
1559//
1560// MessageText:
1561//
1562// The signal being posted is not correct.
1563//
1564
1565const auto ERROR_INVALID_SIGNAL_NUMBER = 209;
1566//
1567// MessageId: ERROR_THREAD_1_INACTIVE
1568//
1569// MessageText:
1570//
1571// The signal handler cannot be set.
1572//
1573
1574const auto ERROR_THREAD_1_INACTIVE = 210;
1575//
1576// MessageId: ERROR_LOCKED
1577//
1578// MessageText:
1579//
1580// The segment is locked and cannot be reallocated.
1581//
1582
1583const auto ERROR_LOCKED = 212;
1584//
1585// MessageId: ERROR_TOO_MANY_MODULES
1586//
1587// MessageText:
1588//
1589// Too many dynamic-link modules are attached to this program or dynamic-link module.
1590//
1591
1592const auto ERROR_TOO_MANY_MODULES = 214;
1593//
1594// MessageId: ERROR_NESTING_NOT_ALLOWED
1595//
1596// MessageText:
1597//
1598// Cannot nest calls to LoadModule.
1599//
1600
1601const auto ERROR_NESTING_NOT_ALLOWED = 215;
1602//
1603// MessageId: ERROR_EXE_MACHINE_TYPE_MISMATCH
1604//
1605// MessageText:
1606//
1607// This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
1608//
1609
1610const auto ERROR_EXE_MACHINE_TYPE_MISMATCH = 216;
1611//
1612// MessageId: ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY
1613//
1614// MessageText:
1615//
1616// The image file %1 is signed, unable to modify.
1617//
1618
1619const auto ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 217;
1620//
1621// MessageId: ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY
1622//
1623// MessageText:
1624//
1625// The image file %1 is strong signed, unable to modify.
1626//
1627
1628const auto ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218;
1629//
1630// MessageId: ERROR_FILE_CHECKED_OUT
1631//
1632// MessageText:
1633//
1634// This file is checked out or locked for editing by another user.
1635//
1636
1637const auto ERROR_FILE_CHECKED_OUT = 220;
1638//
1639// MessageId: ERROR_CHECKOUT_REQUIRED
1640//
1641// MessageText:
1642//
1643// The file must be checked out before saving changes.
1644//
1645
1646const auto ERROR_CHECKOUT_REQUIRED = 221;
1647//
1648// MessageId: ERROR_BAD_FILE_TYPE
1649//
1650// MessageText:
1651//
1652// The file type being saved or retrieved has been blocked.
1653//
1654
1655const auto ERROR_BAD_FILE_TYPE = 222;
1656//
1657// MessageId: ERROR_FILE_TOO_LARGE
1658//
1659// MessageText:
1660//
1661// The file size exceeds the limit allowed and cannot be saved.
1662//
1663
1664const auto ERROR_FILE_TOO_LARGE = 223;
1665//
1666// MessageId: ERROR_FORMS_AUTH_REQUIRED
1667//
1668// MessageText:
1669//
1670// Access Denied. Before opening files in this location, you must first browse to the web site and select the option to login automatically.
1671//
1672
1673const auto ERROR_FORMS_AUTH_REQUIRED = 224;
1674//
1675// MessageId: ERROR_VIRUS_INFECTED
1676//
1677// MessageText:
1678//
1679// Operation did not complete successfully because the file contains a virus.
1680//
1681
1682const auto ERROR_VIRUS_INFECTED = 225;
1683//
1684// MessageId: ERROR_VIRUS_DELETED
1685//
1686// MessageText:
1687//
1688// This file contains a virus and cannot be opened. Due to the nature of this virus, the file has been removed from this location.
1689//
1690
1691const auto ERROR_VIRUS_DELETED = 226;
1692//
1693// MessageId: ERROR_PIPE_LOCAL
1694//
1695// MessageText:
1696//
1697// The pipe is local.
1698//
1699
1700const auto ERROR_PIPE_LOCAL = 229;
1701//
1702// MessageId: ERROR_BAD_PIPE
1703//
1704// MessageText:
1705//
1706// The pipe state is invalid.
1707//
1708
1709const auto ERROR_BAD_PIPE = 230;
1710//
1711// MessageId: ERROR_PIPE_BUSY
1712//
1713// MessageText:
1714//
1715// All pipe instances are busy.
1716//
1717
1718const auto ERROR_PIPE_BUSY = 231;
1719//
1720// MessageId: ERROR_NO_DATA
1721//
1722// MessageText:
1723//
1724// The pipe is being closed.
1725//
1726
1727const auto ERROR_NO_DATA = 232;
1728//
1729// MessageId: ERROR_PIPE_NOT_CONNECTED
1730//
1731// MessageText:
1732//
1733// No process is on the other end of the pipe.
1734//
1735
1736const auto ERROR_PIPE_NOT_CONNECTED = 233;
1737//
1738// MessageId: ERROR_MORE_DATA
1739//
1740// MessageText:
1741//
1742// More data is available.
1743//
1744
1745const auto ERROR_MORE_DATA = 234;
1746//
1747// MessageId: ERROR_VC_DISCONNECTED
1748//
1749// MessageText:
1750//
1751// The session was canceled.
1752//
1753
1754const auto ERROR_VC_DISCONNECTED = 240;
1755//
1756// MessageId: ERROR_INVALID_EA_NAME
1757//
1758// MessageText:
1759//
1760// The specified extended attribute name was invalid.
1761//
1762
1763const auto ERROR_INVALID_EA_NAME = 254;
1764//
1765// MessageId: ERROR_EA_LIST_INCONSISTENT
1766//
1767// MessageText:
1768//
1769// The extended attributes are inconsistent.
1770//
1771
1772const auto ERROR_EA_LIST_INCONSISTENT = 255;
1773//
1774// MessageId: WAIT_TIMEOUT
1775//
1776// MessageText:
1777//
1778// The wait operation timed out.
1779//
1780
1781const auto WAIT_TIMEOUT = 258;
1782//
1783// MessageId: ERROR_NO_MORE_ITEMS
1784//
1785// MessageText:
1786//
1787// No more data is available.
1788//
1789
1790const auto ERROR_NO_MORE_ITEMS = 259;
1791//
1792// MessageId: ERROR_CANNOT_COPY
1793//
1794// MessageText:
1795//
1796// The copy functions cannot be used.
1797//
1798
1799const auto ERROR_CANNOT_COPY = 266;
1800//
1801// MessageId: ERROR_DIRECTORY
1802//
1803// MessageText:
1804//
1805// The directory name is invalid.
1806//
1807
1808const auto ERROR_DIRECTORY = 267;
1809//
1810// MessageId: ERROR_EAS_DIDNT_FIT
1811//
1812// MessageText:
1813//
1814// The extended attributes did not fit in the buffer.
1815//
1816
1817const auto ERROR_EAS_DIDNT_FIT = 275;
1818//
1819// MessageId: ERROR_EA_FILE_CORRUPT
1820//
1821// MessageText:
1822//
1823// The extended attribute file on the mounted file system is corrupt.
1824//
1825
1826const auto ERROR_EA_FILE_CORRUPT = 276;
1827//
1828// MessageId: ERROR_EA_TABLE_FULL
1829//
1830// MessageText:
1831//
1832// The extended attribute table file is full.
1833//
1834
1835const auto ERROR_EA_TABLE_FULL = 277;
1836//
1837// MessageId: ERROR_INVALID_EA_HANDLE
1838//
1839// MessageText:
1840//
1841// The specified extended attribute handle is invalid.
1842//
1843
1844const auto ERROR_INVALID_EA_HANDLE = 278;
1845//
1846// MessageId: ERROR_EAS_NOT_SUPPORTED
1847//
1848// MessageText:
1849//
1850// The mounted file system does not support extended attributes.
1851//
1852
1853const auto ERROR_EAS_NOT_SUPPORTED = 282;
1854//
1855// MessageId: ERROR_NOT_OWNER
1856//
1857// MessageText:
1858//
1859// Attempt to release mutex not owned by caller.
1860//
1861
1862const auto ERROR_NOT_OWNER = 288;
1863//
1864// MessageId: ERROR_TOO_MANY_POSTS
1865//
1866// MessageText:
1867//
1868// Too many posts were made to a semaphore.
1869//
1870
1871const auto ERROR_TOO_MANY_POSTS = 298;
1872//
1873// MessageId: ERROR_PARTIAL_COPY
1874//
1875// MessageText:
1876//
1877// Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
1878//
1879
1880const auto ERROR_PARTIAL_COPY = 299;
1881//
1882// MessageId: ERROR_OPLOCK_NOT_GRANTED
1883//
1884// MessageText:
1885//
1886// The oplock request is denied.
1887//
1888
1889const auto ERROR_OPLOCK_NOT_GRANTED = 300;
1890//
1891// MessageId: ERROR_INVALID_OPLOCK_PROTOCOL
1892//
1893// MessageText:
1894//
1895// An invalid oplock acknowledgment was received by the system.
1896//
1897
1898const auto ERROR_INVALID_OPLOCK_PROTOCOL = 301;
1899//
1900// MessageId: ERROR_DISK_TOO_FRAGMENTED
1901//
1902// MessageText:
1903//
1904// The volume is too fragmented to complete this operation.
1905//
1906
1907const auto ERROR_DISK_TOO_FRAGMENTED = 302;
1908//
1909// MessageId: ERROR_DELETE_PENDING
1910//
1911// MessageText:
1912//
1913// The file cannot be opened because it is in the process of being deleted.
1914//
1915
1916const auto ERROR_DELETE_PENDING = 303;
1917//
1918// MessageId: ERROR_MR_MID_NOT_FOUND
1919//
1920// MessageText:
1921//
1922// The system cannot find message text for message number 0x%1 in the message file for %2.
1923//
1924
1925const auto ERROR_MR_MID_NOT_FOUND = 317;
1926//
1927// MessageId: ERROR_SCOPE_NOT_FOUND
1928//
1929// MessageText:
1930//
1931// The scope specified was not found.
1932//
1933
1934const auto ERROR_SCOPE_NOT_FOUND = 318;
1935//
1936// MessageId: ERROR_FAIL_NOACTION_REBOOT
1937//
1938// MessageText:
1939//
1940// No action was taken as a system reboot is required.
1941//
1942
1943const auto ERROR_FAIL_NOACTION_REBOOT = 350;
1944//
1945// MessageId: ERROR_FAIL_SHUTDOWN
1946//
1947// MessageText:
1948//
1949// The shutdown operation failed.
1950//
1951
1952const auto ERROR_FAIL_SHUTDOWN = 351;
1953//
1954// MessageId: ERROR_FAIL_RESTART
1955//
1956// MessageText:
1957//
1958// The restart operation failed.
1959//
1960
1961const auto ERROR_FAIL_RESTART = 352;
1962//
1963// MessageId: ERROR_MAX_SESSIONS_REACHED
1964//
1965// MessageText:
1966//
1967// The maximum number of sessions has been reached.
1968//
1969
1970const auto ERROR_MAX_SESSIONS_REACHED = 353;
1971//
1972// MessageId: ERROR_THREAD_MODE_ALREADY_BACKGROUND
1973//
1974// MessageText:
1975//
1976// The thread is already in background processing mode.
1977//
1978
1979const auto ERROR_THREAD_MODE_ALREADY_BACKGROUND = 400;
1980//
1981// MessageId: ERROR_THREAD_MODE_NOT_BACKGROUND
1982//
1983// MessageText:
1984//
1985// The thread is not in background processing mode.
1986//
1987
1988const auto ERROR_THREAD_MODE_NOT_BACKGROUND = 401;
1989//
1990// MessageId: ERROR_PROCESS_MODE_ALREADY_BACKGROUND
1991//
1992// MessageText:
1993//
1994// The process is already in background processing mode.
1995//
1996
1997const auto ERROR_PROCESS_MODE_ALREADY_BACKGROUND = 402;
1998//
1999// MessageId: ERROR_PROCESS_MODE_NOT_BACKGROUND
2000//
2001// MessageText:
2002//
2003// The process is not in background processing mode.
2004//
2005
2006const auto ERROR_PROCESS_MODE_NOT_BACKGROUND = 403;
2007//
2008// MessageId: ERROR_INVALID_ADDRESS
2009//
2010// MessageText:
2011//
2012// Attempt to access invalid address.
2013//
2014
2015const auto ERROR_INVALID_ADDRESS = 487;
2016//
2017// MessageId: ERROR_USER_PROFILE_LOAD
2018//
2019// MessageText:
2020//
2021// User profile cannot be loaded.
2022//
2023
2024const auto ERROR_USER_PROFILE_LOAD = 500;
2025//
2026// MessageId: ERROR_ARITHMETIC_OVERFLOW
2027//
2028// MessageText:
2029//
2030// Arithmetic result exceeded 32 bits.
2031//
2032
2033const auto ERROR_ARITHMETIC_OVERFLOW = 534;
2034//
2035// MessageId: ERROR_PIPE_CONNECTED
2036//
2037// MessageText:
2038//
2039// There is a process on other end of the pipe.
2040//
2041
2042const auto ERROR_PIPE_CONNECTED = 535;
2043//
2044// MessageId: ERROR_PIPE_LISTENING
2045//
2046// MessageText:
2047//
2048// Waiting for a process to open the other end of the pipe.
2049//
2050
2051const auto ERROR_PIPE_LISTENING = 536;
2052//
2053// MessageId: ERROR_VERIFIER_STOP
2054//
2055// MessageText:
2056//
2057// Application verifier has found an error in the current process.
2058//
2059
2060const auto ERROR_VERIFIER_STOP = 537;
2061//
2062// MessageId: ERROR_ABIOS_ERROR
2063//
2064// MessageText:
2065//
2066// An error occurred in the ABIOS subsystem.
2067//
2068
2069const auto ERROR_ABIOS_ERROR = 538;
2070//
2071// MessageId: ERROR_WX86_WARNING
2072//
2073// MessageText:
2074//
2075// A warning occurred in the WX86 subsystem.
2076//
2077
2078const auto ERROR_WX86_WARNING = 539;
2079//
2080// MessageId: ERROR_WX86_ERROR
2081//
2082// MessageText:
2083//
2084// An error occurred in the WX86 subsystem.
2085//
2086
2087const auto ERROR_WX86_ERROR = 540;
2088//
2089// MessageId: ERROR_TIMER_NOT_CANCELED
2090//
2091// MessageText:
2092//
2093// 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.
2094//
2095
2096const auto ERROR_TIMER_NOT_CANCELED = 541;
2097//
2098// MessageId: ERROR_UNWIND
2099//
2100// MessageText:
2101//
2102// Unwind exception code.
2103//
2104
2105const auto ERROR_UNWIND = 542;
2106//
2107// MessageId: ERROR_BAD_STACK
2108//
2109// MessageText:
2110//
2111// An invalid or unaligned stack was encountered during an unwind operation.
2112//
2113
2114const auto ERROR_BAD_STACK = 543;
2115//
2116// MessageId: ERROR_INVALID_UNWIND_TARGET
2117//
2118// MessageText:
2119//
2120// An invalid unwind target was encountered during an unwind operation.
2121//
2122
2123const auto ERROR_INVALID_UNWIND_TARGET = 544;
2124//
2125// MessageId: ERROR_INVALID_PORT_ATTRIBUTES
2126//
2127// MessageText:
2128//
2129// Invalid Object Attributes specified to NtCreatePort or invalid Port Attributes specified to NtConnectPort
2130//
2131
2132const auto ERROR_INVALID_PORT_ATTRIBUTES = 545;
2133//
2134// MessageId: ERROR_PORT_MESSAGE_TOO_LONG
2135//
2136// MessageText:
2137//
2138// Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port.
2139//
2140
2141const auto ERROR_PORT_MESSAGE_TOO_LONG = 546;
2142//
2143// MessageId: ERROR_INVALID_QUOTA_LOWER
2144//
2145// MessageText:
2146//
2147// An attempt was made to lower a quota limit below the current usage.
2148//
2149
2150const auto ERROR_INVALID_QUOTA_LOWER = 547;
2151//
2152// MessageId: ERROR_DEVICE_ALREADY_ATTACHED
2153//
2154// MessageText:
2155//
2156// An attempt was made to attach to a device that was already attached to another device.
2157//
2158
2159const auto ERROR_DEVICE_ALREADY_ATTACHED = 548;
2160//
2161// MessageId: ERROR_INSTRUCTION_MISALIGNMENT
2162//
2163// MessageText:
2164//
2165// An attempt was made to execute an instruction at an unaligned address and the host system does not support unaligned instruction references.
2166//
2167
2168const auto ERROR_INSTRUCTION_MISALIGNMENT = 549;
2169//
2170// MessageId: ERROR_PROFILING_NOT_STARTED
2171//
2172// MessageText:
2173//
2174// Profiling not started.
2175//
2176
2177const auto ERROR_PROFILING_NOT_STARTED = 550;
2178//
2179// MessageId: ERROR_PROFILING_NOT_STOPPED
2180//
2181// MessageText:
2182//
2183// Profiling not stopped.
2184//
2185
2186const auto ERROR_PROFILING_NOT_STOPPED = 551;
2187//
2188// MessageId: ERROR_COULD_NOT_INTERPRET
2189//
2190// MessageText:
2191//
2192// The passed ACL did not contain the minimum required information.
2193//
2194
2195const auto ERROR_COULD_NOT_INTERPRET = 552;
2196//
2197// MessageId: ERROR_PROFILING_AT_LIMIT
2198//
2199// MessageText:
2200//
2201// The number of active profiling objects is at the maximum and no more may be started.
2202//
2203
2204const auto ERROR_PROFILING_AT_LIMIT = 553;
2205//
2206// MessageId: ERROR_CANT_WAIT
2207//
2208// MessageText:
2209//
2210// Used to indicate that an operation cannot continue without blocking for I/O.
2211//
2212
2213const auto ERROR_CANT_WAIT = 554;
2214//
2215// MessageId: ERROR_CANT_TERMINATE_SELF
2216//
2217// MessageText:
2218//
2219// Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NUL and it was the last thread in the current process.
2220//
2221
2222const auto ERROR_CANT_TERMINATE_SELF = 555;
2223//
2224// MessageId: ERROR_UNEXPECTED_MM_CREATE_ERR
2225//
2226// MessageText:
2227//
2228// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter.
2229// In this case information is lost, however, the filter correctly handles the exception.
2230//
2231
2232const auto ERROR_UNEXPECTED_MM_CREATE_ERR = 556;
2233//
2234// MessageId: ERROR_UNEXPECTED_MM_MAP_ERROR
2235//
2236// MessageText:
2237//
2238// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter.
2239// In this case information is lost, however, the filter correctly handles the exception.
2240//
2241
2242const auto ERROR_UNEXPECTED_MM_MAP_ERROR = 557;
2243//
2244// MessageId: ERROR_UNEXPECTED_MM_EXTEND_ERR
2245//
2246// MessageText:
2247//
2248// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter.
2249// In this case information is lost, however, the filter correctly handles the exception.
2250//
2251
2252const auto ERROR_UNEXPECTED_MM_EXTEND_ERR = 558;
2253//
2254// MessageId: ERROR_BAD_FUNCTION_TABLE
2255//
2256// MessageText:
2257//
2258// A malformed function table was encountered during an unwind operation.
2259//
2260
2261const auto ERROR_BAD_FUNCTION_TABLE = 559;
2262//
2263// MessageId: ERROR_NO_GUID_TRANSLATION
2264//
2265// MessageText:
2266//
2267// Indicates that an attempt was made to assign protection to a file system file or directory and one of the SIDs in the security descriptor could not be translated into a GUID that could be stored by the file system.
2268// This causes the protection attempt to fail, which may cause a file creation attempt to fail.
2269//
2270
2271const auto ERROR_NO_GUID_TRANSLATION = 560;
2272//
2273// MessageId: ERROR_INVALID_LDT_SIZE
2274//
2275// MessageText:
2276//
2277// Indicates that an attempt was made to grow an LDT by setting its size, or that the size was not an even number of selectors.
2278//
2279
2280const auto ERROR_INVALID_LDT_SIZE = 561;
2281//
2282// MessageId: ERROR_INVALID_LDT_OFFSET
2283//
2284// MessageText:
2285//
2286// Indicates that the starting value for the LDT information was not an integral multiple of the selector size.
2287//
2288
2289const auto ERROR_INVALID_LDT_OFFSET = 563;
2290//
2291// MessageId: ERROR_INVALID_LDT_DESCRIPTOR
2292//
2293// MessageText:
2294//
2295// Indicates that the user supplied an invalid descriptor when trying to set up Ldt descriptors.
2296//
2297
2298const auto ERROR_INVALID_LDT_DESCRIPTOR = 564;
2299//
2300// MessageId: ERROR_TOO_MANY_THREADS
2301//
2302// MessageText:
2303//
2304// Indicates a process has too many threads to perform the requested action. For example, assignment of a primary token may only be performed when a process has zero or one threads.
2305//
2306
2307const auto ERROR_TOO_MANY_THREADS = 565;
2308//
2309// MessageId: ERROR_THREAD_NOT_IN_PROCESS
2310//
2311// MessageText:
2312//
2313// An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
2314//
2315
2316const auto ERROR_THREAD_NOT_IN_PROCESS = 566;
2317//
2318// MessageId: ERROR_PAGEFILE_QUOTA_EXCEEDED
2319//
2320// MessageText:
2321//
2322// Page file quota was exceeded.
2323//
2324
2325const auto ERROR_PAGEFILE_QUOTA_EXCEEDED = 567;
2326//
2327// MessageId: ERROR_LOGON_SERVER_CONFLICT
2328//
2329// MessageText:
2330//
2331// The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role.
2332//
2333
2334const auto ERROR_LOGON_SERVER_CONFLICT = 568;
2335//
2336// MessageId: ERROR_SYNCHRONIZATION_REQUIRED
2337//
2338// MessageText:
2339//
2340// The SAM database on a Windows Server is significantly out of synchronization with the copy on the Domain Controller. A complete synchronization is required.
2341//
2342
2343const auto ERROR_SYNCHRONIZATION_REQUIRED = 569;
2344//
2345// MessageId: ERROR_NET_OPEN_FAILED
2346//
2347// MessageText:
2348//
2349// The NtCreateFile API failed. This error should never be returned to an application, it is a place holder for the Windows Lan Manager Redirector to use in its internal error mapping routines.
2350//
2351
2352const auto ERROR_NET_OPEN_FAILED = 570;
2353//
2354// MessageId: ERROR_IO_PRIVILEGE_FAILED
2355//
2356// MessageText:
2357//
2358// {Privilege Failed}
2359// The I/O permissions for the process could not be changed.
2360//
2361
2362const auto ERROR_IO_PRIVILEGE_FAILED = 571;
2363//
2364// MessageId: ERROR_CONTROL_C_EXIT
2365//
2366// MessageText:
2367//
2368// {Application Exit by CTRL+C}
2369// The application terminated as a result of a CTRL+C.
2370//
2371
2372const auto ERROR_CONTROL_C_EXIT = 572;
2373//
2374// MessageId: ERROR_MISSING_SYSTEMFILE
2375//
2376// MessageText:
2377//
2378// {Missing System File}
2379// The required system file %hs is bad or missing.
2380//
2381
2382const auto ERROR_MISSING_SYSTEMFILE = 573;
2383//
2384// MessageId: ERROR_UNHANDLED_EXCEPTION
2385//
2386// MessageText:
2387//
2388// {Application Error}
2389// The exception %s 0x%08lx) occurred in the application at location 0x%08lx.
2390//
2391
2392const auto ERROR_UNHANDLED_EXCEPTION = 574;
2393//
2394// MessageId: ERROR_APP_INIT_FAILURE
2395//
2396// MessageText:
2397//
2398// {Application Error}
2399// The application failed to initialize properly 0x%lx). Click OK to terminate the application.
2400//
2401
2402const auto ERROR_APP_INIT_FAILURE = 575;
2403//
2404// MessageId: ERROR_PAGEFILE_CREATE_FAILED
2405//
2406// MessageText:
2407//
2408// {Unable to Create Paging File}
2409// The creation of the paging file %hs failed (%lx). The requested size was %ld.
2410//
2411
2412const auto ERROR_PAGEFILE_CREATE_FAILED = 576;
2413//
2414// MessageId: ERROR_INVALID_IMAGE_HASH
2415//
2416// MessageText:
2417//
2418// Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
2419//
2420
2421const auto ERROR_INVALID_IMAGE_HASH = 577;
2422//
2423// MessageId: ERROR_NO_PAGEFILE
2424//
2425// MessageText:
2426//
2427// {No Paging File Specified}
2428// No paging file was specified in the system configuration.
2429//
2430
2431const auto ERROR_NO_PAGEFILE = 578;
2432//
2433// MessageId: ERROR_ILLEGAL_FLOAT_CONTEXT
2434//
2435// MessageText:
2436//
2437// {EXCEPTION}
2438// A real-mode application issued a floating-point instruction and floating-point hardware is not present.
2439//
2440
2441const auto ERROR_ILLEGAL_FLOAT_CONTEXT = 579;
2442//
2443// MessageId: ERROR_NO_EVENT_PAIR
2444//
2445// MessageText:
2446//
2447// An event pair synchronization operation was performed using the thread specific client/server event pair object, but no event pair object was associated with the thread.
2448//
2449
2450const auto ERROR_NO_EVENT_PAIR = 580;
2451//
2452// MessageId: ERROR_DOMAIN_CTRLR_CONFIG_ERROR
2453//
2454// MessageText:
2455//
2456// A Windows Server has an incorrect configuration.
2457//
2458
2459const auto ERROR_DOMAIN_CTRLR_CONFIG_ERROR = 581;
2460//
2461// MessageId: ERROR_ILLEGAL_CHARACTER
2462//
2463// MessageText:
2464//
2465// An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.
2466//
2467
2468const auto ERROR_ILLEGAL_CHARACTER = 582;
2469//
2470// MessageId: ERROR_UNDEFINED_CHARACTER
2471//
2472// MessageText:
2473//
2474// The Unicode character is not defined in the Unicode character set installed on the system.
2475//
2476
2477const auto ERROR_UNDEFINED_CHARACTER = 583;
2478//
2479// MessageId: ERROR_FLOPPY_VOLUME
2480//
2481// MessageText:
2482//
2483// The paging file cannot be created on a floppy diskette.
2484//
2485
2486const auto ERROR_FLOPPY_VOLUME = 584;
2487//
2488// MessageId: ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT
2489//
2490// MessageText:
2491//
2492// The system BIOS failed to connect a system interrupt to the device or bus for which the device is connected.
2493//
2494
2495const auto ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT = 585;
2496//
2497// MessageId: ERROR_BACKUP_CONTROLLER
2498//
2499// MessageText:
2500//
2501// This operation is only allowed for the Primary Domain Controller of the domain.
2502//
2503
2504const auto ERROR_BACKUP_CONTROLLER = 586;
2505//
2506// MessageId: ERROR_MUTANT_LIMIT_EXCEEDED
2507//
2508// MessageText:
2509//
2510// An attempt was made to acquire a mutant such that its maximum count would have been exceeded.
2511//
2512
2513const auto ERROR_MUTANT_LIMIT_EXCEEDED = 587;
2514//
2515// MessageId: ERROR_FS_DRIVER_REQUIRED
2516//
2517// MessageText:
2518//
2519// A volume has been accessed for which a file system driver is required that has not yet been loaded.
2520//
2521
2522const auto ERROR_FS_DRIVER_REQUIRED = 588;
2523//
2524// MessageId: ERROR_CANNOT_LOAD_REGISTRY_FILE
2525//
2526// MessageText:
2527//
2528// {Registry File Failure}
2529// The registry cannot load the hive (file):
2530// %hs
2531// or its log or alternate.
2532// It is corrupt, absent, or not writable.
2533//
2534
2535const auto ERROR_CANNOT_LOAD_REGISTRY_FILE = 589;
2536//
2537// MessageId: ERROR_DEBUG_ATTACH_FAILED
2538//
2539// MessageText:
2540//
2541// {Unexpected Failure in DebugActiveProcess}
2542// An unexpected failure occurred while processing a DebugActiveProcess API request. You may choose OK to terminate the process, or Cancel to ignore the error.
2543//
2544
2545const auto ERROR_DEBUG_ATTACH_FAILED = 590;
2546//
2547// MessageId: ERROR_SYSTEM_PROCESS_TERMINATED
2548//
2549// MessageText:
2550//
2551// {Fatal System Error}
2552// The %hs system process terminated unexpectedly with a status of 0x%08x 0x%08x 0x%08x).
2553// The system has b…

Large files files are truncated, but you can click here to view the full file