PageRenderTime 80ms CodeModel.GetById 9ms app.highlight 44ms RepoModel.GetById 1ms app.codeStats 3ms

/binding/win32/ntstatus.d

http://github.com/wilkie/djehuty
D | 16268 lines | 1740 code | 1804 blank | 12724 comment | 0 complexity | 278696f0d8e6f7ad8dfe8c89eee19816 MD5 | raw file

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

   1/*
   2 * ntstatus.d
   3 *
   4 * This is a binding of ntstatus.h to D. The original notices are preserved
   5 * below.
   6 *
   7 * Author: Dave Wilkinson
   8 * Originated: November 24th 2009
   9 *
  10 */
  11
  12module binding.win32.ntstatus;
  13
  14import binding.win32.windef;
  15import binding.win32.winnt;
  16
  17typedef LONG NTSTATUS;
  18
  19/*++ BUILD Version: 0005    // Increment this if a change has global effects
  20
  21Copyright (c) Microsoft Corporation.  All rights reserved.
  22
  23Module Name:
  24
  25    ntstatus.h
  26
  27Abstract:
  28
  29    Constant definitions for the NTSTATUS values.
  30
  31Author:
  32
  33    Portable Systems Group 30-Mar-1989
  34
  35Revision History:
  36
  37Notes:
  38
  39    This file is generated by the MC tool from the ntstatus.mc file.
  40
  41    Please add new error values to the end of the file. To do otherwise
  42    will jumble the error values.
  43
  44--*/
  45
  46// begin_ntsecapi
  47
  48/*lint -save -e767 */  // Don't complain about different definitions // winnt
  49
  50
  51/////////////////////////////////////////////////////////////////////////
  52//
  53// Please update FACILITY_MAXIMUM_VALUE when adding new facility values.
  54//
  55//
  56/////////////////////////////////////////////////////////////////////////
  57
  58/////////////////////////////////////////////////////////////////////////
  59//
  60// Standard Success values
  61//
  62//
  63/////////////////////////////////////////////////////////////////////////
  64
  65
  66//
  67// The success status codes 0 - 63 are reserved for wait completion status.
  68// FacilityCodes 0x5 - 0xF have been allocated by various drivers.
  69//
  70const auto STATUS_SUCCESS                           = (cast(NTSTATUS)0x00000000L) ; // ntsubauth
  71
  72//
  73//  Values are 32 bit values laid out as follows:
  74//
  75//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  76//   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
  77//  +---+-+-+-----------------------+-------------------------------+
  78//  |Sev|C|R|     Facility          |               Code            |
  79//  +---+-+-+-----------------------+-------------------------------+
  80//
  81//  where
  82//
  83//      Sev - is the severity code
  84//
  85//          00 - Success
  86//          01 - Informational
  87//          10 - Warning
  88//          11 - Error
  89//
  90//      C - is the Customer code flag
  91//
  92//      R - is a reserved bit
  93//
  94//      Facility - is the facility code
  95//
  96//      Code - is the facility's status code
  97//
  98//
  99// Define the facility codes
 100//
 101const auto FACILITY_VIDEO                    = 0x1B;
 102const auto FACILITY_USB_ERROR_CODE           = 0x10;
 103const auto FACILITY_TRANSACTION              = 0x19;
 104const auto FACILITY_TERMINAL_SERVER          = 0xA;
 105const auto FACILITY_SXS_ERROR_CODE           = 0x15;
 106const auto FACILITY_NTSSPI                   = 0x9;
 107const auto FACILITY_RPC_STUBS                = 0x3;
 108const auto FACILITY_RPC_RUNTIME              = 0x2;
 109const auto FACILITY_NTWIN32                  = 0x7;
 110const auto FACILITY_NDIS_ERROR_CODE          = 0x23;
 111const auto FACILTIY_MUI_ERROR_CODE           = 0xB;
 112const auto FACILITY_MONITOR                  = 0x1D;
 113const auto FACILITY_MAXIMUM_VALUE            = 0x37;
 114const auto FACILITY_IPSEC                    = 0x36;
 115const auto FACILITY_IO_ERROR_CODE            = 0x4;
 116const auto FACILITY_HYPERVISOR               = 0x35;
 117const auto FACILITY_HID_ERROR_CODE           = 0x11;
 118const auto FACILITY_GRAPHICS_KERNEL          = 0x1E;
 119const auto FACILITY_FWP_ERROR_CODE           = 0x22;
 120const auto FACILITY_FVE_ERROR_CODE           = 0x21;
 121const auto FACILITY_FIREWIRE_ERROR_CODE      = 0x12;
 122const auto FACILITY_FILTER_MANAGER           = 0x1C;
 123const auto FACILITY_DRIVER_FRAMEWORK         = 0x20;
 124const auto FACILITY_DEBUGGER                 = 0x1;
 125const auto FACILITY_COMMONLOG                = 0x1A;
 126const auto FACILITY_CLUSTER_ERROR_CODE       = 0x13;
 127const auto FACILITY_ACPI_ERROR_CODE          = 0x14;
 128
 129
 130//
 131// Define the severity codes
 132//
 133const auto STATUS_SEVERITY_WARNING           = 0x2;
 134const auto STATUS_SEVERITY_SUCCESS           = 0x0;
 135const auto STATUS_SEVERITY_INFORMATIONAL     = 0x1;
 136const auto STATUS_SEVERITY_ERROR             = 0x3;
 137
 138
 139//
 140// MessageId: STATUS_WAIT_0
 141//
 142// MessageText:
 143//
 144//  STATUS_WAIT_0
 145//
 146//const auto STATUS_WAIT_0                     = (cast(NTSTATUS)0x00000000L)    ; // winnt
 147
 148//
 149// MessageId: STATUS_WAIT_1
 150//
 151// MessageText:
 152//
 153//  STATUS_WAIT_1
 154//
 155const auto STATUS_WAIT_1                     = (cast(NTSTATUS)0x00000001L);
 156
 157//
 158// MessageId: STATUS_WAIT_2
 159//
 160// MessageText:
 161//
 162//  STATUS_WAIT_2
 163//
 164const auto STATUS_WAIT_2                     = (cast(NTSTATUS)0x00000002L);
 165
 166//
 167// MessageId: STATUS_WAIT_3
 168//
 169// MessageText:
 170//
 171//  STATUS_WAIT_3
 172//
 173const auto STATUS_WAIT_3                     = (cast(NTSTATUS)0x00000003L);
 174
 175//
 176// MessageId: STATUS_WAIT_63
 177//
 178// MessageText:
 179//
 180//  STATUS_WAIT_63
 181//
 182const auto STATUS_WAIT_63                    = (cast(NTSTATUS)0x0000003FL);
 183
 184
 185//
 186// The success status codes 128 - 191 are reserved for wait completion
 187// status with an abandoned mutant object.
 188//
 189const auto STATUS_ABANDONED                         = (cast(NTSTATUS)0x00000080L);
 190
 191//
 192// MessageId: STATUS_ABANDONED_WAIT_0
 193//
 194// MessageText:
 195//
 196//  STATUS_ABANDONED_WAIT_0
 197//
 198//const auto STATUS_ABANDONED_WAIT_0           = (cast(NTSTATUS)0x00000080L)    ; // winnt
 199
 200//
 201// MessageId: STATUS_ABANDONED_WAIT_63
 202//
 203// MessageText:
 204//
 205//  STATUS_ABANDONED_WAIT_63
 206//
 207const auto STATUS_ABANDONED_WAIT_63          = (cast(NTSTATUS)0x000000BFL);
 208
 209
 210//
 211// The success status codes 256, 257, 258, and 258 are reserved for
 212// User APC, Kernel APC, Alerted, and Timeout.
 213//
 214//
 215// MessageId: STATUS_USER_APC
 216//
 217// MessageText:
 218//
 219//  STATUS_USER_APC
 220//
 221//const auto STATUS_USER_APC                   = (cast(NTSTATUS)0x000000C0L)    ; // winnt
 222
 223//
 224// MessageId: STATUS_KERNEL_APC
 225//
 226// MessageText:
 227//
 228//  STATUS_KERNEL_APC
 229//
 230const auto STATUS_KERNEL_APC                 = (cast(NTSTATUS)0x00000100L);
 231
 232//
 233// MessageId: STATUS_ALERTED
 234//
 235// MessageText:
 236//
 237//  STATUS_ALERTED
 238//
 239const auto STATUS_ALERTED                    = (cast(NTSTATUS)0x00000101L);
 240
 241//
 242// MessageId: STATUS_TIMEOUT
 243//
 244// MessageText:
 245//
 246//  STATUS_TIMEOUT
 247//
 248const auto STATUS_TIMEOUT                    = (cast(NTSTATUS)0x00000102L)    ; // winnt
 249
 250//
 251// MessageId: STATUS_PENDING
 252//
 253// MessageText:
 254//
 255// The operation that was requested is pending completion.
 256//
 257//const auto STATUS_PENDING                    = (cast(NTSTATUS)0x00000103L)    ; // winnt
 258
 259//
 260// MessageId: STATUS_REPARSE
 261//
 262// MessageText:
 263//
 264// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
 265//
 266const auto STATUS_REPARSE                    = (cast(NTSTATUS)0x00000104L);
 267
 268//
 269// MessageId: STATUS_MORE_ENTRIES
 270//
 271// MessageText:
 272//
 273// Returned by enumeration APIs to indicate more information is available to successive calls.
 274//
 275const auto STATUS_MORE_ENTRIES               = (cast(NTSTATUS)0x00000105L);
 276
 277//
 278// MessageId: STATUS_NOT_ALL_ASSIGNED
 279//
 280// MessageText:
 281//
 282// Indicates not all privileges or groups referenced are assigned to the caller.
 283// This allows, for example, all privileges to be disabled without having to know exactly which privileges are assigned.
 284//
 285const auto STATUS_NOT_ALL_ASSIGNED           = (cast(NTSTATUS)0x00000106L);
 286
 287//
 288// MessageId: STATUS_SOME_NOT_MAPPED
 289//
 290// MessageText:
 291//
 292// Some of the information to be translated has not been translated.
 293//
 294const auto STATUS_SOME_NOT_MAPPED            = (cast(NTSTATUS)0x00000107L);
 295
 296//
 297// MessageId: STATUS_OPLOCK_BREAK_IN_PROGRESS
 298//
 299// MessageText:
 300//
 301// An open/create operation completed while an oplock break is underway.
 302//
 303const auto STATUS_OPLOCK_BREAK_IN_PROGRESS   = (cast(NTSTATUS)0x00000108L);
 304
 305//
 306// MessageId: STATUS_VOLUME_MOUNTED
 307//
 308// MessageText:
 309//
 310// A new volume has been mounted by a file system.
 311//
 312const auto STATUS_VOLUME_MOUNTED             = (cast(NTSTATUS)0x00000109L);
 313
 314//
 315// MessageId: STATUS_RXACT_COMMITTED
 316//
 317// MessageText:
 318//
 319// This success level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted.
 320// The commit has now been completed.
 321//
 322const auto STATUS_RXACT_COMMITTED            = (cast(NTSTATUS)0x0000010AL);
 323
 324//
 325// MessageId: STATUS_NOTIFY_CLEANUP
 326//
 327// MessageText:
 328//
 329// This indicates that a notify change request has been completed due to closing the handle which made the notify change request.
 330//
 331const auto STATUS_NOTIFY_CLEANUP             = (cast(NTSTATUS)0x0000010BL);
 332
 333//
 334// MessageId: STATUS_NOTIFY_ENUM_DIR
 335//
 336// MessageText:
 337//
 338// This indicates that a notify change request is being completed and that the information is not being returned in the caller's buffer.
 339// The caller now needs to enumerate the files to find the changes.
 340//
 341const auto STATUS_NOTIFY_ENUM_DIR            = (cast(NTSTATUS)0x0000010CL);
 342
 343//
 344// MessageId: STATUS_NO_QUOTAS_FOR_ACCOUNT
 345//
 346// MessageText:
 347//
 348// {No Quotas}
 349// No system quota limits are specifically set for this account.
 350//
 351const auto STATUS_NO_QUOTAS_FOR_ACCOUNT      = (cast(NTSTATUS)0x0000010DL);
 352
 353//
 354// MessageId: STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED
 355//
 356// MessageText:
 357//
 358// {Connect Failure on Primary Transport}
 359// An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed.
 360// The computer WAS able to connect on a secondary transport.
 361//
 362const auto STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED  = (cast(NTSTATUS)0x0000010EL);
 363
 364//
 365// MessageId: STATUS_PAGE_FAULT_TRANSITION
 366//
 367// MessageText:
 368//
 369// Page fault was a transition fault.
 370//
 371const auto STATUS_PAGE_FAULT_TRANSITION      = (cast(NTSTATUS)0x00000110L);
 372
 373//
 374// MessageId: STATUS_PAGE_FAULT_DEMAND_ZERO
 375//
 376// MessageText:
 377//
 378// Page fault was a demand zero fault.
 379//
 380const auto STATUS_PAGE_FAULT_DEMAND_ZERO     = (cast(NTSTATUS)0x00000111L);
 381
 382//
 383// MessageId: STATUS_PAGE_FAULT_COPY_ON_WRITE
 384//
 385// MessageText:
 386//
 387// Page fault was a demand zero fault.
 388//
 389const auto STATUS_PAGE_FAULT_COPY_ON_WRITE   = (cast(NTSTATUS)0x00000112L);
 390
 391//
 392// MessageId: STATUS_PAGE_FAULT_GUARD_PAGE
 393//
 394// MessageText:
 395//
 396// Page fault was a demand zero fault.
 397//
 398const auto STATUS_PAGE_FAULT_GUARD_PAGE      = (cast(NTSTATUS)0x00000113L);
 399
 400//
 401// MessageId: STATUS_PAGE_FAULT_PAGING_FILE
 402//
 403// MessageText:
 404//
 405// Page fault was satisfied by reading from a secondary storage device.
 406//
 407const auto STATUS_PAGE_FAULT_PAGING_FILE     = (cast(NTSTATUS)0x00000114L);
 408
 409//
 410// MessageId: STATUS_CACHE_PAGE_LOCKED
 411//
 412// MessageText:
 413//
 414// Cached page was locked during operation.
 415//
 416const auto STATUS_CACHE_PAGE_LOCKED          = (cast(NTSTATUS)0x00000115L);
 417
 418//
 419// MessageId: STATUS_CRASH_DUMP
 420//
 421// MessageText:
 422//
 423// Crash dump exists in paging file.
 424//
 425const auto STATUS_CRASH_DUMP                 = (cast(NTSTATUS)0x00000116L);
 426
 427//
 428// MessageId: STATUS_BUFFER_ALL_ZEROS
 429//
 430// MessageText:
 431//
 432// Specified buffer contains all zeros.
 433//
 434const auto STATUS_BUFFER_ALL_ZEROS           = (cast(NTSTATUS)0x00000117L);
 435
 436//
 437// MessageId: STATUS_REPARSE_OBJECT
 438//
 439// MessageText:
 440//
 441// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
 442//
 443const auto STATUS_REPARSE_OBJECT             = (cast(NTSTATUS)0x00000118L);
 444
 445//
 446// MessageId: STATUS_RESOURCE_REQUIREMENTS_CHANGED
 447//
 448// MessageText:
 449//
 450// The device has succeeded a query-stop and its resource requirements have changed.
 451//
 452const auto STATUS_RESOURCE_REQUIREMENTS_CHANGED  = (cast(NTSTATUS)0x00000119L);
 453
 454//
 455// MessageId: STATUS_TRANSLATION_COMPLETE
 456//
 457// MessageText:
 458//
 459// The translator has translated these resources into the global space and no further translations should be performed.
 460//
 461const auto STATUS_TRANSLATION_COMPLETE       = (cast(NTSTATUS)0x00000120L);
 462
 463//
 464// MessageId: STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY
 465//
 466// MessageText:
 467//
 468// The directory service evaluated group memberships locally, as it was unable to contact a global catalog server.
 469//
 470const auto STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY  = (cast(NTSTATUS)0x00000121L);
 471
 472//
 473// MessageId: STATUS_NOTHING_TO_TERMINATE
 474//
 475// MessageText:
 476//
 477// A process being terminated has no threads to terminate.
 478//
 479const auto STATUS_NOTHING_TO_TERMINATE       = (cast(NTSTATUS)0x00000122L);
 480
 481//
 482// MessageId: STATUS_PROCESS_NOT_IN_JOB
 483//
 484// MessageText:
 485//
 486// The specified process is not part of a job.
 487//
 488const auto STATUS_PROCESS_NOT_IN_JOB         = (cast(NTSTATUS)0x00000123L);
 489
 490//
 491// MessageId: STATUS_PROCESS_IN_JOB
 492//
 493// MessageText:
 494//
 495// The specified process is part of a job.
 496//
 497const auto STATUS_PROCESS_IN_JOB             = (cast(NTSTATUS)0x00000124L);
 498
 499//
 500// MessageId: STATUS_VOLSNAP_HIBERNATE_READY
 501//
 502// MessageText:
 503//
 504// {Volume Shadow Copy Service}
 505// The system is now ready for hibernation.
 506//
 507const auto STATUS_VOLSNAP_HIBERNATE_READY    = (cast(NTSTATUS)0x00000125L);
 508
 509//
 510// MessageId: STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY
 511//
 512// MessageText:
 513//
 514// A file system or file system filter driver has successfully completed an FsFilter operation.
 515//
 516const auto STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY  = (cast(NTSTATUS)0x00000126L);
 517
 518//
 519// MessageId: STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED
 520//
 521// MessageText:
 522//
 523// The specified interrupt vector was already connected.
 524//
 525const auto STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED  = (cast(NTSTATUS)0x00000127L);
 526
 527//
 528// MessageId: STATUS_INTERRUPT_STILL_CONNECTED
 529//
 530// MessageText:
 531//
 532// The specified interrupt vector is still connected.
 533//
 534const auto STATUS_INTERRUPT_STILL_CONNECTED  = (cast(NTSTATUS)0x00000128L);
 535
 536//
 537// MessageId: STATUS_PROCESS_CLONED
 538//
 539// MessageText:
 540//
 541// The current process is a cloned process.
 542//
 543const auto STATUS_PROCESS_CLONED             = (cast(NTSTATUS)0x00000129L);
 544
 545//
 546// MessageId: STATUS_FILE_LOCKED_WITH_ONLY_READERS
 547//
 548// MessageText:
 549//
 550// The file was locked and all users of the file can only read.
 551//
 552const auto STATUS_FILE_LOCKED_WITH_ONLY_READERS  = (cast(NTSTATUS)0x0000012AL);
 553
 554//
 555// MessageId: STATUS_FILE_LOCKED_WITH_WRITERS
 556//
 557// MessageText:
 558//
 559// The file was locked and at least one user of the file can write.
 560//
 561const auto STATUS_FILE_LOCKED_WITH_WRITERS   = (cast(NTSTATUS)0x0000012BL);
 562
 563//
 564// MessageId: STATUS_RESOURCEMANAGER_READ_ONLY
 565//
 566// MessageText:
 567//
 568// The specified ResourceManager made no changes or updates to the resource under this transaction.
 569//
 570const auto STATUS_RESOURCEMANAGER_READ_ONLY  = (cast(NTSTATUS)0x00000202L);
 571
 572//
 573// MessageId: DBG_EXCEPTION_HANDLED
 574//
 575// MessageText:
 576//
 577// Debugger handled exception
 578//
 579const auto DBG_EXCEPTION_HANDLED             = (cast(NTSTATUS)0x00010001L)    ; // winnt
 580
 581//
 582// MessageId: DBG_CONTINUE
 583//
 584// MessageText:
 585//
 586// Debugger continued
 587//
 588const auto DBG_CONTINUE                      = (cast(NTSTATUS)0x00010002L)    ; // winnt
 589
 590//
 591// MessageId: STATUS_FLT_IO_COMPLETE
 592//
 593// MessageText:
 594//
 595// The IO was completed by a filter.
 596//
 597const auto STATUS_FLT_IO_COMPLETE            = (cast(NTSTATUS)0x001C0001L);
 598
 599
 600
 601/////////////////////////////////////////////////////////////////////////
 602//
 603// Standard Information values
 604//
 605/////////////////////////////////////////////////////////////////////////
 606
 607//
 608// MessageId: STATUS_OBJECT_NAME_EXISTS
 609//
 610// MessageText:
 611//
 612// {Object Exists}
 613// An attempt was made to create an object and the object name already existed.
 614//
 615const auto STATUS_OBJECT_NAME_EXISTS         = (cast(NTSTATUS)0x40000000L);
 616
 617//
 618// MessageId: STATUS_THREAD_WAS_SUSPENDED
 619//
 620// MessageText:
 621//
 622// {Thread Suspended}
 623// A thread termination occurred while the thread was suspended. The thread was resumed, and termination proceeded.
 624//
 625const auto STATUS_THREAD_WAS_SUSPENDED       = (cast(NTSTATUS)0x40000001L);
 626
 627//
 628// MessageId: STATUS_WORKING_SET_LIMIT_RANGE
 629//
 630// MessageText:
 631//
 632// {Working Set Range Error}
 633// An attempt was made to set the working set minimum or maximum to values which are outside of the allowable range.
 634//
 635const auto STATUS_WORKING_SET_LIMIT_RANGE    = (cast(NTSTATUS)0x40000002L);
 636
 637//
 638// MessageId: STATUS_IMAGE_NOT_AT_BASE
 639//
 640// MessageText:
 641//
 642// {Image Relocated}
 643// An image file could not be mapped at the address specified in the image file. Local fixups must be performed on this image.
 644//
 645const auto STATUS_IMAGE_NOT_AT_BASE          = (cast(NTSTATUS)0x40000003L);
 646
 647//
 648// MessageId: STATUS_RXACT_STATE_CREATED
 649//
 650// MessageText:
 651//
 652// This informational level status indicates that a specified registry sub-tree transaction state did not yet exist and had to be created.
 653//
 654const auto STATUS_RXACT_STATE_CREATED        = (cast(NTSTATUS)0x40000004L);
 655
 656//
 657// MessageId: STATUS_SEGMENT_NOTIFICATION
 658//
 659// MessageText:
 660//
 661// {Segment Load}
 662// A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image.
 663// An exception is raised so a debugger can load, unload or track symbols and breakpoints within these 16-bit segments.
 664//
 665const auto STATUS_SEGMENT_NOTIFICATION       = (cast(NTSTATUS)0x40000005L)    ; // winnt
 666
 667//
 668// MessageId: STATUS_LOCAL_USER_SESSION_KEY
 669//
 670// MessageText:
 671//
 672// {Local Session Key}
 673// A user session key was requested for a local RPC connection. The session key returned is a constant value and not unique to this connection.
 674//
 675const auto STATUS_LOCAL_USER_SESSION_KEY     = (cast(NTSTATUS)0x40000006L);
 676
 677//
 678// MessageId: STATUS_BAD_CURRENT_DIRECTORY
 679//
 680// MessageText:
 681//
 682// {Invalid Current Directory}
 683// The process cannot switch to the startup current directory %hs.
 684// Select OK to set current directory to %hs, or select CANCEL to exit.
 685//
 686const auto STATUS_BAD_CURRENT_DIRECTORY      = (cast(NTSTATUS)0x40000007L);
 687
 688//
 689// MessageId: STATUS_SERIAL_MORE_WRITES
 690//
 691// MessageText:
 692//
 693// {Serial IOCTL Complete}
 694// A serial I/O operation was completed by another write to a serial port.
 695// (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
 696//
 697const auto STATUS_SERIAL_MORE_WRITES         = (cast(NTSTATUS)0x40000008L);
 698
 699//
 700// MessageId: STATUS_REGISTRY_RECOVERED
 701//
 702// MessageText:
 703//
 704// {Registry Recovery}
 705// One of the files containing the system's Registry data had to be recovered by use of a log or alternate copy.
 706// The recovery was successful.
 707//
 708const auto STATUS_REGISTRY_RECOVERED         = (cast(NTSTATUS)0x40000009L);
 709
 710//
 711// MessageId: STATUS_FT_READ_RECOVERY_FROM_BACKUP
 712//
 713// MessageText:
 714//
 715// {Redundant Read}
 716// To satisfy a read request, the NT fault-tolerant file system successfully read the requested data from a redundant copy.
 717// This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was unable to reassign the failing area of the device.
 718//
 719const auto STATUS_FT_READ_RECOVERY_FROM_BACKUP  = (cast(NTSTATUS)0x4000000AL);
 720
 721//
 722// MessageId: STATUS_FT_WRITE_RECOVERY
 723//
 724// MessageText:
 725//
 726// {Redundant Write}
 727// To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information.
 728// This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device.
 729//
 730const auto STATUS_FT_WRITE_RECOVERY          = (cast(NTSTATUS)0x4000000BL);
 731
 732//
 733// MessageId: STATUS_SERIAL_COUNTER_TIMEOUT
 734//
 735// MessageText:
 736//
 737// {Serial IOCTL Timeout}
 738// A serial I/O operation completed because the time-out period expired.
 739// (The IOCTL_SERIAL_XOFF_COUNTER had not reached zero.)
 740//
 741const auto STATUS_SERIAL_COUNTER_TIMEOUT     = (cast(NTSTATUS)0x4000000CL);
 742
 743//
 744// MessageId: STATUS_NULL_LM_PASSWORD
 745//
 746// MessageText:
 747//
 748// {Password Too Complex}
 749// The Windows password is too complex to be converted to a LAN Manager password.
 750// The LAN Manager password returned is a NULL string.
 751//
 752const auto STATUS_NULL_LM_PASSWORD           = (cast(NTSTATUS)0x4000000DL);
 753
 754//
 755// MessageId: STATUS_IMAGE_MACHINE_TYPE_MISMATCH
 756//
 757// MessageText:
 758//
 759// {Machine Type Mismatch}
 760// The image file %hs is valid, but is for a machine type other than the current machine. Select OK to continue, or CANCEL to fail the DLL load.
 761//
 762const auto STATUS_IMAGE_MACHINE_TYPE_MISMATCH  = (cast(NTSTATUS)0x4000000EL);
 763
 764//
 765// MessageId: STATUS_RECEIVE_PARTIAL
 766//
 767// MessageText:
 768//
 769// {Partial Data Received}
 770// The network transport returned partial data to its client. The remaining data will be sent later.
 771//
 772const auto STATUS_RECEIVE_PARTIAL            = (cast(NTSTATUS)0x4000000FL);
 773
 774//
 775// MessageId: STATUS_RECEIVE_EXPEDITED
 776//
 777// MessageText:
 778//
 779// {Expedited Data Received}
 780// The network transport returned data to its client that was marked as expedited by the remote system.
 781//
 782const auto STATUS_RECEIVE_EXPEDITED          = (cast(NTSTATUS)0x40000010L);
 783
 784//
 785// MessageId: STATUS_RECEIVE_PARTIAL_EXPEDITED
 786//
 787// MessageText:
 788//
 789// {Partial Expedited Data Received}
 790// The network transport returned partial data to its client and this data was marked as expedited by the remote system. The remaining data will be sent later.
 791//
 792const auto STATUS_RECEIVE_PARTIAL_EXPEDITED  = (cast(NTSTATUS)0x40000011L);
 793
 794//
 795// MessageId: STATUS_EVENT_DONE
 796//
 797// MessageText:
 798//
 799// {TDI Event Done}
 800// The TDI indication has completed successfully.
 801//
 802const auto STATUS_EVENT_DONE                 = (cast(NTSTATUS)0x40000012L);
 803
 804//
 805// MessageId: STATUS_EVENT_PENDING
 806//
 807// MessageText:
 808//
 809// {TDI Event Pending}
 810// The TDI indication has entered the pending state.
 811//
 812const auto STATUS_EVENT_PENDING              = (cast(NTSTATUS)0x40000013L);
 813
 814//
 815// MessageId: STATUS_CHECKING_FILE_SYSTEM
 816//
 817// MessageText:
 818//
 819// Checking file system on %wZ
 820//
 821const auto STATUS_CHECKING_FILE_SYSTEM       = (cast(NTSTATUS)0x40000014L);
 822
 823//
 824// MessageId: STATUS_FATAL_APP_EXIT
 825//
 826// MessageText:
 827//
 828// {Fatal Application Exit}
 829// %hs
 830//
 831const auto STATUS_FATAL_APP_EXIT             = (cast(NTSTATUS)0x40000015L);
 832
 833//
 834// MessageId: STATUS_PREDEFINED_HANDLE
 835//
 836// MessageText:
 837//
 838// The specified registry key is referenced by a predefined handle.
 839//
 840const auto STATUS_PREDEFINED_HANDLE          = (cast(NTSTATUS)0x40000016L);
 841
 842//
 843// MessageId: STATUS_WAS_UNLOCKED
 844//
 845// MessageText:
 846//
 847// {Page Unlocked}
 848// The page protection of a locked page was changed to 'No Access' and the page was unlocked from memory and from the process.
 849//
 850const auto STATUS_WAS_UNLOCKED               = (cast(NTSTATUS)0x40000017L);
 851
 852//
 853// MessageId: STATUS_SERVICE_NOTIFICATION
 854//
 855// MessageText:
 856//
 857// %hs
 858//
 859const auto STATUS_SERVICE_NOTIFICATION       = (cast(NTSTATUS)0x40000018L);
 860
 861//
 862// MessageId: STATUS_WAS_LOCKED
 863//
 864// MessageText:
 865//
 866// {Page Locked}
 867// One of the pages to lock was already locked.
 868//
 869const auto STATUS_WAS_LOCKED                 = (cast(NTSTATUS)0x40000019L);
 870
 871//
 872// MessageId: STATUS_LOG_HARD_ERROR
 873//
 874// MessageText:
 875//
 876// Application popup: %1 : %2
 877//
 878const auto STATUS_LOG_HARD_ERROR             = (cast(NTSTATUS)0x4000001AL);
 879
 880//
 881// MessageId: STATUS_ALREADY_WIN32
 882//
 883// MessageText:
 884//
 885//  STATUS_ALREADY_WIN32
 886//
 887const auto STATUS_ALREADY_WIN32              = (cast(NTSTATUS)0x4000001BL);
 888
 889//
 890// MessageId: STATUS_WX86_UNSIMULATE
 891//
 892// MessageText:
 893//
 894// Exception status code used by Win32 x86 emulation subsystem.
 895//
 896const auto STATUS_WX86_UNSIMULATE            = (cast(NTSTATUS)0x4000001CL);
 897
 898//
 899// MessageId: STATUS_WX86_CONTINUE
 900//
 901// MessageText:
 902//
 903// Exception status code used by Win32 x86 emulation subsystem.
 904//
 905const auto STATUS_WX86_CONTINUE              = (cast(NTSTATUS)0x4000001DL);
 906
 907//
 908// MessageId: STATUS_WX86_SINGLE_STEP
 909//
 910// MessageText:
 911//
 912// Exception status code used by Win32 x86 emulation subsystem.
 913//
 914const auto STATUS_WX86_SINGLE_STEP           = (cast(NTSTATUS)0x4000001EL);
 915
 916//
 917// MessageId: STATUS_WX86_BREAKPOINT
 918//
 919// MessageText:
 920//
 921// Exception status code used by Win32 x86 emulation subsystem.
 922//
 923const auto STATUS_WX86_BREAKPOINT            = (cast(NTSTATUS)0x4000001FL);
 924
 925//
 926// MessageId: STATUS_WX86_EXCEPTION_CONTINUE
 927//
 928// MessageText:
 929//
 930// Exception status code used by Win32 x86 emulation subsystem.
 931//
 932const auto STATUS_WX86_EXCEPTION_CONTINUE    = (cast(NTSTATUS)0x40000020L);
 933
 934//
 935// MessageId: STATUS_WX86_EXCEPTION_LASTCHANCE
 936//
 937// MessageText:
 938//
 939// Exception status code used by Win32 x86 emulation subsystem.
 940//
 941const auto STATUS_WX86_EXCEPTION_LASTCHANCE  = (cast(NTSTATUS)0x40000021L);
 942
 943//
 944// MessageId: STATUS_WX86_EXCEPTION_CHAIN
 945//
 946// MessageText:
 947//
 948// Exception status code used by Win32 x86 emulation subsystem.
 949//
 950const auto STATUS_WX86_EXCEPTION_CHAIN       = (cast(NTSTATUS)0x40000022L);
 951
 952//
 953// MessageId: STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE
 954//
 955// MessageText:
 956//
 957// {Machine Type Mismatch}
 958// The image file %hs is valid, but is for a machine type other than the current machine.
 959//
 960const auto STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE  = (cast(NTSTATUS)0x40000023L);
 961
 962//
 963// MessageId: STATUS_NO_YIELD_PERFORMED
 964//
 965// MessageText:
 966//
 967// A yield execution was performed and no thread was available to run.
 968//
 969const auto STATUS_NO_YIELD_PERFORMED         = (cast(NTSTATUS)0x40000024L);
 970
 971//
 972// MessageId: STATUS_TIMER_RESUME_IGNORED
 973//
 974// MessageText:
 975//
 976// The resumable flag to a timer API was ignored.
 977//
 978const auto STATUS_TIMER_RESUME_IGNORED       = (cast(NTSTATUS)0x40000025L);
 979
 980//
 981// MessageId: STATUS_ARBITRATION_UNHANDLED
 982//
 983// MessageText:
 984//
 985// The arbiter has deferred arbitration of these resources to its parent
 986//
 987const auto STATUS_ARBITRATION_UNHANDLED      = (cast(NTSTATUS)0x40000026L);
 988
 989//
 990// MessageId: STATUS_CARDBUS_NOT_SUPPORTED
 991//
 992// MessageText:
 993//
 994// The device "%hs" has detected a CardBus card in its slot, but the firmware on this system is not configured to allow the CardBus controller to be run in CardBus mode.
 995// The operating system will currently accept only 16-bit (R2) pc-cards on this controller.
 996//
 997const auto STATUS_CARDBUS_NOT_SUPPORTED      = (cast(NTSTATUS)0x40000027L);
 998
 999//
1000// MessageId: STATUS_WX86_CREATEWX86TIB
1001//
1002// MessageText:
1003//
1004// Exception status code used by Win32 x86 emulation subsystem.
1005//
1006const auto STATUS_WX86_CREATEWX86TIB         = (cast(NTSTATUS)0x40000028L);
1007
1008//
1009// MessageId: STATUS_MP_PROCESSOR_MISMATCH
1010//
1011// MessageText:
1012//
1013// The CPUs in this multiprocessor system are not all the same revision level.  To use all processors the operating system restricts itself to the features of the least capable processor in the system.  Should problems occur with this system, contact
1014// the CPU manufacturer to see if this mix of processors is supported.
1015//
1016const auto STATUS_MP_PROCESSOR_MISMATCH      = (cast(NTSTATUS)0x40000029L);
1017
1018//
1019// MessageId: STATUS_HIBERNATED
1020//
1021// MessageText:
1022//
1023// The system was put into hibernation.
1024//
1025const auto STATUS_HIBERNATED                 = (cast(NTSTATUS)0x4000002AL)    ;
1026
1027//
1028// MessageId: STATUS_RESUME_HIBERNATION
1029//
1030// MessageText:
1031//
1032// The system was resumed from hibernation.
1033//
1034const auto STATUS_RESUME_HIBERNATION         = (cast(NTSTATUS)0x4000002BL)    ;
1035
1036//
1037// MessageId: STATUS_FIRMWARE_UPDATED
1038//
1039// MessageText:
1040//
1041// Windows has detected that the system firmware (BIOS) was updated [previous firmware date = %2, current firmware date %3].
1042//
1043const auto STATUS_FIRMWARE_UPDATED           = (cast(NTSTATUS)0x4000002CL);
1044
1045//
1046// MessageId: STATUS_DRIVERS_LEAKING_LOCKED_PAGES
1047//
1048// MessageText:
1049//
1050// A device driver is leaking locked I/O pages causing system degradation.  The system has automatically enabled tracking code in order to try and catch the culprit.
1051//
1052const auto STATUS_DRIVERS_LEAKING_LOCKED_PAGES  = (cast(NTSTATUS)0x4000002DL);
1053
1054//
1055// MessageId: STATUS_MESSAGE_RETRIEVED
1056//
1057// MessageText:
1058//
1059// The ALPC message being canceled has already been retrieved from the queue on the other side.
1060//
1061const auto STATUS_MESSAGE_RETRIEVED          = (cast(NTSTATUS)0x4000002EL);
1062
1063//
1064// MessageId: STATUS_SYSTEM_POWERSTATE_TRANSITION
1065//
1066// MessageText:
1067//
1068// The system powerstate is transitioning from %2 to %3.
1069//
1070const auto STATUS_SYSTEM_POWERSTATE_TRANSITION  = (cast(NTSTATUS)0x4000002FL)    ;
1071
1072//
1073// MessageId: STATUS_ALPC_CHECK_COMPLETION_LIST
1074//
1075// MessageText:
1076//
1077// The receive operation was successful. Check the ALPC completion list for the received message.
1078//
1079const auto STATUS_ALPC_CHECK_COMPLETION_LIST  = (cast(NTSTATUS)0x40000030L);
1080
1081//
1082// MessageId: STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION
1083//
1084// MessageText:
1085//
1086// The system powerstate is transitioning from %2 to %3 but could enter %4.
1087//
1088const auto STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION  = (cast(NTSTATUS)0x40000031L)    ;
1089
1090//
1091// MessageId: STATUS_ACCESS_AUDIT_BY_POLICY
1092//
1093// MessageText:
1094//
1095// Access to %1 is monitored by policy rule %2.
1096//
1097const auto STATUS_ACCESS_AUDIT_BY_POLICY     = (cast(NTSTATUS)0x40000032L)    ;
1098
1099//
1100// MessageId: STATUS_ABANDON_HIBERFILE
1101//
1102// MessageText:
1103//
1104// A valid hibernation file has been invalidated and should be abandoned.
1105//
1106const auto STATUS_ABANDON_HIBERFILE          = (cast(NTSTATUS)0x40000033L);
1107
1108//
1109// MessageId: STATUS_BIZRULES_NOT_ENABLED
1110//
1111// MessageText:
1112//
1113// Business rule scripts are disabled for the calling application.
1114//
1115const auto STATUS_BIZRULES_NOT_ENABLED       = (cast(NTSTATUS)0x40000034L);
1116
1117//
1118// MessageId: DBG_REPLY_LATER
1119//
1120// MessageText:
1121//
1122// Debugger will reply later.
1123//
1124const auto DBG_REPLY_LATER                   = (cast(NTSTATUS)0x40010001L);
1125
1126//
1127// MessageId: DBG_UNABLE_TO_PROVIDE_HANDLE
1128//
1129// MessageText:
1130//
1131// Debugger cannot provide handle.
1132//
1133const auto DBG_UNABLE_TO_PROVIDE_HANDLE      = (cast(NTSTATUS)0x40010002L);
1134
1135//
1136// MessageId: DBG_TERMINATE_THREAD
1137//
1138// MessageText:
1139//
1140// Debugger terminated thread.
1141//
1142const auto DBG_TERMINATE_THREAD              = (cast(NTSTATUS)0x40010003L)    ; // winnt
1143
1144//
1145// MessageId: DBG_TERMINATE_PROCESS
1146//
1147// MessageText:
1148//
1149// Debugger terminated process.
1150//
1151const auto DBG_TERMINATE_PROCESS             = (cast(NTSTATUS)0x40010004L)    ; // winnt
1152
1153//
1154// MessageId: DBG_CONTROL_C
1155//
1156// MessageText:
1157//
1158// Debugger got control C.
1159//
1160const auto DBG_CONTROL_C                     = (cast(NTSTATUS)0x40010005L)    ; // winnt
1161
1162//
1163// MessageId: DBG_PRINTEXCEPTION_C
1164//
1165// MessageText:
1166//
1167// Debugger printed exception on control C.
1168//
1169const auto DBG_PRINTEXCEPTION_C              = (cast(NTSTATUS)0x40010006L);
1170
1171//
1172// MessageId: DBG_RIPEXCEPTION
1173//
1174// MessageText:
1175//
1176// Debugger received RIP exception.
1177//
1178const auto DBG_RIPEXCEPTION                  = (cast(NTSTATUS)0x40010007L);
1179
1180//
1181// MessageId: DBG_CONTROL_BREAK
1182//
1183// MessageText:
1184//
1185// Debugger received control break.
1186//
1187const auto DBG_CONTROL_BREAK                 = (cast(NTSTATUS)0x40010008L)    ; // winnt
1188
1189//
1190// MessageId: DBG_COMMAND_EXCEPTION
1191//
1192// MessageText:
1193//
1194// Debugger command communication exception.
1195//
1196const auto DBG_COMMAND_EXCEPTION             = (cast(NTSTATUS)0x40010009L)    ; // winnt
1197
1198//
1199// MessageId: STATUS_FLT_BUFFER_TOO_SMALL
1200//
1201// MessageText:
1202//
1203// {Buffer too small}
1204// The buffer is too small to contain the entry. No information has been written to the buffer.
1205//
1206const auto STATUS_FLT_BUFFER_TOO_SMALL       = (cast(NTSTATUS)0x801C0001L);
1207
1208
1209
1210/////////////////////////////////////////////////////////////////////////
1211//
1212// Standard Warning values
1213//
1214//
1215// Note:  Do NOT use the value 0x80000000L, as this is a non-portable value
1216//        for the NT_SUCCESS macro. Warning values start with a code of 1.
1217//
1218/////////////////////////////////////////////////////////////////////////
1219
1220//
1221// MessageId: STATUS_GUARD_PAGE_VIOLATION
1222//
1223// MessageText:
1224//
1225// {EXCEPTION}
1226// Guard Page Exception
1227// A page of memory that marks the end of a data structure, such as a stack or an array, has been accessed.
1228//
1229//const auto STATUS_GUARD_PAGE_VIOLATION       = (cast(NTSTATUS)0x80000001L)    ; // winnt
1230
1231//
1232// MessageId: STATUS_DATATYPE_MISALIGNMENT
1233//
1234// MessageText:
1235//
1236// {EXCEPTION}
1237// Alignment Fault
1238// A datatype misalignment was detected in a load or store instruction.
1239//
1240//const auto STATUS_DATATYPE_MISALIGNMENT      = (cast(NTSTATUS)0x80000002L)    ; // winnt
1241
1242//
1243// MessageId: STATUS_BREAKPOINT
1244//
1245// MessageText:
1246//
1247// {EXCEPTION}
1248// Breakpoint
1249// A breakpoint has been reached.
1250//
1251//const auto STATUS_BREAKPOINT                 = (cast(NTSTATUS)0x80000003L)    ; // winnt
1252
1253//
1254// MessageId: STATUS_SINGLE_STEP
1255//
1256// MessageText:
1257//
1258// {EXCEPTION}
1259// Single Step
1260// A single step or trace operation has just been completed.
1261//
1262//const auto STATUS_SINGLE_STEP                = (cast(NTSTATUS)0x80000004L)    ; // winnt
1263
1264//
1265// MessageId: STATUS_BUFFER_OVERFLOW
1266//
1267// MessageText:
1268//
1269// {Buffer Overflow}
1270// The data was too large to fit into the specified buffer.
1271//
1272const auto STATUS_BUFFER_OVERFLOW            = (cast(NTSTATUS)0x80000005L);
1273
1274//
1275// MessageId: STATUS_NO_MORE_FILES
1276//
1277// MessageText:
1278//
1279// {No More Files}
1280// No more files were found which match the file specification.
1281//
1282const auto STATUS_NO_MORE_FILES              = (cast(NTSTATUS)0x80000006L);
1283
1284//
1285// MessageId: STATUS_WAKE_SYSTEM_DEBUGGER
1286//
1287// MessageText:
1288//
1289// {Kernel Debugger Awakened}
1290// the system debugger was awakened by an interrupt.
1291//
1292const auto STATUS_WAKE_SYSTEM_DEBUGGER       = (cast(NTSTATUS)0x80000007L);
1293
1294//
1295// MessageId: STATUS_HANDLES_CLOSED
1296//
1297// MessageText:
1298//
1299// {Handles Closed}
1300// Handles to objects have been automatically closed as a result of the requested operation.
1301//
1302const auto STATUS_HANDLES_CLOSED             = (cast(NTSTATUS)0x8000000AL);
1303
1304//
1305// MessageId: STATUS_NO_INHERITANCE
1306//
1307// MessageText:
1308//
1309// {Non-Inheritable ACL}
1310// An access control list (ACL) contains no components that can be inherited.
1311//
1312const auto STATUS_NO_INHERITANCE             = (cast(NTSTATUS)0x8000000BL);
1313
1314//
1315// MessageId: STATUS_GUID_SUBSTITUTION_MADE
1316//
1317// MessageText:
1318//
1319// {GUID Substitution}
1320// During the translation of a global identifier (GUID) to a Windows security ID (SID), no administratively-defined GUID prefix was found.
1321// A substitute prefix was used, which will not compromise system security.
1322// However, this may provide a more restrictive access than intended.
1323//
1324const auto STATUS_GUID_SUBSTITUTION_MADE     = (cast(NTSTATUS)0x8000000CL);
1325
1326//
1327// MessageId: STATUS_PARTIAL_COPY
1328//
1329// MessageText:
1330//
1331// {Partial Copy}
1332// Due to protection conflicts not all the requested bytes could be copied.
1333//
1334const auto STATUS_PARTIAL_COPY               = (cast(NTSTATUS)0x8000000DL);
1335
1336//
1337// MessageId: STATUS_DEVICE_PAPER_EMPTY
1338//
1339// MessageText:
1340//
1341// {Out of Paper}
1342// The printer is out of paper.
1343//
1344const auto STATUS_DEVICE_PAPER_EMPTY         = (cast(NTSTATUS)0x8000000EL);
1345
1346//
1347// MessageId: STATUS_DEVICE_POWERED_OFF
1348//
1349// MessageText:
1350//
1351// {Device Power Is Off}
1352// The printer power has been turned off.
1353//
1354const auto STATUS_DEVICE_POWERED_OFF         = (cast(NTSTATUS)0x8000000FL);
1355
1356//
1357// MessageId: STATUS_DEVICE_OFF_LINE
1358//
1359// MessageText:
1360//
1361// {Device Offline}
1362// The printer has been taken offline.
1363//
1364const auto STATUS_DEVICE_OFF_LINE            = (cast(NTSTATUS)0x80000010L);
1365
1366//
1367// MessageId: STATUS_DEVICE_BUSY
1368//
1369// MessageText:
1370//
1371// {Device Busy}
1372// The device is currently busy.
1373//
1374const auto STATUS_DEVICE_BUSY                = (cast(NTSTATUS)0x80000011L);
1375
1376//
1377// MessageId: STATUS_NO_MORE_EAS
1378//
1379// MessageText:
1380//
1381// {No More EAs}
1382// No more extended attributes (EAs) were found for the file.
1383//
1384const auto STATUS_NO_MORE_EAS                = (cast(NTSTATUS)0x80000012L);
1385
1386//
1387// MessageId: STATUS_INVALID_EA_NAME
1388//
1389// MessageText:
1390//
1391// {Illegal EA}
1392// The specified extended attribute (EA) name contains at least one illegal character.
1393//
1394const auto STATUS_INVALID_EA_NAME            = (cast(NTSTATUS)0x80000013L);
1395
1396//
1397// MessageId: STATUS_EA_LIST_INCONSISTENT
1398//
1399// MessageText:
1400//
1401// {Inconsistent EA List}
1402// The extended attribute (EA) list is inconsistent.
1403//
1404const auto STATUS_EA_LIST_INCONSISTENT       = (cast(NTSTATUS)0x80000014L);
1405
1406//
1407// MessageId: STATUS_INVALID_EA_FLAG
1408//
1409// MessageText:
1410//
1411// {Invalid EA Flag}
1412// An invalid extended attribute (EA) flag was set.
1413//
1414const auto STATUS_INVALID_EA_FLAG            = (cast(NTSTATUS)0x80000015L);
1415
1416//
1417// MessageId: STATUS_VERIFY_REQUIRED
1418//
1419// MessageText:
1420//
1421// {Verifying Disk}
1422// The media has changed and a verify operation is in progress so no reads or writes may be performed to the device, except those used in the verify operation.
1423//
1424const auto STATUS_VERIFY_REQUIRED            = (cast(NTSTATUS)0x80000016L);
1425
1426//
1427// MessageId: STATUS_EXTRANEOUS_INFORMATION
1428//
1429// MessageText:
1430//
1431// {Too Much Information}
1432// The specified access control list (ACL) contained more information than was expected.
1433//
1434const auto STATUS_EXTRANEOUS_INFORMATION     = (cast(NTSTATUS)0x80000017L);
1435
1436//
1437// MessageId: STATUS_RXACT_COMMIT_NECESSARY
1438//
1439// MessageText:
1440//
1441// This warning level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted.
1442// The commit has NOT been completed, but has not been rolled back either (so it may still be committed if desired).
1443//
1444const auto STATUS_RXACT_COMMIT_NECESSARY     = (cast(NTSTATUS)0x80000018L);
1445
1446//
1447// MessageId: STATUS_NO_MORE_ENTRIES
1448//
1449// MessageText:
1450//
1451// {No More Entries}
1452// No more entries are available from an enumeration operation.
1453//
1454const auto STATUS_NO_MORE_ENTRIES            = (cast(NTSTATUS)0x8000001AL);
1455
1456//
1457// MessageId: STATUS_FILEMARK_DETECTED
1458//
1459// MessageText:
1460//
1461// {Filemark Found}
1462// A filemark was detected.
1463//
1464const auto STATUS_FILEMARK_DETECTED          = (cast(NTSTATUS)0x8000001BL);
1465
1466//
1467// MessageId: STATUS_MEDIA_CHANGED
1468//
1469// MessageText:
1470//
1471// {Media Changed}
1472// The media may have changed.
1473//
1474const auto STATUS_MEDIA_CHANGED              = (cast(NTSTATUS)0x8000001CL);
1475
1476//
1477// MessageId: STATUS_BUS_RESET
1478//
1479// MessageText:
1480//
1481// {I/O Bus Reset}
1482// An I/O bus reset was detected.
1483//
1484const auto STATUS_BUS_RESET                  = (cast(NTSTATUS)0x8000001DL);
1485
1486//
1487// MessageId: STATUS_END_OF_MEDIA
1488//
1489// MessageText:
1490//
1491// {End of Media}
1492// The end of the media was encountered.
1493//
1494const auto STATUS_END_OF_MEDIA               = (cast(NTSTATUS)0x8000001EL);
1495
1496//
1497// MessageId: STATUS_BEGINNING_OF_MEDIA
1498//
1499// MessageText:
1500//
1501// Beginning of tape or partition has been detected.
1502//
1503const auto STATUS_BEGINNING_OF_MEDIA         = (cast(NTSTATUS)0x8000001FL);
1504
1505//
1506// MessageId: STATUS_MEDIA_CHECK
1507//
1508// MessageText:
1509//
1510// {Media Changed}
1511// The media may have changed.
1512//
1513const auto STATUS_MEDIA_CHECK                = (cast(NTSTATUS)0x80000020L);
1514
1515//
1516// MessageId: STATUS_SETMARK_DETECTED
1517//
1518// MessageText:
1519//
1520// A tape access reached a setmark.
1521//
1522const auto STATUS_SETMARK_DETECTED           = (cast(NTSTATUS)0x80000021L);
1523
1524//
1525// MessageId: STATUS_NO_DATA_DETECTED
1526//
1527// MessageText:
1528//
1529// During a tape access, the end of the data written is reached.
1530//
1531const auto STATUS_NO_DATA_DETECTED           = (cast(NTSTATUS)0x80000022L);
1532
1533//
1534// MessageId: STATUS_REDIRECTOR_HAS_OPEN_HANDLES
1535//
1536// MessageText:
1537//
1538// The redirector is in use and cannot be unloaded.
1539//
1540const auto STATUS_REDIRECTOR_HAS_OPEN_HANDLES  = (cast(NTSTATUS)0x80000023L);
1541
1542//
1543// MessageId: STATUS_SERVER_HAS_OPEN_HANDLES
1544//
1545// MessageText:
1546//
1547// The server is in use and cannot be unloaded.
1548//
1549const auto STATUS_SERVER_HAS_OPEN_HANDLES    = (cast(NTSTATUS)0x80000024L);
1550
1551//
1552// MessageId: STATUS_ALREADY_DISCONNECTED
1553//
1554// MessageText:
1555//
1556// The specified connection has already been disconnected.
1557//
1558const auto STATUS_ALREADY_DISCONNECTED       = (cast(NTSTATUS)0x80000025L);
1559
1560//
1561// MessageId: STATUS_LONGJUMP
1562//
1563// MessageText:
1564//
1565// A long jump has been executed.
1566//
1567const auto STATUS_LONGJUMP                   = (cast(NTSTATUS)0x80000026L);
1568
1569//
1570// MessageId: STATUS_CLEANER_CARTRIDGE_INSTALLED
1571//
1572// MessageText:
1573//
1574// A cleaner cartridge is present in the tape library.
1575//
1576const auto STATUS_CLEANER_CARTRIDGE_INSTALLED  = (cast(NTSTATUS)0x80000027L);
1577
1578//
1579// MessageId: STATUS_PLUGPLAY_QUERY_VETOED
1580//
1581// MessageText:
1582//
1583// The Plug and Play query operation was not successful.
1584//
1585const auto STATUS_PLUGPLAY_QUERY_VETOED      = (cast(NTSTATUS)0x80000028L);
1586
1587//
1588// MessageId: STATUS_UNWIND_CONSOLIDATE
1589//
1590// MessageText:
1591//
1592// A frame consolidation has been executed.
1593//
1594const auto STATUS_UNWIND_CONSOLIDATE         = (cast(NTSTATUS)0x80000029L);
1595
1596//
1597// MessageId: STATUS_REGISTRY_HIVE_RECOVERED
1598//
1599// MessageText:
1600//
1601// {Registry Hive Recovered}
1602// Registry hive (file):
1603// %hs
1604// was corrupted and it has been recovered. Some data might have been lost.
1605//
1606const auto STATUS_REGISTRY_HIVE_RECOVERED    = (cast(NTSTATUS)0x8000002AL);
1607
1608//
1609// MessageId: STATUS_DLL_MIGHT_BE_INSECURE
1610//
1611// MessageText:
1612//
1613// The application is attempting to run executable code from the module %hs.  This may be insecure.  An alternative, %hs, is available.  Should the application use the secure module %hs?
1614//
1615const auto STATUS_DLL_MIGHT_BE_INSECURE      = (cast(NTSTATUS)0x8000002BL);
1616
1617//
1618// MessageId: STATUS_DLL_MIGHT_BE_INCOMPATIBLE
1619//
1620// MessageText:
1621//
1622// The application is loading executable code from the module %hs.  This is secure, but may be incompatible with previous releases of the operating system.  An alternative, %hs, is available.  Should the application use the secure module %hs?
1623//
1624const auto STATUS_DLL_MIGHT_BE_INCOMPATIBLE  = (cast(NTSTATUS)0x8000002CL);
1625
1626//
1627// MessageId: STATUS_STOPPED_ON_SYMLINK
1628//
1629// MessageText:
1630//
1631// The create operation stopped after reaching a symbolic link.
1632//
1633const auto STATUS_STOPPED_ON_SYMLINK         = (cast(NTSTATUS)0x8000002DL);
1634
1635//
1636// MessageId: DBG_EXCEPTION_NOT_HANDLED
1637//
1638// MessageText:
1639//
1640// Debugger did not handle the exception.
1641//
1642const auto DBG_EXCEPTION_NOT_HANDLED         = (cast(NTSTATUS)0x80010001L)    ; // winnt
1643
1644//
1645// MessageId: STATUS_CLUSTER_NODE_ALREADY_UP
1646//
1647// MessageText:
1648//
1649// The cluster node is already up.
1650//
1651const auto STATUS_CLUSTER_NODE_ALREADY_UP    = (cast(NTSTATUS)0x80130001L);
1652
1653//
1654// MessageId: STATUS_CLUSTER_NODE_ALREADY_DOWN
1655//
1656// MessageText:
1657//
1658// The cluster node is already down.
1659//
1660const auto STATUS_CLUSTER_NODE_ALREADY_DOWN  = (cast(NTSTATUS)0x80130002L);
1661
1662//
1663// MessageId: STATUS_CLUSTER_NETWORK_ALREADY_ONLINE
1664//
1665// MessageText:
1666//
1667// The cluster network is already online.
1668//
1669const auto STATUS_CLUSTER_NETWORK_ALREADY_ONLINE  = (cast(NTSTATUS)0x80130003L);
1670
1671//
1672// MessageId: STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE
1673//
1674// MessageText:
1675//
1676// The cluster network is already offline.
1677//
1678const auto STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE  = (cast(NTSTATUS)0x80130004L);
1679
1680//
1681// MessageId: STATUS_CLUSTER_NODE_ALREADY_MEMBER
1682//
1683// MessageText:
1684//
1685// The cluster node is already a member of the cluster.
1686//
1687const auto STATUS_CLUSTER_NODE_ALREADY_MEMBER  = (cast(NTSTATUS)0x80130005L);
1688
1689//
1690// MessageId: STATUS_FVE_PARTIAL_METADATA
1691//
1692// MessageText:
1693//
1694// Volume Metadata read or write is incomplete.
1695//
1696const auto STATUS_FVE_PARTIAL_METADATA       = (cast(NTSTATUS)0x80210001L);
1697
1698
1699
1700/////////////////////////////////////////////////////////////////////////
1701//
1702//  Standard Error values
1703//
1704/////////////////////////////////////////////////////////////////////////
1705
1706//
1707// MessageId: STATUS_UNSUCCESSFUL
1708//
1709// MessageText:
1710//
1711// {Operation Failed}
1712// The requested operation was unsuccessful.
1713//
1714const auto STATUS_UNSUCCESSFUL               = (cast(NTSTATUS)0xC0000001L);
1715
1716//
1717// MessageId: STATUS_NOT_IMPLEMENTED
1718//
1719// MessageText:
1720//
1721// {Not Implemented}
1722// The requested operation is not implemented.
1723//
1724const auto STATUS_NOT_IMPLEMENTED            = (cast(NTSTATUS)0xC0000002L);
1725
1726//
1727// MessageId: STATUS_INVALID_INFO_CLASS
1728//
1729// MessageText:
1730//
1731// {Invalid Parameter}
1732// The specified information class is not a valid information class for the specified object.
1733//
1734const auto STATUS_INVALID_INFO_CLASS         = (cast(NTSTATUS)0xC0000003L)    ; // ntsubauth
1735
1736//
1737// MessageId: STATUS_INFO_LENGTH_MISMATCH
1738//
1739// MessageText:
1740//
1741// The specified information record length does not match the length required for the specified information class.
1742//
1743const auto STATUS_INFO_LENGTH_MISMATCH       = (cast(NTSTATUS)0xC0000004L);
1744
1745//
1746// MessageId: STATUS_ACCESS_VIOLATION
1747//
1748// MessageText:
1749//
1750// The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
1751//
1752//const auto STATUS_ACCESS_VIOLATION           = (cast(NTSTATUS)0xC0000005L)    ; // winnt
1753
1754//
1755// MessageId: STATUS_IN_PAGE_ERROR
1756//
1757// MessageText:
1758//
1759// The instruction at 0x%08lx referenced memory at 0x%08lx. The required data was not placed into memory because of an I/O error status of 0x%08lx.
1760//
1761//const auto STATUS_IN_PAGE_ERROR              = (cast(NTSTATUS)0xC0000006L)    ; // winnt
1762
1763//
1764// MessageId: STATUS_PAGEFILE_QUOTA
1765//
1766// MessageText:
1767//
1768// The pagefile quota for the process has been exhausted.
1769//
1770const auto STATUS_PAGEFILE_QUOTA             = (cast(NTSTATUS)0xC0000007L);
1771
1772//
1773// MessageId: STATUS_INVALID_HANDLE
1774//
1775// MessageText:
1776//
1777// An invalid HANDLE was specified.
1778//
1779//const auto STATUS_INVALID_HANDLE             = (cast(NTSTATUS)0xC0000008L)    ; // winnt
1780
1781//
1782// MessageId: STATUS_BAD_INITIAL_STACK
1783//
1784// MessageText:
1785//
1786// An invalid initial stack was specified in a call to NtCreateThread.
1787//
1788const auto STATUS_BAD_INITIAL_STACK          = (cast(NTSTATUS)0xC0000009L);
1789
1790//
1791// MessageId: STATUS_BAD_INITIAL_PC
1792//
1793// MessageText:
1794//
1795// An invalid initial start address was specified in a call to NtCreateThread.
1796//
1797const auto STATUS_BAD_INITIAL_PC             = (cast(NTSTATUS)0xC000000AL);
1798
1799//
1800// MessageId: STATUS_INVALID_CID
1801//
1802// MessageText:
1803//
1804// An invalid Client ID was specified.
1805//
1806const auto STATUS_INVALID_CID                = (cast(NTSTATUS)0xC000000BL);
1807
1808//
1809// MessageId: STATUS_TIMER_NOT_CANCELED
1810//
1811// MessageText:
1812//
1813// 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.
1814//
1815const auto STATUS_TIMER_NOT_CANCELED         = (cast(NTSTATUS)0xC000000CL);
1816
1817//
1818// MessageId: STATUS_INVALID_PARAMETER
1819//
1820// MessageText:
1821//
1822// An invalid parameter was passed to a service or function.
1823//
1824const auto STATUS_INVALID_PARAMETER          = (cast(NTSTATUS)0xC000000DL);
1825
1826//
1827// MessageId: STATUS_NO_SUCH_DEVICE
1828//
1829// MessageText:
1830//
1831// A device which does not exist was specified.
1832//
1833const auto STATUS_NO_SUCH_DEVICE             = (cast(NTSTATUS)0xC000000EL);
1834
1835//
1836// MessageId: STATUS_NO_SUCH_FILE
1837//
1838// MessageText:
1839//
1840// {File Not Found}
1841// The file %hs does not exist.
1842//
1843const auto STATUS_NO_SUCH_FILE               = (cast(NTSTATUS)0xC000000FL);
1844
1845//
1846// MessageId: STATUS_INVALID_DEVICE_REQUEST
1847//
1848// MessageText:
1849//
1850// The specified request is not a valid operation for the target device.
1851//
1852const auto STATUS_INVALID_DEVICE_REQUEST     = (cast(NTSTATUS)0xC0000010L);
1853
1854//
1855// MessageId: STATUS_END_OF_FILE
1856//
1857// MessageText:
1858//
1859// The end-of-file marker has been reached. There is no valid data in the file beyond this marker.
1860//
1861const auto STATUS_END_OF_FILE                = (cast(NTSTATUS)0xC0000011L);
1862
1863//
1864// MessageId: STATUS_WRONG_VOLUME
1865//
1866// MessageText:
1867//
1868// {Wrong Volume}
1869// The wrong volume is in the drive.
1870// Please insert volume %hs into drive %hs.
1871//
1872const auto STATUS_WRONG_VOLUME               = (cast(NTSTATUS)0xC0000012L);
1873
1874//
1875// MessageId: STATUS_NO_MEDIA_IN_DEVICE
1876//
1877// MessageText:
1878//
1879// {No Disk}
1880// There is no disk in the drive.
1881// Please insert a disk into drive %hs.
1882//
1883const auto STATUS_NO_MEDIA_IN_DEVICE         = (cast(NTSTATUS)0xC0000013L);
1884
1885//
1886// MessageId: STATUS_UNRECOGNIZED_MEDIA
1887//
1888// MessageText:
1889//
1890// {Unknown Disk Format}
1891// The disk in drive %hs is not formatted properly.
1892// Please check the disk, and reformat if necessary.
1893//
1894const auto STATUS_UNRECOGNIZED_MEDIA         = (cast(NTSTATUS)0xC0000014L);
1895
1896//
1897// MessageId: STATUS_NONEXISTENT_SECTOR
1898//
1899// MessageText:
1900//
1901// {Sector Not Found}
1902// The specified sector does not exist.
1903//
1904const auto STATUS_NONEXISTENT_SECTOR         = (cast(NTSTATUS)0xC0000015L);
1905
1906//
1907// MessageId: STATUS_MORE_PROCESSING_REQUIRED
1908//
1909// MessageText:
1910//
1911// {Still Busy}
1912// The specified I/O request packet (IRP) cannot be disposed of because the I/O operation is not complete.
1913//
1914const auto STATUS_MORE_PROCESSING_REQUIRED   = (cast(NTSTATUS)0xC0000016L);
1915
1916//
1917// MessageId: STATUS_NO_MEMORY
1918//
1919// MessageText:
1920//
1921// {Not Enough Quota}
1922// Not enough virtual memory or paging file quota is available to complete the specified operation.
1923//
1924const auto STATUS_NO_MEMORY                  = (cast(NTSTATUS)0xC0000017L)    ; // winnt
1925
1926//
1927// MessageId: STATUS_CONFLICTING_ADDRESSES
1928//
1929// MessageText:
1930//
1931// {Conflicting Address Range}
1932// The specified address range conflicts with the address space.
1933//
1934const auto STATUS_CONFLICTING_ADDRESSES      = (cast(NTSTATUS)0xC0000018L);
1935
1936//
1937// MessageId: STATUS_NOT_MAPPED_VIEW
1938//
1939// MessageText:
1940//
1941// Address range to unmap is not a mapped view.
1942//
1943const auto STATUS_NOT_MAPPED_VIEW            = (cast(NTSTATUS)0xC0000019L);
1944
1945//
1946// MessageId: STATUS_UNABLE_TO_FREE_VM
1947//
1948// MessageText:
1949//
1950// Virtual memory cannot be freed.
1951//
1952const auto STATUS_UNABLE_TO_FREE_VM          = (cast(NTSTATUS)0xC000001AL);
1953
1954//
1955// MessageId: STATUS_UNABLE_TO_DELETE_SECTION
1956//
1957// MessageText:
1958//
1959// Specified section cannot be deleted.
1960//
1961const auto STATUS_UNABLE_TO_DELETE_SECTION   = (cast(NTSTATUS)0xC000001BL);
1962
1963//
1964// MessageId: STATUS_INVALID_SYSTEM_SERVICE
1965//
1966// MessageText:
1967//
1968// An invalid system service was specified in a system service call.
1969//
1970const auto STATUS_INVALID_SYSTEM_SERVICE     = (cast(NTSTATUS)0xC000001CL);
1971
1972//
1973// MessageId: STATUS_ILLEGAL_INSTRUCTION
1974//
1975// MessageText:
1976//
1977// {EXCEPTION}
1978// Illegal Instruction
1979// An attempt was made to execute an illegal instruction.
1980//
1981//const auto STATUS_ILLEGAL_INSTRUCTION        = (cast(NTSTATUS)0xC000001DL)    ; // winnt
1982
1983//
1984// MessageId: STATUS_INVALID_LOCK_SEQUENCE
1985//
1986// MessageText:
1987//
1988// {Invalid Lock Sequence}
1989// An attempt was made to execute an invalid lock sequence.
1990//
1991const auto STATUS_INVALID_LOCK_SEQUENCE      = (cast(NTSTATUS)0xC000001EL);
1992
1993//
1994// MessageId: STATUS_INVALID_VIEW_SIZE
1995//
1996// MessageText:
1997//
1998// {Invalid Mapping}
1999// An attempt was made to create a view for a section which is bigger than the section.
2000//
2001const auto STATUS_INVALID_VIEW_SIZE          = (cast(NTSTATUS)0xC000001FL);
2002
2003//
2004// MessageId: STATUS_INVALID_FILE_FOR_SECTION
2005//
2006// MessageText:
2007//
2008// {Bad File}
2009// The attributes of the specified mapping file for a section of memory cannot be read.
2010//
2011const auto STATUS_INVALID_FILE_FOR_SECTION   = (cast(NTSTATUS)0xC0000020L);
2012
2013//
2014// MessageId: STATUS_ALREADY_COMMITTED…

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