• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to
5  * deal in the Software without restriction, including without limitation the
6  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7  * sell copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19  * IN THE SOFTWARE.
20  */
21 
22 #ifndef UV_WIN_WINAPI_H_
23 #define UV_WIN_WINAPI_H_
24 
25 #include <windows.h>
26 
27 
28 /*
29  * Ntdll headers
30  */
31 #ifndef STATUS_SEVERITY_SUCCESS
32 # define STATUS_SEVERITY_SUCCESS 0x0
33 #endif
34 
35 #ifndef STATUS_SEVERITY_INFORMATIONAL
36 # define STATUS_SEVERITY_INFORMATIONAL 0x1
37 #endif
38 
39 #ifndef STATUS_SEVERITY_WARNING
40 # define STATUS_SEVERITY_WARNING 0x2
41 #endif
42 
43 #ifndef STATUS_SEVERITY_ERROR
44 # define STATUS_SEVERITY_ERROR 0x3
45 #endif
46 
47 #ifndef FACILITY_NTWIN32
48 # define FACILITY_NTWIN32 0x7
49 #endif
50 
51 #ifndef NT_SUCCESS
52 # define NT_SUCCESS(status) (((NTSTATUS) (status)) >= 0)
53 #endif
54 
55 #ifndef NT_INFORMATION
56 # define NT_INFORMATION(status) ((((ULONG) (status)) >> 30) == 1)
57 #endif
58 
59 #ifndef NT_WARNING
60 # define NT_WARNING(status) ((((ULONG) (status)) >> 30) == 2)
61 #endif
62 
63 #ifndef NT_ERROR
64 # define NT_ERROR(status) ((((ULONG) (status)) >> 30) == 3)
65 #endif
66 
67 #ifndef STATUS_SUCCESS
68 # define STATUS_SUCCESS ((NTSTATUS) 0x00000000L)
69 #endif
70 
71 #ifndef STATUS_WAIT_0
72 # define STATUS_WAIT_0 ((NTSTATUS) 0x00000000L)
73 #endif
74 
75 #ifndef STATUS_WAIT_1
76 # define STATUS_WAIT_1 ((NTSTATUS) 0x00000001L)
77 #endif
78 
79 #ifndef STATUS_WAIT_2
80 # define STATUS_WAIT_2 ((NTSTATUS) 0x00000002L)
81 #endif
82 
83 #ifndef STATUS_WAIT_3
84 # define STATUS_WAIT_3 ((NTSTATUS) 0x00000003L)
85 #endif
86 
87 #ifndef STATUS_WAIT_63
88 # define STATUS_WAIT_63 ((NTSTATUS) 0x0000003FL)
89 #endif
90 
91 #ifndef STATUS_ABANDONED
92 # define STATUS_ABANDONED ((NTSTATUS) 0x00000080L)
93 #endif
94 
95 #ifndef STATUS_ABANDONED_WAIT_0
96 # define STATUS_ABANDONED_WAIT_0 ((NTSTATUS) 0x00000080L)
97 #endif
98 
99 #ifndef STATUS_ABANDONED_WAIT_63
100 # define STATUS_ABANDONED_WAIT_63 ((NTSTATUS) 0x000000BFL)
101 #endif
102 
103 #ifndef STATUS_USER_APC
104 # define STATUS_USER_APC ((NTSTATUS) 0x000000C0L)
105 #endif
106 
107 #ifndef STATUS_KERNEL_APC
108 # define STATUS_KERNEL_APC ((NTSTATUS) 0x00000100L)
109 #endif
110 
111 #ifndef STATUS_ALERTED
112 # define STATUS_ALERTED ((NTSTATUS) 0x00000101L)
113 #endif
114 
115 #ifndef STATUS_TIMEOUT
116 # define STATUS_TIMEOUT ((NTSTATUS) 0x00000102L)
117 #endif
118 
119 #ifndef STATUS_PENDING
120 # define STATUS_PENDING ((NTSTATUS) 0x00000103L)
121 #endif
122 
123 #ifndef STATUS_REPARSE
124 # define STATUS_REPARSE ((NTSTATUS) 0x00000104L)
125 #endif
126 
127 #ifndef STATUS_MORE_ENTRIES
128 # define STATUS_MORE_ENTRIES ((NTSTATUS) 0x00000105L)
129 #endif
130 
131 #ifndef STATUS_NOT_ALL_ASSIGNED
132 # define STATUS_NOT_ALL_ASSIGNED ((NTSTATUS) 0x00000106L)
133 #endif
134 
135 #ifndef STATUS_SOME_NOT_MAPPED
136 # define STATUS_SOME_NOT_MAPPED ((NTSTATUS) 0x00000107L)
137 #endif
138 
139 #ifndef STATUS_OPLOCK_BREAK_IN_PROGRESS
140 # define STATUS_OPLOCK_BREAK_IN_PROGRESS ((NTSTATUS) 0x00000108L)
141 #endif
142 
143 #ifndef STATUS_VOLUME_MOUNTED
144 # define STATUS_VOLUME_MOUNTED ((NTSTATUS) 0x00000109L)
145 #endif
146 
147 #ifndef STATUS_RXACT_COMMITTED
148 # define STATUS_RXACT_COMMITTED ((NTSTATUS) 0x0000010AL)
149 #endif
150 
151 #ifndef STATUS_NOTIFY_CLEANUP
152 # define STATUS_NOTIFY_CLEANUP ((NTSTATUS) 0x0000010BL)
153 #endif
154 
155 #ifndef STATUS_NOTIFY_ENUM_DIR
156 # define STATUS_NOTIFY_ENUM_DIR ((NTSTATUS) 0x0000010CL)
157 #endif
158 
159 #ifndef STATUS_NO_QUOTAS_FOR_ACCOUNT
160 # define STATUS_NO_QUOTAS_FOR_ACCOUNT ((NTSTATUS) 0x0000010DL)
161 #endif
162 
163 #ifndef STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED
164 # define STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED ((NTSTATUS) 0x0000010EL)
165 #endif
166 
167 #ifndef STATUS_PAGE_FAULT_TRANSITION
168 # define STATUS_PAGE_FAULT_TRANSITION ((NTSTATUS) 0x00000110L)
169 #endif
170 
171 #ifndef STATUS_PAGE_FAULT_DEMAND_ZERO
172 # define STATUS_PAGE_FAULT_DEMAND_ZERO ((NTSTATUS) 0x00000111L)
173 #endif
174 
175 #ifndef STATUS_PAGE_FAULT_COPY_ON_WRITE
176 # define STATUS_PAGE_FAULT_COPY_ON_WRITE ((NTSTATUS) 0x00000112L)
177 #endif
178 
179 #ifndef STATUS_PAGE_FAULT_GUARD_PAGE
180 # define STATUS_PAGE_FAULT_GUARD_PAGE ((NTSTATUS) 0x00000113L)
181 #endif
182 
183 #ifndef STATUS_PAGE_FAULT_PAGING_FILE
184 # define STATUS_PAGE_FAULT_PAGING_FILE ((NTSTATUS) 0x00000114L)
185 #endif
186 
187 #ifndef STATUS_CACHE_PAGE_LOCKED
188 # define STATUS_CACHE_PAGE_LOCKED ((NTSTATUS) 0x00000115L)
189 #endif
190 
191 #ifndef STATUS_CRASH_DUMP
192 # define STATUS_CRASH_DUMP ((NTSTATUS) 0x00000116L)
193 #endif
194 
195 #ifndef STATUS_BUFFER_ALL_ZEROS
196 # define STATUS_BUFFER_ALL_ZEROS ((NTSTATUS) 0x00000117L)
197 #endif
198 
199 #ifndef STATUS_REPARSE_OBJECT
200 # define STATUS_REPARSE_OBJECT ((NTSTATUS) 0x00000118L)
201 #endif
202 
203 #ifndef STATUS_RESOURCE_REQUIREMENTS_CHANGED
204 # define STATUS_RESOURCE_REQUIREMENTS_CHANGED ((NTSTATUS) 0x00000119L)
205 #endif
206 
207 #ifndef STATUS_TRANSLATION_COMPLETE
208 # define STATUS_TRANSLATION_COMPLETE ((NTSTATUS) 0x00000120L)
209 #endif
210 
211 #ifndef STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY
212 # define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY ((NTSTATUS) 0x00000121L)
213 #endif
214 
215 #ifndef STATUS_NOTHING_TO_TERMINATE
216 # define STATUS_NOTHING_TO_TERMINATE ((NTSTATUS) 0x00000122L)
217 #endif
218 
219 #ifndef STATUS_PROCESS_NOT_IN_JOB
220 # define STATUS_PROCESS_NOT_IN_JOB ((NTSTATUS) 0x00000123L)
221 #endif
222 
223 #ifndef STATUS_PROCESS_IN_JOB
224 # define STATUS_PROCESS_IN_JOB ((NTSTATUS) 0x00000124L)
225 #endif
226 
227 #ifndef STATUS_VOLSNAP_HIBERNATE_READY
228 # define STATUS_VOLSNAP_HIBERNATE_READY ((NTSTATUS) 0x00000125L)
229 #endif
230 
231 #ifndef STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY
232 # define STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY ((NTSTATUS) 0x00000126L)
233 #endif
234 
235 #ifndef STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED
236 # define STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED ((NTSTATUS) 0x00000127L)
237 #endif
238 
239 #ifndef STATUS_INTERRUPT_STILL_CONNECTED
240 # define STATUS_INTERRUPT_STILL_CONNECTED ((NTSTATUS) 0x00000128L)
241 #endif
242 
243 #ifndef STATUS_PROCESS_CLONED
244 # define STATUS_PROCESS_CLONED ((NTSTATUS) 0x00000129L)
245 #endif
246 
247 #ifndef STATUS_FILE_LOCKED_WITH_ONLY_READERS
248 # define STATUS_FILE_LOCKED_WITH_ONLY_READERS ((NTSTATUS) 0x0000012AL)
249 #endif
250 
251 #ifndef STATUS_FILE_LOCKED_WITH_WRITERS
252 # define STATUS_FILE_LOCKED_WITH_WRITERS ((NTSTATUS) 0x0000012BL)
253 #endif
254 
255 #ifndef STATUS_RESOURCEMANAGER_READ_ONLY
256 # define STATUS_RESOURCEMANAGER_READ_ONLY ((NTSTATUS) 0x00000202L)
257 #endif
258 
259 #ifndef STATUS_RING_PREVIOUSLY_EMPTY
260 # define STATUS_RING_PREVIOUSLY_EMPTY ((NTSTATUS) 0x00000210L)
261 #endif
262 
263 #ifndef STATUS_RING_PREVIOUSLY_FULL
264 # define STATUS_RING_PREVIOUSLY_FULL ((NTSTATUS) 0x00000211L)
265 #endif
266 
267 #ifndef STATUS_RING_PREVIOUSLY_ABOVE_QUOTA
268 # define STATUS_RING_PREVIOUSLY_ABOVE_QUOTA ((NTSTATUS) 0x00000212L)
269 #endif
270 
271 #ifndef STATUS_RING_NEWLY_EMPTY
272 # define STATUS_RING_NEWLY_EMPTY ((NTSTATUS) 0x00000213L)
273 #endif
274 
275 #ifndef STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT
276 # define STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT ((NTSTATUS) 0x00000214L)
277 #endif
278 
279 #ifndef STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE
280 # define STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE ((NTSTATUS) 0x00000215L)
281 #endif
282 
283 #ifndef STATUS_OPLOCK_HANDLE_CLOSED
284 # define STATUS_OPLOCK_HANDLE_CLOSED ((NTSTATUS) 0x00000216L)
285 #endif
286 
287 #ifndef STATUS_WAIT_FOR_OPLOCK
288 # define STATUS_WAIT_FOR_OPLOCK ((NTSTATUS) 0x00000367L)
289 #endif
290 
291 #ifndef STATUS_OBJECT_NAME_EXISTS
292 # define STATUS_OBJECT_NAME_EXISTS ((NTSTATUS) 0x40000000L)
293 #endif
294 
295 #ifndef STATUS_THREAD_WAS_SUSPENDED
296 # define STATUS_THREAD_WAS_SUSPENDED ((NTSTATUS) 0x40000001L)
297 #endif
298 
299 #ifndef STATUS_WORKING_SET_LIMIT_RANGE
300 # define STATUS_WORKING_SET_LIMIT_RANGE ((NTSTATUS) 0x40000002L)
301 #endif
302 
303 #ifndef STATUS_IMAGE_NOT_AT_BASE
304 # define STATUS_IMAGE_NOT_AT_BASE ((NTSTATUS) 0x40000003L)
305 #endif
306 
307 #ifndef STATUS_RXACT_STATE_CREATED
308 # define STATUS_RXACT_STATE_CREATED ((NTSTATUS) 0x40000004L)
309 #endif
310 
311 #ifndef STATUS_SEGMENT_NOTIFICATION
312 # define STATUS_SEGMENT_NOTIFICATION ((NTSTATUS) 0x40000005L)
313 #endif
314 
315 #ifndef STATUS_LOCAL_USER_SESSION_KEY
316 # define STATUS_LOCAL_USER_SESSION_KEY ((NTSTATUS) 0x40000006L)
317 #endif
318 
319 #ifndef STATUS_BAD_CURRENT_DIRECTORY
320 # define STATUS_BAD_CURRENT_DIRECTORY ((NTSTATUS) 0x40000007L)
321 #endif
322 
323 #ifndef STATUS_SERIAL_MORE_WRITES
324 # define STATUS_SERIAL_MORE_WRITES ((NTSTATUS) 0x40000008L)
325 #endif
326 
327 #ifndef STATUS_REGISTRY_RECOVERED
328 # define STATUS_REGISTRY_RECOVERED ((NTSTATUS) 0x40000009L)
329 #endif
330 
331 #ifndef STATUS_FT_READ_RECOVERY_FROM_BACKUP
332 # define STATUS_FT_READ_RECOVERY_FROM_BACKUP ((NTSTATUS) 0x4000000AL)
333 #endif
334 
335 #ifndef STATUS_FT_WRITE_RECOVERY
336 # define STATUS_FT_WRITE_RECOVERY ((NTSTATUS) 0x4000000BL)
337 #endif
338 
339 #ifndef STATUS_SERIAL_COUNTER_TIMEOUT
340 # define STATUS_SERIAL_COUNTER_TIMEOUT ((NTSTATUS) 0x4000000CL)
341 #endif
342 
343 #ifndef STATUS_NULL_LM_PASSWORD
344 # define STATUS_NULL_LM_PASSWORD ((NTSTATUS) 0x4000000DL)
345 #endif
346 
347 #ifndef STATUS_IMAGE_MACHINE_TYPE_MISMATCH
348 # define STATUS_IMAGE_MACHINE_TYPE_MISMATCH ((NTSTATUS) 0x4000000EL)
349 #endif
350 
351 #ifndef STATUS_RECEIVE_PARTIAL
352 # define STATUS_RECEIVE_PARTIAL ((NTSTATUS) 0x4000000FL)
353 #endif
354 
355 #ifndef STATUS_RECEIVE_EXPEDITED
356 # define STATUS_RECEIVE_EXPEDITED ((NTSTATUS) 0x40000010L)
357 #endif
358 
359 #ifndef STATUS_RECEIVE_PARTIAL_EXPEDITED
360 # define STATUS_RECEIVE_PARTIAL_EXPEDITED ((NTSTATUS) 0x40000011L)
361 #endif
362 
363 #ifndef STATUS_EVENT_DONE
364 # define STATUS_EVENT_DONE ((NTSTATUS) 0x40000012L)
365 #endif
366 
367 #ifndef STATUS_EVENT_PENDING
368 # define STATUS_EVENT_PENDING ((NTSTATUS) 0x40000013L)
369 #endif
370 
371 #ifndef STATUS_CHECKING_FILE_SYSTEM
372 # define STATUS_CHECKING_FILE_SYSTEM ((NTSTATUS) 0x40000014L)
373 #endif
374 
375 #ifndef STATUS_FATAL_APP_EXIT
376 # define STATUS_FATAL_APP_EXIT ((NTSTATUS) 0x40000015L)
377 #endif
378 
379 #ifndef STATUS_PREDEFINED_HANDLE
380 # define STATUS_PREDEFINED_HANDLE ((NTSTATUS) 0x40000016L)
381 #endif
382 
383 #ifndef STATUS_WAS_UNLOCKED
384 # define STATUS_WAS_UNLOCKED ((NTSTATUS) 0x40000017L)
385 #endif
386 
387 #ifndef STATUS_SERVICE_NOTIFICATION
388 # define STATUS_SERVICE_NOTIFICATION ((NTSTATUS) 0x40000018L)
389 #endif
390 
391 #ifndef STATUS_WAS_LOCKED
392 # define STATUS_WAS_LOCKED ((NTSTATUS) 0x40000019L)
393 #endif
394 
395 #ifndef STATUS_LOG_HARD_ERROR
396 # define STATUS_LOG_HARD_ERROR ((NTSTATUS) 0x4000001AL)
397 #endif
398 
399 #ifndef STATUS_ALREADY_WIN32
400 # define STATUS_ALREADY_WIN32 ((NTSTATUS) 0x4000001BL)
401 #endif
402 
403 #ifndef STATUS_WX86_UNSIMULATE
404 # define STATUS_WX86_UNSIMULATE ((NTSTATUS) 0x4000001CL)
405 #endif
406 
407 #ifndef STATUS_WX86_CONTINUE
408 # define STATUS_WX86_CONTINUE ((NTSTATUS) 0x4000001DL)
409 #endif
410 
411 #ifndef STATUS_WX86_SINGLE_STEP
412 # define STATUS_WX86_SINGLE_STEP ((NTSTATUS) 0x4000001EL)
413 #endif
414 
415 #ifndef STATUS_WX86_BREAKPOINT
416 # define STATUS_WX86_BREAKPOINT ((NTSTATUS) 0x4000001FL)
417 #endif
418 
419 #ifndef STATUS_WX86_EXCEPTION_CONTINUE
420 # define STATUS_WX86_EXCEPTION_CONTINUE ((NTSTATUS) 0x40000020L)
421 #endif
422 
423 #ifndef STATUS_WX86_EXCEPTION_LASTCHANCE
424 # define STATUS_WX86_EXCEPTION_LASTCHANCE ((NTSTATUS) 0x40000021L)
425 #endif
426 
427 #ifndef STATUS_WX86_EXCEPTION_CHAIN
428 # define STATUS_WX86_EXCEPTION_CHAIN ((NTSTATUS) 0x40000022L)
429 #endif
430 
431 #ifndef STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE
432 # define STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE ((NTSTATUS) 0x40000023L)
433 #endif
434 
435 #ifndef STATUS_NO_YIELD_PERFORMED
436 # define STATUS_NO_YIELD_PERFORMED ((NTSTATUS) 0x40000024L)
437 #endif
438 
439 #ifndef STATUS_TIMER_RESUME_IGNORED
440 # define STATUS_TIMER_RESUME_IGNORED ((NTSTATUS) 0x40000025L)
441 #endif
442 
443 #ifndef STATUS_ARBITRATION_UNHANDLED
444 # define STATUS_ARBITRATION_UNHANDLED ((NTSTATUS) 0x40000026L)
445 #endif
446 
447 #ifndef STATUS_CARDBUS_NOT_SUPPORTED
448 # define STATUS_CARDBUS_NOT_SUPPORTED ((NTSTATUS) 0x40000027L)
449 #endif
450 
451 #ifndef STATUS_WX86_CREATEWX86TIB
452 # define STATUS_WX86_CREATEWX86TIB ((NTSTATUS) 0x40000028L)
453 #endif
454 
455 #ifndef STATUS_MP_PROCESSOR_MISMATCH
456 # define STATUS_MP_PROCESSOR_MISMATCH ((NTSTATUS) 0x40000029L)
457 #endif
458 
459 #ifndef STATUS_HIBERNATED
460 # define STATUS_HIBERNATED ((NTSTATUS) 0x4000002AL)
461 #endif
462 
463 #ifndef STATUS_RESUME_HIBERNATION
464 # define STATUS_RESUME_HIBERNATION ((NTSTATUS) 0x4000002BL)
465 #endif
466 
467 #ifndef STATUS_FIRMWARE_UPDATED
468 # define STATUS_FIRMWARE_UPDATED ((NTSTATUS) 0x4000002CL)
469 #endif
470 
471 #ifndef STATUS_DRIVERS_LEAKING_LOCKED_PAGES
472 # define STATUS_DRIVERS_LEAKING_LOCKED_PAGES ((NTSTATUS) 0x4000002DL)
473 #endif
474 
475 #ifndef STATUS_MESSAGE_RETRIEVED
476 # define STATUS_MESSAGE_RETRIEVED ((NTSTATUS) 0x4000002EL)
477 #endif
478 
479 #ifndef STATUS_SYSTEM_POWERSTATE_TRANSITION
480 # define STATUS_SYSTEM_POWERSTATE_TRANSITION ((NTSTATUS) 0x4000002FL)
481 #endif
482 
483 #ifndef STATUS_ALPC_CHECK_COMPLETION_LIST
484 # define STATUS_ALPC_CHECK_COMPLETION_LIST ((NTSTATUS) 0x40000030L)
485 #endif
486 
487 #ifndef STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION
488 # define STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION ((NTSTATUS) 0x40000031L)
489 #endif
490 
491 #ifndef STATUS_ACCESS_AUDIT_BY_POLICY
492 # define STATUS_ACCESS_AUDIT_BY_POLICY ((NTSTATUS) 0x40000032L)
493 #endif
494 
495 #ifndef STATUS_ABANDON_HIBERFILE
496 # define STATUS_ABANDON_HIBERFILE ((NTSTATUS) 0x40000033L)
497 #endif
498 
499 #ifndef STATUS_BIZRULES_NOT_ENABLED
500 # define STATUS_BIZRULES_NOT_ENABLED ((NTSTATUS) 0x40000034L)
501 #endif
502 
503 #ifndef STATUS_GUARD_PAGE_VIOLATION
504 # define STATUS_GUARD_PAGE_VIOLATION ((NTSTATUS) 0x80000001L)
505 #endif
506 
507 #ifndef STATUS_DATATYPE_MISALIGNMENT
508 # define STATUS_DATATYPE_MISALIGNMENT ((NTSTATUS) 0x80000002L)
509 #endif
510 
511 #ifndef STATUS_BREAKPOINT
512 # define STATUS_BREAKPOINT ((NTSTATUS) 0x80000003L)
513 #endif
514 
515 #ifndef STATUS_SINGLE_STEP
516 # define STATUS_SINGLE_STEP ((NTSTATUS) 0x80000004L)
517 #endif
518 
519 #ifndef STATUS_BUFFER_OVERFLOW
520 # define STATUS_BUFFER_OVERFLOW ((NTSTATUS) 0x80000005L)
521 #endif
522 
523 #ifndef STATUS_NO_MORE_FILES
524 # define STATUS_NO_MORE_FILES ((NTSTATUS) 0x80000006L)
525 #endif
526 
527 #ifndef STATUS_WAKE_SYSTEM_DEBUGGER
528 # define STATUS_WAKE_SYSTEM_DEBUGGER ((NTSTATUS) 0x80000007L)
529 #endif
530 
531 #ifndef STATUS_HANDLES_CLOSED
532 # define STATUS_HANDLES_CLOSED ((NTSTATUS) 0x8000000AL)
533 #endif
534 
535 #ifndef STATUS_NO_INHERITANCE
536 # define STATUS_NO_INHERITANCE ((NTSTATUS) 0x8000000BL)
537 #endif
538 
539 #ifndef STATUS_GUID_SUBSTITUTION_MADE
540 # define STATUS_GUID_SUBSTITUTION_MADE ((NTSTATUS) 0x8000000CL)
541 #endif
542 
543 #ifndef STATUS_PARTIAL_COPY
544 # define STATUS_PARTIAL_COPY ((NTSTATUS) 0x8000000DL)
545 #endif
546 
547 #ifndef STATUS_DEVICE_PAPER_EMPTY
548 # define STATUS_DEVICE_PAPER_EMPTY ((NTSTATUS) 0x8000000EL)
549 #endif
550 
551 #ifndef STATUS_DEVICE_POWERED_OFF
552 # define STATUS_DEVICE_POWERED_OFF ((NTSTATUS) 0x8000000FL)
553 #endif
554 
555 #ifndef STATUS_DEVICE_OFF_LINE
556 # define STATUS_DEVICE_OFF_LINE ((NTSTATUS) 0x80000010L)
557 #endif
558 
559 #ifndef STATUS_DEVICE_BUSY
560 # define STATUS_DEVICE_BUSY ((NTSTATUS) 0x80000011L)
561 #endif
562 
563 #ifndef STATUS_NO_MORE_EAS
564 # define STATUS_NO_MORE_EAS ((NTSTATUS) 0x80000012L)
565 #endif
566 
567 #ifndef STATUS_INVALID_EA_NAME
568 # define STATUS_INVALID_EA_NAME ((NTSTATUS) 0x80000013L)
569 #endif
570 
571 #ifndef STATUS_EA_LIST_INCONSISTENT
572 # define STATUS_EA_LIST_INCONSISTENT ((NTSTATUS) 0x80000014L)
573 #endif
574 
575 #ifndef STATUS_INVALID_EA_FLAG
576 # define STATUS_INVALID_EA_FLAG ((NTSTATUS) 0x80000015L)
577 #endif
578 
579 #ifndef STATUS_VERIFY_REQUIRED
580 # define STATUS_VERIFY_REQUIRED ((NTSTATUS) 0x80000016L)
581 #endif
582 
583 #ifndef STATUS_EXTRANEOUS_INFORMATION
584 # define STATUS_EXTRANEOUS_INFORMATION ((NTSTATUS) 0x80000017L)
585 #endif
586 
587 #ifndef STATUS_RXACT_COMMIT_NECESSARY
588 # define STATUS_RXACT_COMMIT_NECESSARY ((NTSTATUS) 0x80000018L)
589 #endif
590 
591 #ifndef STATUS_NO_MORE_ENTRIES
592 # define STATUS_NO_MORE_ENTRIES ((NTSTATUS) 0x8000001AL)
593 #endif
594 
595 #ifndef STATUS_FILEMARK_DETECTED
596 # define STATUS_FILEMARK_DETECTED ((NTSTATUS) 0x8000001BL)
597 #endif
598 
599 #ifndef STATUS_MEDIA_CHANGED
600 # define STATUS_MEDIA_CHANGED ((NTSTATUS) 0x8000001CL)
601 #endif
602 
603 #ifndef STATUS_BUS_RESET
604 # define STATUS_BUS_RESET ((NTSTATUS) 0x8000001DL)
605 #endif
606 
607 #ifndef STATUS_END_OF_MEDIA
608 # define STATUS_END_OF_MEDIA ((NTSTATUS) 0x8000001EL)
609 #endif
610 
611 #ifndef STATUS_BEGINNING_OF_MEDIA
612 # define STATUS_BEGINNING_OF_MEDIA ((NTSTATUS) 0x8000001FL)
613 #endif
614 
615 #ifndef STATUS_MEDIA_CHECK
616 # define STATUS_MEDIA_CHECK ((NTSTATUS) 0x80000020L)
617 #endif
618 
619 #ifndef STATUS_SETMARK_DETECTED
620 # define STATUS_SETMARK_DETECTED ((NTSTATUS) 0x80000021L)
621 #endif
622 
623 #ifndef STATUS_NO_DATA_DETECTED
624 # define STATUS_NO_DATA_DETECTED ((NTSTATUS) 0x80000022L)
625 #endif
626 
627 #ifndef STATUS_REDIRECTOR_HAS_OPEN_HANDLES
628 # define STATUS_REDIRECTOR_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000023L)
629 #endif
630 
631 #ifndef STATUS_SERVER_HAS_OPEN_HANDLES
632 # define STATUS_SERVER_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000024L)
633 #endif
634 
635 #ifndef STATUS_ALREADY_DISCONNECTED
636 # define STATUS_ALREADY_DISCONNECTED ((NTSTATUS) 0x80000025L)
637 #endif
638 
639 #ifndef STATUS_LONGJUMP
640 # define STATUS_LONGJUMP ((NTSTATUS) 0x80000026L)
641 #endif
642 
643 #ifndef STATUS_CLEANER_CARTRIDGE_INSTALLED
644 # define STATUS_CLEANER_CARTRIDGE_INSTALLED ((NTSTATUS) 0x80000027L)
645 #endif
646 
647 #ifndef STATUS_PLUGPLAY_QUERY_VETOED
648 # define STATUS_PLUGPLAY_QUERY_VETOED ((NTSTATUS) 0x80000028L)
649 #endif
650 
651 #ifndef STATUS_UNWIND_CONSOLIDATE
652 # define STATUS_UNWIND_CONSOLIDATE ((NTSTATUS) 0x80000029L)
653 #endif
654 
655 #ifndef STATUS_REGISTRY_HIVE_RECOVERED
656 # define STATUS_REGISTRY_HIVE_RECOVERED ((NTSTATUS) 0x8000002AL)
657 #endif
658 
659 #ifndef STATUS_DLL_MIGHT_BE_INSECURE
660 # define STATUS_DLL_MIGHT_BE_INSECURE ((NTSTATUS) 0x8000002BL)
661 #endif
662 
663 #ifndef STATUS_DLL_MIGHT_BE_INCOMPATIBLE
664 # define STATUS_DLL_MIGHT_BE_INCOMPATIBLE ((NTSTATUS) 0x8000002CL)
665 #endif
666 
667 #ifndef STATUS_STOPPED_ON_SYMLINK
668 # define STATUS_STOPPED_ON_SYMLINK ((NTSTATUS) 0x8000002DL)
669 #endif
670 
671 #ifndef STATUS_CANNOT_GRANT_REQUESTED_OPLOCK
672 # define STATUS_CANNOT_GRANT_REQUESTED_OPLOCK ((NTSTATUS) 0x8000002EL)
673 #endif
674 
675 #ifndef STATUS_NO_ACE_CONDITION
676 # define STATUS_NO_ACE_CONDITION ((NTSTATUS) 0x8000002FL)
677 #endif
678 
679 #ifndef STATUS_UNSUCCESSFUL
680 # define STATUS_UNSUCCESSFUL ((NTSTATUS) 0xC0000001L)
681 #endif
682 
683 #ifndef STATUS_NOT_IMPLEMENTED
684 # define STATUS_NOT_IMPLEMENTED ((NTSTATUS) 0xC0000002L)
685 #endif
686 
687 #ifndef STATUS_INVALID_INFO_CLASS
688 # define STATUS_INVALID_INFO_CLASS ((NTSTATUS) 0xC0000003L)
689 #endif
690 
691 #ifndef STATUS_INFO_LENGTH_MISMATCH
692 # define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS) 0xC0000004L)
693 #endif
694 
695 #ifndef STATUS_ACCESS_VIOLATION
696 # define STATUS_ACCESS_VIOLATION ((NTSTATUS) 0xC0000005L)
697 #endif
698 
699 #ifndef STATUS_IN_PAGE_ERROR
700 # define STATUS_IN_PAGE_ERROR ((NTSTATUS) 0xC0000006L)
701 #endif
702 
703 #ifndef STATUS_PAGEFILE_QUOTA
704 # define STATUS_PAGEFILE_QUOTA ((NTSTATUS) 0xC0000007L)
705 #endif
706 
707 #ifndef STATUS_INVALID_HANDLE
708 # define STATUS_INVALID_HANDLE ((NTSTATUS) 0xC0000008L)
709 #endif
710 
711 #ifndef STATUS_BAD_INITIAL_STACK
712 # define STATUS_BAD_INITIAL_STACK ((NTSTATUS) 0xC0000009L)
713 #endif
714 
715 #ifndef STATUS_BAD_INITIAL_PC
716 # define STATUS_BAD_INITIAL_PC ((NTSTATUS) 0xC000000AL)
717 #endif
718 
719 #ifndef STATUS_INVALID_CID
720 # define STATUS_INVALID_CID ((NTSTATUS) 0xC000000BL)
721 #endif
722 
723 #ifndef STATUS_TIMER_NOT_CANCELED
724 # define STATUS_TIMER_NOT_CANCELED ((NTSTATUS) 0xC000000CL)
725 #endif
726 
727 #ifndef STATUS_INVALID_PARAMETER
728 # define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xC000000DL)
729 #endif
730 
731 #ifndef STATUS_NO_SUCH_DEVICE
732 # define STATUS_NO_SUCH_DEVICE ((NTSTATUS) 0xC000000EL)
733 #endif
734 
735 #ifndef STATUS_NO_SUCH_FILE
736 # define STATUS_NO_SUCH_FILE ((NTSTATUS) 0xC000000FL)
737 #endif
738 
739 #ifndef STATUS_INVALID_DEVICE_REQUEST
740 # define STATUS_INVALID_DEVICE_REQUEST ((NTSTATUS) 0xC0000010L)
741 #endif
742 
743 #ifndef STATUS_END_OF_FILE
744 # define STATUS_END_OF_FILE ((NTSTATUS) 0xC0000011L)
745 #endif
746 
747 #ifndef STATUS_WRONG_VOLUME
748 # define STATUS_WRONG_VOLUME ((NTSTATUS) 0xC0000012L)
749 #endif
750 
751 #ifndef STATUS_NO_MEDIA_IN_DEVICE
752 # define STATUS_NO_MEDIA_IN_DEVICE ((NTSTATUS) 0xC0000013L)
753 #endif
754 
755 #ifndef STATUS_UNRECOGNIZED_MEDIA
756 # define STATUS_UNRECOGNIZED_MEDIA ((NTSTATUS) 0xC0000014L)
757 #endif
758 
759 #ifndef STATUS_NONEXISTENT_SECTOR
760 # define STATUS_NONEXISTENT_SECTOR ((NTSTATUS) 0xC0000015L)
761 #endif
762 
763 #ifndef STATUS_MORE_PROCESSING_REQUIRED
764 # define STATUS_MORE_PROCESSING_REQUIRED ((NTSTATUS) 0xC0000016L)
765 #endif
766 
767 #ifndef STATUS_NO_MEMORY
768 # define STATUS_NO_MEMORY ((NTSTATUS) 0xC0000017L)
769 #endif
770 
771 #ifndef STATUS_CONFLICTING_ADDRESSES
772 # define STATUS_CONFLICTING_ADDRESSES ((NTSTATUS) 0xC0000018L)
773 #endif
774 
775 #ifndef STATUS_NOT_MAPPED_VIEW
776 # define STATUS_NOT_MAPPED_VIEW ((NTSTATUS) 0xC0000019L)
777 #endif
778 
779 #ifndef STATUS_UNABLE_TO_FREE_VM
780 # define STATUS_UNABLE_TO_FREE_VM ((NTSTATUS) 0xC000001AL)
781 #endif
782 
783 #ifndef STATUS_UNABLE_TO_DELETE_SECTION
784 # define STATUS_UNABLE_TO_DELETE_SECTION ((NTSTATUS) 0xC000001BL)
785 #endif
786 
787 #ifndef STATUS_INVALID_SYSTEM_SERVICE
788 # define STATUS_INVALID_SYSTEM_SERVICE ((NTSTATUS) 0xC000001CL)
789 #endif
790 
791 #ifndef STATUS_ILLEGAL_INSTRUCTION
792 # define STATUS_ILLEGAL_INSTRUCTION ((NTSTATUS) 0xC000001DL)
793 #endif
794 
795 #ifndef STATUS_INVALID_LOCK_SEQUENCE
796 # define STATUS_INVALID_LOCK_SEQUENCE ((NTSTATUS) 0xC000001EL)
797 #endif
798 
799 #ifndef STATUS_INVALID_VIEW_SIZE
800 # define STATUS_INVALID_VIEW_SIZE ((NTSTATUS) 0xC000001FL)
801 #endif
802 
803 #ifndef STATUS_INVALID_FILE_FOR_SECTION
804 # define STATUS_INVALID_FILE_FOR_SECTION ((NTSTATUS) 0xC0000020L)
805 #endif
806 
807 #ifndef STATUS_ALREADY_COMMITTED
808 # define STATUS_ALREADY_COMMITTED ((NTSTATUS) 0xC0000021L)
809 #endif
810 
811 #ifndef STATUS_ACCESS_DENIED
812 # define STATUS_ACCESS_DENIED ((NTSTATUS) 0xC0000022L)
813 #endif
814 
815 #ifndef STATUS_BUFFER_TOO_SMALL
816 # define STATUS_BUFFER_TOO_SMALL ((NTSTATUS) 0xC0000023L)
817 #endif
818 
819 #ifndef STATUS_OBJECT_TYPE_MISMATCH
820 # define STATUS_OBJECT_TYPE_MISMATCH ((NTSTATUS) 0xC0000024L)
821 #endif
822 
823 #ifndef STATUS_NONCONTINUABLE_EXCEPTION
824 # define STATUS_NONCONTINUABLE_EXCEPTION ((NTSTATUS) 0xC0000025L)
825 #endif
826 
827 #ifndef STATUS_INVALID_DISPOSITION
828 # define STATUS_INVALID_DISPOSITION ((NTSTATUS) 0xC0000026L)
829 #endif
830 
831 #ifndef STATUS_UNWIND
832 # define STATUS_UNWIND ((NTSTATUS) 0xC0000027L)
833 #endif
834 
835 #ifndef STATUS_BAD_STACK
836 # define STATUS_BAD_STACK ((NTSTATUS) 0xC0000028L)
837 #endif
838 
839 #ifndef STATUS_INVALID_UNWIND_TARGET
840 # define STATUS_INVALID_UNWIND_TARGET ((NTSTATUS) 0xC0000029L)
841 #endif
842 
843 #ifndef STATUS_NOT_LOCKED
844 # define STATUS_NOT_LOCKED ((NTSTATUS) 0xC000002AL)
845 #endif
846 
847 #ifndef STATUS_PARITY_ERROR
848 # define STATUS_PARITY_ERROR ((NTSTATUS) 0xC000002BL)
849 #endif
850 
851 #ifndef STATUS_UNABLE_TO_DECOMMIT_VM
852 # define STATUS_UNABLE_TO_DECOMMIT_VM ((NTSTATUS) 0xC000002CL)
853 #endif
854 
855 #ifndef STATUS_NOT_COMMITTED
856 # define STATUS_NOT_COMMITTED ((NTSTATUS) 0xC000002DL)
857 #endif
858 
859 #ifndef STATUS_INVALID_PORT_ATTRIBUTES
860 # define STATUS_INVALID_PORT_ATTRIBUTES ((NTSTATUS) 0xC000002EL)
861 #endif
862 
863 #ifndef STATUS_PORT_MESSAGE_TOO_LONG
864 # define STATUS_PORT_MESSAGE_TOO_LONG ((NTSTATUS) 0xC000002FL)
865 #endif
866 
867 #ifndef STATUS_INVALID_PARAMETER_MIX
868 # define STATUS_INVALID_PARAMETER_MIX ((NTSTATUS) 0xC0000030L)
869 #endif
870 
871 #ifndef STATUS_INVALID_QUOTA_LOWER
872 # define STATUS_INVALID_QUOTA_LOWER ((NTSTATUS) 0xC0000031L)
873 #endif
874 
875 #ifndef STATUS_DISK_CORRUPT_ERROR
876 # define STATUS_DISK_CORRUPT_ERROR ((NTSTATUS) 0xC0000032L)
877 #endif
878 
879 #ifndef STATUS_OBJECT_NAME_INVALID
880 # define STATUS_OBJECT_NAME_INVALID ((NTSTATUS) 0xC0000033L)
881 #endif
882 
883 #ifndef STATUS_OBJECT_NAME_NOT_FOUND
884 # define STATUS_OBJECT_NAME_NOT_FOUND ((NTSTATUS) 0xC0000034L)
885 #endif
886 
887 #ifndef STATUS_OBJECT_NAME_COLLISION
888 # define STATUS_OBJECT_NAME_COLLISION ((NTSTATUS) 0xC0000035L)
889 #endif
890 
891 #ifndef STATUS_PORT_DISCONNECTED
892 # define STATUS_PORT_DISCONNECTED ((NTSTATUS) 0xC0000037L)
893 #endif
894 
895 #ifndef STATUS_DEVICE_ALREADY_ATTACHED
896 # define STATUS_DEVICE_ALREADY_ATTACHED ((NTSTATUS) 0xC0000038L)
897 #endif
898 
899 #ifndef STATUS_OBJECT_PATH_INVALID
900 # define STATUS_OBJECT_PATH_INVALID ((NTSTATUS) 0xC0000039L)
901 #endif
902 
903 #ifndef STATUS_OBJECT_PATH_NOT_FOUND
904 # define STATUS_OBJECT_PATH_NOT_FOUND ((NTSTATUS) 0xC000003AL)
905 #endif
906 
907 #ifndef STATUS_OBJECT_PATH_SYNTAX_BAD
908 # define STATUS_OBJECT_PATH_SYNTAX_BAD ((NTSTATUS) 0xC000003BL)
909 #endif
910 
911 #ifndef STATUS_DATA_OVERRUN
912 # define STATUS_DATA_OVERRUN ((NTSTATUS) 0xC000003CL)
913 #endif
914 
915 #ifndef STATUS_DATA_LATE_ERROR
916 # define STATUS_DATA_LATE_ERROR ((NTSTATUS) 0xC000003DL)
917 #endif
918 
919 #ifndef STATUS_DATA_ERROR
920 # define STATUS_DATA_ERROR ((NTSTATUS) 0xC000003EL)
921 #endif
922 
923 #ifndef STATUS_CRC_ERROR
924 # define STATUS_CRC_ERROR ((NTSTATUS) 0xC000003FL)
925 #endif
926 
927 #ifndef STATUS_SECTION_TOO_BIG
928 # define STATUS_SECTION_TOO_BIG ((NTSTATUS) 0xC0000040L)
929 #endif
930 
931 #ifndef STATUS_PORT_CONNECTION_REFUSED
932 # define STATUS_PORT_CONNECTION_REFUSED ((NTSTATUS) 0xC0000041L)
933 #endif
934 
935 #ifndef STATUS_INVALID_PORT_HANDLE
936 # define STATUS_INVALID_PORT_HANDLE ((NTSTATUS) 0xC0000042L)
937 #endif
938 
939 #ifndef STATUS_SHARING_VIOLATION
940 # define STATUS_SHARING_VIOLATION ((NTSTATUS) 0xC0000043L)
941 #endif
942 
943 #ifndef STATUS_QUOTA_EXCEEDED
944 # define STATUS_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000044L)
945 #endif
946 
947 #ifndef STATUS_INVALID_PAGE_PROTECTION
948 # define STATUS_INVALID_PAGE_PROTECTION ((NTSTATUS) 0xC0000045L)
949 #endif
950 
951 #ifndef STATUS_MUTANT_NOT_OWNED
952 # define STATUS_MUTANT_NOT_OWNED ((NTSTATUS) 0xC0000046L)
953 #endif
954 
955 #ifndef STATUS_SEMAPHORE_LIMIT_EXCEEDED
956 # define STATUS_SEMAPHORE_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000047L)
957 #endif
958 
959 #ifndef STATUS_PORT_ALREADY_SET
960 # define STATUS_PORT_ALREADY_SET ((NTSTATUS) 0xC0000048L)
961 #endif
962 
963 #ifndef STATUS_SECTION_NOT_IMAGE
964 # define STATUS_SECTION_NOT_IMAGE ((NTSTATUS) 0xC0000049L)
965 #endif
966 
967 #ifndef STATUS_SUSPEND_COUNT_EXCEEDED
968 # define STATUS_SUSPEND_COUNT_EXCEEDED ((NTSTATUS) 0xC000004AL)
969 #endif
970 
971 #ifndef STATUS_THREAD_IS_TERMINATING
972 # define STATUS_THREAD_IS_TERMINATING ((NTSTATUS) 0xC000004BL)
973 #endif
974 
975 #ifndef STATUS_BAD_WORKING_SET_LIMIT
976 # define STATUS_BAD_WORKING_SET_LIMIT ((NTSTATUS) 0xC000004CL)
977 #endif
978 
979 #ifndef STATUS_INCOMPATIBLE_FILE_MAP
980 # define STATUS_INCOMPATIBLE_FILE_MAP ((NTSTATUS) 0xC000004DL)
981 #endif
982 
983 #ifndef STATUS_SECTION_PROTECTION
984 # define STATUS_SECTION_PROTECTION ((NTSTATUS) 0xC000004EL)
985 #endif
986 
987 #ifndef STATUS_EAS_NOT_SUPPORTED
988 # define STATUS_EAS_NOT_SUPPORTED ((NTSTATUS) 0xC000004FL)
989 #endif
990 
991 #ifndef STATUS_EA_TOO_LARGE
992 # define STATUS_EA_TOO_LARGE ((NTSTATUS) 0xC0000050L)
993 #endif
994 
995 #ifndef STATUS_NONEXISTENT_EA_ENTRY
996 # define STATUS_NONEXISTENT_EA_ENTRY ((NTSTATUS) 0xC0000051L)
997 #endif
998 
999 #ifndef STATUS_NO_EAS_ON_FILE
1000 # define STATUS_NO_EAS_ON_FILE ((NTSTATUS) 0xC0000052L)
1001 #endif
1002 
1003 #ifndef STATUS_EA_CORRUPT_ERROR
1004 # define STATUS_EA_CORRUPT_ERROR ((NTSTATUS) 0xC0000053L)
1005 #endif
1006 
1007 #ifndef STATUS_FILE_LOCK_CONFLICT
1008 # define STATUS_FILE_LOCK_CONFLICT ((NTSTATUS) 0xC0000054L)
1009 #endif
1010 
1011 #ifndef STATUS_LOCK_NOT_GRANTED
1012 # define STATUS_LOCK_NOT_GRANTED ((NTSTATUS) 0xC0000055L)
1013 #endif
1014 
1015 #ifndef STATUS_DELETE_PENDING
1016 # define STATUS_DELETE_PENDING ((NTSTATUS) 0xC0000056L)
1017 #endif
1018 
1019 #ifndef STATUS_CTL_FILE_NOT_SUPPORTED
1020 # define STATUS_CTL_FILE_NOT_SUPPORTED ((NTSTATUS) 0xC0000057L)
1021 #endif
1022 
1023 #ifndef STATUS_UNKNOWN_REVISION
1024 # define STATUS_UNKNOWN_REVISION ((NTSTATUS) 0xC0000058L)
1025 #endif
1026 
1027 #ifndef STATUS_REVISION_MISMATCH
1028 # define STATUS_REVISION_MISMATCH ((NTSTATUS) 0xC0000059L)
1029 #endif
1030 
1031 #ifndef STATUS_INVALID_OWNER
1032 # define STATUS_INVALID_OWNER ((NTSTATUS) 0xC000005AL)
1033 #endif
1034 
1035 #ifndef STATUS_INVALID_PRIMARY_GROUP
1036 # define STATUS_INVALID_PRIMARY_GROUP ((NTSTATUS) 0xC000005BL)
1037 #endif
1038 
1039 #ifndef STATUS_NO_IMPERSONATION_TOKEN
1040 # define STATUS_NO_IMPERSONATION_TOKEN ((NTSTATUS) 0xC000005CL)
1041 #endif
1042 
1043 #ifndef STATUS_CANT_DISABLE_MANDATORY
1044 # define STATUS_CANT_DISABLE_MANDATORY ((NTSTATUS) 0xC000005DL)
1045 #endif
1046 
1047 #ifndef STATUS_NO_LOGON_SERVERS
1048 # define STATUS_NO_LOGON_SERVERS ((NTSTATUS) 0xC000005EL)
1049 #endif
1050 
1051 #ifndef STATUS_NO_SUCH_LOGON_SESSION
1052 # define STATUS_NO_SUCH_LOGON_SESSION ((NTSTATUS) 0xC000005FL)
1053 #endif
1054 
1055 #ifndef STATUS_NO_SUCH_PRIVILEGE
1056 # define STATUS_NO_SUCH_PRIVILEGE ((NTSTATUS) 0xC0000060L)
1057 #endif
1058 
1059 #ifndef STATUS_PRIVILEGE_NOT_HELD
1060 # define STATUS_PRIVILEGE_NOT_HELD ((NTSTATUS) 0xC0000061L)
1061 #endif
1062 
1063 #ifndef STATUS_INVALID_ACCOUNT_NAME
1064 # define STATUS_INVALID_ACCOUNT_NAME ((NTSTATUS) 0xC0000062L)
1065 #endif
1066 
1067 #ifndef STATUS_USER_EXISTS
1068 # define STATUS_USER_EXISTS ((NTSTATUS) 0xC0000063L)
1069 #endif
1070 
1071 #ifndef STATUS_NO_SUCH_USER
1072 # define STATUS_NO_SUCH_USER ((NTSTATUS) 0xC0000064L)
1073 #endif
1074 
1075 #ifndef STATUS_GROUP_EXISTS
1076 # define STATUS_GROUP_EXISTS ((NTSTATUS) 0xC0000065L)
1077 #endif
1078 
1079 #ifndef STATUS_NO_SUCH_GROUP
1080 # define STATUS_NO_SUCH_GROUP ((NTSTATUS) 0xC0000066L)
1081 #endif
1082 
1083 #ifndef STATUS_MEMBER_IN_GROUP
1084 # define STATUS_MEMBER_IN_GROUP ((NTSTATUS) 0xC0000067L)
1085 #endif
1086 
1087 #ifndef STATUS_MEMBER_NOT_IN_GROUP
1088 # define STATUS_MEMBER_NOT_IN_GROUP ((NTSTATUS) 0xC0000068L)
1089 #endif
1090 
1091 #ifndef STATUS_LAST_ADMIN
1092 # define STATUS_LAST_ADMIN ((NTSTATUS) 0xC0000069L)
1093 #endif
1094 
1095 #ifndef STATUS_WRONG_PASSWORD
1096 # define STATUS_WRONG_PASSWORD ((NTSTATUS) 0xC000006AL)
1097 #endif
1098 
1099 #ifndef STATUS_ILL_FORMED_PASSWORD
1100 # define STATUS_ILL_FORMED_PASSWORD ((NTSTATUS) 0xC000006BL)
1101 #endif
1102 
1103 #ifndef STATUS_PASSWORD_RESTRICTION
1104 # define STATUS_PASSWORD_RESTRICTION ((NTSTATUS) 0xC000006CL)
1105 #endif
1106 
1107 #ifndef STATUS_LOGON_FAILURE
1108 # define STATUS_LOGON_FAILURE ((NTSTATUS) 0xC000006DL)
1109 #endif
1110 
1111 #ifndef STATUS_ACCOUNT_RESTRICTION
1112 # define STATUS_ACCOUNT_RESTRICTION ((NTSTATUS) 0xC000006EL)
1113 #endif
1114 
1115 #ifndef STATUS_INVALID_LOGON_HOURS
1116 # define STATUS_INVALID_LOGON_HOURS ((NTSTATUS) 0xC000006FL)
1117 #endif
1118 
1119 #ifndef STATUS_INVALID_WORKSTATION
1120 # define STATUS_INVALID_WORKSTATION ((NTSTATUS) 0xC0000070L)
1121 #endif
1122 
1123 #ifndef STATUS_PASSWORD_EXPIRED
1124 # define STATUS_PASSWORD_EXPIRED ((NTSTATUS) 0xC0000071L)
1125 #endif
1126 
1127 #ifndef STATUS_ACCOUNT_DISABLED
1128 # define STATUS_ACCOUNT_DISABLED ((NTSTATUS) 0xC0000072L)
1129 #endif
1130 
1131 #ifndef STATUS_NONE_MAPPED
1132 # define STATUS_NONE_MAPPED ((NTSTATUS) 0xC0000073L)
1133 #endif
1134 
1135 #ifndef STATUS_TOO_MANY_LUIDS_REQUESTED
1136 # define STATUS_TOO_MANY_LUIDS_REQUESTED ((NTSTATUS) 0xC0000074L)
1137 #endif
1138 
1139 #ifndef STATUS_LUIDS_EXHAUSTED
1140 # define STATUS_LUIDS_EXHAUSTED ((NTSTATUS) 0xC0000075L)
1141 #endif
1142 
1143 #ifndef STATUS_INVALID_SUB_AUTHORITY
1144 # define STATUS_INVALID_SUB_AUTHORITY ((NTSTATUS) 0xC0000076L)
1145 #endif
1146 
1147 #ifndef STATUS_INVALID_ACL
1148 # define STATUS_INVALID_ACL ((NTSTATUS) 0xC0000077L)
1149 #endif
1150 
1151 #ifndef STATUS_INVALID_SID
1152 # define STATUS_INVALID_SID ((NTSTATUS) 0xC0000078L)
1153 #endif
1154 
1155 #ifndef STATUS_INVALID_SECURITY_DESCR
1156 # define STATUS_INVALID_SECURITY_DESCR ((NTSTATUS) 0xC0000079L)
1157 #endif
1158 
1159 #ifndef STATUS_PROCEDURE_NOT_FOUND
1160 # define STATUS_PROCEDURE_NOT_FOUND ((NTSTATUS) 0xC000007AL)
1161 #endif
1162 
1163 #ifndef STATUS_INVALID_IMAGE_FORMAT
1164 # define STATUS_INVALID_IMAGE_FORMAT ((NTSTATUS) 0xC000007BL)
1165 #endif
1166 
1167 #ifndef STATUS_NO_TOKEN
1168 # define STATUS_NO_TOKEN ((NTSTATUS) 0xC000007CL)
1169 #endif
1170 
1171 #ifndef STATUS_BAD_INHERITANCE_ACL
1172 # define STATUS_BAD_INHERITANCE_ACL ((NTSTATUS) 0xC000007DL)
1173 #endif
1174 
1175 #ifndef STATUS_RANGE_NOT_LOCKED
1176 # define STATUS_RANGE_NOT_LOCKED ((NTSTATUS) 0xC000007EL)
1177 #endif
1178 
1179 #ifndef STATUS_DISK_FULL
1180 # define STATUS_DISK_FULL ((NTSTATUS) 0xC000007FL)
1181 #endif
1182 
1183 #ifndef STATUS_SERVER_DISABLED
1184 # define STATUS_SERVER_DISABLED ((NTSTATUS) 0xC0000080L)
1185 #endif
1186 
1187 #ifndef STATUS_SERVER_NOT_DISABLED
1188 # define STATUS_SERVER_NOT_DISABLED ((NTSTATUS) 0xC0000081L)
1189 #endif
1190 
1191 #ifndef STATUS_TOO_MANY_GUIDS_REQUESTED
1192 # define STATUS_TOO_MANY_GUIDS_REQUESTED ((NTSTATUS) 0xC0000082L)
1193 #endif
1194 
1195 #ifndef STATUS_GUIDS_EXHAUSTED
1196 # define STATUS_GUIDS_EXHAUSTED ((NTSTATUS) 0xC0000083L)
1197 #endif
1198 
1199 #ifndef STATUS_INVALID_ID_AUTHORITY
1200 # define STATUS_INVALID_ID_AUTHORITY ((NTSTATUS) 0xC0000084L)
1201 #endif
1202 
1203 #ifndef STATUS_AGENTS_EXHAUSTED
1204 # define STATUS_AGENTS_EXHAUSTED ((NTSTATUS) 0xC0000085L)
1205 #endif
1206 
1207 #ifndef STATUS_INVALID_VOLUME_LABEL
1208 # define STATUS_INVALID_VOLUME_LABEL ((NTSTATUS) 0xC0000086L)
1209 #endif
1210 
1211 #ifndef STATUS_SECTION_NOT_EXTENDED
1212 # define STATUS_SECTION_NOT_EXTENDED ((NTSTATUS) 0xC0000087L)
1213 #endif
1214 
1215 #ifndef STATUS_NOT_MAPPED_DATA
1216 # define STATUS_NOT_MAPPED_DATA ((NTSTATUS) 0xC0000088L)
1217 #endif
1218 
1219 #ifndef STATUS_RESOURCE_DATA_NOT_FOUND
1220 # define STATUS_RESOURCE_DATA_NOT_FOUND ((NTSTATUS) 0xC0000089L)
1221 #endif
1222 
1223 #ifndef STATUS_RESOURCE_TYPE_NOT_FOUND
1224 # define STATUS_RESOURCE_TYPE_NOT_FOUND ((NTSTATUS) 0xC000008AL)
1225 #endif
1226 
1227 #ifndef STATUS_RESOURCE_NAME_NOT_FOUND
1228 # define STATUS_RESOURCE_NAME_NOT_FOUND ((NTSTATUS) 0xC000008BL)
1229 #endif
1230 
1231 #ifndef STATUS_ARRAY_BOUNDS_EXCEEDED
1232 # define STATUS_ARRAY_BOUNDS_EXCEEDED ((NTSTATUS) 0xC000008CL)
1233 #endif
1234 
1235 #ifndef STATUS_FLOAT_DENORMAL_OPERAND
1236 # define STATUS_FLOAT_DENORMAL_OPERAND ((NTSTATUS) 0xC000008DL)
1237 #endif
1238 
1239 #ifndef STATUS_FLOAT_DIVIDE_BY_ZERO
1240 # define STATUS_FLOAT_DIVIDE_BY_ZERO ((NTSTATUS) 0xC000008EL)
1241 #endif
1242 
1243 #ifndef STATUS_FLOAT_INEXACT_RESULT
1244 # define STATUS_FLOAT_INEXACT_RESULT ((NTSTATUS) 0xC000008FL)
1245 #endif
1246 
1247 #ifndef STATUS_FLOAT_INVALID_OPERATION
1248 # define STATUS_FLOAT_INVALID_OPERATION ((NTSTATUS) 0xC0000090L)
1249 #endif
1250 
1251 #ifndef STATUS_FLOAT_OVERFLOW
1252 # define STATUS_FLOAT_OVERFLOW ((NTSTATUS) 0xC0000091L)
1253 #endif
1254 
1255 #ifndef STATUS_FLOAT_STACK_CHECK
1256 # define STATUS_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000092L)
1257 #endif
1258 
1259 #ifndef STATUS_FLOAT_UNDERFLOW
1260 # define STATUS_FLOAT_UNDERFLOW ((NTSTATUS) 0xC0000093L)
1261 #endif
1262 
1263 #ifndef STATUS_INTEGER_DIVIDE_BY_ZERO
1264 # define STATUS_INTEGER_DIVIDE_BY_ZERO ((NTSTATUS) 0xC0000094L)
1265 #endif
1266 
1267 #ifndef STATUS_INTEGER_OVERFLOW
1268 # define STATUS_INTEGER_OVERFLOW ((NTSTATUS) 0xC0000095L)
1269 #endif
1270 
1271 #ifndef STATUS_PRIVILEGED_INSTRUCTION
1272 # define STATUS_PRIVILEGED_INSTRUCTION ((NTSTATUS) 0xC0000096L)
1273 #endif
1274 
1275 #ifndef STATUS_TOO_MANY_PAGING_FILES
1276 # define STATUS_TOO_MANY_PAGING_FILES ((NTSTATUS) 0xC0000097L)
1277 #endif
1278 
1279 #ifndef STATUS_FILE_INVALID
1280 # define STATUS_FILE_INVALID ((NTSTATUS) 0xC0000098L)
1281 #endif
1282 
1283 #ifndef STATUS_ALLOTTED_SPACE_EXCEEDED
1284 # define STATUS_ALLOTTED_SPACE_EXCEEDED ((NTSTATUS) 0xC0000099L)
1285 #endif
1286 
1287 #ifndef STATUS_INSUFFICIENT_RESOURCES
1288 # define STATUS_INSUFFICIENT_RESOURCES ((NTSTATUS) 0xC000009AL)
1289 #endif
1290 
1291 #ifndef STATUS_DFS_EXIT_PATH_FOUND
1292 # define STATUS_DFS_EXIT_PATH_FOUND ((NTSTATUS) 0xC000009BL)
1293 #endif
1294 
1295 #ifndef STATUS_DEVICE_DATA_ERROR
1296 # define STATUS_DEVICE_DATA_ERROR ((NTSTATUS) 0xC000009CL)
1297 #endif
1298 
1299 #ifndef STATUS_DEVICE_NOT_CONNECTED
1300 # define STATUS_DEVICE_NOT_CONNECTED ((NTSTATUS) 0xC000009DL)
1301 #endif
1302 
1303 #ifndef STATUS_DEVICE_POWER_FAILURE
1304 # define STATUS_DEVICE_POWER_FAILURE ((NTSTATUS) 0xC000009EL)
1305 #endif
1306 
1307 #ifndef STATUS_FREE_VM_NOT_AT_BASE
1308 # define STATUS_FREE_VM_NOT_AT_BASE ((NTSTATUS) 0xC000009FL)
1309 #endif
1310 
1311 #ifndef STATUS_MEMORY_NOT_ALLOCATED
1312 # define STATUS_MEMORY_NOT_ALLOCATED ((NTSTATUS) 0xC00000A0L)
1313 #endif
1314 
1315 #ifndef STATUS_WORKING_SET_QUOTA
1316 # define STATUS_WORKING_SET_QUOTA ((NTSTATUS) 0xC00000A1L)
1317 #endif
1318 
1319 #ifndef STATUS_MEDIA_WRITE_PROTECTED
1320 # define STATUS_MEDIA_WRITE_PROTECTED ((NTSTATUS) 0xC00000A2L)
1321 #endif
1322 
1323 #ifndef STATUS_DEVICE_NOT_READY
1324 # define STATUS_DEVICE_NOT_READY ((NTSTATUS) 0xC00000A3L)
1325 #endif
1326 
1327 #ifndef STATUS_INVALID_GROUP_ATTRIBUTES
1328 # define STATUS_INVALID_GROUP_ATTRIBUTES ((NTSTATUS) 0xC00000A4L)
1329 #endif
1330 
1331 #ifndef STATUS_BAD_IMPERSONATION_LEVEL
1332 # define STATUS_BAD_IMPERSONATION_LEVEL ((NTSTATUS) 0xC00000A5L)
1333 #endif
1334 
1335 #ifndef STATUS_CANT_OPEN_ANONYMOUS
1336 # define STATUS_CANT_OPEN_ANONYMOUS ((NTSTATUS) 0xC00000A6L)
1337 #endif
1338 
1339 #ifndef STATUS_BAD_VALIDATION_CLASS
1340 # define STATUS_BAD_VALIDATION_CLASS ((NTSTATUS) 0xC00000A7L)
1341 #endif
1342 
1343 #ifndef STATUS_BAD_TOKEN_TYPE
1344 # define STATUS_BAD_TOKEN_TYPE ((NTSTATUS) 0xC00000A8L)
1345 #endif
1346 
1347 #ifndef STATUS_BAD_MASTER_BOOT_RECORD
1348 # define STATUS_BAD_MASTER_BOOT_RECORD ((NTSTATUS) 0xC00000A9L)
1349 #endif
1350 
1351 #ifndef STATUS_INSTRUCTION_MISALIGNMENT
1352 # define STATUS_INSTRUCTION_MISALIGNMENT ((NTSTATUS) 0xC00000AAL)
1353 #endif
1354 
1355 #ifndef STATUS_INSTANCE_NOT_AVAILABLE
1356 # define STATUS_INSTANCE_NOT_AVAILABLE ((NTSTATUS) 0xC00000ABL)
1357 #endif
1358 
1359 #ifndef STATUS_PIPE_NOT_AVAILABLE
1360 # define STATUS_PIPE_NOT_AVAILABLE ((NTSTATUS) 0xC00000ACL)
1361 #endif
1362 
1363 #ifndef STATUS_INVALID_PIPE_STATE
1364 # define STATUS_INVALID_PIPE_STATE ((NTSTATUS) 0xC00000ADL)
1365 #endif
1366 
1367 #ifndef STATUS_PIPE_BUSY
1368 # define STATUS_PIPE_BUSY ((NTSTATUS) 0xC00000AEL)
1369 #endif
1370 
1371 #ifndef STATUS_ILLEGAL_FUNCTION
1372 # define STATUS_ILLEGAL_FUNCTION ((NTSTATUS) 0xC00000AFL)
1373 #endif
1374 
1375 #ifndef STATUS_PIPE_DISCONNECTED
1376 # define STATUS_PIPE_DISCONNECTED ((NTSTATUS) 0xC00000B0L)
1377 #endif
1378 
1379 #ifndef STATUS_PIPE_CLOSING
1380 # define STATUS_PIPE_CLOSING ((NTSTATUS) 0xC00000B1L)
1381 #endif
1382 
1383 #ifndef STATUS_PIPE_CONNECTED
1384 # define STATUS_PIPE_CONNECTED ((NTSTATUS) 0xC00000B2L)
1385 #endif
1386 
1387 #ifndef STATUS_PIPE_LISTENING
1388 # define STATUS_PIPE_LISTENING ((NTSTATUS) 0xC00000B3L)
1389 #endif
1390 
1391 #ifndef STATUS_INVALID_READ_MODE
1392 # define STATUS_INVALID_READ_MODE ((NTSTATUS) 0xC00000B4L)
1393 #endif
1394 
1395 #ifndef STATUS_IO_TIMEOUT
1396 # define STATUS_IO_TIMEOUT ((NTSTATUS) 0xC00000B5L)
1397 #endif
1398 
1399 #ifndef STATUS_FILE_FORCED_CLOSED
1400 # define STATUS_FILE_FORCED_CLOSED ((NTSTATUS) 0xC00000B6L)
1401 #endif
1402 
1403 #ifndef STATUS_PROFILING_NOT_STARTED
1404 # define STATUS_PROFILING_NOT_STARTED ((NTSTATUS) 0xC00000B7L)
1405 #endif
1406 
1407 #ifndef STATUS_PROFILING_NOT_STOPPED
1408 # define STATUS_PROFILING_NOT_STOPPED ((NTSTATUS) 0xC00000B8L)
1409 #endif
1410 
1411 #ifndef STATUS_COULD_NOT_INTERPRET
1412 # define STATUS_COULD_NOT_INTERPRET ((NTSTATUS) 0xC00000B9L)
1413 #endif
1414 
1415 #ifndef STATUS_FILE_IS_A_DIRECTORY
1416 # define STATUS_FILE_IS_A_DIRECTORY ((NTSTATUS) 0xC00000BAL)
1417 #endif
1418 
1419 #ifndef STATUS_NOT_SUPPORTED
1420 # define STATUS_NOT_SUPPORTED ((NTSTATUS) 0xC00000BBL)
1421 #endif
1422 
1423 #ifndef STATUS_REMOTE_NOT_LISTENING
1424 # define STATUS_REMOTE_NOT_LISTENING ((NTSTATUS) 0xC00000BCL)
1425 #endif
1426 
1427 #ifndef STATUS_DUPLICATE_NAME
1428 # define STATUS_DUPLICATE_NAME ((NTSTATUS) 0xC00000BDL)
1429 #endif
1430 
1431 #ifndef STATUS_BAD_NETWORK_PATH
1432 # define STATUS_BAD_NETWORK_PATH ((NTSTATUS) 0xC00000BEL)
1433 #endif
1434 
1435 #ifndef STATUS_NETWORK_BUSY
1436 # define STATUS_NETWORK_BUSY ((NTSTATUS) 0xC00000BFL)
1437 #endif
1438 
1439 #ifndef STATUS_DEVICE_DOES_NOT_EXIST
1440 # define STATUS_DEVICE_DOES_NOT_EXIST ((NTSTATUS) 0xC00000C0L)
1441 #endif
1442 
1443 #ifndef STATUS_TOO_MANY_COMMANDS
1444 # define STATUS_TOO_MANY_COMMANDS ((NTSTATUS) 0xC00000C1L)
1445 #endif
1446 
1447 #ifndef STATUS_ADAPTER_HARDWARE_ERROR
1448 # define STATUS_ADAPTER_HARDWARE_ERROR ((NTSTATUS) 0xC00000C2L)
1449 #endif
1450 
1451 #ifndef STATUS_INVALID_NETWORK_RESPONSE
1452 # define STATUS_INVALID_NETWORK_RESPONSE ((NTSTATUS) 0xC00000C3L)
1453 #endif
1454 
1455 #ifndef STATUS_UNEXPECTED_NETWORK_ERROR
1456 # define STATUS_UNEXPECTED_NETWORK_ERROR ((NTSTATUS) 0xC00000C4L)
1457 #endif
1458 
1459 #ifndef STATUS_BAD_REMOTE_ADAPTER
1460 # define STATUS_BAD_REMOTE_ADAPTER ((NTSTATUS) 0xC00000C5L)
1461 #endif
1462 
1463 #ifndef STATUS_PRINT_QUEUE_FULL
1464 # define STATUS_PRINT_QUEUE_FULL ((NTSTATUS) 0xC00000C6L)
1465 #endif
1466 
1467 #ifndef STATUS_NO_SPOOL_SPACE
1468 # define STATUS_NO_SPOOL_SPACE ((NTSTATUS) 0xC00000C7L)
1469 #endif
1470 
1471 #ifndef STATUS_PRINT_CANCELLED
1472 # define STATUS_PRINT_CANCELLED ((NTSTATUS) 0xC00000C8L)
1473 #endif
1474 
1475 #ifndef STATUS_NETWORK_NAME_DELETED
1476 # define STATUS_NETWORK_NAME_DELETED ((NTSTATUS) 0xC00000C9L)
1477 #endif
1478 
1479 #ifndef STATUS_NETWORK_ACCESS_DENIED
1480 # define STATUS_NETWORK_ACCESS_DENIED ((NTSTATUS) 0xC00000CAL)
1481 #endif
1482 
1483 #ifndef STATUS_BAD_DEVICE_TYPE
1484 # define STATUS_BAD_DEVICE_TYPE ((NTSTATUS) 0xC00000CBL)
1485 #endif
1486 
1487 #ifndef STATUS_BAD_NETWORK_NAME
1488 # define STATUS_BAD_NETWORK_NAME ((NTSTATUS) 0xC00000CCL)
1489 #endif
1490 
1491 #ifndef STATUS_TOO_MANY_NAMES
1492 # define STATUS_TOO_MANY_NAMES ((NTSTATUS) 0xC00000CDL)
1493 #endif
1494 
1495 #ifndef STATUS_TOO_MANY_SESSIONS
1496 # define STATUS_TOO_MANY_SESSIONS ((NTSTATUS) 0xC00000CEL)
1497 #endif
1498 
1499 #ifndef STATUS_SHARING_PAUSED
1500 # define STATUS_SHARING_PAUSED ((NTSTATUS) 0xC00000CFL)
1501 #endif
1502 
1503 #ifndef STATUS_REQUEST_NOT_ACCEPTED
1504 # define STATUS_REQUEST_NOT_ACCEPTED ((NTSTATUS) 0xC00000D0L)
1505 #endif
1506 
1507 #ifndef STATUS_REDIRECTOR_PAUSED
1508 # define STATUS_REDIRECTOR_PAUSED ((NTSTATUS) 0xC00000D1L)
1509 #endif
1510 
1511 #ifndef STATUS_NET_WRITE_FAULT
1512 # define STATUS_NET_WRITE_FAULT ((NTSTATUS) 0xC00000D2L)
1513 #endif
1514 
1515 #ifndef STATUS_PROFILING_AT_LIMIT
1516 # define STATUS_PROFILING_AT_LIMIT ((NTSTATUS) 0xC00000D3L)
1517 #endif
1518 
1519 #ifndef STATUS_NOT_SAME_DEVICE
1520 # define STATUS_NOT_SAME_DEVICE ((NTSTATUS) 0xC00000D4L)
1521 #endif
1522 
1523 #ifndef STATUS_FILE_RENAMED
1524 # define STATUS_FILE_RENAMED ((NTSTATUS) 0xC00000D5L)
1525 #endif
1526 
1527 #ifndef STATUS_VIRTUAL_CIRCUIT_CLOSED
1528 # define STATUS_VIRTUAL_CIRCUIT_CLOSED ((NTSTATUS) 0xC00000D6L)
1529 #endif
1530 
1531 #ifndef STATUS_NO_SECURITY_ON_OBJECT
1532 # define STATUS_NO_SECURITY_ON_OBJECT ((NTSTATUS) 0xC00000D7L)
1533 #endif
1534 
1535 #ifndef STATUS_CANT_WAIT
1536 # define STATUS_CANT_WAIT ((NTSTATUS) 0xC00000D8L)
1537 #endif
1538 
1539 #ifndef STATUS_PIPE_EMPTY
1540 # define STATUS_PIPE_EMPTY ((NTSTATUS) 0xC00000D9L)
1541 #endif
1542 
1543 #ifndef STATUS_CANT_ACCESS_DOMAIN_INFO
1544 # define STATUS_CANT_ACCESS_DOMAIN_INFO ((NTSTATUS) 0xC00000DAL)
1545 #endif
1546 
1547 #ifndef STATUS_CANT_TERMINATE_SELF
1548 # define STATUS_CANT_TERMINATE_SELF ((NTSTATUS) 0xC00000DBL)
1549 #endif
1550 
1551 #ifndef STATUS_INVALID_SERVER_STATE
1552 # define STATUS_INVALID_SERVER_STATE ((NTSTATUS) 0xC00000DCL)
1553 #endif
1554 
1555 #ifndef STATUS_INVALID_DOMAIN_STATE
1556 # define STATUS_INVALID_DOMAIN_STATE ((NTSTATUS) 0xC00000DDL)
1557 #endif
1558 
1559 #ifndef STATUS_INVALID_DOMAIN_ROLE
1560 # define STATUS_INVALID_DOMAIN_ROLE ((NTSTATUS) 0xC00000DEL)
1561 #endif
1562 
1563 #ifndef STATUS_NO_SUCH_DOMAIN
1564 # define STATUS_NO_SUCH_DOMAIN ((NTSTATUS) 0xC00000DFL)
1565 #endif
1566 
1567 #ifndef STATUS_DOMAIN_EXISTS
1568 # define STATUS_DOMAIN_EXISTS ((NTSTATUS) 0xC00000E0L)
1569 #endif
1570 
1571 #ifndef STATUS_DOMAIN_LIMIT_EXCEEDED
1572 # define STATUS_DOMAIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00000E1L)
1573 #endif
1574 
1575 #ifndef STATUS_OPLOCK_NOT_GRANTED
1576 # define STATUS_OPLOCK_NOT_GRANTED ((NTSTATUS) 0xC00000E2L)
1577 #endif
1578 
1579 #ifndef STATUS_INVALID_OPLOCK_PROTOCOL
1580 # define STATUS_INVALID_OPLOCK_PROTOCOL ((NTSTATUS) 0xC00000E3L)
1581 #endif
1582 
1583 #ifndef STATUS_INTERNAL_DB_CORRUPTION
1584 # define STATUS_INTERNAL_DB_CORRUPTION ((NTSTATUS) 0xC00000E4L)
1585 #endif
1586 
1587 #ifndef STATUS_INTERNAL_ERROR
1588 # define STATUS_INTERNAL_ERROR ((NTSTATUS) 0xC00000E5L)
1589 #endif
1590 
1591 #ifndef STATUS_GENERIC_NOT_MAPPED
1592 # define STATUS_GENERIC_NOT_MAPPED ((NTSTATUS) 0xC00000E6L)
1593 #endif
1594 
1595 #ifndef STATUS_BAD_DESCRIPTOR_FORMAT
1596 # define STATUS_BAD_DESCRIPTOR_FORMAT ((NTSTATUS) 0xC00000E7L)
1597 #endif
1598 
1599 #ifndef STATUS_INVALID_USER_BUFFER
1600 # define STATUS_INVALID_USER_BUFFER ((NTSTATUS) 0xC00000E8L)
1601 #endif
1602 
1603 #ifndef STATUS_UNEXPECTED_IO_ERROR
1604 # define STATUS_UNEXPECTED_IO_ERROR ((NTSTATUS) 0xC00000E9L)
1605 #endif
1606 
1607 #ifndef STATUS_UNEXPECTED_MM_CREATE_ERR
1608 # define STATUS_UNEXPECTED_MM_CREATE_ERR ((NTSTATUS) 0xC00000EAL)
1609 #endif
1610 
1611 #ifndef STATUS_UNEXPECTED_MM_MAP_ERROR
1612 # define STATUS_UNEXPECTED_MM_MAP_ERROR ((NTSTATUS) 0xC00000EBL)
1613 #endif
1614 
1615 #ifndef STATUS_UNEXPECTED_MM_EXTEND_ERR
1616 # define STATUS_UNEXPECTED_MM_EXTEND_ERR ((NTSTATUS) 0xC00000ECL)
1617 #endif
1618 
1619 #ifndef STATUS_NOT_LOGON_PROCESS
1620 # define STATUS_NOT_LOGON_PROCESS ((NTSTATUS) 0xC00000EDL)
1621 #endif
1622 
1623 #ifndef STATUS_LOGON_SESSION_EXISTS
1624 # define STATUS_LOGON_SESSION_EXISTS ((NTSTATUS) 0xC00000EEL)
1625 #endif
1626 
1627 #ifndef STATUS_INVALID_PARAMETER_1
1628 # define STATUS_INVALID_PARAMETER_1 ((NTSTATUS) 0xC00000EFL)
1629 #endif
1630 
1631 #ifndef STATUS_INVALID_PARAMETER_2
1632 # define STATUS_INVALID_PARAMETER_2 ((NTSTATUS) 0xC00000F0L)
1633 #endif
1634 
1635 #ifndef STATUS_INVALID_PARAMETER_3
1636 # define STATUS_INVALID_PARAMETER_3 ((NTSTATUS) 0xC00000F1L)
1637 #endif
1638 
1639 #ifndef STATUS_INVALID_PARAMETER_4
1640 # define STATUS_INVALID_PARAMETER_4 ((NTSTATUS) 0xC00000F2L)
1641 #endif
1642 
1643 #ifndef STATUS_INVALID_PARAMETER_5
1644 # define STATUS_INVALID_PARAMETER_5 ((NTSTATUS) 0xC00000F3L)
1645 #endif
1646 
1647 #ifndef STATUS_INVALID_PARAMETER_6
1648 # define STATUS_INVALID_PARAMETER_6 ((NTSTATUS) 0xC00000F4L)
1649 #endif
1650 
1651 #ifndef STATUS_INVALID_PARAMETER_7
1652 # define STATUS_INVALID_PARAMETER_7 ((NTSTATUS) 0xC00000F5L)
1653 #endif
1654 
1655 #ifndef STATUS_INVALID_PARAMETER_8
1656 # define STATUS_INVALID_PARAMETER_8 ((NTSTATUS) 0xC00000F6L)
1657 #endif
1658 
1659 #ifndef STATUS_INVALID_PARAMETER_9
1660 # define STATUS_INVALID_PARAMETER_9 ((NTSTATUS) 0xC00000F7L)
1661 #endif
1662 
1663 #ifndef STATUS_INVALID_PARAMETER_10
1664 # define STATUS_INVALID_PARAMETER_10 ((NTSTATUS) 0xC00000F8L)
1665 #endif
1666 
1667 #ifndef STATUS_INVALID_PARAMETER_11
1668 # define STATUS_INVALID_PARAMETER_11 ((NTSTATUS) 0xC00000F9L)
1669 #endif
1670 
1671 #ifndef STATUS_INVALID_PARAMETER_12
1672 # define STATUS_INVALID_PARAMETER_12 ((NTSTATUS) 0xC00000FAL)
1673 #endif
1674 
1675 #ifndef STATUS_REDIRECTOR_NOT_STARTED
1676 # define STATUS_REDIRECTOR_NOT_STARTED ((NTSTATUS) 0xC00000FBL)
1677 #endif
1678 
1679 #ifndef STATUS_REDIRECTOR_STARTED
1680 # define STATUS_REDIRECTOR_STARTED ((NTSTATUS) 0xC00000FCL)
1681 #endif
1682 
1683 #ifndef STATUS_STACK_OVERFLOW
1684 # define STATUS_STACK_OVERFLOW ((NTSTATUS) 0xC00000FDL)
1685 #endif
1686 
1687 #ifndef STATUS_NO_SUCH_PACKAGE
1688 # define STATUS_NO_SUCH_PACKAGE ((NTSTATUS) 0xC00000FEL)
1689 #endif
1690 
1691 #ifndef STATUS_BAD_FUNCTION_TABLE
1692 # define STATUS_BAD_FUNCTION_TABLE ((NTSTATUS) 0xC00000FFL)
1693 #endif
1694 
1695 #ifndef STATUS_VARIABLE_NOT_FOUND
1696 # define STATUS_VARIABLE_NOT_FOUND ((NTSTATUS) 0xC0000100L)
1697 #endif
1698 
1699 #ifndef STATUS_DIRECTORY_NOT_EMPTY
1700 # define STATUS_DIRECTORY_NOT_EMPTY ((NTSTATUS) 0xC0000101L)
1701 #endif
1702 
1703 #ifndef STATUS_FILE_CORRUPT_ERROR
1704 # define STATUS_FILE_CORRUPT_ERROR ((NTSTATUS) 0xC0000102L)
1705 #endif
1706 
1707 #ifndef STATUS_NOT_A_DIRECTORY
1708 # define STATUS_NOT_A_DIRECTORY ((NTSTATUS) 0xC0000103L)
1709 #endif
1710 
1711 #ifndef STATUS_BAD_LOGON_SESSION_STATE
1712 # define STATUS_BAD_LOGON_SESSION_STATE ((NTSTATUS) 0xC0000104L)
1713 #endif
1714 
1715 #ifndef STATUS_LOGON_SESSION_COLLISION
1716 # define STATUS_LOGON_SESSION_COLLISION ((NTSTATUS) 0xC0000105L)
1717 #endif
1718 
1719 #ifndef STATUS_NAME_TOO_LONG
1720 # define STATUS_NAME_TOO_LONG ((NTSTATUS) 0xC0000106L)
1721 #endif
1722 
1723 #ifndef STATUS_FILES_OPEN
1724 # define STATUS_FILES_OPEN ((NTSTATUS) 0xC0000107L)
1725 #endif
1726 
1727 #ifndef STATUS_CONNECTION_IN_USE
1728 # define STATUS_CONNECTION_IN_USE ((NTSTATUS) 0xC0000108L)
1729 #endif
1730 
1731 #ifndef STATUS_MESSAGE_NOT_FOUND
1732 # define STATUS_MESSAGE_NOT_FOUND ((NTSTATUS) 0xC0000109L)
1733 #endif
1734 
1735 #ifndef STATUS_PROCESS_IS_TERMINATING
1736 # define STATUS_PROCESS_IS_TERMINATING ((NTSTATUS) 0xC000010AL)
1737 #endif
1738 
1739 #ifndef STATUS_INVALID_LOGON_TYPE
1740 # define STATUS_INVALID_LOGON_TYPE ((NTSTATUS) 0xC000010BL)
1741 #endif
1742 
1743 #ifndef STATUS_NO_GUID_TRANSLATION
1744 # define STATUS_NO_GUID_TRANSLATION ((NTSTATUS) 0xC000010CL)
1745 #endif
1746 
1747 #ifndef STATUS_CANNOT_IMPERSONATE
1748 # define STATUS_CANNOT_IMPERSONATE ((NTSTATUS) 0xC000010DL)
1749 #endif
1750 
1751 #ifndef STATUS_IMAGE_ALREADY_LOADED
1752 # define STATUS_IMAGE_ALREADY_LOADED ((NTSTATUS) 0xC000010EL)
1753 #endif
1754 
1755 #ifndef STATUS_ABIOS_NOT_PRESENT
1756 # define STATUS_ABIOS_NOT_PRESENT ((NTSTATUS) 0xC000010FL)
1757 #endif
1758 
1759 #ifndef STATUS_ABIOS_LID_NOT_EXIST
1760 # define STATUS_ABIOS_LID_NOT_EXIST ((NTSTATUS) 0xC0000110L)
1761 #endif
1762 
1763 #ifndef STATUS_ABIOS_LID_ALREADY_OWNED
1764 # define STATUS_ABIOS_LID_ALREADY_OWNED ((NTSTATUS) 0xC0000111L)
1765 #endif
1766 
1767 #ifndef STATUS_ABIOS_NOT_LID_OWNER
1768 # define STATUS_ABIOS_NOT_LID_OWNER ((NTSTATUS) 0xC0000112L)
1769 #endif
1770 
1771 #ifndef STATUS_ABIOS_INVALID_COMMAND
1772 # define STATUS_ABIOS_INVALID_COMMAND ((NTSTATUS) 0xC0000113L)
1773 #endif
1774 
1775 #ifndef STATUS_ABIOS_INVALID_LID
1776 # define STATUS_ABIOS_INVALID_LID ((NTSTATUS) 0xC0000114L)
1777 #endif
1778 
1779 #ifndef STATUS_ABIOS_SELECTOR_NOT_AVAILABLE
1780 # define STATUS_ABIOS_SELECTOR_NOT_AVAILABLE ((NTSTATUS) 0xC0000115L)
1781 #endif
1782 
1783 #ifndef STATUS_ABIOS_INVALID_SELECTOR
1784 # define STATUS_ABIOS_INVALID_SELECTOR ((NTSTATUS) 0xC0000116L)
1785 #endif
1786 
1787 #ifndef STATUS_NO_LDT
1788 # define STATUS_NO_LDT ((NTSTATUS) 0xC0000117L)
1789 #endif
1790 
1791 #ifndef STATUS_INVALID_LDT_SIZE
1792 # define STATUS_INVALID_LDT_SIZE ((NTSTATUS) 0xC0000118L)
1793 #endif
1794 
1795 #ifndef STATUS_INVALID_LDT_OFFSET
1796 # define STATUS_INVALID_LDT_OFFSET ((NTSTATUS) 0xC0000119L)
1797 #endif
1798 
1799 #ifndef STATUS_INVALID_LDT_DESCRIPTOR
1800 # define STATUS_INVALID_LDT_DESCRIPTOR ((NTSTATUS) 0xC000011AL)
1801 #endif
1802 
1803 #ifndef STATUS_INVALID_IMAGE_NE_FORMAT
1804 # define STATUS_INVALID_IMAGE_NE_FORMAT ((NTSTATUS) 0xC000011BL)
1805 #endif
1806 
1807 #ifndef STATUS_RXACT_INVALID_STATE
1808 # define STATUS_RXACT_INVALID_STATE ((NTSTATUS) 0xC000011CL)
1809 #endif
1810 
1811 #ifndef STATUS_RXACT_COMMIT_FAILURE
1812 # define STATUS_RXACT_COMMIT_FAILURE ((NTSTATUS) 0xC000011DL)
1813 #endif
1814 
1815 #ifndef STATUS_MAPPED_FILE_SIZE_ZERO
1816 # define STATUS_MAPPED_FILE_SIZE_ZERO ((NTSTATUS) 0xC000011EL)
1817 #endif
1818 
1819 #ifndef STATUS_TOO_MANY_OPENED_FILES
1820 # define STATUS_TOO_MANY_OPENED_FILES ((NTSTATUS) 0xC000011FL)
1821 #endif
1822 
1823 #ifndef STATUS_CANCELLED
1824 # define STATUS_CANCELLED ((NTSTATUS) 0xC0000120L)
1825 #endif
1826 
1827 #ifndef STATUS_CANNOT_DELETE
1828 # define STATUS_CANNOT_DELETE ((NTSTATUS) 0xC0000121L)
1829 #endif
1830 
1831 #ifndef STATUS_INVALID_COMPUTER_NAME
1832 # define STATUS_INVALID_COMPUTER_NAME ((NTSTATUS) 0xC0000122L)
1833 #endif
1834 
1835 #ifndef STATUS_FILE_DELETED
1836 # define STATUS_FILE_DELETED ((NTSTATUS) 0xC0000123L)
1837 #endif
1838 
1839 #ifndef STATUS_SPECIAL_ACCOUNT
1840 # define STATUS_SPECIAL_ACCOUNT ((NTSTATUS) 0xC0000124L)
1841 #endif
1842 
1843 #ifndef STATUS_SPECIAL_GROUP
1844 # define STATUS_SPECIAL_GROUP ((NTSTATUS) 0xC0000125L)
1845 #endif
1846 
1847 #ifndef STATUS_SPECIAL_USER
1848 # define STATUS_SPECIAL_USER ((NTSTATUS) 0xC0000126L)
1849 #endif
1850 
1851 #ifndef STATUS_MEMBERS_PRIMARY_GROUP
1852 # define STATUS_MEMBERS_PRIMARY_GROUP ((NTSTATUS) 0xC0000127L)
1853 #endif
1854 
1855 #ifndef STATUS_FILE_CLOSED
1856 # define STATUS_FILE_CLOSED ((NTSTATUS) 0xC0000128L)
1857 #endif
1858 
1859 #ifndef STATUS_TOO_MANY_THREADS
1860 # define STATUS_TOO_MANY_THREADS ((NTSTATUS) 0xC0000129L)
1861 #endif
1862 
1863 #ifndef STATUS_THREAD_NOT_IN_PROCESS
1864 # define STATUS_THREAD_NOT_IN_PROCESS ((NTSTATUS) 0xC000012AL)
1865 #endif
1866 
1867 #ifndef STATUS_TOKEN_ALREADY_IN_USE
1868 # define STATUS_TOKEN_ALREADY_IN_USE ((NTSTATUS) 0xC000012BL)
1869 #endif
1870 
1871 #ifndef STATUS_PAGEFILE_QUOTA_EXCEEDED
1872 # define STATUS_PAGEFILE_QUOTA_EXCEEDED ((NTSTATUS) 0xC000012CL)
1873 #endif
1874 
1875 #ifndef STATUS_COMMITMENT_LIMIT
1876 # define STATUS_COMMITMENT_LIMIT ((NTSTATUS) 0xC000012DL)
1877 #endif
1878 
1879 #ifndef STATUS_INVALID_IMAGE_LE_FORMAT
1880 # define STATUS_INVALID_IMAGE_LE_FORMAT ((NTSTATUS) 0xC000012EL)
1881 #endif
1882 
1883 #ifndef STATUS_INVALID_IMAGE_NOT_MZ
1884 # define STATUS_INVALID_IMAGE_NOT_MZ ((NTSTATUS) 0xC000012FL)
1885 #endif
1886 
1887 #ifndef STATUS_INVALID_IMAGE_PROTECT
1888 # define STATUS_INVALID_IMAGE_PROTECT ((NTSTATUS) 0xC0000130L)
1889 #endif
1890 
1891 #ifndef STATUS_INVALID_IMAGE_WIN_16
1892 # define STATUS_INVALID_IMAGE_WIN_16 ((NTSTATUS) 0xC0000131L)
1893 #endif
1894 
1895 #ifndef STATUS_LOGON_SERVER_CONFLICT
1896 # define STATUS_LOGON_SERVER_CONFLICT ((NTSTATUS) 0xC0000132L)
1897 #endif
1898 
1899 #ifndef STATUS_TIME_DIFFERENCE_AT_DC
1900 # define STATUS_TIME_DIFFERENCE_AT_DC ((NTSTATUS) 0xC0000133L)
1901 #endif
1902 
1903 #ifndef STATUS_SYNCHRONIZATION_REQUIRED
1904 # define STATUS_SYNCHRONIZATION_REQUIRED ((NTSTATUS) 0xC0000134L)
1905 #endif
1906 
1907 #ifndef STATUS_DLL_NOT_FOUND
1908 # define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xC0000135L)
1909 #endif
1910 
1911 #ifndef STATUS_OPEN_FAILED
1912 # define STATUS_OPEN_FAILED ((NTSTATUS) 0xC0000136L)
1913 #endif
1914 
1915 #ifndef STATUS_IO_PRIVILEGE_FAILED
1916 # define STATUS_IO_PRIVILEGE_FAILED ((NTSTATUS) 0xC0000137L)
1917 #endif
1918 
1919 #ifndef STATUS_ORDINAL_NOT_FOUND
1920 # define STATUS_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000138L)
1921 #endif
1922 
1923 #ifndef STATUS_ENTRYPOINT_NOT_FOUND
1924 # define STATUS_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000139L)
1925 #endif
1926 
1927 #ifndef STATUS_CONTROL_C_EXIT
1928 # define STATUS_CONTROL_C_EXIT ((NTSTATUS) 0xC000013AL)
1929 #endif
1930 
1931 #ifndef STATUS_LOCAL_DISCONNECT
1932 # define STATUS_LOCAL_DISCONNECT ((NTSTATUS) 0xC000013BL)
1933 #endif
1934 
1935 #ifndef STATUS_REMOTE_DISCONNECT
1936 # define STATUS_REMOTE_DISCONNECT ((NTSTATUS) 0xC000013CL)
1937 #endif
1938 
1939 #ifndef STATUS_REMOTE_RESOURCES
1940 # define STATUS_REMOTE_RESOURCES ((NTSTATUS) 0xC000013DL)
1941 #endif
1942 
1943 #ifndef STATUS_LINK_FAILED
1944 # define STATUS_LINK_FAILED ((NTSTATUS) 0xC000013EL)
1945 #endif
1946 
1947 #ifndef STATUS_LINK_TIMEOUT
1948 # define STATUS_LINK_TIMEOUT ((NTSTATUS) 0xC000013FL)
1949 #endif
1950 
1951 #ifndef STATUS_INVALID_CONNECTION
1952 # define STATUS_INVALID_CONNECTION ((NTSTATUS) 0xC0000140L)
1953 #endif
1954 
1955 #ifndef STATUS_INVALID_ADDRESS
1956 # define STATUS_INVALID_ADDRESS ((NTSTATUS) 0xC0000141L)
1957 #endif
1958 
1959 #ifndef STATUS_DLL_INIT_FAILED
1960 # define STATUS_DLL_INIT_FAILED ((NTSTATUS) 0xC0000142L)
1961 #endif
1962 
1963 #ifndef STATUS_MISSING_SYSTEMFILE
1964 # define STATUS_MISSING_SYSTEMFILE ((NTSTATUS) 0xC0000143L)
1965 #endif
1966 
1967 #ifndef STATUS_UNHANDLED_EXCEPTION
1968 # define STATUS_UNHANDLED_EXCEPTION ((NTSTATUS) 0xC0000144L)
1969 #endif
1970 
1971 #ifndef STATUS_APP_INIT_FAILURE
1972 # define STATUS_APP_INIT_FAILURE ((NTSTATUS) 0xC0000145L)
1973 #endif
1974 
1975 #ifndef STATUS_PAGEFILE_CREATE_FAILED
1976 # define STATUS_PAGEFILE_CREATE_FAILED ((NTSTATUS) 0xC0000146L)
1977 #endif
1978 
1979 #ifndef STATUS_NO_PAGEFILE
1980 # define STATUS_NO_PAGEFILE ((NTSTATUS) 0xC0000147L)
1981 #endif
1982 
1983 #ifndef STATUS_INVALID_LEVEL
1984 # define STATUS_INVALID_LEVEL ((NTSTATUS) 0xC0000148L)
1985 #endif
1986 
1987 #ifndef STATUS_WRONG_PASSWORD_CORE
1988 # define STATUS_WRONG_PASSWORD_CORE ((NTSTATUS) 0xC0000149L)
1989 #endif
1990 
1991 #ifndef STATUS_ILLEGAL_FLOAT_CONTEXT
1992 # define STATUS_ILLEGAL_FLOAT_CONTEXT ((NTSTATUS) 0xC000014AL)
1993 #endif
1994 
1995 #ifndef STATUS_PIPE_BROKEN
1996 # define STATUS_PIPE_BROKEN ((NTSTATUS) 0xC000014BL)
1997 #endif
1998 
1999 #ifndef STATUS_REGISTRY_CORRUPT
2000 # define STATUS_REGISTRY_CORRUPT ((NTSTATUS) 0xC000014CL)
2001 #endif
2002 
2003 #ifndef STATUS_REGISTRY_IO_FAILED
2004 # define STATUS_REGISTRY_IO_FAILED ((NTSTATUS) 0xC000014DL)
2005 #endif
2006 
2007 #ifndef STATUS_NO_EVENT_PAIR
2008 # define STATUS_NO_EVENT_PAIR ((NTSTATUS) 0xC000014EL)
2009 #endif
2010 
2011 #ifndef STATUS_UNRECOGNIZED_VOLUME
2012 # define STATUS_UNRECOGNIZED_VOLUME ((NTSTATUS) 0xC000014FL)
2013 #endif
2014 
2015 #ifndef STATUS_SERIAL_NO_DEVICE_INITED
2016 # define STATUS_SERIAL_NO_DEVICE_INITED ((NTSTATUS) 0xC0000150L)
2017 #endif
2018 
2019 #ifndef STATUS_NO_SUCH_ALIAS
2020 # define STATUS_NO_SUCH_ALIAS ((NTSTATUS) 0xC0000151L)
2021 #endif
2022 
2023 #ifndef STATUS_MEMBER_NOT_IN_ALIAS
2024 # define STATUS_MEMBER_NOT_IN_ALIAS ((NTSTATUS) 0xC0000152L)
2025 #endif
2026 
2027 #ifndef STATUS_MEMBER_IN_ALIAS
2028 # define STATUS_MEMBER_IN_ALIAS ((NTSTATUS) 0xC0000153L)
2029 #endif
2030 
2031 #ifndef STATUS_ALIAS_EXISTS
2032 # define STATUS_ALIAS_EXISTS ((NTSTATUS) 0xC0000154L)
2033 #endif
2034 
2035 #ifndef STATUS_LOGON_NOT_GRANTED
2036 # define STATUS_LOGON_NOT_GRANTED ((NTSTATUS) 0xC0000155L)
2037 #endif
2038 
2039 #ifndef STATUS_TOO_MANY_SECRETS
2040 # define STATUS_TOO_MANY_SECRETS ((NTSTATUS) 0xC0000156L)
2041 #endif
2042 
2043 #ifndef STATUS_SECRET_TOO_LONG
2044 # define STATUS_SECRET_TOO_LONG ((NTSTATUS) 0xC0000157L)
2045 #endif
2046 
2047 #ifndef STATUS_INTERNAL_DB_ERROR
2048 # define STATUS_INTERNAL_DB_ERROR ((NTSTATUS) 0xC0000158L)
2049 #endif
2050 
2051 #ifndef STATUS_FULLSCREEN_MODE
2052 # define STATUS_FULLSCREEN_MODE ((NTSTATUS) 0xC0000159L)
2053 #endif
2054 
2055 #ifndef STATUS_TOO_MANY_CONTEXT_IDS
2056 # define STATUS_TOO_MANY_CONTEXT_IDS ((NTSTATUS) 0xC000015AL)
2057 #endif
2058 
2059 #ifndef STATUS_LOGON_TYPE_NOT_GRANTED
2060 # define STATUS_LOGON_TYPE_NOT_GRANTED ((NTSTATUS) 0xC000015BL)
2061 #endif
2062 
2063 #ifndef STATUS_NOT_REGISTRY_FILE
2064 # define STATUS_NOT_REGISTRY_FILE ((NTSTATUS) 0xC000015CL)
2065 #endif
2066 
2067 #ifndef STATUS_NT_CROSS_ENCRYPTION_REQUIRED
2068 # define STATUS_NT_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000015DL)
2069 #endif
2070 
2071 #ifndef STATUS_DOMAIN_CTRLR_CONFIG_ERROR
2072 # define STATUS_DOMAIN_CTRLR_CONFIG_ERROR ((NTSTATUS) 0xC000015EL)
2073 #endif
2074 
2075 #ifndef STATUS_FT_MISSING_MEMBER
2076 # define STATUS_FT_MISSING_MEMBER ((NTSTATUS) 0xC000015FL)
2077 #endif
2078 
2079 #ifndef STATUS_ILL_FORMED_SERVICE_ENTRY
2080 # define STATUS_ILL_FORMED_SERVICE_ENTRY ((NTSTATUS) 0xC0000160L)
2081 #endif
2082 
2083 #ifndef STATUS_ILLEGAL_CHARACTER
2084 # define STATUS_ILLEGAL_CHARACTER ((NTSTATUS) 0xC0000161L)
2085 #endif
2086 
2087 #ifndef STATUS_UNMAPPABLE_CHARACTER
2088 # define STATUS_UNMAPPABLE_CHARACTER ((NTSTATUS) 0xC0000162L)
2089 #endif
2090 
2091 #ifndef STATUS_UNDEFINED_CHARACTER
2092 # define STATUS_UNDEFINED_CHARACTER ((NTSTATUS) 0xC0000163L)
2093 #endif
2094 
2095 #ifndef STATUS_FLOPPY_VOLUME
2096 # define STATUS_FLOPPY_VOLUME ((NTSTATUS) 0xC0000164L)
2097 #endif
2098 
2099 #ifndef STATUS_FLOPPY_ID_MARK_NOT_FOUND
2100 # define STATUS_FLOPPY_ID_MARK_NOT_FOUND ((NTSTATUS) 0xC0000165L)
2101 #endif
2102 
2103 #ifndef STATUS_FLOPPY_WRONG_CYLINDER
2104 # define STATUS_FLOPPY_WRONG_CYLINDER ((NTSTATUS) 0xC0000166L)
2105 #endif
2106 
2107 #ifndef STATUS_FLOPPY_UNKNOWN_ERROR
2108 # define STATUS_FLOPPY_UNKNOWN_ERROR ((NTSTATUS) 0xC0000167L)
2109 #endif
2110 
2111 #ifndef STATUS_FLOPPY_BAD_REGISTERS
2112 # define STATUS_FLOPPY_BAD_REGISTERS ((NTSTATUS) 0xC0000168L)
2113 #endif
2114 
2115 #ifndef STATUS_DISK_RECALIBRATE_FAILED
2116 # define STATUS_DISK_RECALIBRATE_FAILED ((NTSTATUS) 0xC0000169L)
2117 #endif
2118 
2119 #ifndef STATUS_DISK_OPERATION_FAILED
2120 # define STATUS_DISK_OPERATION_FAILED ((NTSTATUS) 0xC000016AL)
2121 #endif
2122 
2123 #ifndef STATUS_DISK_RESET_FAILED
2124 # define STATUS_DISK_RESET_FAILED ((NTSTATUS) 0xC000016BL)
2125 #endif
2126 
2127 #ifndef STATUS_SHARED_IRQ_BUSY
2128 # define STATUS_SHARED_IRQ_BUSY ((NTSTATUS) 0xC000016CL)
2129 #endif
2130 
2131 #ifndef STATUS_FT_ORPHANING
2132 # define STATUS_FT_ORPHANING ((NTSTATUS) 0xC000016DL)
2133 #endif
2134 
2135 #ifndef STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
2136 # define STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT ((NTSTATUS) 0xC000016EL)
2137 #endif
2138 
2139 #ifndef STATUS_PARTITION_FAILURE
2140 # define STATUS_PARTITION_FAILURE ((NTSTATUS) 0xC0000172L)
2141 #endif
2142 
2143 #ifndef STATUS_INVALID_BLOCK_LENGTH
2144 # define STATUS_INVALID_BLOCK_LENGTH ((NTSTATUS) 0xC0000173L)
2145 #endif
2146 
2147 #ifndef STATUS_DEVICE_NOT_PARTITIONED
2148 # define STATUS_DEVICE_NOT_PARTITIONED ((NTSTATUS) 0xC0000174L)
2149 #endif
2150 
2151 #ifndef STATUS_UNABLE_TO_LOCK_MEDIA
2152 # define STATUS_UNABLE_TO_LOCK_MEDIA ((NTSTATUS) 0xC0000175L)
2153 #endif
2154 
2155 #ifndef STATUS_UNABLE_TO_UNLOAD_MEDIA
2156 # define STATUS_UNABLE_TO_UNLOAD_MEDIA ((NTSTATUS) 0xC0000176L)
2157 #endif
2158 
2159 #ifndef STATUS_EOM_OVERFLOW
2160 # define STATUS_EOM_OVERFLOW ((NTSTATUS) 0xC0000177L)
2161 #endif
2162 
2163 #ifndef STATUS_NO_MEDIA
2164 # define STATUS_NO_MEDIA ((NTSTATUS) 0xC0000178L)
2165 #endif
2166 
2167 #ifndef STATUS_NO_SUCH_MEMBER
2168 # define STATUS_NO_SUCH_MEMBER ((NTSTATUS) 0xC000017AL)
2169 #endif
2170 
2171 #ifndef STATUS_INVALID_MEMBER
2172 # define STATUS_INVALID_MEMBER ((NTSTATUS) 0xC000017BL)
2173 #endif
2174 
2175 #ifndef STATUS_KEY_DELETED
2176 # define STATUS_KEY_DELETED ((NTSTATUS) 0xC000017CL)
2177 #endif
2178 
2179 #ifndef STATUS_NO_LOG_SPACE
2180 # define STATUS_NO_LOG_SPACE ((NTSTATUS) 0xC000017DL)
2181 #endif
2182 
2183 #ifndef STATUS_TOO_MANY_SIDS
2184 # define STATUS_TOO_MANY_SIDS ((NTSTATUS) 0xC000017EL)
2185 #endif
2186 
2187 #ifndef STATUS_LM_CROSS_ENCRYPTION_REQUIRED
2188 # define STATUS_LM_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000017FL)
2189 #endif
2190 
2191 #ifndef STATUS_KEY_HAS_CHILDREN
2192 # define STATUS_KEY_HAS_CHILDREN ((NTSTATUS) 0xC0000180L)
2193 #endif
2194 
2195 #ifndef STATUS_CHILD_MUST_BE_VOLATILE
2196 # define STATUS_CHILD_MUST_BE_VOLATILE ((NTSTATUS) 0xC0000181L)
2197 #endif
2198 
2199 #ifndef STATUS_DEVICE_CONFIGURATION_ERROR
2200 # define STATUS_DEVICE_CONFIGURATION_ERROR ((NTSTATUS) 0xC0000182L)
2201 #endif
2202 
2203 #ifndef STATUS_DRIVER_INTERNAL_ERROR
2204 # define STATUS_DRIVER_INTERNAL_ERROR ((NTSTATUS) 0xC0000183L)
2205 #endif
2206 
2207 #ifndef STATUS_INVALID_DEVICE_STATE
2208 # define STATUS_INVALID_DEVICE_STATE ((NTSTATUS) 0xC0000184L)
2209 #endif
2210 
2211 #ifndef STATUS_IO_DEVICE_ERROR
2212 # define STATUS_IO_DEVICE_ERROR ((NTSTATUS) 0xC0000185L)
2213 #endif
2214 
2215 #ifndef STATUS_DEVICE_PROTOCOL_ERROR
2216 # define STATUS_DEVICE_PROTOCOL_ERROR ((NTSTATUS) 0xC0000186L)
2217 #endif
2218 
2219 #ifndef STATUS_BACKUP_CONTROLLER
2220 # define STATUS_BACKUP_CONTROLLER ((NTSTATUS) 0xC0000187L)
2221 #endif
2222 
2223 #ifndef STATUS_LOG_FILE_FULL
2224 # define STATUS_LOG_FILE_FULL ((NTSTATUS) 0xC0000188L)
2225 #endif
2226 
2227 #ifndef STATUS_TOO_LATE
2228 # define STATUS_TOO_LATE ((NTSTATUS) 0xC0000189L)
2229 #endif
2230 
2231 #ifndef STATUS_NO_TRUST_LSA_SECRET
2232 # define STATUS_NO_TRUST_LSA_SECRET ((NTSTATUS) 0xC000018AL)
2233 #endif
2234 
2235 #ifndef STATUS_NO_TRUST_SAM_ACCOUNT
2236 # define STATUS_NO_TRUST_SAM_ACCOUNT ((NTSTATUS) 0xC000018BL)
2237 #endif
2238 
2239 #ifndef STATUS_TRUSTED_DOMAIN_FAILURE
2240 # define STATUS_TRUSTED_DOMAIN_FAILURE ((NTSTATUS) 0xC000018CL)
2241 #endif
2242 
2243 #ifndef STATUS_TRUSTED_RELATIONSHIP_FAILURE
2244 # define STATUS_TRUSTED_RELATIONSHIP_FAILURE ((NTSTATUS) 0xC000018DL)
2245 #endif
2246 
2247 #ifndef STATUS_EVENTLOG_FILE_CORRUPT
2248 # define STATUS_EVENTLOG_FILE_CORRUPT ((NTSTATUS) 0xC000018EL)
2249 #endif
2250 
2251 #ifndef STATUS_EVENTLOG_CANT_START
2252 # define STATUS_EVENTLOG_CANT_START ((NTSTATUS) 0xC000018FL)
2253 #endif
2254 
2255 #ifndef STATUS_TRUST_FAILURE
2256 # define STATUS_TRUST_FAILURE ((NTSTATUS) 0xC0000190L)
2257 #endif
2258 
2259 #ifndef STATUS_MUTANT_LIMIT_EXCEEDED
2260 # define STATUS_MUTANT_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000191L)
2261 #endif
2262 
2263 #ifndef STATUS_NETLOGON_NOT_STARTED
2264 # define STATUS_NETLOGON_NOT_STARTED ((NTSTATUS) 0xC0000192L)
2265 #endif
2266 
2267 #ifndef STATUS_ACCOUNT_EXPIRED
2268 # define STATUS_ACCOUNT_EXPIRED ((NTSTATUS) 0xC0000193L)
2269 #endif
2270 
2271 #ifndef STATUS_POSSIBLE_DEADLOCK
2272 # define STATUS_POSSIBLE_DEADLOCK ((NTSTATUS) 0xC0000194L)
2273 #endif
2274 
2275 #ifndef STATUS_NETWORK_CREDENTIAL_CONFLICT
2276 # define STATUS_NETWORK_CREDENTIAL_CONFLICT ((NTSTATUS) 0xC0000195L)
2277 #endif
2278 
2279 #ifndef STATUS_REMOTE_SESSION_LIMIT
2280 # define STATUS_REMOTE_SESSION_LIMIT ((NTSTATUS) 0xC0000196L)
2281 #endif
2282 
2283 #ifndef STATUS_EVENTLOG_FILE_CHANGED
2284 # define STATUS_EVENTLOG_FILE_CHANGED ((NTSTATUS) 0xC0000197L)
2285 #endif
2286 
2287 #ifndef STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
2288 # define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT ((NTSTATUS) 0xC0000198L)
2289 #endif
2290 
2291 #ifndef STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
2292 # define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT ((NTSTATUS) 0xC0000199L)
2293 #endif
2294 
2295 #ifndef STATUS_NOLOGON_SERVER_TRUST_ACCOUNT
2296 # define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT ((NTSTATUS) 0xC000019AL)
2297 #endif
2298 
2299 #ifndef STATUS_DOMAIN_TRUST_INCONSISTENT
2300 # define STATUS_DOMAIN_TRUST_INCONSISTENT ((NTSTATUS) 0xC000019BL)
2301 #endif
2302 
2303 #ifndef STATUS_FS_DRIVER_REQUIRED
2304 # define STATUS_FS_DRIVER_REQUIRED ((NTSTATUS) 0xC000019CL)
2305 #endif
2306 
2307 #ifndef STATUS_IMAGE_ALREADY_LOADED_AS_DLL
2308 # define STATUS_IMAGE_ALREADY_LOADED_AS_DLL ((NTSTATUS) 0xC000019DL)
2309 #endif
2310 
2311 #ifndef STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING
2312 # define STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING ((NTSTATUS) 0xC000019EL)
2313 #endif
2314 
2315 #ifndef STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME
2316 # define STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME ((NTSTATUS) 0xC000019FL)
2317 #endif
2318 
2319 #ifndef STATUS_SECURITY_STREAM_IS_INCONSISTENT
2320 # define STATUS_SECURITY_STREAM_IS_INCONSISTENT ((NTSTATUS) 0xC00001A0L)
2321 #endif
2322 
2323 #ifndef STATUS_INVALID_LOCK_RANGE
2324 # define STATUS_INVALID_LOCK_RANGE ((NTSTATUS) 0xC00001A1L)
2325 #endif
2326 
2327 #ifndef STATUS_INVALID_ACE_CONDITION
2328 # define STATUS_INVALID_ACE_CONDITION ((NTSTATUS) 0xC00001A2L)
2329 #endif
2330 
2331 #ifndef STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT
2332 # define STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT ((NTSTATUS) 0xC00001A3L)
2333 #endif
2334 
2335 #ifndef STATUS_NOTIFICATION_GUID_ALREADY_DEFINED
2336 # define STATUS_NOTIFICATION_GUID_ALREADY_DEFINED ((NTSTATUS) 0xC00001A4L)
2337 #endif
2338 
2339 #ifndef STATUS_NETWORK_OPEN_RESTRICTION
2340 # define STATUS_NETWORK_OPEN_RESTRICTION ((NTSTATUS) 0xC0000201L)
2341 #endif
2342 
2343 #ifndef STATUS_NO_USER_SESSION_KEY
2344 # define STATUS_NO_USER_SESSION_KEY ((NTSTATUS) 0xC0000202L)
2345 #endif
2346 
2347 #ifndef STATUS_USER_SESSION_DELETED
2348 # define STATUS_USER_SESSION_DELETED ((NTSTATUS) 0xC0000203L)
2349 #endif
2350 
2351 #ifndef STATUS_RESOURCE_LANG_NOT_FOUND
2352 # define STATUS_RESOURCE_LANG_NOT_FOUND ((NTSTATUS) 0xC0000204L)
2353 #endif
2354 
2355 #ifndef STATUS_INSUFF_SERVER_RESOURCES
2356 # define STATUS_INSUFF_SERVER_RESOURCES ((NTSTATUS) 0xC0000205L)
2357 #endif
2358 
2359 #ifndef STATUS_INVALID_BUFFER_SIZE
2360 # define STATUS_INVALID_BUFFER_SIZE ((NTSTATUS) 0xC0000206L)
2361 #endif
2362 
2363 #ifndef STATUS_INVALID_ADDRESS_COMPONENT
2364 # define STATUS_INVALID_ADDRESS_COMPONENT ((NTSTATUS) 0xC0000207L)
2365 #endif
2366 
2367 #ifndef STATUS_INVALID_ADDRESS_WILDCARD
2368 # define STATUS_INVALID_ADDRESS_WILDCARD ((NTSTATUS) 0xC0000208L)
2369 #endif
2370 
2371 #ifndef STATUS_TOO_MANY_ADDRESSES
2372 # define STATUS_TOO_MANY_ADDRESSES ((NTSTATUS) 0xC0000209L)
2373 #endif
2374 
2375 #ifndef STATUS_ADDRESS_ALREADY_EXISTS
2376 # define STATUS_ADDRESS_ALREADY_EXISTS ((NTSTATUS) 0xC000020AL)
2377 #endif
2378 
2379 #ifndef STATUS_ADDRESS_CLOSED
2380 # define STATUS_ADDRESS_CLOSED ((NTSTATUS) 0xC000020BL)
2381 #endif
2382 
2383 #ifndef STATUS_CONNECTION_DISCONNECTED
2384 # define STATUS_CONNECTION_DISCONNECTED ((NTSTATUS) 0xC000020CL)
2385 #endif
2386 
2387 #ifndef STATUS_CONNECTION_RESET
2388 # define STATUS_CONNECTION_RESET ((NTSTATUS) 0xC000020DL)
2389 #endif
2390 
2391 #ifndef STATUS_TOO_MANY_NODES
2392 # define STATUS_TOO_MANY_NODES ((NTSTATUS) 0xC000020EL)
2393 #endif
2394 
2395 #ifndef STATUS_TRANSACTION_ABORTED
2396 # define STATUS_TRANSACTION_ABORTED ((NTSTATUS) 0xC000020FL)
2397 #endif
2398 
2399 #ifndef STATUS_TRANSACTION_TIMED_OUT
2400 # define STATUS_TRANSACTION_TIMED_OUT ((NTSTATUS) 0xC0000210L)
2401 #endif
2402 
2403 #ifndef STATUS_TRANSACTION_NO_RELEASE
2404 # define STATUS_TRANSACTION_NO_RELEASE ((NTSTATUS) 0xC0000211L)
2405 #endif
2406 
2407 #ifndef STATUS_TRANSACTION_NO_MATCH
2408 # define STATUS_TRANSACTION_NO_MATCH ((NTSTATUS) 0xC0000212L)
2409 #endif
2410 
2411 #ifndef STATUS_TRANSACTION_RESPONDED
2412 # define STATUS_TRANSACTION_RESPONDED ((NTSTATUS) 0xC0000213L)
2413 #endif
2414 
2415 #ifndef STATUS_TRANSACTION_INVALID_ID
2416 # define STATUS_TRANSACTION_INVALID_ID ((NTSTATUS) 0xC0000214L)
2417 #endif
2418 
2419 #ifndef STATUS_TRANSACTION_INVALID_TYPE
2420 # define STATUS_TRANSACTION_INVALID_TYPE ((NTSTATUS) 0xC0000215L)
2421 #endif
2422 
2423 #ifndef STATUS_NOT_SERVER_SESSION
2424 # define STATUS_NOT_SERVER_SESSION ((NTSTATUS) 0xC0000216L)
2425 #endif
2426 
2427 #ifndef STATUS_NOT_CLIENT_SESSION
2428 # define STATUS_NOT_CLIENT_SESSION ((NTSTATUS) 0xC0000217L)
2429 #endif
2430 
2431 #ifndef STATUS_CANNOT_LOAD_REGISTRY_FILE
2432 # define STATUS_CANNOT_LOAD_REGISTRY_FILE ((NTSTATUS) 0xC0000218L)
2433 #endif
2434 
2435 #ifndef STATUS_DEBUG_ATTACH_FAILED
2436 # define STATUS_DEBUG_ATTACH_FAILED ((NTSTATUS) 0xC0000219L)
2437 #endif
2438 
2439 #ifndef STATUS_SYSTEM_PROCESS_TERMINATED
2440 # define STATUS_SYSTEM_PROCESS_TERMINATED ((NTSTATUS) 0xC000021AL)
2441 #endif
2442 
2443 #ifndef STATUS_DATA_NOT_ACCEPTED
2444 # define STATUS_DATA_NOT_ACCEPTED ((NTSTATUS) 0xC000021BL)
2445 #endif
2446 
2447 #ifndef STATUS_NO_BROWSER_SERVERS_FOUND
2448 # define STATUS_NO_BROWSER_SERVERS_FOUND ((NTSTATUS) 0xC000021CL)
2449 #endif
2450 
2451 #ifndef STATUS_VDM_HARD_ERROR
2452 # define STATUS_VDM_HARD_ERROR ((NTSTATUS) 0xC000021DL)
2453 #endif
2454 
2455 #ifndef STATUS_DRIVER_CANCEL_TIMEOUT
2456 # define STATUS_DRIVER_CANCEL_TIMEOUT ((NTSTATUS) 0xC000021EL)
2457 #endif
2458 
2459 #ifndef STATUS_REPLY_MESSAGE_MISMATCH
2460 # define STATUS_REPLY_MESSAGE_MISMATCH ((NTSTATUS) 0xC000021FL)
2461 #endif
2462 
2463 #ifndef STATUS_MAPPED_ALIGNMENT
2464 # define STATUS_MAPPED_ALIGNMENT ((NTSTATUS) 0xC0000220L)
2465 #endif
2466 
2467 #ifndef STATUS_IMAGE_CHECKSUM_MISMATCH
2468 # define STATUS_IMAGE_CHECKSUM_MISMATCH ((NTSTATUS) 0xC0000221L)
2469 #endif
2470 
2471 #ifndef STATUS_LOST_WRITEBEHIND_DATA
2472 # define STATUS_LOST_WRITEBEHIND_DATA ((NTSTATUS) 0xC0000222L)
2473 #endif
2474 
2475 #ifndef STATUS_CLIENT_SERVER_PARAMETERS_INVALID
2476 # define STATUS_CLIENT_SERVER_PARAMETERS_INVALID ((NTSTATUS) 0xC0000223L)
2477 #endif
2478 
2479 #ifndef STATUS_PASSWORD_MUST_CHANGE
2480 # define STATUS_PASSWORD_MUST_CHANGE ((NTSTATUS) 0xC0000224L)
2481 #endif
2482 
2483 #ifndef STATUS_NOT_FOUND
2484 # define STATUS_NOT_FOUND ((NTSTATUS) 0xC0000225L)
2485 #endif
2486 
2487 #ifndef STATUS_NOT_TINY_STREAM
2488 # define STATUS_NOT_TINY_STREAM ((NTSTATUS) 0xC0000226L)
2489 #endif
2490 
2491 #ifndef STATUS_RECOVERY_FAILURE
2492 # define STATUS_RECOVERY_FAILURE ((NTSTATUS) 0xC0000227L)
2493 #endif
2494 
2495 #ifndef STATUS_STACK_OVERFLOW_READ
2496 # define STATUS_STACK_OVERFLOW_READ ((NTSTATUS) 0xC0000228L)
2497 #endif
2498 
2499 #ifndef STATUS_FAIL_CHECK
2500 # define STATUS_FAIL_CHECK ((NTSTATUS) 0xC0000229L)
2501 #endif
2502 
2503 #ifndef STATUS_DUPLICATE_OBJECTID
2504 # define STATUS_DUPLICATE_OBJECTID ((NTSTATUS) 0xC000022AL)
2505 #endif
2506 
2507 #ifndef STATUS_OBJECTID_EXISTS
2508 # define STATUS_OBJECTID_EXISTS ((NTSTATUS) 0xC000022BL)
2509 #endif
2510 
2511 #ifndef STATUS_CONVERT_TO_LARGE
2512 # define STATUS_CONVERT_TO_LARGE ((NTSTATUS) 0xC000022CL)
2513 #endif
2514 
2515 #ifndef STATUS_RETRY
2516 # define STATUS_RETRY ((NTSTATUS) 0xC000022DL)
2517 #endif
2518 
2519 #ifndef STATUS_FOUND_OUT_OF_SCOPE
2520 # define STATUS_FOUND_OUT_OF_SCOPE ((NTSTATUS) 0xC000022EL)
2521 #endif
2522 
2523 #ifndef STATUS_ALLOCATE_BUCKET
2524 # define STATUS_ALLOCATE_BUCKET ((NTSTATUS) 0xC000022FL)
2525 #endif
2526 
2527 #ifndef STATUS_PROPSET_NOT_FOUND
2528 # define STATUS_PROPSET_NOT_FOUND ((NTSTATUS) 0xC0000230L)
2529 #endif
2530 
2531 #ifndef STATUS_MARSHALL_OVERFLOW
2532 # define STATUS_MARSHALL_OVERFLOW ((NTSTATUS) 0xC0000231L)
2533 #endif
2534 
2535 #ifndef STATUS_INVALID_VARIANT
2536 # define STATUS_INVALID_VARIANT ((NTSTATUS) 0xC0000232L)
2537 #endif
2538 
2539 #ifndef STATUS_DOMAIN_CONTROLLER_NOT_FOUND
2540 # define STATUS_DOMAIN_CONTROLLER_NOT_FOUND ((NTSTATUS) 0xC0000233L)
2541 #endif
2542 
2543 #ifndef STATUS_ACCOUNT_LOCKED_OUT
2544 # define STATUS_ACCOUNT_LOCKED_OUT ((NTSTATUS) 0xC0000234L)
2545 #endif
2546 
2547 #ifndef STATUS_HANDLE_NOT_CLOSABLE
2548 # define STATUS_HANDLE_NOT_CLOSABLE ((NTSTATUS) 0xC0000235L)
2549 #endif
2550 
2551 #ifndef STATUS_CONNECTION_REFUSED
2552 # define STATUS_CONNECTION_REFUSED ((NTSTATUS) 0xC0000236L)
2553 #endif
2554 
2555 #ifndef STATUS_GRACEFUL_DISCONNECT
2556 # define STATUS_GRACEFUL_DISCONNECT ((NTSTATUS) 0xC0000237L)
2557 #endif
2558 
2559 #ifndef STATUS_ADDRESS_ALREADY_ASSOCIATED
2560 # define STATUS_ADDRESS_ALREADY_ASSOCIATED ((NTSTATUS) 0xC0000238L)
2561 #endif
2562 
2563 #ifndef STATUS_ADDRESS_NOT_ASSOCIATED
2564 # define STATUS_ADDRESS_NOT_ASSOCIATED ((NTSTATUS) 0xC0000239L)
2565 #endif
2566 
2567 #ifndef STATUS_CONNECTION_INVALID
2568 # define STATUS_CONNECTION_INVALID ((NTSTATUS) 0xC000023AL)
2569 #endif
2570 
2571 #ifndef STATUS_CONNECTION_ACTIVE
2572 # define STATUS_CONNECTION_ACTIVE ((NTSTATUS) 0xC000023BL)
2573 #endif
2574 
2575 #ifndef STATUS_NETWORK_UNREACHABLE
2576 # define STATUS_NETWORK_UNREACHABLE ((NTSTATUS) 0xC000023CL)
2577 #endif
2578 
2579 #ifndef STATUS_HOST_UNREACHABLE
2580 # define STATUS_HOST_UNREACHABLE ((NTSTATUS) 0xC000023DL)
2581 #endif
2582 
2583 #ifndef STATUS_PROTOCOL_UNREACHABLE
2584 # define STATUS_PROTOCOL_UNREACHABLE ((NTSTATUS) 0xC000023EL)
2585 #endif
2586 
2587 #ifndef STATUS_PORT_UNREACHABLE
2588 # define STATUS_PORT_UNREACHABLE ((NTSTATUS) 0xC000023FL)
2589 #endif
2590 
2591 #ifndef STATUS_REQUEST_ABORTED
2592 # define STATUS_REQUEST_ABORTED ((NTSTATUS) 0xC0000240L)
2593 #endif
2594 
2595 #ifndef STATUS_CONNECTION_ABORTED
2596 # define STATUS_CONNECTION_ABORTED ((NTSTATUS) 0xC0000241L)
2597 #endif
2598 
2599 #ifndef STATUS_BAD_COMPRESSION_BUFFER
2600 # define STATUS_BAD_COMPRESSION_BUFFER ((NTSTATUS) 0xC0000242L)
2601 #endif
2602 
2603 #ifndef STATUS_USER_MAPPED_FILE
2604 # define STATUS_USER_MAPPED_FILE ((NTSTATUS) 0xC0000243L)
2605 #endif
2606 
2607 #ifndef STATUS_AUDIT_FAILED
2608 # define STATUS_AUDIT_FAILED ((NTSTATUS) 0xC0000244L)
2609 #endif
2610 
2611 #ifndef STATUS_TIMER_RESOLUTION_NOT_SET
2612 # define STATUS_TIMER_RESOLUTION_NOT_SET ((NTSTATUS) 0xC0000245L)
2613 #endif
2614 
2615 #ifndef STATUS_CONNECTION_COUNT_LIMIT
2616 # define STATUS_CONNECTION_COUNT_LIMIT ((NTSTATUS) 0xC0000246L)
2617 #endif
2618 
2619 #ifndef STATUS_LOGIN_TIME_RESTRICTION
2620 # define STATUS_LOGIN_TIME_RESTRICTION ((NTSTATUS) 0xC0000247L)
2621 #endif
2622 
2623 #ifndef STATUS_LOGIN_WKSTA_RESTRICTION
2624 # define STATUS_LOGIN_WKSTA_RESTRICTION ((NTSTATUS) 0xC0000248L)
2625 #endif
2626 
2627 #ifndef STATUS_IMAGE_MP_UP_MISMATCH
2628 # define STATUS_IMAGE_MP_UP_MISMATCH ((NTSTATUS) 0xC0000249L)
2629 #endif
2630 
2631 #ifndef STATUS_INSUFFICIENT_LOGON_INFO
2632 # define STATUS_INSUFFICIENT_LOGON_INFO ((NTSTATUS) 0xC0000250L)
2633 #endif
2634 
2635 #ifndef STATUS_BAD_DLL_ENTRYPOINT
2636 # define STATUS_BAD_DLL_ENTRYPOINT ((NTSTATUS) 0xC0000251L)
2637 #endif
2638 
2639 #ifndef STATUS_BAD_SERVICE_ENTRYPOINT
2640 # define STATUS_BAD_SERVICE_ENTRYPOINT ((NTSTATUS) 0xC0000252L)
2641 #endif
2642 
2643 #ifndef STATUS_LPC_REPLY_LOST
2644 # define STATUS_LPC_REPLY_LOST ((NTSTATUS) 0xC0000253L)
2645 #endif
2646 
2647 #ifndef STATUS_IP_ADDRESS_CONFLICT1
2648 # define STATUS_IP_ADDRESS_CONFLICT1 ((NTSTATUS) 0xC0000254L)
2649 #endif
2650 
2651 #ifndef STATUS_IP_ADDRESS_CONFLICT2
2652 # define STATUS_IP_ADDRESS_CONFLICT2 ((NTSTATUS) 0xC0000255L)
2653 #endif
2654 
2655 #ifndef STATUS_REGISTRY_QUOTA_LIMIT
2656 # define STATUS_REGISTRY_QUOTA_LIMIT ((NTSTATUS) 0xC0000256L)
2657 #endif
2658 
2659 #ifndef STATUS_PATH_NOT_COVERED
2660 # define STATUS_PATH_NOT_COVERED ((NTSTATUS) 0xC0000257L)
2661 #endif
2662 
2663 #ifndef STATUS_NO_CALLBACK_ACTIVE
2664 # define STATUS_NO_CALLBACK_ACTIVE ((NTSTATUS) 0xC0000258L)
2665 #endif
2666 
2667 #ifndef STATUS_LICENSE_QUOTA_EXCEEDED
2668 # define STATUS_LICENSE_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000259L)
2669 #endif
2670 
2671 #ifndef STATUS_PWD_TOO_SHORT
2672 # define STATUS_PWD_TOO_SHORT ((NTSTATUS) 0xC000025AL)
2673 #endif
2674 
2675 #ifndef STATUS_PWD_TOO_RECENT
2676 # define STATUS_PWD_TOO_RECENT ((NTSTATUS) 0xC000025BL)
2677 #endif
2678 
2679 #ifndef STATUS_PWD_HISTORY_CONFLICT
2680 # define STATUS_PWD_HISTORY_CONFLICT ((NTSTATUS) 0xC000025CL)
2681 #endif
2682 
2683 #ifndef STATUS_PLUGPLAY_NO_DEVICE
2684 # define STATUS_PLUGPLAY_NO_DEVICE ((NTSTATUS) 0xC000025EL)
2685 #endif
2686 
2687 #ifndef STATUS_UNSUPPORTED_COMPRESSION
2688 # define STATUS_UNSUPPORTED_COMPRESSION ((NTSTATUS) 0xC000025FL)
2689 #endif
2690 
2691 #ifndef STATUS_INVALID_HW_PROFILE
2692 # define STATUS_INVALID_HW_PROFILE ((NTSTATUS) 0xC0000260L)
2693 #endif
2694 
2695 #ifndef STATUS_INVALID_PLUGPLAY_DEVICE_PATH
2696 # define STATUS_INVALID_PLUGPLAY_DEVICE_PATH ((NTSTATUS) 0xC0000261L)
2697 #endif
2698 
2699 #ifndef STATUS_DRIVER_ORDINAL_NOT_FOUND
2700 # define STATUS_DRIVER_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000262L)
2701 #endif
2702 
2703 #ifndef STATUS_DRIVER_ENTRYPOINT_NOT_FOUND
2704 # define STATUS_DRIVER_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000263L)
2705 #endif
2706 
2707 #ifndef STATUS_RESOURCE_NOT_OWNED
2708 # define STATUS_RESOURCE_NOT_OWNED ((NTSTATUS) 0xC0000264L)
2709 #endif
2710 
2711 #ifndef STATUS_TOO_MANY_LINKS
2712 # define STATUS_TOO_MANY_LINKS ((NTSTATUS) 0xC0000265L)
2713 #endif
2714 
2715 #ifndef STATUS_QUOTA_LIST_INCONSISTENT
2716 # define STATUS_QUOTA_LIST_INCONSISTENT ((NTSTATUS) 0xC0000266L)
2717 #endif
2718 
2719 #ifndef STATUS_FILE_IS_OFFLINE
2720 # define STATUS_FILE_IS_OFFLINE ((NTSTATUS) 0xC0000267L)
2721 #endif
2722 
2723 #ifndef STATUS_EVALUATION_EXPIRATION
2724 # define STATUS_EVALUATION_EXPIRATION ((NTSTATUS) 0xC0000268L)
2725 #endif
2726 
2727 #ifndef STATUS_ILLEGAL_DLL_RELOCATION
2728 # define STATUS_ILLEGAL_DLL_RELOCATION ((NTSTATUS) 0xC0000269L)
2729 #endif
2730 
2731 #ifndef STATUS_LICENSE_VIOLATION
2732 # define STATUS_LICENSE_VIOLATION ((NTSTATUS) 0xC000026AL)
2733 #endif
2734 
2735 #ifndef STATUS_DLL_INIT_FAILED_LOGOFF
2736 # define STATUS_DLL_INIT_FAILED_LOGOFF ((NTSTATUS) 0xC000026BL)
2737 #endif
2738 
2739 #ifndef STATUS_DRIVER_UNABLE_TO_LOAD
2740 # define STATUS_DRIVER_UNABLE_TO_LOAD ((NTSTATUS) 0xC000026CL)
2741 #endif
2742 
2743 #ifndef STATUS_DFS_UNAVAILABLE
2744 # define STATUS_DFS_UNAVAILABLE ((NTSTATUS) 0xC000026DL)
2745 #endif
2746 
2747 #ifndef STATUS_VOLUME_DISMOUNTED
2748 # define STATUS_VOLUME_DISMOUNTED ((NTSTATUS) 0xC000026EL)
2749 #endif
2750 
2751 #ifndef STATUS_WX86_INTERNAL_ERROR
2752 # define STATUS_WX86_INTERNAL_ERROR ((NTSTATUS) 0xC000026FL)
2753 #endif
2754 
2755 #ifndef STATUS_WX86_FLOAT_STACK_CHECK
2756 # define STATUS_WX86_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000270L)
2757 #endif
2758 
2759 #ifndef STATUS_VALIDATE_CONTINUE
2760 # define STATUS_VALIDATE_CONTINUE ((NTSTATUS) 0xC0000271L)
2761 #endif
2762 
2763 #ifndef STATUS_NO_MATCH
2764 # define STATUS_NO_MATCH ((NTSTATUS) 0xC0000272L)
2765 #endif
2766 
2767 #ifndef STATUS_NO_MORE_MATCHES
2768 # define STATUS_NO_MORE_MATCHES ((NTSTATUS) 0xC0000273L)
2769 #endif
2770 
2771 #ifndef STATUS_NOT_A_REPARSE_POINT
2772 # define STATUS_NOT_A_REPARSE_POINT ((NTSTATUS) 0xC0000275L)
2773 #endif
2774 
2775 #ifndef STATUS_IO_REPARSE_TAG_INVALID
2776 # define STATUS_IO_REPARSE_TAG_INVALID ((NTSTATUS) 0xC0000276L)
2777 #endif
2778 
2779 #ifndef STATUS_IO_REPARSE_TAG_MISMATCH
2780 # define STATUS_IO_REPARSE_TAG_MISMATCH ((NTSTATUS) 0xC0000277L)
2781 #endif
2782 
2783 #ifndef STATUS_IO_REPARSE_DATA_INVALID
2784 # define STATUS_IO_REPARSE_DATA_INVALID ((NTSTATUS) 0xC0000278L)
2785 #endif
2786 
2787 #ifndef STATUS_IO_REPARSE_TAG_NOT_HANDLED
2788 # define STATUS_IO_REPARSE_TAG_NOT_HANDLED ((NTSTATUS) 0xC0000279L)
2789 #endif
2790 
2791 #ifndef STATUS_REPARSE_POINT_NOT_RESOLVED
2792 # define STATUS_REPARSE_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000280L)
2793 #endif
2794 
2795 #ifndef STATUS_DIRECTORY_IS_A_REPARSE_POINT
2796 # define STATUS_DIRECTORY_IS_A_REPARSE_POINT ((NTSTATUS) 0xC0000281L)
2797 #endif
2798 
2799 #ifndef STATUS_RANGE_LIST_CONFLICT
2800 # define STATUS_RANGE_LIST_CONFLICT ((NTSTATUS) 0xC0000282L)
2801 #endif
2802 
2803 #ifndef STATUS_SOURCE_ELEMENT_EMPTY
2804 # define STATUS_SOURCE_ELEMENT_EMPTY ((NTSTATUS) 0xC0000283L)
2805 #endif
2806 
2807 #ifndef STATUS_DESTINATION_ELEMENT_FULL
2808 # define STATUS_DESTINATION_ELEMENT_FULL ((NTSTATUS) 0xC0000284L)
2809 #endif
2810 
2811 #ifndef STATUS_ILLEGAL_ELEMENT_ADDRESS
2812 # define STATUS_ILLEGAL_ELEMENT_ADDRESS ((NTSTATUS) 0xC0000285L)
2813 #endif
2814 
2815 #ifndef STATUS_MAGAZINE_NOT_PRESENT
2816 # define STATUS_MAGAZINE_NOT_PRESENT ((NTSTATUS) 0xC0000286L)
2817 #endif
2818 
2819 #ifndef STATUS_REINITIALIZATION_NEEDED
2820 # define STATUS_REINITIALIZATION_NEEDED ((NTSTATUS) 0xC0000287L)
2821 #endif
2822 
2823 #ifndef STATUS_DEVICE_REQUIRES_CLEANING
2824 # define STATUS_DEVICE_REQUIRES_CLEANING ((NTSTATUS) 0x80000288L)
2825 #endif
2826 
2827 #ifndef STATUS_DEVICE_DOOR_OPEN
2828 # define STATUS_DEVICE_DOOR_OPEN ((NTSTATUS) 0x80000289L)
2829 #endif
2830 
2831 #ifndef STATUS_ENCRYPTION_FAILED
2832 # define STATUS_ENCRYPTION_FAILED ((NTSTATUS) 0xC000028AL)
2833 #endif
2834 
2835 #ifndef STATUS_DECRYPTION_FAILED
2836 # define STATUS_DECRYPTION_FAILED ((NTSTATUS) 0xC000028BL)
2837 #endif
2838 
2839 #ifndef STATUS_RANGE_NOT_FOUND
2840 # define STATUS_RANGE_NOT_FOUND ((NTSTATUS) 0xC000028CL)
2841 #endif
2842 
2843 #ifndef STATUS_NO_RECOVERY_POLICY
2844 # define STATUS_NO_RECOVERY_POLICY ((NTSTATUS) 0xC000028DL)
2845 #endif
2846 
2847 #ifndef STATUS_NO_EFS
2848 # define STATUS_NO_EFS ((NTSTATUS) 0xC000028EL)
2849 #endif
2850 
2851 #ifndef STATUS_WRONG_EFS
2852 # define STATUS_WRONG_EFS ((NTSTATUS) 0xC000028FL)
2853 #endif
2854 
2855 #ifndef STATUS_NO_USER_KEYS
2856 # define STATUS_NO_USER_KEYS ((NTSTATUS) 0xC0000290L)
2857 #endif
2858 
2859 #ifndef STATUS_FILE_NOT_ENCRYPTED
2860 # define STATUS_FILE_NOT_ENCRYPTED ((NTSTATUS) 0xC0000291L)
2861 #endif
2862 
2863 #ifndef STATUS_NOT_EXPORT_FORMAT
2864 # define STATUS_NOT_EXPORT_FORMAT ((NTSTATUS) 0xC0000292L)
2865 #endif
2866 
2867 #ifndef STATUS_FILE_ENCRYPTED
2868 # define STATUS_FILE_ENCRYPTED ((NTSTATUS) 0xC0000293L)
2869 #endif
2870 
2871 #ifndef STATUS_WAKE_SYSTEM
2872 # define STATUS_WAKE_SYSTEM ((NTSTATUS) 0x40000294L)
2873 #endif
2874 
2875 #ifndef STATUS_WMI_GUID_NOT_FOUND
2876 # define STATUS_WMI_GUID_NOT_FOUND ((NTSTATUS) 0xC0000295L)
2877 #endif
2878 
2879 #ifndef STATUS_WMI_INSTANCE_NOT_FOUND
2880 # define STATUS_WMI_INSTANCE_NOT_FOUND ((NTSTATUS) 0xC0000296L)
2881 #endif
2882 
2883 #ifndef STATUS_WMI_ITEMID_NOT_FOUND
2884 # define STATUS_WMI_ITEMID_NOT_FOUND ((NTSTATUS) 0xC0000297L)
2885 #endif
2886 
2887 #ifndef STATUS_WMI_TRY_AGAIN
2888 # define STATUS_WMI_TRY_AGAIN ((NTSTATUS) 0xC0000298L)
2889 #endif
2890 
2891 #ifndef STATUS_SHARED_POLICY
2892 # define STATUS_SHARED_POLICY ((NTSTATUS) 0xC0000299L)
2893 #endif
2894 
2895 #ifndef STATUS_POLICY_OBJECT_NOT_FOUND
2896 # define STATUS_POLICY_OBJECT_NOT_FOUND ((NTSTATUS) 0xC000029AL)
2897 #endif
2898 
2899 #ifndef STATUS_POLICY_ONLY_IN_DS
2900 # define STATUS_POLICY_ONLY_IN_DS ((NTSTATUS) 0xC000029BL)
2901 #endif
2902 
2903 #ifndef STATUS_VOLUME_NOT_UPGRADED
2904 # define STATUS_VOLUME_NOT_UPGRADED ((NTSTATUS) 0xC000029CL)
2905 #endif
2906 
2907 #ifndef STATUS_REMOTE_STORAGE_NOT_ACTIVE
2908 # define STATUS_REMOTE_STORAGE_NOT_ACTIVE ((NTSTATUS) 0xC000029DL)
2909 #endif
2910 
2911 #ifndef STATUS_REMOTE_STORAGE_MEDIA_ERROR
2912 # define STATUS_REMOTE_STORAGE_MEDIA_ERROR ((NTSTATUS) 0xC000029EL)
2913 #endif
2914 
2915 #ifndef STATUS_NO_TRACKING_SERVICE
2916 # define STATUS_NO_TRACKING_SERVICE ((NTSTATUS) 0xC000029FL)
2917 #endif
2918 
2919 #ifndef STATUS_SERVER_SID_MISMATCH
2920 # define STATUS_SERVER_SID_MISMATCH ((NTSTATUS) 0xC00002A0L)
2921 #endif
2922 
2923 #ifndef STATUS_DS_NO_ATTRIBUTE_OR_VALUE
2924 # define STATUS_DS_NO_ATTRIBUTE_OR_VALUE ((NTSTATUS) 0xC00002A1L)
2925 #endif
2926 
2927 #ifndef STATUS_DS_INVALID_ATTRIBUTE_SYNTAX
2928 # define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX ((NTSTATUS) 0xC00002A2L)
2929 #endif
2930 
2931 #ifndef STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED
2932 # define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED ((NTSTATUS) 0xC00002A3L)
2933 #endif
2934 
2935 #ifndef STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS
2936 # define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS ((NTSTATUS) 0xC00002A4L)
2937 #endif
2938 
2939 #ifndef STATUS_DS_BUSY
2940 # define STATUS_DS_BUSY ((NTSTATUS) 0xC00002A5L)
2941 #endif
2942 
2943 #ifndef STATUS_DS_UNAVAILABLE
2944 # define STATUS_DS_UNAVAILABLE ((NTSTATUS) 0xC00002A6L)
2945 #endif
2946 
2947 #ifndef STATUS_DS_NO_RIDS_ALLOCATED
2948 # define STATUS_DS_NO_RIDS_ALLOCATED ((NTSTATUS) 0xC00002A7L)
2949 #endif
2950 
2951 #ifndef STATUS_DS_NO_MORE_RIDS
2952 # define STATUS_DS_NO_MORE_RIDS ((NTSTATUS) 0xC00002A8L)
2953 #endif
2954 
2955 #ifndef STATUS_DS_INCORRECT_ROLE_OWNER
2956 # define STATUS_DS_INCORRECT_ROLE_OWNER ((NTSTATUS) 0xC00002A9L)
2957 #endif
2958 
2959 #ifndef STATUS_DS_RIDMGR_INIT_ERROR
2960 # define STATUS_DS_RIDMGR_INIT_ERROR ((NTSTATUS) 0xC00002AAL)
2961 #endif
2962 
2963 #ifndef STATUS_DS_OBJ_CLASS_VIOLATION
2964 # define STATUS_DS_OBJ_CLASS_VIOLATION ((NTSTATUS) 0xC00002ABL)
2965 #endif
2966 
2967 #ifndef STATUS_DS_CANT_ON_NON_LEAF
2968 # define STATUS_DS_CANT_ON_NON_LEAF ((NTSTATUS) 0xC00002ACL)
2969 #endif
2970 
2971 #ifndef STATUS_DS_CANT_ON_RDN
2972 # define STATUS_DS_CANT_ON_RDN ((NTSTATUS) 0xC00002ADL)
2973 #endif
2974 
2975 #ifndef STATUS_DS_CANT_MOD_OBJ_CLASS
2976 # define STATUS_DS_CANT_MOD_OBJ_CLASS ((NTSTATUS) 0xC00002AEL)
2977 #endif
2978 
2979 #ifndef STATUS_DS_CROSS_DOM_MOVE_FAILED
2980 # define STATUS_DS_CROSS_DOM_MOVE_FAILED ((NTSTATUS) 0xC00002AFL)
2981 #endif
2982 
2983 #ifndef STATUS_DS_GC_NOT_AVAILABLE
2984 # define STATUS_DS_GC_NOT_AVAILABLE ((NTSTATUS) 0xC00002B0L)
2985 #endif
2986 
2987 #ifndef STATUS_DIRECTORY_SERVICE_REQUIRED
2988 # define STATUS_DIRECTORY_SERVICE_REQUIRED ((NTSTATUS) 0xC00002B1L)
2989 #endif
2990 
2991 #ifndef STATUS_REPARSE_ATTRIBUTE_CONFLICT
2992 # define STATUS_REPARSE_ATTRIBUTE_CONFLICT ((NTSTATUS) 0xC00002B2L)
2993 #endif
2994 
2995 #ifndef STATUS_CANT_ENABLE_DENY_ONLY
2996 # define STATUS_CANT_ENABLE_DENY_ONLY ((NTSTATUS) 0xC00002B3L)
2997 #endif
2998 
2999 #ifndef STATUS_FLOAT_MULTIPLE_FAULTS
3000 # define STATUS_FLOAT_MULTIPLE_FAULTS ((NTSTATUS) 0xC00002B4L)
3001 #endif
3002 
3003 #ifndef STATUS_FLOAT_MULTIPLE_TRAPS
3004 # define STATUS_FLOAT_MULTIPLE_TRAPS ((NTSTATUS) 0xC00002B5L)
3005 #endif
3006 
3007 #ifndef STATUS_DEVICE_REMOVED
3008 # define STATUS_DEVICE_REMOVED ((NTSTATUS) 0xC00002B6L)
3009 #endif
3010 
3011 #ifndef STATUS_JOURNAL_DELETE_IN_PROGRESS
3012 # define STATUS_JOURNAL_DELETE_IN_PROGRESS ((NTSTATUS) 0xC00002B7L)
3013 #endif
3014 
3015 #ifndef STATUS_JOURNAL_NOT_ACTIVE
3016 # define STATUS_JOURNAL_NOT_ACTIVE ((NTSTATUS) 0xC00002B8L)
3017 #endif
3018 
3019 #ifndef STATUS_NOINTERFACE
3020 # define STATUS_NOINTERFACE ((NTSTATUS) 0xC00002B9L)
3021 #endif
3022 
3023 #ifndef STATUS_DS_ADMIN_LIMIT_EXCEEDED
3024 # define STATUS_DS_ADMIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00002C1L)
3025 #endif
3026 
3027 #ifndef STATUS_DRIVER_FAILED_SLEEP
3028 # define STATUS_DRIVER_FAILED_SLEEP ((NTSTATUS) 0xC00002C2L)
3029 #endif
3030 
3031 #ifndef STATUS_MUTUAL_AUTHENTICATION_FAILED
3032 # define STATUS_MUTUAL_AUTHENTICATION_FAILED ((NTSTATUS) 0xC00002C3L)
3033 #endif
3034 
3035 #ifndef STATUS_CORRUPT_SYSTEM_FILE
3036 # define STATUS_CORRUPT_SYSTEM_FILE ((NTSTATUS) 0xC00002C4L)
3037 #endif
3038 
3039 #ifndef STATUS_DATATYPE_MISALIGNMENT_ERROR
3040 # define STATUS_DATATYPE_MISALIGNMENT_ERROR ((NTSTATUS) 0xC00002C5L)
3041 #endif
3042 
3043 #ifndef STATUS_WMI_READ_ONLY
3044 # define STATUS_WMI_READ_ONLY ((NTSTATUS) 0xC00002C6L)
3045 #endif
3046 
3047 #ifndef STATUS_WMI_SET_FAILURE
3048 # define STATUS_WMI_SET_FAILURE ((NTSTATUS) 0xC00002C7L)
3049 #endif
3050 
3051 #ifndef STATUS_COMMITMENT_MINIMUM
3052 # define STATUS_COMMITMENT_MINIMUM ((NTSTATUS) 0xC00002C8L)
3053 #endif
3054 
3055 #ifndef STATUS_REG_NAT_CONSUMPTION
3056 # define STATUS_REG_NAT_CONSUMPTION ((NTSTATUS) 0xC00002C9L)
3057 #endif
3058 
3059 #ifndef STATUS_TRANSPORT_FULL
3060 # define STATUS_TRANSPORT_FULL ((NTSTATUS) 0xC00002CAL)
3061 #endif
3062 
3063 #ifndef STATUS_DS_SAM_INIT_FAILURE
3064 # define STATUS_DS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002CBL)
3065 #endif
3066 
3067 #ifndef STATUS_ONLY_IF_CONNECTED
3068 # define STATUS_ONLY_IF_CONNECTED ((NTSTATUS) 0xC00002CCL)
3069 #endif
3070 
3071 #ifndef STATUS_DS_SENSITIVE_GROUP_VIOLATION
3072 # define STATUS_DS_SENSITIVE_GROUP_VIOLATION ((NTSTATUS) 0xC00002CDL)
3073 #endif
3074 
3075 #ifndef STATUS_PNP_RESTART_ENUMERATION
3076 # define STATUS_PNP_RESTART_ENUMERATION ((NTSTATUS) 0xC00002CEL)
3077 #endif
3078 
3079 #ifndef STATUS_JOURNAL_ENTRY_DELETED
3080 # define STATUS_JOURNAL_ENTRY_DELETED ((NTSTATUS) 0xC00002CFL)
3081 #endif
3082 
3083 #ifndef STATUS_DS_CANT_MOD_PRIMARYGROUPID
3084 # define STATUS_DS_CANT_MOD_PRIMARYGROUPID ((NTSTATUS) 0xC00002D0L)
3085 #endif
3086 
3087 #ifndef STATUS_SYSTEM_IMAGE_BAD_SIGNATURE
3088 # define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE ((NTSTATUS) 0xC00002D1L)
3089 #endif
3090 
3091 #ifndef STATUS_PNP_REBOOT_REQUIRED
3092 # define STATUS_PNP_REBOOT_REQUIRED ((NTSTATUS) 0xC00002D2L)
3093 #endif
3094 
3095 #ifndef STATUS_POWER_STATE_INVALID
3096 # define STATUS_POWER_STATE_INVALID ((NTSTATUS) 0xC00002D3L)
3097 #endif
3098 
3099 #ifndef STATUS_DS_INVALID_GROUP_TYPE
3100 # define STATUS_DS_INVALID_GROUP_TYPE ((NTSTATUS) 0xC00002D4L)
3101 #endif
3102 
3103 #ifndef STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
3104 # define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D5L)
3105 #endif
3106 
3107 #ifndef STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
3108 # define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D6L)
3109 #endif
3110 
3111 #ifndef STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
3112 # define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D7L)
3113 #endif
3114 
3115 #ifndef STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
3116 # define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC00002D8L)
3117 #endif
3118 
3119 #ifndef STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
3120 # define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D9L)
3121 #endif
3122 
3123 #ifndef STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
3124 # define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER ((NTSTATUS) 0xC00002DAL)
3125 #endif
3126 
3127 #ifndef STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
3128 # define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER ((NTSTATUS) 0xC00002DBL)
3129 #endif
3130 
3131 #ifndef STATUS_DS_HAVE_PRIMARY_MEMBERS
3132 # define STATUS_DS_HAVE_PRIMARY_MEMBERS ((NTSTATUS) 0xC00002DCL)
3133 #endif
3134 
3135 #ifndef STATUS_WMI_NOT_SUPPORTED
3136 # define STATUS_WMI_NOT_SUPPORTED ((NTSTATUS) 0xC00002DDL)
3137 #endif
3138 
3139 #ifndef STATUS_INSUFFICIENT_POWER
3140 # define STATUS_INSUFFICIENT_POWER ((NTSTATUS) 0xC00002DEL)
3141 #endif
3142 
3143 #ifndef STATUS_SAM_NEED_BOOTKEY_PASSWORD
3144 # define STATUS_SAM_NEED_BOOTKEY_PASSWORD ((NTSTATUS) 0xC00002DFL)
3145 #endif
3146 
3147 #ifndef STATUS_SAM_NEED_BOOTKEY_FLOPPY
3148 # define STATUS_SAM_NEED_BOOTKEY_FLOPPY ((NTSTATUS) 0xC00002E0L)
3149 #endif
3150 
3151 #ifndef STATUS_DS_CANT_START
3152 # define STATUS_DS_CANT_START ((NTSTATUS) 0xC00002E1L)
3153 #endif
3154 
3155 #ifndef STATUS_DS_INIT_FAILURE
3156 # define STATUS_DS_INIT_FAILURE ((NTSTATUS) 0xC00002E2L)
3157 #endif
3158 
3159 #ifndef STATUS_SAM_INIT_FAILURE
3160 # define STATUS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002E3L)
3161 #endif
3162 
3163 #ifndef STATUS_DS_GC_REQUIRED
3164 # define STATUS_DS_GC_REQUIRED ((NTSTATUS) 0xC00002E4L)
3165 #endif
3166 
3167 #ifndef STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
3168 # define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY ((NTSTATUS) 0xC00002E5L)
3169 #endif
3170 
3171 #ifndef STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS
3172 # define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS ((NTSTATUS) 0xC00002E6L)
3173 #endif
3174 
3175 #ifndef STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
3176 # define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED ((NTSTATUS) 0xC00002E7L)
3177 #endif
3178 
3179 #ifndef STATUS_MULTIPLE_FAULT_VIOLATION
3180 # define STATUS_MULTIPLE_FAULT_VIOLATION ((NTSTATUS) 0xC00002E8L)
3181 #endif
3182 
3183 #ifndef STATUS_CURRENT_DOMAIN_NOT_ALLOWED
3184 # define STATUS_CURRENT_DOMAIN_NOT_ALLOWED ((NTSTATUS) 0xC00002E9L)
3185 #endif
3186 
3187 #ifndef STATUS_CANNOT_MAKE
3188 # define STATUS_CANNOT_MAKE ((NTSTATUS) 0xC00002EAL)
3189 #endif
3190 
3191 #ifndef STATUS_SYSTEM_SHUTDOWN
3192 # define STATUS_SYSTEM_SHUTDOWN ((NTSTATUS) 0xC00002EBL)
3193 #endif
3194 
3195 #ifndef STATUS_DS_INIT_FAILURE_CONSOLE
3196 # define STATUS_DS_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002ECL)
3197 #endif
3198 
3199 #ifndef STATUS_DS_SAM_INIT_FAILURE_CONSOLE
3200 # define STATUS_DS_SAM_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002EDL)
3201 #endif
3202 
3203 #ifndef STATUS_UNFINISHED_CONTEXT_DELETED
3204 # define STATUS_UNFINISHED_CONTEXT_DELETED ((NTSTATUS) 0xC00002EEL)
3205 #endif
3206 
3207 #ifndef STATUS_NO_TGT_REPLY
3208 # define STATUS_NO_TGT_REPLY ((NTSTATUS) 0xC00002EFL)
3209 #endif
3210 
3211 #ifndef STATUS_OBJECTID_NOT_FOUND
3212 # define STATUS_OBJECTID_NOT_FOUND ((NTSTATUS) 0xC00002F0L)
3213 #endif
3214 
3215 #ifndef STATUS_NO_IP_ADDRESSES
3216 # define STATUS_NO_IP_ADDRESSES ((NTSTATUS) 0xC00002F1L)
3217 #endif
3218 
3219 #ifndef STATUS_WRONG_CREDENTIAL_HANDLE
3220 # define STATUS_WRONG_CREDENTIAL_HANDLE ((NTSTATUS) 0xC00002F2L)
3221 #endif
3222 
3223 #ifndef STATUS_CRYPTO_SYSTEM_INVALID
3224 # define STATUS_CRYPTO_SYSTEM_INVALID ((NTSTATUS) 0xC00002F3L)
3225 #endif
3226 
3227 #ifndef STATUS_MAX_REFERRALS_EXCEEDED
3228 # define STATUS_MAX_REFERRALS_EXCEEDED ((NTSTATUS) 0xC00002F4L)
3229 #endif
3230 
3231 #ifndef STATUS_MUST_BE_KDC
3232 # define STATUS_MUST_BE_KDC ((NTSTATUS) 0xC00002F5L)
3233 #endif
3234 
3235 #ifndef STATUS_STRONG_CRYPTO_NOT_SUPPORTED
3236 # define STATUS_STRONG_CRYPTO_NOT_SUPPORTED ((NTSTATUS) 0xC00002F6L)
3237 #endif
3238 
3239 #ifndef STATUS_TOO_MANY_PRINCIPALS
3240 # define STATUS_TOO_MANY_PRINCIPALS ((NTSTATUS) 0xC00002F7L)
3241 #endif
3242 
3243 #ifndef STATUS_NO_PA_DATA
3244 # define STATUS_NO_PA_DATA ((NTSTATUS) 0xC00002F8L)
3245 #endif
3246 
3247 #ifndef STATUS_PKINIT_NAME_MISMATCH
3248 # define STATUS_PKINIT_NAME_MISMATCH ((NTSTATUS) 0xC00002F9L)
3249 #endif
3250 
3251 #ifndef STATUS_SMARTCARD_LOGON_REQUIRED
3252 # define STATUS_SMARTCARD_LOGON_REQUIRED ((NTSTATUS) 0xC00002FAL)
3253 #endif
3254 
3255 #ifndef STATUS_KDC_INVALID_REQUEST
3256 # define STATUS_KDC_INVALID_REQUEST ((NTSTATUS) 0xC00002FBL)
3257 #endif
3258 
3259 #ifndef STATUS_KDC_UNABLE_TO_REFER
3260 # define STATUS_KDC_UNABLE_TO_REFER ((NTSTATUS) 0xC00002FCL)
3261 #endif
3262 
3263 #ifndef STATUS_KDC_UNKNOWN_ETYPE
3264 # define STATUS_KDC_UNKNOWN_ETYPE ((NTSTATUS) 0xC00002FDL)
3265 #endif
3266 
3267 #ifndef STATUS_SHUTDOWN_IN_PROGRESS
3268 # define STATUS_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FEL)
3269 #endif
3270 
3271 #ifndef STATUS_SERVER_SHUTDOWN_IN_PROGRESS
3272 # define STATUS_SERVER_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FFL)
3273 #endif
3274 
3275 #ifndef STATUS_NOT_SUPPORTED_ON_SBS
3276 # define STATUS_NOT_SUPPORTED_ON_SBS ((NTSTATUS) 0xC0000300L)
3277 #endif
3278 
3279 #ifndef STATUS_WMI_GUID_DISCONNECTED
3280 # define STATUS_WMI_GUID_DISCONNECTED ((NTSTATUS) 0xC0000301L)
3281 #endif
3282 
3283 #ifndef STATUS_WMI_ALREADY_DISABLED
3284 # define STATUS_WMI_ALREADY_DISABLED ((NTSTATUS) 0xC0000302L)
3285 #endif
3286 
3287 #ifndef STATUS_WMI_ALREADY_ENABLED
3288 # define STATUS_WMI_ALREADY_ENABLED ((NTSTATUS) 0xC0000303L)
3289 #endif
3290 
3291 #ifndef STATUS_MFT_TOO_FRAGMENTED
3292 # define STATUS_MFT_TOO_FRAGMENTED ((NTSTATUS) 0xC0000304L)
3293 #endif
3294 
3295 #ifndef STATUS_COPY_PROTECTION_FAILURE
3296 # define STATUS_COPY_PROTECTION_FAILURE ((NTSTATUS) 0xC0000305L)
3297 #endif
3298 
3299 #ifndef STATUS_CSS_AUTHENTICATION_FAILURE
3300 # define STATUS_CSS_AUTHENTICATION_FAILURE ((NTSTATUS) 0xC0000306L)
3301 #endif
3302 
3303 #ifndef STATUS_CSS_KEY_NOT_PRESENT
3304 # define STATUS_CSS_KEY_NOT_PRESENT ((NTSTATUS) 0xC0000307L)
3305 #endif
3306 
3307 #ifndef STATUS_CSS_KEY_NOT_ESTABLISHED
3308 # define STATUS_CSS_KEY_NOT_ESTABLISHED ((NTSTATUS) 0xC0000308L)
3309 #endif
3310 
3311 #ifndef STATUS_CSS_SCRAMBLED_SECTOR
3312 # define STATUS_CSS_SCRAMBLED_SECTOR ((NTSTATUS) 0xC0000309L)
3313 #endif
3314 
3315 #ifndef STATUS_CSS_REGION_MISMATCH
3316 # define STATUS_CSS_REGION_MISMATCH ((NTSTATUS) 0xC000030AL)
3317 #endif
3318 
3319 #ifndef STATUS_CSS_RESETS_EXHAUSTED
3320 # define STATUS_CSS_RESETS_EXHAUSTED ((NTSTATUS) 0xC000030BL)
3321 #endif
3322 
3323 #ifndef STATUS_PKINIT_FAILURE
3324 # define STATUS_PKINIT_FAILURE ((NTSTATUS) 0xC0000320L)
3325 #endif
3326 
3327 #ifndef STATUS_SMARTCARD_SUBSYSTEM_FAILURE
3328 # define STATUS_SMARTCARD_SUBSYSTEM_FAILURE ((NTSTATUS) 0xC0000321L)
3329 #endif
3330 
3331 #ifndef STATUS_NO_KERB_KEY
3332 # define STATUS_NO_KERB_KEY ((NTSTATUS) 0xC0000322L)
3333 #endif
3334 
3335 #ifndef STATUS_HOST_DOWN
3336 # define STATUS_HOST_DOWN ((NTSTATUS) 0xC0000350L)
3337 #endif
3338 
3339 #ifndef STATUS_UNSUPPORTED_PREAUTH
3340 # define STATUS_UNSUPPORTED_PREAUTH ((NTSTATUS) 0xC0000351L)
3341 #endif
3342 
3343 #ifndef STATUS_EFS_ALG_BLOB_TOO_BIG
3344 # define STATUS_EFS_ALG_BLOB_TOO_BIG ((NTSTATUS) 0xC0000352L)
3345 #endif
3346 
3347 #ifndef STATUS_PORT_NOT_SET
3348 # define STATUS_PORT_NOT_SET ((NTSTATUS) 0xC0000353L)
3349 #endif
3350 
3351 #ifndef STATUS_DEBUGGER_INACTIVE
3352 # define STATUS_DEBUGGER_INACTIVE ((NTSTATUS) 0xC0000354L)
3353 #endif
3354 
3355 #ifndef STATUS_DS_VERSION_CHECK_FAILURE
3356 # define STATUS_DS_VERSION_CHECK_FAILURE ((NTSTATUS) 0xC0000355L)
3357 #endif
3358 
3359 #ifndef STATUS_AUDITING_DISABLED
3360 # define STATUS_AUDITING_DISABLED ((NTSTATUS) 0xC0000356L)
3361 #endif
3362 
3363 #ifndef STATUS_PRENT4_MACHINE_ACCOUNT
3364 # define STATUS_PRENT4_MACHINE_ACCOUNT ((NTSTATUS) 0xC0000357L)
3365 #endif
3366 
3367 #ifndef STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
3368 # define STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC0000358L)
3369 #endif
3370 
3371 #ifndef STATUS_INVALID_IMAGE_WIN_32
3372 # define STATUS_INVALID_IMAGE_WIN_32 ((NTSTATUS) 0xC0000359L)
3373 #endif
3374 
3375 #ifndef STATUS_INVALID_IMAGE_WIN_64
3376 # define STATUS_INVALID_IMAGE_WIN_64 ((NTSTATUS) 0xC000035AL)
3377 #endif
3378 
3379 #ifndef STATUS_BAD_BINDINGS
3380 # define STATUS_BAD_BINDINGS ((NTSTATUS) 0xC000035BL)
3381 #endif
3382 
3383 #ifndef STATUS_NETWORK_SESSION_EXPIRED
3384 # define STATUS_NETWORK_SESSION_EXPIRED ((NTSTATUS) 0xC000035CL)
3385 #endif
3386 
3387 #ifndef STATUS_APPHELP_BLOCK
3388 # define STATUS_APPHELP_BLOCK ((NTSTATUS) 0xC000035DL)
3389 #endif
3390 
3391 #ifndef STATUS_ALL_SIDS_FILTERED
3392 # define STATUS_ALL_SIDS_FILTERED ((NTSTATUS) 0xC000035EL)
3393 #endif
3394 
3395 #ifndef STATUS_NOT_SAFE_MODE_DRIVER
3396 # define STATUS_NOT_SAFE_MODE_DRIVER ((NTSTATUS) 0xC000035FL)
3397 #endif
3398 
3399 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT
3400 # define STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT ((NTSTATUS) 0xC0000361L)
3401 #endif
3402 
3403 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_PATH
3404 # define STATUS_ACCESS_DISABLED_BY_POLICY_PATH ((NTSTATUS) 0xC0000362L)
3405 #endif
3406 
3407 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER
3408 # define STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER ((NTSTATUS) 0xC0000363L)
3409 #endif
3410 
3411 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_OTHER
3412 # define STATUS_ACCESS_DISABLED_BY_POLICY_OTHER ((NTSTATUS) 0xC0000364L)
3413 #endif
3414 
3415 #ifndef STATUS_FAILED_DRIVER_ENTRY
3416 # define STATUS_FAILED_DRIVER_ENTRY ((NTSTATUS) 0xC0000365L)
3417 #endif
3418 
3419 #ifndef STATUS_DEVICE_ENUMERATION_ERROR
3420 # define STATUS_DEVICE_ENUMERATION_ERROR ((NTSTATUS) 0xC0000366L)
3421 #endif
3422 
3423 #ifndef STATUS_MOUNT_POINT_NOT_RESOLVED
3424 # define STATUS_MOUNT_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000368L)
3425 #endif
3426 
3427 #ifndef STATUS_INVALID_DEVICE_OBJECT_PARAMETER
3428 # define STATUS_INVALID_DEVICE_OBJECT_PARAMETER ((NTSTATUS) 0xC0000369L)
3429 #endif
3430 
3431 #ifndef STATUS_MCA_OCCURED
3432 # define STATUS_MCA_OCCURED ((NTSTATUS) 0xC000036AL)
3433 #endif
3434 
3435 #ifndef STATUS_DRIVER_BLOCKED_CRITICAL
3436 # define STATUS_DRIVER_BLOCKED_CRITICAL ((NTSTATUS) 0xC000036BL)
3437 #endif
3438 
3439 #ifndef STATUS_DRIVER_BLOCKED
3440 # define STATUS_DRIVER_BLOCKED ((NTSTATUS) 0xC000036CL)
3441 #endif
3442 
3443 #ifndef STATUS_DRIVER_DATABASE_ERROR
3444 # define STATUS_DRIVER_DATABASE_ERROR ((NTSTATUS) 0xC000036DL)
3445 #endif
3446 
3447 #ifndef STATUS_SYSTEM_HIVE_TOO_LARGE
3448 # define STATUS_SYSTEM_HIVE_TOO_LARGE ((NTSTATUS) 0xC000036EL)
3449 #endif
3450 
3451 #ifndef STATUS_INVALID_IMPORT_OF_NON_DLL
3452 # define STATUS_INVALID_IMPORT_OF_NON_DLL ((NTSTATUS) 0xC000036FL)
3453 #endif
3454 
3455 #ifndef STATUS_DS_SHUTTING_DOWN
3456 # define STATUS_DS_SHUTTING_DOWN ((NTSTATUS) 0x40000370L)
3457 #endif
3458 
3459 #ifndef STATUS_NO_SECRETS
3460 # define STATUS_NO_SECRETS ((NTSTATUS) 0xC0000371L)
3461 #endif
3462 
3463 #ifndef STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY
3464 # define STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY ((NTSTATUS) 0xC0000372L)
3465 #endif
3466 
3467 #ifndef STATUS_FAILED_STACK_SWITCH
3468 # define STATUS_FAILED_STACK_SWITCH ((NTSTATUS) 0xC0000373L)
3469 #endif
3470 
3471 #ifndef STATUS_HEAP_CORRUPTION
3472 # define STATUS_HEAP_CORRUPTION ((NTSTATUS) 0xC0000374L)
3473 #endif
3474 
3475 #ifndef STATUS_SMARTCARD_WRONG_PIN
3476 # define STATUS_SMARTCARD_WRONG_PIN ((NTSTATUS) 0xC0000380L)
3477 #endif
3478 
3479 #ifndef STATUS_SMARTCARD_CARD_BLOCKED
3480 # define STATUS_SMARTCARD_CARD_BLOCKED ((NTSTATUS) 0xC0000381L)
3481 #endif
3482 
3483 #ifndef STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED
3484 # define STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED ((NTSTATUS) 0xC0000382L)
3485 #endif
3486 
3487 #ifndef STATUS_SMARTCARD_NO_CARD
3488 # define STATUS_SMARTCARD_NO_CARD ((NTSTATUS) 0xC0000383L)
3489 #endif
3490 
3491 #ifndef STATUS_SMARTCARD_NO_KEY_CONTAINER
3492 # define STATUS_SMARTCARD_NO_KEY_CONTAINER ((NTSTATUS) 0xC0000384L)
3493 #endif
3494 
3495 #ifndef STATUS_SMARTCARD_NO_CERTIFICATE
3496 # define STATUS_SMARTCARD_NO_CERTIFICATE ((NTSTATUS) 0xC0000385L)
3497 #endif
3498 
3499 #ifndef STATUS_SMARTCARD_NO_KEYSET
3500 # define STATUS_SMARTCARD_NO_KEYSET ((NTSTATUS) 0xC0000386L)
3501 #endif
3502 
3503 #ifndef STATUS_SMARTCARD_IO_ERROR
3504 # define STATUS_SMARTCARD_IO_ERROR ((NTSTATUS) 0xC0000387L)
3505 #endif
3506 
3507 #ifndef STATUS_DOWNGRADE_DETECTED
3508 # define STATUS_DOWNGRADE_DETECTED ((NTSTATUS) 0xC0000388L)
3509 #endif
3510 
3511 #ifndef STATUS_SMARTCARD_CERT_REVOKED
3512 # define STATUS_SMARTCARD_CERT_REVOKED ((NTSTATUS) 0xC0000389L)
3513 #endif
3514 
3515 #ifndef STATUS_ISSUING_CA_UNTRUSTED
3516 # define STATUS_ISSUING_CA_UNTRUSTED ((NTSTATUS) 0xC000038AL)
3517 #endif
3518 
3519 #ifndef STATUS_REVOCATION_OFFLINE_C
3520 # define STATUS_REVOCATION_OFFLINE_C ((NTSTATUS) 0xC000038BL)
3521 #endif
3522 
3523 #ifndef STATUS_PKINIT_CLIENT_FAILURE
3524 # define STATUS_PKINIT_CLIENT_FAILURE ((NTSTATUS) 0xC000038CL)
3525 #endif
3526 
3527 #ifndef STATUS_SMARTCARD_CERT_EXPIRED
3528 # define STATUS_SMARTCARD_CERT_EXPIRED ((NTSTATUS) 0xC000038DL)
3529 #endif
3530 
3531 #ifndef STATUS_DRIVER_FAILED_PRIOR_UNLOAD
3532 # define STATUS_DRIVER_FAILED_PRIOR_UNLOAD ((NTSTATUS) 0xC000038EL)
3533 #endif
3534 
3535 #ifndef STATUS_SMARTCARD_SILENT_CONTEXT
3536 # define STATUS_SMARTCARD_SILENT_CONTEXT ((NTSTATUS) 0xC000038FL)
3537 #endif
3538 
3539 #ifndef STATUS_PER_USER_TRUST_QUOTA_EXCEEDED
3540 # define STATUS_PER_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000401L)
3541 #endif
3542 
3543 #ifndef STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED
3544 # define STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000402L)
3545 #endif
3546 
3547 #ifndef STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED
3548 # define STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000403L)
3549 #endif
3550 
3551 #ifndef STATUS_DS_NAME_NOT_UNIQUE
3552 # define STATUS_DS_NAME_NOT_UNIQUE ((NTSTATUS) 0xC0000404L)
3553 #endif
3554 
3555 #ifndef STATUS_DS_DUPLICATE_ID_FOUND
3556 # define STATUS_DS_DUPLICATE_ID_FOUND ((NTSTATUS) 0xC0000405L)
3557 #endif
3558 
3559 #ifndef STATUS_DS_GROUP_CONVERSION_ERROR
3560 # define STATUS_DS_GROUP_CONVERSION_ERROR ((NTSTATUS) 0xC0000406L)
3561 #endif
3562 
3563 #ifndef STATUS_VOLSNAP_PREPARE_HIBERNATE
3564 # define STATUS_VOLSNAP_PREPARE_HIBERNATE ((NTSTATUS) 0xC0000407L)
3565 #endif
3566 
3567 #ifndef STATUS_USER2USER_REQUIRED
3568 # define STATUS_USER2USER_REQUIRED ((NTSTATUS) 0xC0000408L)
3569 #endif
3570 
3571 #ifndef STATUS_STACK_BUFFER_OVERRUN
3572 # define STATUS_STACK_BUFFER_OVERRUN ((NTSTATUS) 0xC0000409L)
3573 #endif
3574 
3575 #ifndef STATUS_NO_S4U_PROT_SUPPORT
3576 # define STATUS_NO_S4U_PROT_SUPPORT ((NTSTATUS) 0xC000040AL)
3577 #endif
3578 
3579 #ifndef STATUS_CROSSREALM_DELEGATION_FAILURE
3580 # define STATUS_CROSSREALM_DELEGATION_FAILURE ((NTSTATUS) 0xC000040BL)
3581 #endif
3582 
3583 #ifndef STATUS_REVOCATION_OFFLINE_KDC
3584 # define STATUS_REVOCATION_OFFLINE_KDC ((NTSTATUS) 0xC000040CL)
3585 #endif
3586 
3587 #ifndef STATUS_ISSUING_CA_UNTRUSTED_KDC
3588 # define STATUS_ISSUING_CA_UNTRUSTED_KDC ((NTSTATUS) 0xC000040DL)
3589 #endif
3590 
3591 #ifndef STATUS_KDC_CERT_EXPIRED
3592 # define STATUS_KDC_CERT_EXPIRED ((NTSTATUS) 0xC000040EL)
3593 #endif
3594 
3595 #ifndef STATUS_KDC_CERT_REVOKED
3596 # define STATUS_KDC_CERT_REVOKED ((NTSTATUS) 0xC000040FL)
3597 #endif
3598 
3599 #ifndef STATUS_PARAMETER_QUOTA_EXCEEDED
3600 # define STATUS_PARAMETER_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000410L)
3601 #endif
3602 
3603 #ifndef STATUS_HIBERNATION_FAILURE
3604 # define STATUS_HIBERNATION_FAILURE ((NTSTATUS) 0xC0000411L)
3605 #endif
3606 
3607 #ifndef STATUS_DELAY_LOAD_FAILED
3608 # define STATUS_DELAY_LOAD_FAILED ((NTSTATUS) 0xC0000412L)
3609 #endif
3610 
3611 #ifndef STATUS_AUTHENTICATION_FIREWALL_FAILED
3612 # define STATUS_AUTHENTICATION_FIREWALL_FAILED ((NTSTATUS) 0xC0000413L)
3613 #endif
3614 
3615 #ifndef STATUS_VDM_DISALLOWED
3616 # define STATUS_VDM_DISALLOWED ((NTSTATUS) 0xC0000414L)
3617 #endif
3618 
3619 #ifndef STATUS_HUNG_DISPLAY_DRIVER_THREAD
3620 # define STATUS_HUNG_DISPLAY_DRIVER_THREAD ((NTSTATUS) 0xC0000415L)
3621 #endif
3622 
3623 #ifndef STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE
3624 # define STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE ((NTSTATUS) 0xC0000416L)
3625 #endif
3626 
3627 #ifndef STATUS_INVALID_CRUNTIME_PARAMETER
3628 # define STATUS_INVALID_CRUNTIME_PARAMETER ((NTSTATUS) 0xC0000417L)
3629 #endif
3630 
3631 #ifndef STATUS_NTLM_BLOCKED
3632 # define STATUS_NTLM_BLOCKED ((NTSTATUS) 0xC0000418L)
3633 #endif
3634 
3635 #ifndef STATUS_DS_SRC_SID_EXISTS_IN_FOREST
3636 # define STATUS_DS_SRC_SID_EXISTS_IN_FOREST ((NTSTATUS) 0xC0000419L)
3637 #endif
3638 
3639 #ifndef STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST
3640 # define STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST ((NTSTATUS) 0xC000041AL)
3641 #endif
3642 
3643 #ifndef STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST
3644 # define STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST ((NTSTATUS) 0xC000041BL)
3645 #endif
3646 
3647 #ifndef STATUS_INVALID_USER_PRINCIPAL_NAME
3648 # define STATUS_INVALID_USER_PRINCIPAL_NAME ((NTSTATUS) 0xC000041CL)
3649 #endif
3650 
3651 #ifndef STATUS_FATAL_USER_CALLBACK_EXCEPTION
3652 # define STATUS_FATAL_USER_CALLBACK_EXCEPTION ((NTSTATUS) 0xC000041DL)
3653 #endif
3654 
3655 #ifndef STATUS_ASSERTION_FAILURE
3656 # define STATUS_ASSERTION_FAILURE ((NTSTATUS) 0xC0000420L)
3657 #endif
3658 
3659 #ifndef STATUS_VERIFIER_STOP
3660 # define STATUS_VERIFIER_STOP ((NTSTATUS) 0xC0000421L)
3661 #endif
3662 
3663 #ifndef STATUS_CALLBACK_POP_STACK
3664 # define STATUS_CALLBACK_POP_STACK ((NTSTATUS) 0xC0000423L)
3665 #endif
3666 
3667 #ifndef STATUS_INCOMPATIBLE_DRIVER_BLOCKED
3668 # define STATUS_INCOMPATIBLE_DRIVER_BLOCKED ((NTSTATUS) 0xC0000424L)
3669 #endif
3670 
3671 #ifndef STATUS_HIVE_UNLOADED
3672 # define STATUS_HIVE_UNLOADED ((NTSTATUS) 0xC0000425L)
3673 #endif
3674 
3675 #ifndef STATUS_COMPRESSION_DISABLED
3676 # define STATUS_COMPRESSION_DISABLED ((NTSTATUS) 0xC0000426L)
3677 #endif
3678 
3679 #ifndef STATUS_FILE_SYSTEM_LIMITATION
3680 # define STATUS_FILE_SYSTEM_LIMITATION ((NTSTATUS) 0xC0000427L)
3681 #endif
3682 
3683 #ifndef STATUS_INVALID_IMAGE_HASH
3684 # define STATUS_INVALID_IMAGE_HASH ((NTSTATUS) 0xC0000428L)
3685 #endif
3686 
3687 #ifndef STATUS_NOT_CAPABLE
3688 # define STATUS_NOT_CAPABLE ((NTSTATUS) 0xC0000429L)
3689 #endif
3690 
3691 #ifndef STATUS_REQUEST_OUT_OF_SEQUENCE
3692 # define STATUS_REQUEST_OUT_OF_SEQUENCE ((NTSTATUS) 0xC000042AL)
3693 #endif
3694 
3695 #ifndef STATUS_IMPLEMENTATION_LIMIT
3696 # define STATUS_IMPLEMENTATION_LIMIT ((NTSTATUS) 0xC000042BL)
3697 #endif
3698 
3699 #ifndef STATUS_ELEVATION_REQUIRED
3700 # define STATUS_ELEVATION_REQUIRED ((NTSTATUS) 0xC000042CL)
3701 #endif
3702 
3703 #ifndef STATUS_NO_SECURITY_CONTEXT
3704 # define STATUS_NO_SECURITY_CONTEXT ((NTSTATUS) 0xC000042DL)
3705 #endif
3706 
3707 #ifndef STATUS_PKU2U_CERT_FAILURE
3708 # define STATUS_PKU2U_CERT_FAILURE ((NTSTATUS) 0xC000042FL)
3709 #endif
3710 
3711 #ifndef STATUS_BEYOND_VDL
3712 # define STATUS_BEYOND_VDL ((NTSTATUS) 0xC0000432L)
3713 #endif
3714 
3715 #ifndef STATUS_ENCOUNTERED_WRITE_IN_PROGRESS
3716 # define STATUS_ENCOUNTERED_WRITE_IN_PROGRESS ((NTSTATUS) 0xC0000433L)
3717 #endif
3718 
3719 #ifndef STATUS_PTE_CHANGED
3720 # define STATUS_PTE_CHANGED ((NTSTATUS) 0xC0000434L)
3721 #endif
3722 
3723 #ifndef STATUS_PURGE_FAILED
3724 # define STATUS_PURGE_FAILED ((NTSTATUS) 0xC0000435L)
3725 #endif
3726 
3727 #ifndef STATUS_CRED_REQUIRES_CONFIRMATION
3728 # define STATUS_CRED_REQUIRES_CONFIRMATION ((NTSTATUS) 0xC0000440L)
3729 #endif
3730 
3731 #ifndef STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE
3732 # define STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE ((NTSTATUS) 0xC0000441L)
3733 #endif
3734 
3735 #ifndef STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER
3736 # define STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER ((NTSTATUS) 0xC0000442L)
3737 #endif
3738 
3739 #ifndef STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE
3740 # define STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE ((NTSTATUS) 0xC0000443L)
3741 #endif
3742 
3743 #ifndef STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE
3744 # define STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE ((NTSTATUS) 0xC0000444L)
3745 #endif
3746 
3747 #ifndef STATUS_CS_ENCRYPTION_FILE_NOT_CSE
3748 # define STATUS_CS_ENCRYPTION_FILE_NOT_CSE ((NTSTATUS) 0xC0000445L)
3749 #endif
3750 
3751 #ifndef STATUS_INVALID_LABEL
3752 # define STATUS_INVALID_LABEL ((NTSTATUS) 0xC0000446L)
3753 #endif
3754 
3755 #ifndef STATUS_DRIVER_PROCESS_TERMINATED
3756 # define STATUS_DRIVER_PROCESS_TERMINATED ((NTSTATUS) 0xC0000450L)
3757 #endif
3758 
3759 #ifndef STATUS_AMBIGUOUS_SYSTEM_DEVICE
3760 # define STATUS_AMBIGUOUS_SYSTEM_DEVICE ((NTSTATUS) 0xC0000451L)
3761 #endif
3762 
3763 #ifndef STATUS_SYSTEM_DEVICE_NOT_FOUND
3764 # define STATUS_SYSTEM_DEVICE_NOT_FOUND ((NTSTATUS) 0xC0000452L)
3765 #endif
3766 
3767 #ifndef STATUS_RESTART_BOOT_APPLICATION
3768 # define STATUS_RESTART_BOOT_APPLICATION ((NTSTATUS) 0xC0000453L)
3769 #endif
3770 
3771 #ifndef STATUS_INSUFFICIENT_NVRAM_RESOURCES
3772 # define STATUS_INSUFFICIENT_NVRAM_RESOURCES ((NTSTATUS) 0xC0000454L)
3773 #endif
3774 
3775 #ifndef STATUS_INVALID_TASK_NAME
3776 # define STATUS_INVALID_TASK_NAME ((NTSTATUS) 0xC0000500L)
3777 #endif
3778 
3779 #ifndef STATUS_INVALID_TASK_INDEX
3780 # define STATUS_INVALID_TASK_INDEX ((NTSTATUS) 0xC0000501L)
3781 #endif
3782 
3783 #ifndef STATUS_THREAD_ALREADY_IN_TASK
3784 # define STATUS_THREAD_ALREADY_IN_TASK ((NTSTATUS) 0xC0000502L)
3785 #endif
3786 
3787 #ifndef STATUS_CALLBACK_BYPASS
3788 # define STATUS_CALLBACK_BYPASS ((NTSTATUS) 0xC0000503L)
3789 #endif
3790 
3791 #ifndef STATUS_FAIL_FAST_EXCEPTION
3792 # define STATUS_FAIL_FAST_EXCEPTION ((NTSTATUS) 0xC0000602L)
3793 #endif
3794 
3795 #ifndef STATUS_IMAGE_CERT_REVOKED
3796 # define STATUS_IMAGE_CERT_REVOKED ((NTSTATUS) 0xC0000603L)
3797 #endif
3798 
3799 #ifndef STATUS_PORT_CLOSED
3800 # define STATUS_PORT_CLOSED ((NTSTATUS) 0xC0000700L)
3801 #endif
3802 
3803 #ifndef STATUS_MESSAGE_LOST
3804 # define STATUS_MESSAGE_LOST ((NTSTATUS) 0xC0000701L)
3805 #endif
3806 
3807 #ifndef STATUS_INVALID_MESSAGE
3808 # define STATUS_INVALID_MESSAGE ((NTSTATUS) 0xC0000702L)
3809 #endif
3810 
3811 #ifndef STATUS_REQUEST_CANCELED
3812 # define STATUS_REQUEST_CANCELED ((NTSTATUS) 0xC0000703L)
3813 #endif
3814 
3815 #ifndef STATUS_RECURSIVE_DISPATCH
3816 # define STATUS_RECURSIVE_DISPATCH ((NTSTATUS) 0xC0000704L)
3817 #endif
3818 
3819 #ifndef STATUS_LPC_RECEIVE_BUFFER_EXPECTED
3820 # define STATUS_LPC_RECEIVE_BUFFER_EXPECTED ((NTSTATUS) 0xC0000705L)
3821 #endif
3822 
3823 #ifndef STATUS_LPC_INVALID_CONNECTION_USAGE
3824 # define STATUS_LPC_INVALID_CONNECTION_USAGE ((NTSTATUS) 0xC0000706L)
3825 #endif
3826 
3827 #ifndef STATUS_LPC_REQUESTS_NOT_ALLOWED
3828 # define STATUS_LPC_REQUESTS_NOT_ALLOWED ((NTSTATUS) 0xC0000707L)
3829 #endif
3830 
3831 #ifndef STATUS_RESOURCE_IN_USE
3832 # define STATUS_RESOURCE_IN_USE ((NTSTATUS) 0xC0000708L)
3833 #endif
3834 
3835 #ifndef STATUS_HARDWARE_MEMORY_ERROR
3836 # define STATUS_HARDWARE_MEMORY_ERROR ((NTSTATUS) 0xC0000709L)
3837 #endif
3838 
3839 #ifndef STATUS_THREADPOOL_HANDLE_EXCEPTION
3840 # define STATUS_THREADPOOL_HANDLE_EXCEPTION ((NTSTATUS) 0xC000070AL)
3841 #endif
3842 
3843 #ifndef STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED
3844 # define STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070BL)
3845 #endif
3846 
3847 #ifndef STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED
3848 # define STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070CL)
3849 #endif
3850 
3851 #ifndef STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED
3852 # define STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070DL)
3853 #endif
3854 
3855 #ifndef STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED
3856 # define STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070EL)
3857 #endif
3858 
3859 #ifndef STATUS_THREADPOOL_RELEASED_DURING_OPERATION
3860 # define STATUS_THREADPOOL_RELEASED_DURING_OPERATION ((NTSTATUS) 0xC000070FL)
3861 #endif
3862 
3863 #ifndef STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING
3864 # define STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000710L)
3865 #endif
3866 
3867 #ifndef STATUS_APC_RETURNED_WHILE_IMPERSONATING
3868 # define STATUS_APC_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000711L)
3869 #endif
3870 
3871 #ifndef STATUS_PROCESS_IS_PROTECTED
3872 # define STATUS_PROCESS_IS_PROTECTED ((NTSTATUS) 0xC0000712L)
3873 #endif
3874 
3875 #ifndef STATUS_MCA_EXCEPTION
3876 # define STATUS_MCA_EXCEPTION ((NTSTATUS) 0xC0000713L)
3877 #endif
3878 
3879 #ifndef STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE
3880 # define STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE ((NTSTATUS) 0xC0000714L)
3881 #endif
3882 
3883 #ifndef STATUS_SYMLINK_CLASS_DISABLED
3884 # define STATUS_SYMLINK_CLASS_DISABLED ((NTSTATUS) 0xC0000715L)
3885 #endif
3886 
3887 #ifndef STATUS_INVALID_IDN_NORMALIZATION
3888 # define STATUS_INVALID_IDN_NORMALIZATION ((NTSTATUS) 0xC0000716L)
3889 #endif
3890 
3891 #ifndef STATUS_NO_UNICODE_TRANSLATION
3892 # define STATUS_NO_UNICODE_TRANSLATION ((NTSTATUS) 0xC0000717L)
3893 #endif
3894 
3895 #ifndef STATUS_ALREADY_REGISTERED
3896 # define STATUS_ALREADY_REGISTERED ((NTSTATUS) 0xC0000718L)
3897 #endif
3898 
3899 #ifndef STATUS_CONTEXT_MISMATCH
3900 # define STATUS_CONTEXT_MISMATCH ((NTSTATUS) 0xC0000719L)
3901 #endif
3902 
3903 #ifndef STATUS_PORT_ALREADY_HAS_COMPLETION_LIST
3904 # define STATUS_PORT_ALREADY_HAS_COMPLETION_LIST ((NTSTATUS) 0xC000071AL)
3905 #endif
3906 
3907 #ifndef STATUS_CALLBACK_RETURNED_THREAD_PRIORITY
3908 # define STATUS_CALLBACK_RETURNED_THREAD_PRIORITY ((NTSTATUS) 0xC000071BL)
3909 #endif
3910 
3911 #ifndef STATUS_INVALID_THREAD
3912 # define STATUS_INVALID_THREAD ((NTSTATUS) 0xC000071CL)
3913 #endif
3914 
3915 #ifndef STATUS_CALLBACK_RETURNED_TRANSACTION
3916 # define STATUS_CALLBACK_RETURNED_TRANSACTION ((NTSTATUS) 0xC000071DL)
3917 #endif
3918 
3919 #ifndef STATUS_CALLBACK_RETURNED_LDR_LOCK
3920 # define STATUS_CALLBACK_RETURNED_LDR_LOCK ((NTSTATUS) 0xC000071EL)
3921 #endif
3922 
3923 #ifndef STATUS_CALLBACK_RETURNED_LANG
3924 # define STATUS_CALLBACK_RETURNED_LANG ((NTSTATUS) 0xC000071FL)
3925 #endif
3926 
3927 #ifndef STATUS_CALLBACK_RETURNED_PRI_BACK
3928 # define STATUS_CALLBACK_RETURNED_PRI_BACK ((NTSTATUS) 0xC0000720L)
3929 #endif
3930 
3931 #ifndef STATUS_CALLBACK_RETURNED_THREAD_AFFINITY
3932 # define STATUS_CALLBACK_RETURNED_THREAD_AFFINITY ((NTSTATUS) 0xC0000721L)
3933 #endif
3934 
3935 #ifndef STATUS_DISK_REPAIR_DISABLED
3936 # define STATUS_DISK_REPAIR_DISABLED ((NTSTATUS) 0xC0000800L)
3937 #endif
3938 
3939 #ifndef STATUS_DS_DOMAIN_RENAME_IN_PROGRESS
3940 # define STATUS_DS_DOMAIN_RENAME_IN_PROGRESS ((NTSTATUS) 0xC0000801L)
3941 #endif
3942 
3943 #ifndef STATUS_DISK_QUOTA_EXCEEDED
3944 # define STATUS_DISK_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000802L)
3945 #endif
3946 
3947 #ifndef STATUS_DATA_LOST_REPAIR
3948 # define STATUS_DATA_LOST_REPAIR ((NTSTATUS) 0x80000803L)
3949 #endif
3950 
3951 #ifndef STATUS_CONTENT_BLOCKED
3952 # define STATUS_CONTENT_BLOCKED ((NTSTATUS) 0xC0000804L)
3953 #endif
3954 
3955 #ifndef STATUS_BAD_CLUSTERS
3956 # define STATUS_BAD_CLUSTERS ((NTSTATUS) 0xC0000805L)
3957 #endif
3958 
3959 #ifndef STATUS_VOLUME_DIRTY
3960 # define STATUS_VOLUME_DIRTY ((NTSTATUS) 0xC0000806L)
3961 #endif
3962 
3963 #ifndef STATUS_FILE_CHECKED_OUT
3964 # define STATUS_FILE_CHECKED_OUT ((NTSTATUS) 0xC0000901L)
3965 #endif
3966 
3967 #ifndef STATUS_CHECKOUT_REQUIRED
3968 # define STATUS_CHECKOUT_REQUIRED ((NTSTATUS) 0xC0000902L)
3969 #endif
3970 
3971 #ifndef STATUS_BAD_FILE_TYPE
3972 # define STATUS_BAD_FILE_TYPE ((NTSTATUS) 0xC0000903L)
3973 #endif
3974 
3975 #ifndef STATUS_FILE_TOO_LARGE
3976 # define STATUS_FILE_TOO_LARGE ((NTSTATUS) 0xC0000904L)
3977 #endif
3978 
3979 #ifndef STATUS_FORMS_AUTH_REQUIRED
3980 # define STATUS_FORMS_AUTH_REQUIRED ((NTSTATUS) 0xC0000905L)
3981 #endif
3982 
3983 #ifndef STATUS_VIRUS_INFECTED
3984 # define STATUS_VIRUS_INFECTED ((NTSTATUS) 0xC0000906L)
3985 #endif
3986 
3987 #ifndef STATUS_VIRUS_DELETED
3988 # define STATUS_VIRUS_DELETED ((NTSTATUS) 0xC0000907L)
3989 #endif
3990 
3991 #ifndef STATUS_BAD_MCFG_TABLE
3992 # define STATUS_BAD_MCFG_TABLE ((NTSTATUS) 0xC0000908L)
3993 #endif
3994 
3995 #ifndef STATUS_CANNOT_BREAK_OPLOCK
3996 # define STATUS_CANNOT_BREAK_OPLOCK ((NTSTATUS) 0xC0000909L)
3997 #endif
3998 
3999 #ifndef STATUS_WOW_ASSERTION
4000 # define STATUS_WOW_ASSERTION ((NTSTATUS) 0xC0009898L)
4001 #endif
4002 
4003 #ifndef STATUS_INVALID_SIGNATURE
4004 # define STATUS_INVALID_SIGNATURE ((NTSTATUS) 0xC000A000L)
4005 #endif
4006 
4007 #ifndef STATUS_HMAC_NOT_SUPPORTED
4008 # define STATUS_HMAC_NOT_SUPPORTED ((NTSTATUS) 0xC000A001L)
4009 #endif
4010 
4011 #ifndef STATUS_AUTH_TAG_MISMATCH
4012 # define STATUS_AUTH_TAG_MISMATCH ((NTSTATUS) 0xC000A002L)
4013 #endif
4014 
4015 #ifndef STATUS_IPSEC_QUEUE_OVERFLOW
4016 # define STATUS_IPSEC_QUEUE_OVERFLOW ((NTSTATUS) 0xC000A010L)
4017 #endif
4018 
4019 #ifndef STATUS_ND_QUEUE_OVERFLOW
4020 # define STATUS_ND_QUEUE_OVERFLOW ((NTSTATUS) 0xC000A011L)
4021 #endif
4022 
4023 #ifndef STATUS_HOPLIMIT_EXCEEDED
4024 # define STATUS_HOPLIMIT_EXCEEDED ((NTSTATUS) 0xC000A012L)
4025 #endif
4026 
4027 #ifndef STATUS_PROTOCOL_NOT_SUPPORTED
4028 # define STATUS_PROTOCOL_NOT_SUPPORTED ((NTSTATUS) 0xC000A013L)
4029 #endif
4030 
4031 #ifndef STATUS_FASTPATH_REJECTED
4032 # define STATUS_FASTPATH_REJECTED ((NTSTATUS) 0xC000A014L)
4033 #endif
4034 
4035 #ifndef STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED
4036 # define STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED ((NTSTATUS) 0xC000A080L)
4037 #endif
4038 
4039 #ifndef STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR
4040 # define STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR ((NTSTATUS) 0xC000A081L)
4041 #endif
4042 
4043 #ifndef STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR
4044 # define STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR ((NTSTATUS) 0xC000A082L)
4045 #endif
4046 
4047 #ifndef STATUS_XML_PARSE_ERROR
4048 # define STATUS_XML_PARSE_ERROR ((NTSTATUS) 0xC000A083L)
4049 #endif
4050 
4051 #ifndef STATUS_XMLDSIG_ERROR
4052 # define STATUS_XMLDSIG_ERROR ((NTSTATUS) 0xC000A084L)
4053 #endif
4054 
4055 #ifndef STATUS_WRONG_COMPARTMENT
4056 # define STATUS_WRONG_COMPARTMENT ((NTSTATUS) 0xC000A085L)
4057 #endif
4058 
4059 #ifndef STATUS_AUTHIP_FAILURE
4060 # define STATUS_AUTHIP_FAILURE ((NTSTATUS) 0xC000A086L)
4061 #endif
4062 
4063 #ifndef STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS
4064 # define STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS ((NTSTATUS) 0xC000A087L)
4065 #endif
4066 
4067 #ifndef STATUS_DS_OID_NOT_FOUND
4068 # define STATUS_DS_OID_NOT_FOUND ((NTSTATUS) 0xC000A088L)
4069 #endif
4070 
4071 #ifndef STATUS_HASH_NOT_SUPPORTED
4072 # define STATUS_HASH_NOT_SUPPORTED ((NTSTATUS) 0xC000A100L)
4073 #endif
4074 
4075 #ifndef STATUS_HASH_NOT_PRESENT
4076 # define STATUS_HASH_NOT_PRESENT ((NTSTATUS) 0xC000A101L)
4077 #endif
4078 
4079 /* This is not the NTSTATUS_FROM_WIN32 that the DDK provides, because the DDK
4080  * got it wrong! */
4081 #ifdef NTSTATUS_FROM_WIN32
4082 # undef NTSTATUS_FROM_WIN32
4083 #endif
4084 #define NTSTATUS_FROM_WIN32(error) ((NTSTATUS) (error) <= 0 ? \
4085         ((NTSTATUS) (error)) : ((NTSTATUS) (((error) & 0x0000FFFF) | \
4086         (FACILITY_NTWIN32 << 16) | ERROR_SEVERITY_WARNING)))
4087 
4088 #ifndef JOB_OBJECT_LIMIT_PROCESS_MEMORY
4089 # define JOB_OBJECT_LIMIT_PROCESS_MEMORY             0x00000100
4090 #endif
4091 #ifndef JOB_OBJECT_LIMIT_JOB_MEMORY
4092 # define JOB_OBJECT_LIMIT_JOB_MEMORY                 0x00000200
4093 #endif
4094 #ifndef JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION
4095 # define JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION 0x00000400
4096 #endif
4097 #ifndef JOB_OBJECT_LIMIT_BREAKAWAY_OK
4098 # define JOB_OBJECT_LIMIT_BREAKAWAY_OK               0x00000800
4099 #endif
4100 #ifndef JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK
4101 # define JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK        0x00001000
4102 #endif
4103 #ifndef JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE
4104 # define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE          0x00002000
4105 #endif
4106 
4107 #ifndef SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
4108 # define SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE 0x00000002
4109 #endif
4110 
4111 /* from winternl.h */
4112 #if !defined(__UNICODE_STRING_DEFINED) && defined(__MINGW32__)
4113 #define __UNICODE_STRING_DEFINED
4114 #endif
4115 typedef struct _UNICODE_STRING {
4116   USHORT Length;
4117   USHORT MaximumLength;
4118   PWSTR  Buffer;
4119 } UNICODE_STRING, *PUNICODE_STRING;
4120 
4121 typedef const UNICODE_STRING *PCUNICODE_STRING;
4122 
4123 /* from ntifs.h */
4124 #ifndef DEVICE_TYPE
4125 # define DEVICE_TYPE DWORD
4126 #endif
4127 
4128 /* MinGW already has a definition for REPARSE_DATA_BUFFER, but mingw-w64 does
4129  * not.
4130  */
4131 #if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)
4132   typedef struct _REPARSE_DATA_BUFFER {
4133     ULONG  ReparseTag;
4134     USHORT ReparseDataLength;
4135     USHORT Reserved;
4136     union {
4137       struct {
4138         USHORT SubstituteNameOffset;
4139         USHORT SubstituteNameLength;
4140         USHORT PrintNameOffset;
4141         USHORT PrintNameLength;
4142         ULONG Flags;
4143         WCHAR PathBuffer[1];
4144       } SymbolicLinkReparseBuffer;
4145       struct {
4146         USHORT SubstituteNameOffset;
4147         USHORT SubstituteNameLength;
4148         USHORT PrintNameOffset;
4149         USHORT PrintNameLength;
4150         WCHAR PathBuffer[1];
4151       } MountPointReparseBuffer;
4152       struct {
4153         UCHAR  DataBuffer[1];
4154       } GenericReparseBuffer;
4155       struct {
4156         ULONG StringCount;
4157         WCHAR StringList[1];
4158       } AppExecLinkReparseBuffer;
4159     };
4160   } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
4161 #endif
4162 
4163 typedef struct _IO_STATUS_BLOCK {
4164   union {
4165     NTSTATUS Status;
4166     PVOID Pointer;
4167   };
4168   ULONG_PTR Information;
4169 } IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;
4170 
4171 typedef enum _FILE_INFORMATION_CLASS {
4172   FileDirectoryInformation = 1,
4173   FileFullDirectoryInformation,
4174   FileBothDirectoryInformation,
4175   FileBasicInformation,
4176   FileStandardInformation,
4177   FileInternalInformation,
4178   FileEaInformation,
4179   FileAccessInformation,
4180   FileNameInformation,
4181   FileRenameInformation,
4182   FileLinkInformation,
4183   FileNamesInformation,
4184   FileDispositionInformation,
4185   FilePositionInformation,
4186   FileFullEaInformation,
4187   FileModeInformation,
4188   FileAlignmentInformation,
4189   FileAllInformation,
4190   FileAllocationInformation,
4191   FileEndOfFileInformation,
4192   FileAlternateNameInformation,
4193   FileStreamInformation,
4194   FilePipeInformation,
4195   FilePipeLocalInformation,
4196   FilePipeRemoteInformation,
4197   FileMailslotQueryInformation,
4198   FileMailslotSetInformation,
4199   FileCompressionInformation,
4200   FileObjectIdInformation,
4201   FileCompletionInformation,
4202   FileMoveClusterInformation,
4203   FileQuotaInformation,
4204   FileReparsePointInformation,
4205   FileNetworkOpenInformation,
4206   FileAttributeTagInformation,
4207   FileTrackingInformation,
4208   FileIdBothDirectoryInformation,
4209   FileIdFullDirectoryInformation,
4210   FileValidDataLengthInformation,
4211   FileShortNameInformation,
4212   FileIoCompletionNotificationInformation,
4213   FileIoStatusBlockRangeInformation,
4214   FileIoPriorityHintInformation,
4215   FileSfioReserveInformation,
4216   FileSfioVolumeInformation,
4217   FileHardLinkInformation,
4218   FileProcessIdsUsingFileInformation,
4219   FileNormalizedNameInformation,
4220   FileNetworkPhysicalNameInformation,
4221   FileIdGlobalTxDirectoryInformation,
4222   FileIsRemoteDeviceInformation,
4223   FileAttributeCacheInformation,
4224   FileNumaNodeInformation,
4225   FileStandardLinkInformation,
4226   FileRemoteProtocolInformation,
4227   FileMaximumInformation
4228 } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
4229 
4230 typedef struct _FILE_DIRECTORY_INFORMATION {
4231   ULONG NextEntryOffset;
4232   ULONG FileIndex;
4233   LARGE_INTEGER CreationTime;
4234   LARGE_INTEGER LastAccessTime;
4235   LARGE_INTEGER LastWriteTime;
4236   LARGE_INTEGER ChangeTime;
4237   LARGE_INTEGER EndOfFile;
4238   LARGE_INTEGER AllocationSize;
4239   ULONG FileAttributes;
4240   ULONG FileNameLength;
4241   WCHAR FileName[1];
4242 } FILE_DIRECTORY_INFORMATION, *PFILE_DIRECTORY_INFORMATION;
4243 
4244 typedef struct _FILE_BOTH_DIR_INFORMATION {
4245   ULONG NextEntryOffset;
4246   ULONG FileIndex;
4247   LARGE_INTEGER CreationTime;
4248   LARGE_INTEGER LastAccessTime;
4249   LARGE_INTEGER LastWriteTime;
4250   LARGE_INTEGER ChangeTime;
4251   LARGE_INTEGER EndOfFile;
4252   LARGE_INTEGER AllocationSize;
4253   ULONG FileAttributes;
4254   ULONG FileNameLength;
4255   ULONG EaSize;
4256   CCHAR ShortNameLength;
4257   WCHAR ShortName[12];
4258   WCHAR FileName[1];
4259 } FILE_BOTH_DIR_INFORMATION, *PFILE_BOTH_DIR_INFORMATION;
4260 
4261 typedef struct _FILE_BASIC_INFORMATION {
4262   LARGE_INTEGER CreationTime;
4263   LARGE_INTEGER LastAccessTime;
4264   LARGE_INTEGER LastWriteTime;
4265   LARGE_INTEGER ChangeTime;
4266   DWORD FileAttributes;
4267 } FILE_BASIC_INFORMATION, *PFILE_BASIC_INFORMATION;
4268 
4269 typedef struct _FILE_STANDARD_INFORMATION {
4270   LARGE_INTEGER AllocationSize;
4271   LARGE_INTEGER EndOfFile;
4272   ULONG         NumberOfLinks;
4273   BOOLEAN       DeletePending;
4274   BOOLEAN       Directory;
4275 } FILE_STANDARD_INFORMATION, *PFILE_STANDARD_INFORMATION;
4276 
4277 typedef struct _FILE_INTERNAL_INFORMATION {
4278   LARGE_INTEGER IndexNumber;
4279 } FILE_INTERNAL_INFORMATION, *PFILE_INTERNAL_INFORMATION;
4280 
4281 typedef struct _FILE_EA_INFORMATION {
4282   ULONG EaSize;
4283 } FILE_EA_INFORMATION, *PFILE_EA_INFORMATION;
4284 
4285 typedef struct _FILE_ACCESS_INFORMATION {
4286   ACCESS_MASK AccessFlags;
4287 } FILE_ACCESS_INFORMATION, *PFILE_ACCESS_INFORMATION;
4288 
4289 typedef struct _FILE_POSITION_INFORMATION {
4290   LARGE_INTEGER CurrentByteOffset;
4291 } FILE_POSITION_INFORMATION, *PFILE_POSITION_INFORMATION;
4292 
4293 typedef struct _FILE_MODE_INFORMATION {
4294   ULONG Mode;
4295 } FILE_MODE_INFORMATION, *PFILE_MODE_INFORMATION;
4296 
4297 typedef struct _FILE_ALIGNMENT_INFORMATION {
4298   ULONG AlignmentRequirement;
4299 } FILE_ALIGNMENT_INFORMATION, *PFILE_ALIGNMENT_INFORMATION;
4300 
4301 typedef struct _FILE_NAME_INFORMATION {
4302   ULONG FileNameLength;
4303   WCHAR FileName[1];
4304 } FILE_NAME_INFORMATION, *PFILE_NAME_INFORMATION;
4305 
4306 typedef struct _FILE_END_OF_FILE_INFORMATION {
4307   LARGE_INTEGER  EndOfFile;
4308 } FILE_END_OF_FILE_INFORMATION, *PFILE_END_OF_FILE_INFORMATION;
4309 
4310 typedef struct _FILE_ALL_INFORMATION {
4311   FILE_BASIC_INFORMATION     BasicInformation;
4312   FILE_STANDARD_INFORMATION  StandardInformation;
4313   FILE_INTERNAL_INFORMATION  InternalInformation;
4314   FILE_EA_INFORMATION        EaInformation;
4315   FILE_ACCESS_INFORMATION    AccessInformation;
4316   FILE_POSITION_INFORMATION  PositionInformation;
4317   FILE_MODE_INFORMATION      ModeInformation;
4318   FILE_ALIGNMENT_INFORMATION AlignmentInformation;
4319   FILE_NAME_INFORMATION      NameInformation;
4320 } FILE_ALL_INFORMATION, *PFILE_ALL_INFORMATION;
4321 
4322 typedef struct _FILE_DISPOSITION_INFORMATION {
4323   BOOLEAN DeleteFile;
4324 } FILE_DISPOSITION_INFORMATION, *PFILE_DISPOSITION_INFORMATION;
4325 
4326 typedef struct _FILE_PIPE_LOCAL_INFORMATION {
4327   ULONG NamedPipeType;
4328   ULONG NamedPipeConfiguration;
4329   ULONG MaximumInstances;
4330   ULONG CurrentInstances;
4331   ULONG InboundQuota;
4332   ULONG ReadDataAvailable;
4333   ULONG OutboundQuota;
4334   ULONG WriteQuotaAvailable;
4335   ULONG NamedPipeState;
4336   ULONG NamedPipeEnd;
4337 } FILE_PIPE_LOCAL_INFORMATION, *PFILE_PIPE_LOCAL_INFORMATION;
4338 
4339 #define FILE_SYNCHRONOUS_IO_ALERT               0x00000010
4340 #define FILE_SYNCHRONOUS_IO_NONALERT            0x00000020
4341 
4342 typedef enum _FS_INFORMATION_CLASS {
4343   FileFsVolumeInformation       = 1,
4344   FileFsLabelInformation        = 2,
4345   FileFsSizeInformation         = 3,
4346   FileFsDeviceInformation       = 4,
4347   FileFsAttributeInformation    = 5,
4348   FileFsControlInformation      = 6,
4349   FileFsFullSizeInformation     = 7,
4350   FileFsObjectIdInformation     = 8,
4351   FileFsDriverPathInformation   = 9,
4352   FileFsVolumeFlagsInformation  = 10,
4353   FileFsSectorSizeInformation   = 11
4354 } FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS;
4355 
4356 typedef struct _FILE_FS_VOLUME_INFORMATION {
4357   LARGE_INTEGER VolumeCreationTime;
4358   ULONG         VolumeSerialNumber;
4359   ULONG         VolumeLabelLength;
4360   BOOLEAN       SupportsObjects;
4361   WCHAR         VolumeLabel[1];
4362 } FILE_FS_VOLUME_INFORMATION, *PFILE_FS_VOLUME_INFORMATION;
4363 
4364 typedef struct _FILE_FS_LABEL_INFORMATION {
4365   ULONG VolumeLabelLength;
4366   WCHAR VolumeLabel[1];
4367 } FILE_FS_LABEL_INFORMATION, *PFILE_FS_LABEL_INFORMATION;
4368 
4369 typedef struct _FILE_FS_SIZE_INFORMATION {
4370   LARGE_INTEGER TotalAllocationUnits;
4371   LARGE_INTEGER AvailableAllocationUnits;
4372   ULONG         SectorsPerAllocationUnit;
4373   ULONG         BytesPerSector;
4374 } FILE_FS_SIZE_INFORMATION, *PFILE_FS_SIZE_INFORMATION;
4375 
4376 typedef struct _FILE_FS_DEVICE_INFORMATION {
4377   DEVICE_TYPE DeviceType;
4378   ULONG       Characteristics;
4379 } FILE_FS_DEVICE_INFORMATION, *PFILE_FS_DEVICE_INFORMATION;
4380 
4381 typedef struct _FILE_FS_ATTRIBUTE_INFORMATION {
4382   ULONG FileSystemAttributes;
4383   LONG  MaximumComponentNameLength;
4384   ULONG FileSystemNameLength;
4385   WCHAR FileSystemName[1];
4386 } FILE_FS_ATTRIBUTE_INFORMATION, *PFILE_FS_ATTRIBUTE_INFORMATION;
4387 
4388 typedef struct _FILE_FS_CONTROL_INFORMATION {
4389   LARGE_INTEGER FreeSpaceStartFiltering;
4390   LARGE_INTEGER FreeSpaceThreshold;
4391   LARGE_INTEGER FreeSpaceStopFiltering;
4392   LARGE_INTEGER DefaultQuotaThreshold;
4393   LARGE_INTEGER DefaultQuotaLimit;
4394   ULONG         FileSystemControlFlags;
4395 } FILE_FS_CONTROL_INFORMATION, *PFILE_FS_CONTROL_INFORMATION;
4396 
4397 typedef struct _FILE_FS_FULL_SIZE_INFORMATION {
4398   LARGE_INTEGER TotalAllocationUnits;
4399   LARGE_INTEGER CallerAvailableAllocationUnits;
4400   LARGE_INTEGER ActualAvailableAllocationUnits;
4401   ULONG         SectorsPerAllocationUnit;
4402   ULONG         BytesPerSector;
4403 } FILE_FS_FULL_SIZE_INFORMATION, *PFILE_FS_FULL_SIZE_INFORMATION;
4404 
4405 typedef struct _FILE_FS_OBJECTID_INFORMATION {
4406   UCHAR ObjectId[16];
4407   UCHAR ExtendedInfo[48];
4408 } FILE_FS_OBJECTID_INFORMATION, *PFILE_FS_OBJECTID_INFORMATION;
4409 
4410 typedef struct _FILE_FS_DRIVER_PATH_INFORMATION {
4411   BOOLEAN DriverInPath;
4412   ULONG   DriverNameLength;
4413   WCHAR   DriverName[1];
4414 } FILE_FS_DRIVER_PATH_INFORMATION, *PFILE_FS_DRIVER_PATH_INFORMATION;
4415 
4416 typedef struct _FILE_FS_VOLUME_FLAGS_INFORMATION {
4417   ULONG Flags;
4418 } FILE_FS_VOLUME_FLAGS_INFORMATION, *PFILE_FS_VOLUME_FLAGS_INFORMATION;
4419 
4420 typedef struct _FILE_FS_SECTOR_SIZE_INFORMATION {
4421   ULONG LogicalBytesPerSector;
4422   ULONG PhysicalBytesPerSectorForAtomicity;
4423   ULONG PhysicalBytesPerSectorForPerformance;
4424   ULONG FileSystemEffectivePhysicalBytesPerSectorForAtomicity;
4425   ULONG Flags;
4426   ULONG ByteOffsetForSectorAlignment;
4427   ULONG ByteOffsetForPartitionAlignment;
4428 } FILE_FS_SECTOR_SIZE_INFORMATION, *PFILE_FS_SECTOR_SIZE_INFORMATION;
4429 
4430 typedef struct _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
4431     LARGE_INTEGER IdleTime;
4432     LARGE_INTEGER KernelTime;
4433     LARGE_INTEGER UserTime;
4434     LARGE_INTEGER DpcTime;
4435     LARGE_INTEGER InterruptTime;
4436     ULONG InterruptCount;
4437 } SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION, *PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION;
4438 
4439 #ifndef SystemProcessorPerformanceInformation
4440 # define SystemProcessorPerformanceInformation 8
4441 #endif
4442 
4443 #ifndef ProcessConsoleHostProcess
4444 # define ProcessConsoleHostProcess 49
4445 #endif
4446 
4447 #ifndef FILE_DEVICE_FILE_SYSTEM
4448 # define FILE_DEVICE_FILE_SYSTEM 0x00000009
4449 #endif
4450 
4451 #ifndef FILE_DEVICE_NETWORK
4452 # define FILE_DEVICE_NETWORK 0x00000012
4453 #endif
4454 
4455 #ifndef METHOD_BUFFERED
4456 # define METHOD_BUFFERED 0
4457 #endif
4458 
4459 #ifndef METHOD_IN_DIRECT
4460 # define METHOD_IN_DIRECT 1
4461 #endif
4462 
4463 #ifndef METHOD_OUT_DIRECT
4464 # define METHOD_OUT_DIRECT 2
4465 #endif
4466 
4467 #ifndef METHOD_NEITHER
4468 #define METHOD_NEITHER 3
4469 #endif
4470 
4471 #ifndef METHOD_DIRECT_TO_HARDWARE
4472 # define METHOD_DIRECT_TO_HARDWARE METHOD_IN_DIRECT
4473 #endif
4474 
4475 #ifndef METHOD_DIRECT_FROM_HARDWARE
4476 # define METHOD_DIRECT_FROM_HARDWARE METHOD_OUT_DIRECT
4477 #endif
4478 
4479 #ifndef FILE_ANY_ACCESS
4480 # define FILE_ANY_ACCESS 0
4481 #endif
4482 
4483 #ifndef FILE_SPECIAL_ACCESS
4484 # define FILE_SPECIAL_ACCESS (FILE_ANY_ACCESS)
4485 #endif
4486 
4487 #ifndef FILE_READ_ACCESS
4488 # define FILE_READ_ACCESS 0x0001
4489 #endif
4490 
4491 #ifndef FILE_WRITE_ACCESS
4492 # define FILE_WRITE_ACCESS 0x0002
4493 #endif
4494 
4495 #ifndef CTL_CODE
4496 # define CTL_CODE(device_type, function, method, access)                      \
4497     (((device_type) << 16) | ((access) << 14) | ((function) << 2) | (method))
4498 #endif
4499 
4500 #ifndef FSCTL_SET_REPARSE_POINT
4501 # define FSCTL_SET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,            \
4502                                           41,                                 \
4503                                           METHOD_BUFFERED,                    \
4504                                           FILE_SPECIAL_ACCESS)
4505 #endif
4506 
4507 #ifndef FSCTL_GET_REPARSE_POINT
4508 # define FSCTL_GET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,            \
4509                                           42,                                 \
4510                                           METHOD_BUFFERED,                    \
4511                                           FILE_ANY_ACCESS)
4512 #endif
4513 
4514 #ifndef FSCTL_DELETE_REPARSE_POINT
4515 # define FSCTL_DELETE_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,         \
4516                                              43,                              \
4517                                              METHOD_BUFFERED,                 \
4518                                              FILE_SPECIAL_ACCESS)
4519 #endif
4520 
4521 #ifndef IO_REPARSE_TAG_SYMLINK
4522 # define IO_REPARSE_TAG_SYMLINK (0xA000000CL)
4523 #endif
4524 #ifndef IO_REPARSE_TAG_APPEXECLINK
4525 # define IO_REPARSE_TAG_APPEXECLINK (0x8000001BL)
4526 #endif
4527 
4528 typedef VOID (NTAPI *PIO_APC_ROUTINE)
4529              (PVOID ApcContext,
4530               PIO_STATUS_BLOCK IoStatusBlock,
4531               ULONG Reserved);
4532 
4533 typedef NTSTATUS (NTAPI *sRtlGetVersion)
4534                  (PRTL_OSVERSIONINFOW lpVersionInformation);
4535 
4536 typedef ULONG (NTAPI *sRtlNtStatusToDosError)
4537               (NTSTATUS Status);
4538 
4539 typedef NTSTATUS (NTAPI *sNtDeviceIoControlFile)
4540                  (HANDLE FileHandle,
4541                   HANDLE Event,
4542                   PIO_APC_ROUTINE ApcRoutine,
4543                   PVOID ApcContext,
4544                   PIO_STATUS_BLOCK IoStatusBlock,
4545                   ULONG IoControlCode,
4546                   PVOID InputBuffer,
4547                   ULONG InputBufferLength,
4548                   PVOID OutputBuffer,
4549                   ULONG OutputBufferLength);
4550 
4551 typedef NTSTATUS (NTAPI *sNtQueryInformationFile)
4552                  (HANDLE FileHandle,
4553                   PIO_STATUS_BLOCK IoStatusBlock,
4554                   PVOID FileInformation,
4555                   ULONG Length,
4556                   FILE_INFORMATION_CLASS FileInformationClass);
4557 
4558 typedef NTSTATUS (NTAPI *sNtSetInformationFile)
4559                  (HANDLE FileHandle,
4560                   PIO_STATUS_BLOCK IoStatusBlock,
4561                   PVOID FileInformation,
4562                   ULONG Length,
4563                   FILE_INFORMATION_CLASS FileInformationClass);
4564 
4565 typedef NTSTATUS (NTAPI *sNtQueryVolumeInformationFile)
4566                  (HANDLE FileHandle,
4567                   PIO_STATUS_BLOCK IoStatusBlock,
4568                   PVOID FsInformation,
4569                   ULONG Length,
4570                   FS_INFORMATION_CLASS FsInformationClass);
4571 
4572 typedef NTSTATUS (NTAPI *sNtQuerySystemInformation)
4573                  (UINT SystemInformationClass,
4574                   PVOID SystemInformation,
4575                   ULONG SystemInformationLength,
4576                   PULONG ReturnLength);
4577 
4578 typedef NTSTATUS (NTAPI *sNtQueryDirectoryFile)
4579                  (HANDLE FileHandle,
4580                   HANDLE Event,
4581                   PIO_APC_ROUTINE ApcRoutine,
4582                   PVOID ApcContext,
4583                   PIO_STATUS_BLOCK IoStatusBlock,
4584                   PVOID FileInformation,
4585                   ULONG Length,
4586                   FILE_INFORMATION_CLASS FileInformationClass,
4587                   BOOLEAN ReturnSingleEntry,
4588                   PUNICODE_STRING FileName,
4589                   BOOLEAN RestartScan
4590                 );
4591 
4592 typedef NTSTATUS (NTAPI *sNtQueryInformationProcess)
4593                  (HANDLE ProcessHandle,
4594                   UINT ProcessInformationClass,
4595                   PVOID ProcessInformation,
4596                   ULONG Length,
4597                   PULONG ReturnLength);
4598 
4599 /*
4600  * Kernel32 headers
4601  */
4602 #ifndef FILE_SKIP_COMPLETION_PORT_ON_SUCCESS
4603 # define FILE_SKIP_COMPLETION_PORT_ON_SUCCESS 0x1
4604 #endif
4605 
4606 #ifndef FILE_SKIP_SET_EVENT_ON_HANDLE
4607 # define FILE_SKIP_SET_EVENT_ON_HANDLE 0x2
4608 #endif
4609 
4610 #ifndef SYMBOLIC_LINK_FLAG_DIRECTORY
4611 # define SYMBOLIC_LINK_FLAG_DIRECTORY 0x1
4612 #endif
4613 
4614 #if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
4615   typedef struct _OVERLAPPED_ENTRY {
4616       ULONG_PTR lpCompletionKey;
4617       LPOVERLAPPED lpOverlapped;
4618       ULONG_PTR Internal;
4619       DWORD dwNumberOfBytesTransferred;
4620   } OVERLAPPED_ENTRY, *LPOVERLAPPED_ENTRY;
4621 #endif
4622 
4623 /* from wincon.h */
4624 #ifndef ENABLE_INSERT_MODE
4625 # define ENABLE_INSERT_MODE 0x20
4626 #endif
4627 
4628 #ifndef ENABLE_QUICK_EDIT_MODE
4629 # define ENABLE_QUICK_EDIT_MODE 0x40
4630 #endif
4631 
4632 #ifndef ENABLE_EXTENDED_FLAGS
4633 # define ENABLE_EXTENDED_FLAGS 0x80
4634 #endif
4635 
4636 /* from winerror.h */
4637 #ifndef ERROR_ELEVATION_REQUIRED
4638 # define ERROR_ELEVATION_REQUIRED 740
4639 #endif
4640 
4641 #ifndef ERROR_SYMLINK_NOT_SUPPORTED
4642 # define ERROR_SYMLINK_NOT_SUPPORTED 1464
4643 #endif
4644 
4645 #ifndef ERROR_MUI_FILE_NOT_FOUND
4646 # define ERROR_MUI_FILE_NOT_FOUND 15100
4647 #endif
4648 
4649 #ifndef ERROR_MUI_INVALID_FILE
4650 # define ERROR_MUI_INVALID_FILE 15101
4651 #endif
4652 
4653 #ifndef ERROR_MUI_INVALID_RC_CONFIG
4654 # define ERROR_MUI_INVALID_RC_CONFIG 15102
4655 #endif
4656 
4657 #ifndef ERROR_MUI_INVALID_LOCALE_NAME
4658 # define ERROR_MUI_INVALID_LOCALE_NAME 15103
4659 #endif
4660 
4661 #ifndef ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME
4662 # define ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME 15104
4663 #endif
4664 
4665 #ifndef ERROR_MUI_FILE_NOT_LOADED
4666 # define ERROR_MUI_FILE_NOT_LOADED 15105
4667 #endif
4668 
4669 typedef BOOL (WINAPI *sGetQueuedCompletionStatusEx)
4670              (HANDLE CompletionPort,
4671               LPOVERLAPPED_ENTRY lpCompletionPortEntries,
4672               ULONG ulCount,
4673               PULONG ulNumEntriesRemoved,
4674               DWORD dwMilliseconds,
4675               BOOL fAlertable);
4676 
4677 /* from powerbase.h */
4678 #ifndef DEVICE_NOTIFY_CALLBACK
4679 # define DEVICE_NOTIFY_CALLBACK 2
4680 #endif
4681 
4682 #ifndef PBT_APMRESUMEAUTOMATIC
4683 # define PBT_APMRESUMEAUTOMATIC 18
4684 #endif
4685 
4686 #ifndef PBT_APMRESUMESUSPEND
4687 # define PBT_APMRESUMESUSPEND 7
4688 #endif
4689 
4690 typedef ULONG CALLBACK _DEVICE_NOTIFY_CALLBACK_ROUTINE(
4691   PVOID Context,
4692   ULONG Type,
4693   PVOID Setting
4694 );
4695 typedef _DEVICE_NOTIFY_CALLBACK_ROUTINE* _PDEVICE_NOTIFY_CALLBACK_ROUTINE;
4696 
4697 typedef struct _DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS {
4698   _PDEVICE_NOTIFY_CALLBACK_ROUTINE Callback;
4699   PVOID Context;
4700 } _DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS, *_PDEVICE_NOTIFY_SUBSCRIBE_PARAMETERS;
4701 
4702 typedef PVOID _HPOWERNOTIFY;
4703 typedef _HPOWERNOTIFY *_PHPOWERNOTIFY;
4704 
4705 typedef DWORD (WINAPI *sPowerRegisterSuspendResumeNotification)
4706               (DWORD         Flags,
4707                HANDLE        Recipient,
4708                _PHPOWERNOTIFY RegistrationHandle);
4709 
4710 /* from Winuser.h */
4711 typedef VOID (CALLBACK* WINEVENTPROC)
4712              (HWINEVENTHOOK hWinEventHook,
4713               DWORD         event,
4714               HWND          hwnd,
4715               LONG          idObject,
4716               LONG          idChild,
4717               DWORD         idEventThread,
4718               DWORD         dwmsEventTime);
4719 
4720 typedef HWINEVENTHOOK (WINAPI *sSetWinEventHook)
4721                       (UINT         eventMin,
4722                        UINT         eventMax,
4723                        HMODULE      hmodWinEventProc,
4724                        WINEVENTPROC lpfnWinEventProc,
4725                        DWORD        idProcess,
4726                        DWORD        idThread,
4727                        UINT         dwflags);
4728 
4729 /* From mstcpip.h */
4730 typedef struct _TCP_INITIAL_RTO_PARAMETERS {
4731   USHORT Rtt;
4732   UCHAR  MaxSynRetransmissions;
4733 } TCP_INITIAL_RTO_PARAMETERS, *PTCP_INITIAL_RTO_PARAMETERS;
4734 
4735 #ifndef TCP_INITIAL_RTO_NO_SYN_RETRANSMISSIONS
4736 # define TCP_INITIAL_RTO_NO_SYN_RETRANSMISSIONS ((UCHAR) -2)
4737 #endif
4738 #ifndef SIO_TCP_INITIAL_RTO
4739 # define  SIO_TCP_INITIAL_RTO _WSAIOW(IOC_VENDOR,17)
4740 #endif
4741 
4742 /* Ntdll function pointers */
4743 extern sRtlGetVersion pRtlGetVersion;
4744 extern sRtlNtStatusToDosError pRtlNtStatusToDosError;
4745 extern sNtDeviceIoControlFile pNtDeviceIoControlFile;
4746 extern sNtQueryInformationFile pNtQueryInformationFile;
4747 extern sNtSetInformationFile pNtSetInformationFile;
4748 extern sNtQueryVolumeInformationFile pNtQueryVolumeInformationFile;
4749 extern sNtQueryDirectoryFile pNtQueryDirectoryFile;
4750 extern sNtQuerySystemInformation pNtQuerySystemInformation;
4751 extern sNtQueryInformationProcess pNtQueryInformationProcess;
4752 
4753 /* Kernel32 function pointers */
4754 extern sGetQueuedCompletionStatusEx pGetQueuedCompletionStatusEx;
4755 
4756 /* Powrprof.dll function pointer */
4757 extern sPowerRegisterSuspendResumeNotification pPowerRegisterSuspendResumeNotification;
4758 
4759 /* User32.dll function pointer */
4760 extern sSetWinEventHook pSetWinEventHook;
4761 
4762 /* ws2_32.dll function pointer */
4763 /* mingw doesn't have this definition, so let's declare it here locally */
4764 typedef int (WINAPI *uv_sGetHostNameW)
4765             (PWSTR,
4766              int);
4767 extern uv_sGetHostNameW pGetHostNameW;
4768 
4769 #endif /* UV_WIN_WINAPI_H_ */
4770