foolio 0.0.3

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