ReactOS  0.4.15-dev-2354-g9e947e2
vfddbg.c
Go to the documentation of this file.
1 /*
2  vfddbg.c
3 
4  Virtual Floppy Drive for Windows NT platform
5  Kernel mode driver debug functions
6 
7  Copyright (C) 2003-2005 Ken Kato
8 */
9 
10 #if !DBG
11 
12 // suppress empty compile unit warning
13 #pragma warning (disable: 4206)
14 #pragma message ("Debug feature is disabled.")
15 
16 #else // DBG
17 
18 #include "imports.h"
19 #include "vfddrv.h"
20 #include "vfddbg.h"
21 
22 #define CASE_RETURN_STR(str) case str: return #str;
23 
24 //
25 // Return IRP Major Function name
26 //
27 #ifndef IRP_MJ_POWER
28 #define IRP_MJ_POWER 0x16
29 #endif
30 #ifndef IRP_MJ_SYSTEM_CONTROL
31 #define IRP_MJ_SYSTEM_CONTROL 0x17
32 #endif
33 #ifndef IRP_MJ_PNP
34 #define IRP_MJ_PNP 0x1b
35 #endif
36 
37 PCSTR
38 GetMajorFuncName(
39  UCHAR major_code)
40 {
41  static char functionName[80];
42 
43  switch (major_code) {
44  CASE_RETURN_STR(IRP_MJ_CREATE); // 0x00
45  CASE_RETURN_STR(IRP_MJ_CREATE_NAMED_PIPE); // 0x01
46  CASE_RETURN_STR(IRP_MJ_CLOSE); // 0x02
47  CASE_RETURN_STR(IRP_MJ_READ); // 0x03
48  CASE_RETURN_STR(IRP_MJ_WRITE); // 0x04
49  CASE_RETURN_STR(IRP_MJ_QUERY_INFORMATION); // 0x05
50  CASE_RETURN_STR(IRP_MJ_SET_INFORMATION); // 0x06
51  CASE_RETURN_STR(IRP_MJ_QUERY_EA); // 0x07
52  CASE_RETURN_STR(IRP_MJ_SET_EA); // 0x08
53  CASE_RETURN_STR(IRP_MJ_FLUSH_BUFFERS); // 0x09
54  CASE_RETURN_STR(IRP_MJ_QUERY_VOLUME_INFORMATION); // 0x0a
55  CASE_RETURN_STR(IRP_MJ_SET_VOLUME_INFORMATION); // 0x0b
56  CASE_RETURN_STR(IRP_MJ_DIRECTORY_CONTROL); // 0x0c
57  CASE_RETURN_STR(IRP_MJ_FILE_SYSTEM_CONTROL); // 0x0d
58  CASE_RETURN_STR(IRP_MJ_DEVICE_CONTROL); // 0x0e
59  CASE_RETURN_STR(IRP_MJ_INTERNAL_DEVICE_CONTROL); // 0x0f
60  CASE_RETURN_STR(IRP_MJ_SHUTDOWN); // 0x10
61  CASE_RETURN_STR(IRP_MJ_LOCK_CONTROL); // 0x11
62  CASE_RETURN_STR(IRP_MJ_CLEANUP); // 0x12
63  CASE_RETURN_STR(IRP_MJ_CREATE_MAILSLOT); // 0x13
64  CASE_RETURN_STR(IRP_MJ_QUERY_SECURITY); // 0x14
65  CASE_RETURN_STR(IRP_MJ_SET_SECURITY); // 0x15
66  CASE_RETURN_STR(IRP_MJ_POWER); // 0x16
67  CASE_RETURN_STR(IRP_MJ_SYSTEM_CONTROL); // 0x17
68  CASE_RETURN_STR(IRP_MJ_DEVICE_CHANGE); // 0x18
69  CASE_RETURN_STR(IRP_MJ_QUERY_QUOTA); // 0x19
70  CASE_RETURN_STR(IRP_MJ_SET_QUOTA); // 0x1a
71  CASE_RETURN_STR(IRP_MJ_PNP); // 0x1b
72  default:
73  functionName[sizeof(functionName) - 1] = '\0';
74  _snprintf(functionName, sizeof(functionName) - 1,
75  // sprintf(functionName,
76  "Unknown Major Function (0x%x)", major_code);
77  return functionName;
78  }
79 }
80 
81 #ifdef VFD_PNP
82 
83 //
84 // Return PnP IRP Minor Function Name
85 //
86 PCSTR
87 GetPnpIrpName(ULONG minor_code)
88 {
89  static char functionName[80];
90 
91  switch (minor_code) {
92  CASE_RETURN_STR(IRP_MN_START_DEVICE); // 0x00
93  CASE_RETURN_STR(IRP_MN_QUERY_REMOVE_DEVICE); // 0x01
94  CASE_RETURN_STR(IRP_MN_REMOVE_DEVICE); // 0x02
95  CASE_RETURN_STR(IRP_MN_CANCEL_REMOVE_DEVICE); // 0x03
96  CASE_RETURN_STR(IRP_MN_STOP_DEVICE); // 0x04
97  CASE_RETURN_STR(IRP_MN_QUERY_STOP_DEVICE); // 0x05
98  CASE_RETURN_STR(IRP_MN_CANCEL_STOP_DEVICE); // 0x06
99  CASE_RETURN_STR(IRP_MN_QUERY_DEVICE_RELATIONS); // 0x07
100  CASE_RETURN_STR(IRP_MN_QUERY_INTERFACE); // 0x08
101  CASE_RETURN_STR(IRP_MN_QUERY_CAPABILITIES); // 0x09
102  CASE_RETURN_STR(IRP_MN_QUERY_RESOURCES); // 0x0A
103  CASE_RETURN_STR(IRP_MN_QUERY_RESOURCE_REQUIREMENTS); // 0x0B
104  CASE_RETURN_STR(IRP_MN_QUERY_DEVICE_TEXT); // 0x0C
105  CASE_RETURN_STR(IRP_MN_FILTER_RESOURCE_REQUIREMENTS); // 0x0D
106  CASE_RETURN_STR(IRP_MN_READ_CONFIG); // 0x0F
107  CASE_RETURN_STR(IRP_MN_WRITE_CONFIG); // 0x10
108  CASE_RETURN_STR(IRP_MN_EJECT); // 0x11
109  CASE_RETURN_STR(IRP_MN_SET_LOCK); // 0x12
110  CASE_RETURN_STR(IRP_MN_QUERY_ID); // 0x13
111  CASE_RETURN_STR(IRP_MN_QUERY_PNP_DEVICE_STATE); // 0x14
112  CASE_RETURN_STR(IRP_MN_QUERY_BUS_INFORMATION); // 0x15
113  CASE_RETURN_STR(IRP_MN_DEVICE_USAGE_NOTIFICATION); // 0x16
114  CASE_RETURN_STR(IRP_MN_SURPRISE_REMOVAL); // 0x17
115  CASE_RETURN_STR(IRP_MN_QUERY_LEGACY_BUS_INFORMATION); // 0x18
116  default:
117  functionName[sizeof(functionName) - 1] = '\0';
118  _snprintf(functionName, sizeof(functionName) - 1,
119  // sprintf(functionName,
120  "Unknown PNP IRP (0x%x)", minor_code);
121  return functionName;
122  }
123 }
124 
125 //
126 // Return Power IRP Minor Function Name
127 //
128 PCSTR
129 GetPowerIrpName(ULONG minor_code)
130 {
131  static char functionName[80];
132 
133  switch (minor_code) {
134  CASE_RETURN_STR(IRP_MN_SET_POWER);
135  CASE_RETURN_STR(IRP_MN_QUERY_POWER);
136  CASE_RETURN_STR(IRP_MN_WAIT_WAKE);
137  CASE_RETURN_STR(IRP_MN_POWER_SEQUENCE);
138  default:
139  functionName[sizeof(functionName) - 1] = '\0';
140  _snprintf(functionName, sizeof(functionName) - 1,
141  // sprintf(functionName,
142  "Unknown Power IRP (0x%x)", minor_code);
143  return functionName;
144  }
145 }
146 
147 //
148 // Return System IRP Minor Function Name
149 //
150 PCSTR
151 GetSystemIrpName(ULONG minor_code)
152 {
153  static char functionName[80];
154 
155  switch (minor_code) {
156  CASE_RETURN_STR(IRP_MN_QUERY_ALL_DATA); // 0x00
157  CASE_RETURN_STR(IRP_MN_QUERY_SINGLE_INSTANCE); // 0x01
158  CASE_RETURN_STR(IRP_MN_CHANGE_SINGLE_INSTANCE); // 0x02
159  CASE_RETURN_STR(IRP_MN_CHANGE_SINGLE_ITEM); // 0x03
160  CASE_RETURN_STR(IRP_MN_ENABLE_EVENTS); // 0x04
161  CASE_RETURN_STR(IRP_MN_DISABLE_EVENTS); // 0x05
162  CASE_RETURN_STR(IRP_MN_ENABLE_COLLECTION); // 0x06
163  CASE_RETURN_STR(IRP_MN_DISABLE_COLLECTION); // 0x07
164  CASE_RETURN_STR(IRP_MN_REGINFO); // 0x08
165  CASE_RETURN_STR(IRP_MN_EXECUTE_METHOD); // 0x09
166  default:
167  functionName[sizeof(functionName) - 1] = '\0';
168  _snprintf(functionName, sizeof(functionName) - 1,
169  // sprintf(functionName,
170  "Unknown System IRP (0x%x)", minor_code);
171  return functionName;
172  }
173 }
174 
175 #endif // VFD_PNP
176 
177 
178 #include <ntdddisk.h>
179 #ifndef __REACTOS__
180 #include <ntddft.h>
181 #endif
182 #include <ntddstor.h>
183 
184 #if (VER_PRODUCTBUILD < 2195)
185 //
186 // imports from Win2K DDK
187 //
188 
189 // mountmgr.h
190 
191 #define MOUNTMGRCONTROLTYPE ((ULONG) 'm')
192 #define MOUNTDEVCONTROLTYPE ((ULONG) 'M')
193 /*
194 #define IOCTL_MOUNTMGR_CREATE_POINT \
195  CTL_CODE(MOUNTMGRCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
196 #define IOCTL_MOUNTMGR_DELETE_POINTS \
197  CTL_CODE(MOUNTMGRCONTROLTYPE, 1, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
198 */
199 #define IOCTL_MOUNTMGR_QUERY_POINTS \
200  CTL_CODE(MOUNTMGRCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
201 #define IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY \
202  CTL_CODE(MOUNTMGRCONTROLTYPE, 3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
203 #define IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER \
204  CTL_CODE(MOUNTMGRCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
205 #define IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS \
206  CTL_CODE(MOUNTMGRCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
207 #define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED \
208  CTL_CODE(MOUNTMGRCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
209 #define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED \
210  CTL_CODE(MOUNTMGRCONTROLTYPE, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
211 #define IOCTL_MOUNTMGR_CHANGE_NOTIFY \
212  CTL_CODE(MOUNTMGRCONTROLTYPE, 8, METHOD_BUFFERED, FILE_READ_ACCESS)
213 #define IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE \
214  CTL_CODE(MOUNTMGRCONTROLTYPE, 9, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
215 #define IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES \
216  CTL_CODE(MOUNTMGRCONTROLTYPE, 10, METHOD_BUFFERED, FILE_READ_ACCESS)
217 /*
218 #define IOCTL_MOUNTMGR_VOLUME_ARRIVAL_NOTIFICATION \
219  CTL_CODE(MOUNTMGRCONTROLTYPE, 11, METHOD_BUFFERED, FILE_READ_ACCESS)
220 */
221 
222 // mountdev.h
223 /*
224 #define IOCTL_MOUNTDEV_QUERY_UNIQUE_ID \
225  CTL_CODE(MOUNTDEVCONTROLTYPE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
226 #define IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY \
227  CTL_CODE(MOUNTDEVCONTROLTYPE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
228 #define IOCTL_MOUNTDEV_QUERY_DEVICE_NAME \
229  CTL_CODE(MOUNTDEVCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
230 #define IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME \
231  CTL_CODE(MOUNTDEVCONTROLTYPE, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
232 #define IOCTL_MOUNTDEV_LINK_CREATED \
233  CTL_CODE(MOUNTDEVCONTROLTYPE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
234 #define IOCTL_MOUNTDEV_LINK_DELETED \
235  CTL_CODE(MOUNTDEVCONTROLTYPE, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
236 */
237 
238 // ntdddisk.h
239 #define IOCTL_DISK_UPDATE_DRIVE_SIZE \
240  CTL_CODE(IOCTL_DISK_BASE, 0x0032, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
241 #define IOCTL_DISK_GROW_PARTITION \
242  CTL_CODE(IOCTL_DISK_BASE, 0x0034, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
243 #define IOCTL_DISK_GET_CACHE_INFORMATION \
244  CTL_CODE(IOCTL_DISK_BASE, 0x0035, METHOD_BUFFERED, FILE_READ_ACCESS)
245 #define IOCTL_DISK_SET_CACHE_INFORMATION \
246  CTL_CODE(IOCTL_DISK_BASE, 0x0036, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
247 #define IOCTL_DISK_DELETE_DRIVE_LAYOUT \
248  CTL_CODE(IOCTL_DISK_BASE, 0x0040, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
249 #define IOCTL_DISK_FORMAT_DRIVE \
250  CTL_CODE(IOCTL_DISK_BASE, 0x00f3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
251 #define IOCTL_DISK_SENSE_DEVICE \
252  CTL_CODE(IOCTL_DISK_BASE, 0x00f8, METHOD_BUFFERED, FILE_ANY_ACCESS)
253 #define IOCTL_DISK_INTERNAL_SET_NOTIFY \
254  CTL_CODE(IOCTL_DISK_BASE, 0x0102, METHOD_BUFFERED, FILE_ANY_ACCESS)
255 
256 // ntddft.h
257 #define FT_SECONDARY_READ_ALT \
258  CTL_CODE(FTTYPE, 4, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
259 #define FT_PRIMARY_READ_ALT \
260  CTL_CODE(FTTYPE, 5, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
261 #define FT_CLUSTER_SET_MEMBER_STATE \
262  CTL_CODE(FTTYPE,11, METHOD_BUFFERED, FILE_ANY_ACCESS)
263 #define FT_CLUSTER_GET_MEMBER_STATE \
264  CTL_CODE(FTTYPE,12, METHOD_BUFFERED, FILE_ANY_ACCESS)
265 
266 // ntddstor.h
267 #define IOCTL_STORAGE_LOAD_MEDIA2 \
268  CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_ANY_ACCESS)
269 #define IOCTL_STORAGE_EJECTION_CONTROL \
270  CTL_CODE(IOCTL_STORAGE_BASE, 0x0250, METHOD_BUFFERED, FILE_ANY_ACCESS)
271 #define IOCTL_STORAGE_MCN_CONTROL \
272  CTL_CODE(IOCTL_STORAGE_BASE, 0x0251, METHOD_BUFFERED, FILE_ANY_ACCESS)
273 #define IOCTL_STORAGE_GET_MEDIA_TYPES_EX \
274  CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS)
275 #define IOCTL_STORAGE_RESET_BUS \
276  CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)
277 #define IOCTL_STORAGE_RESET_DEVICE \
278  CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)
279 #define IOCTL_STORAGE_GET_DEVICE_NUMBER \
280  CTL_CODE(IOCTL_STORAGE_BASE, 0x0420, METHOD_BUFFERED, FILE_ANY_ACCESS)
281 #define IOCTL_STORAGE_PREDICT_FAILURE \
282  CTL_CODE(IOCTL_STORAGE_BASE, 0x0440, METHOD_BUFFERED, FILE_ANY_ACCESS)
283 #define IOCTL_STORAGE_QUERY_PROPERTY \
284  CTL_CODE(IOCTL_STORAGE_BASE, 0x0500, METHOD_BUFFERED, FILE_ANY_ACCESS)
285 #define OBSOLETE_IOCTL_STORAGE_RESET_BUS \
286  CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
287 #define OBSOLETE_IOCTL_STORAGE_RESET_DEVICE \
288  CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
289 
290 // ntddft2.h
291 #define FTCONTROLTYPE ((ULONG) 'g')
292 #define FT_CREATE_LOGICAL_DISK \
293  CTL_CODE(FTCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
294 #define FT_BREAK_LOGICAL_DISK \
295  CTL_CODE(FTCONTROLTYPE, 1, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
296 #define FT_ENUMERATE_LOGICAL_DISKS \
297  CTL_CODE(FTCONTROLTYPE, 2, METHOD_BUFFERED, FILE_READ_ACCESS)
298 #define FT_QUERY_LOGICAL_DISK_INFORMATION \
299  CTL_CODE(FTCONTROLTYPE, 3, METHOD_BUFFERED, FILE_READ_ACCESS)
300 #define FT_ORPHAN_LOGICAL_DISK_MEMBER \
301  CTL_CODE(FTCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
302 #define FT_REPLACE_LOGICAL_DISK_MEMBER \
303  CTL_CODE(FTCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
304 #define FT_QUERY_NT_DEVICE_NAME_FOR_LOGICAL_DISK \
305  CTL_CODE(FTCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS)
306 #define FT_INITIALIZE_LOGICAL_DISK \
307  CTL_CODE(FTCONTROLTYPE, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
308 #define FT_QUERY_DRIVE_LETTER_FOR_LOGICAL_DISK \
309  CTL_CODE(FTCONTROLTYPE, 8, METHOD_BUFFERED, FILE_READ_ACCESS)
310 #define FT_CHECK_IO \
311  CTL_CODE(FTCONTROLTYPE, 9, METHOD_BUFFERED, FILE_READ_ACCESS)
312 #define FT_SET_DRIVE_LETTER_FOR_LOGICAL_DISK \
313  CTL_CODE(FTCONTROLTYPE, 10, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
314 #define FT_QUERY_NT_DEVICE_NAME_FOR_PARTITION \
315  CTL_CODE(FTCONTROLTYPE, 12, METHOD_BUFFERED, FILE_READ_ACCESS)
316 #define FT_CHANGE_NOTIFY \
317  CTL_CODE(FTCONTROLTYPE, 13, METHOD_BUFFERED, FILE_READ_ACCESS)
318 #define FT_STOP_SYNC_OPERATIONS \
319  CTL_CODE(FTCONTROLTYPE, 14, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
320 #define FT_QUERY_LOGICAL_DISK_ID \
321  CTL_CODE(FTCONTROLTYPE, 100, METHOD_BUFFERED, FILE_READ_ACCESS)
322 #define FT_CREATE_PARTITION_LOGICAL_DISK \
323  CTL_CODE(FTCONTROLTYPE, 101, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
324 
325 // ntddvol.h
326 #define IOCTL_VOLUME_BASE ((ULONG) 'V')
327 #define IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS \
328  CTL_CODE(IOCTL_VOLUME_BASE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
329 #define IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE \
330  CTL_CODE(IOCTL_VOLUME_BASE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
331 #define IOCTL_VOLUME_ONLINE \
332  CTL_CODE(IOCTL_VOLUME_BASE, 2, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
333 #define IOCTL_VOLUME_OFFLINE \
334  CTL_CODE(IOCTL_VOLUME_BASE, 3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
335 #define IOCTL_VOLUME_IS_OFFLINE \
336  CTL_CODE(IOCTL_VOLUME_BASE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
337 #define IOCTL_VOLUME_IS_IO_CAPABLE \
338  CTL_CODE(IOCTL_VOLUME_BASE, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
339 #define IOCTL_VOLUME_QUERY_FAILOVER_SET \
340  CTL_CODE(IOCTL_VOLUME_BASE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
341 #define IOCTL_VOLUME_QUERY_VOLUME_NUMBER \
342  CTL_CODE(IOCTL_VOLUME_BASE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
343 #define IOCTL_VOLUME_LOGICAL_TO_PHYSICAL \
344  CTL_CODE(IOCTL_VOLUME_BASE, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
345 #define IOCTL_VOLUME_PHYSICAL_TO_LOGICAL \
346  CTL_CODE(IOCTL_VOLUME_BASE, 9, METHOD_BUFFERED, FILE_ANY_ACCESS)
347 
348 #else // (VER_PRODUCTBUILD < 2195)
349 
350 #include <mountmgr.h>
351 #include <mountdev.h>
352 #ifndef __REACTOS__
353 #include <ntddft2.h>
354 #endif
355 #include <ntddvol.h>
356 
357 #define FT_SECONDARY_READ_ALT \
358  CTL_CODE(FTTYPE, 4, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
359 #define FT_PRIMARY_READ_ALT \
360  CTL_CODE(FTTYPE, 5, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
361 
362 #endif // (VER_PRODUCTBUILD < 2195)
363 
364 #if (VER_PRODUCTBUILD < 2600)
365 //
366 // imports from WinXP DDK
367 //
368 
369 // mountmgr.h
370 #define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH \
371  CTL_CODE(MOUNTMGRCONTROLTYPE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
372 #define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS \
373  CTL_CODE(MOUNTMGRCONTROLTYPE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
374 
375 // mountdev.h
376 /*
377 #define IOCTL_MOUNTDEV_QUERY_STABLE_GUID \
378  CTL_CODE(MOUNTDEVCONTROLTYPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
379 */
380 
381 // ntdddisk.h
382 #define IOCTL_DISK_PERFORMANCE_OFF \
383  CTL_CODE(IOCTL_DISK_BASE, 0x0018, METHOD_BUFFERED, FILE_ANY_ACCESS)
384 /*
385 #define IOCTL_DISK_GET_PARTITION_INFO_EX \
386  CTL_CODE(IOCTL_DISK_BASE, 0x0012, METHOD_BUFFERED, FILE_ANY_ACCESS)
387 */
388 #define IOCTL_DISK_SET_PARTITION_INFO_EX \
389  CTL_CODE(IOCTL_DISK_BASE, 0x0013, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
390 #define IOCTL_DISK_GET_DRIVE_LAYOUT_EX \
391  CTL_CODE(IOCTL_DISK_BASE, 0x0014, METHOD_BUFFERED, FILE_ANY_ACCESS)
392 #define IOCTL_DISK_SET_DRIVE_LAYOUT_EX \
393  CTL_CODE(IOCTL_DISK_BASE, 0x0015, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
394 #define IOCTL_DISK_CREATE_DISK \
395  CTL_CODE(IOCTL_DISK_BASE, 0x0016, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
396 /*
397 #define IOCTL_DISK_GET_LENGTH_INFO \
398  CTL_CODE(IOCTL_DISK_BASE, 0x0017, METHOD_BUFFERED, FILE_READ_ACCESS)
399 */
400 #define IOCTL_DISK_GET_DRIVE_GEOMETRY_EX \
401  CTL_CODE(IOCTL_DISK_BASE, 0x0028, METHOD_BUFFERED, FILE_ANY_ACCESS)
402 #define IOCTL_DISK_GET_WRITE_CACHE_STATE \
403  CTL_CODE(IOCTL_DISK_BASE, 0x0037, METHOD_BUFFERED, FILE_READ_ACCESS)
404 #define IOCTL_DISK_UPDATE_PROPERTIES \
405  CTL_CODE(IOCTL_DISK_BASE, 0x0050, METHOD_BUFFERED, FILE_ANY_ACCESS)
406 
407 // ntddstor.h
408 #define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER \
409  CTL_CODE(IOCTL_STORAGE_BASE, 0x0304, METHOD_BUFFERED, FILE_ANY_ACCESS)
410 /*
411 #define IOCTL_STORAGE_GET_HOTPLUG_INFO \
412  CTL_CODE(IOCTL_STORAGE_BASE, 0x0305, METHOD_BUFFERED, FILE_ANY_ACCESS)
413 */
414 #define IOCTL_STORAGE_SET_HOTPLUG_INFO \
415  CTL_CODE(IOCTL_STORAGE_BASE, 0x0306, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
416 #define IOCTL_STORAGE_BREAK_RESERVATION \
417  CTL_CODE(IOCTL_STORAGE_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS)
418 
419 // ntddvol.h
420 #define IOCTL_VOLUME_IS_PARTITION \
421  CTL_CODE(IOCTL_VOLUME_BASE, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)
422 #define IOCTL_VOLUME_READ_PLEX \
423  CTL_CODE(IOCTL_VOLUME_BASE, 11, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
424 #define IOCTL_VOLUME_IS_CLUSTERED \
425  CTL_CODE(IOCTL_VOLUME_BASE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
426 #define IOCTL_VOLUME_SET_GPT_ATTRIBUTES \
427  CTL_CODE(IOCTL_VOLUME_BASE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
428 #define IOCTL_VOLUME_GET_GPT_ATTRIBUTES \
429  CTL_CODE(IOCTL_VOLUME_BASE, 14, METHOD_BUFFERED, FILE_ANY_ACCESS)
430 
431 #endif // (VER_PRODUCTBUILD < 2600)
432 
433 PCSTR
434 GetIoControlName(
435  ULONG ctrl_code)
436 {
437  static CHAR buf[20];
438 
439  switch (ctrl_code) {
440  //
441  // VFD control codes
442  //
443  CASE_RETURN_STR(IOCTL_VFD_OPEN_IMAGE);
444  CASE_RETURN_STR(IOCTL_VFD_CLOSE_IMAGE);
445  CASE_RETURN_STR(IOCTL_VFD_QUERY_IMAGE);
446  CASE_RETURN_STR(IOCTL_VFD_SET_LINK);
447  CASE_RETURN_STR(IOCTL_VFD_QUERY_LINK);
448  CASE_RETURN_STR(IOCTL_VFD_SET_PROTECT);
449  CASE_RETURN_STR(IOCTL_VFD_CLEAR_PROTECT);
450  CASE_RETURN_STR(IOCTL_VFD_RESET_MODIFY);
451  CASE_RETURN_STR(IOCTL_VFD_QUERY_NUMBER);
452  CASE_RETURN_STR(IOCTL_VFD_QUERY_NAME);
453  CASE_RETURN_STR(IOCTL_VFD_QUERY_VERSION);
454 
455  //
456  // Standard control codes
457  //
458  // mountmgr.h
459  CASE_RETURN_STR(IOCTL_MOUNTMGR_CREATE_POINT);
460  CASE_RETURN_STR(IOCTL_MOUNTMGR_DELETE_POINTS);
461  CASE_RETURN_STR(IOCTL_MOUNTMGR_QUERY_POINTS);
462  CASE_RETURN_STR(IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY);
463  CASE_RETURN_STR(IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER);
464  CASE_RETURN_STR(IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS);
467  CASE_RETURN_STR(IOCTL_MOUNTMGR_CHANGE_NOTIFY);
471  CASE_RETURN_STR(IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH);
472  CASE_RETURN_STR(IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS);
473  CASE_RETURN_STR(IOCTL_MOUNTDEV_QUERY_DEVICE_NAME);
474 
475  // mountdev.h
476  CASE_RETURN_STR(IOCTL_MOUNTDEV_QUERY_UNIQUE_ID);
479  CASE_RETURN_STR(IOCTL_MOUNTDEV_LINK_CREATED);
480  CASE_RETURN_STR(IOCTL_MOUNTDEV_LINK_DELETED);
481  CASE_RETURN_STR(IOCTL_MOUNTDEV_QUERY_STABLE_GUID);
482 
483  // ntdddisk.h
484  CASE_RETURN_STR(IOCTL_DISK_GET_DRIVE_GEOMETRY);
485  CASE_RETURN_STR(IOCTL_DISK_GET_PARTITION_INFO);
486  CASE_RETURN_STR(IOCTL_DISK_SET_PARTITION_INFO);
487  CASE_RETURN_STR(IOCTL_DISK_GET_DRIVE_LAYOUT);
488  CASE_RETURN_STR(IOCTL_DISK_SET_DRIVE_LAYOUT);
489  CASE_RETURN_STR(IOCTL_DISK_VERIFY);
490  CASE_RETURN_STR(IOCTL_DISK_FORMAT_TRACKS);
491  CASE_RETURN_STR(IOCTL_DISK_REASSIGN_BLOCKS);
492  CASE_RETURN_STR(IOCTL_DISK_PERFORMANCE);
493  CASE_RETURN_STR(IOCTL_DISK_IS_WRITABLE);
494  CASE_RETURN_STR(IOCTL_DISK_LOGGING);
495  CASE_RETURN_STR(IOCTL_DISK_FORMAT_TRACKS_EX);
496  CASE_RETURN_STR(IOCTL_DISK_HISTOGRAM_STRUCTURE);
497  CASE_RETURN_STR(IOCTL_DISK_HISTOGRAM_DATA);
498  CASE_RETURN_STR(IOCTL_DISK_HISTOGRAM_RESET);
499  CASE_RETURN_STR(IOCTL_DISK_REQUEST_STRUCTURE);
500  CASE_RETURN_STR(IOCTL_DISK_REQUEST_DATA);
501  CASE_RETURN_STR(IOCTL_DISK_PERFORMANCE_OFF);
502  CASE_RETURN_STR(IOCTL_DISK_CONTROLLER_NUMBER);
503  CASE_RETURN_STR(SMART_GET_VERSION);
504  CASE_RETURN_STR(SMART_SEND_DRIVE_COMMAND);
505  CASE_RETURN_STR(SMART_RCV_DRIVE_DATA);
506  CASE_RETURN_STR(IOCTL_DISK_GET_PARTITION_INFO_EX);
507  CASE_RETURN_STR(IOCTL_DISK_SET_PARTITION_INFO_EX);
508  CASE_RETURN_STR(IOCTL_DISK_GET_DRIVE_LAYOUT_EX);
509  CASE_RETURN_STR(IOCTL_DISK_SET_DRIVE_LAYOUT_EX);
510  CASE_RETURN_STR(IOCTL_DISK_CREATE_DISK);
511  CASE_RETURN_STR(IOCTL_DISK_GET_LENGTH_INFO);
512  CASE_RETURN_STR(IOCTL_DISK_GET_DRIVE_GEOMETRY_EX);
513  CASE_RETURN_STR(IOCTL_DISK_UPDATE_DRIVE_SIZE);
514  CASE_RETURN_STR(IOCTL_DISK_GROW_PARTITION);
515  CASE_RETURN_STR(IOCTL_DISK_GET_CACHE_INFORMATION);
516  CASE_RETURN_STR(IOCTL_DISK_SET_CACHE_INFORMATION);
517 #if (NTDDI_VERSION < NTDDI_WS03)
518  CASE_RETURN_STR(IOCTL_DISK_GET_WRITE_CACHE_STATE);
519 #else
520  CASE_RETURN_STR(OBSOLETE_DISK_GET_WRITE_CACHE_STATE);
521 #endif
522  CASE_RETURN_STR(IOCTL_DISK_DELETE_DRIVE_LAYOUT);
523  CASE_RETURN_STR(IOCTL_DISK_UPDATE_PROPERTIES);
524  CASE_RETURN_STR(IOCTL_DISK_FORMAT_DRIVE);
525  CASE_RETURN_STR(IOCTL_DISK_SENSE_DEVICE);
526  CASE_RETURN_STR(IOCTL_DISK_INTERNAL_SET_VERIFY);
527  CASE_RETURN_STR(IOCTL_DISK_INTERNAL_CLEAR_VERIFY);
528  CASE_RETURN_STR(IOCTL_DISK_INTERNAL_SET_NOTIFY);
529  CASE_RETURN_STR(IOCTL_DISK_CHECK_VERIFY);
530  CASE_RETURN_STR(IOCTL_DISK_MEDIA_REMOVAL);
531  CASE_RETURN_STR(IOCTL_DISK_EJECT_MEDIA);
532  CASE_RETURN_STR(IOCTL_DISK_LOAD_MEDIA);
533  CASE_RETURN_STR(IOCTL_DISK_RESERVE);
534  CASE_RETURN_STR(IOCTL_DISK_RELEASE);
535  CASE_RETURN_STR(IOCTL_DISK_FIND_NEW_DEVICES);
536  CASE_RETURN_STR(IOCTL_DISK_GET_MEDIA_TYPES);
537  CASE_RETURN_STR(IOCTL_DISK_SIMBAD);
538 
539 #ifndef __REACTOS__
540  // ntddft.h
541  CASE_RETURN_STR(FT_INITIALIZE_SET);
542  CASE_RETURN_STR(FT_REGENERATE);
543  CASE_RETURN_STR(FT_CONFIGURE);
544  CASE_RETURN_STR(FT_VERIFY);
545  CASE_RETURN_STR(FT_SECONDARY_READ);
546  CASE_RETURN_STR(FT_PRIMARY_READ);
547  CASE_RETURN_STR(FT_BALANCED_READ_MODE);
548  CASE_RETURN_STR(FT_SYNC_REDUNDANT_COPY);
549  CASE_RETURN_STR(FT_SEQUENTIAL_WRITE_MODE);
550  CASE_RETURN_STR(FT_PARALLEL_WRITE_MODE);
551  CASE_RETURN_STR(FT_QUERY_SET_STATE);
552  CASE_RETURN_STR(FT_CLUSTER_SET_MEMBER_STATE);
553  CASE_RETURN_STR(FT_CLUSTER_GET_MEMBER_STATE);
554 
555  // ntddft2.h
556  CASE_RETURN_STR(FT_CREATE_LOGICAL_DISK);
557  CASE_RETURN_STR(FT_BREAK_LOGICAL_DISK);
558  CASE_RETURN_STR(FT_ENUMERATE_LOGICAL_DISKS);
559  CASE_RETURN_STR(FT_QUERY_LOGICAL_DISK_INFORMATION);
560  CASE_RETURN_STR(FT_ORPHAN_LOGICAL_DISK_MEMBER);
561  CASE_RETURN_STR(FT_REPLACE_LOGICAL_DISK_MEMBER);
562  CASE_RETURN_STR(FT_QUERY_NT_DEVICE_NAME_FOR_LOGICAL_DISK);
563  CASE_RETURN_STR(FT_INITIALIZE_LOGICAL_DISK);
564  CASE_RETURN_STR(FT_QUERY_DRIVE_LETTER_FOR_LOGICAL_DISK);
565  CASE_RETURN_STR(FT_CHECK_IO);
566  CASE_RETURN_STR(FT_SET_DRIVE_LETTER_FOR_LOGICAL_DISK);
567  CASE_RETURN_STR(FT_QUERY_NT_DEVICE_NAME_FOR_PARTITION);
568  CASE_RETURN_STR(FT_CHANGE_NOTIFY);
569  CASE_RETURN_STR(FT_STOP_SYNC_OPERATIONS);
570  CASE_RETURN_STR(FT_QUERY_LOGICAL_DISK_ID);
571  CASE_RETURN_STR(FT_CREATE_PARTITION_LOGICAL_DISK);
572 #endif
573 
574  // ntddstor.h
575  CASE_RETURN_STR(IOCTL_STORAGE_CHECK_VERIFY);
576  CASE_RETURN_STR(IOCTL_STORAGE_CHECK_VERIFY2);
577  CASE_RETURN_STR(IOCTL_STORAGE_MEDIA_REMOVAL);
578  CASE_RETURN_STR(IOCTL_STORAGE_EJECT_MEDIA);
579  CASE_RETURN_STR(IOCTL_STORAGE_LOAD_MEDIA);
580  CASE_RETURN_STR(IOCTL_STORAGE_LOAD_MEDIA2);
581  CASE_RETURN_STR(IOCTL_STORAGE_RESERVE);
582  CASE_RETURN_STR(IOCTL_STORAGE_RELEASE);
583  CASE_RETURN_STR(IOCTL_STORAGE_FIND_NEW_DEVICES);
584  CASE_RETURN_STR(IOCTL_STORAGE_EJECTION_CONTROL);
585  CASE_RETURN_STR(IOCTL_STORAGE_MCN_CONTROL);
586  CASE_RETURN_STR(IOCTL_STORAGE_GET_MEDIA_TYPES);
587  CASE_RETURN_STR(IOCTL_STORAGE_GET_MEDIA_TYPES_EX);
588  CASE_RETURN_STR(IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER);
589  CASE_RETURN_STR(IOCTL_STORAGE_GET_HOTPLUG_INFO);
590  CASE_RETURN_STR(IOCTL_STORAGE_SET_HOTPLUG_INFO);
591  CASE_RETURN_STR(IOCTL_STORAGE_RESET_BUS);
592  CASE_RETURN_STR(IOCTL_STORAGE_RESET_DEVICE);
593  CASE_RETURN_STR(IOCTL_STORAGE_BREAK_RESERVATION);
594  CASE_RETURN_STR(IOCTL_STORAGE_GET_DEVICE_NUMBER);
595  CASE_RETURN_STR(IOCTL_STORAGE_PREDICT_FAILURE);
596  CASE_RETURN_STR(IOCTL_STORAGE_QUERY_PROPERTY);
597  CASE_RETURN_STR(OBSOLETE_IOCTL_STORAGE_RESET_BUS);
598  CASE_RETURN_STR(OBSOLETE_IOCTL_STORAGE_RESET_DEVICE);
599 
600  // ntddvol.h
601  CASE_RETURN_STR(IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS);
602  CASE_RETURN_STR(IOCTL_VOLUME_IS_CLUSTERED);
603  CASE_RETURN_STR(IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE);
604  CASE_RETURN_STR(IOCTL_VOLUME_ONLINE);
605  CASE_RETURN_STR(IOCTL_VOLUME_OFFLINE);
606  CASE_RETURN_STR(IOCTL_VOLUME_IS_OFFLINE);
607  CASE_RETURN_STR(IOCTL_VOLUME_IS_IO_CAPABLE);
608  CASE_RETURN_STR(IOCTL_VOLUME_QUERY_FAILOVER_SET);
609  CASE_RETURN_STR(IOCTL_VOLUME_QUERY_VOLUME_NUMBER);
610  CASE_RETURN_STR(IOCTL_VOLUME_LOGICAL_TO_PHYSICAL);
611  CASE_RETURN_STR(IOCTL_VOLUME_PHYSICAL_TO_LOGICAL);
612  CASE_RETURN_STR(IOCTL_VOLUME_IS_PARTITION);
613  CASE_RETURN_STR(IOCTL_VOLUME_READ_PLEX);
614  CASE_RETURN_STR(IOCTL_VOLUME_SET_GPT_ATTRIBUTES);
615  CASE_RETURN_STR(IOCTL_VOLUME_GET_GPT_ATTRIBUTES);
616 
617  default:
618  buf[sizeof(buf) - 1] = '\0';
619  _snprintf(buf, sizeof(buf) - 1,
620  // sprintf(buf,
621  "Unknown IOCTL: 0x%08x", ctrl_code);
622  return buf;
623  }
624 }
625 
626 #if (VER_PRODUCTBUILD < 2195)
627 //
628 // from new <ntstatus.h>
629 //
630 #define FACILITY_USB_ERROR_CODE 0x10
631 #define FACILITY_TERMINAL_SERVER 0xA
632 #define FACILITY_HID_ERROR_CODE 0x11
633 #define FACILITY_FIREWIRE_ERROR_CODE 0x12
634 #define FACILITY_DEBUGGER 0x1
635 #define FACILITY_CLUSTER_ERROR_CODE 0x13
636 #define FACILITY_ACPI_ERROR_CODE 0x14
637 #define STATUS_RESOURCE_REQUIREMENTS_CHANGED ((NTSTATUS)0x00000119L)
638 #define STATUS_TRANSLATION_COMPLETE ((NTSTATUS)0x00000120L)
639 #define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY ((NTSTATUS)0x00000121L)
640 #define DBG_EXCEPTION_HANDLED ((NTSTATUS)0x00010001L)
641 #define DBG_CONTINUE ((NTSTATUS)0x00010002L)
642 #define STATUS_ARBITRATION_UNHANDLED ((NTSTATUS)0x40000026L)
643 #define STATUS_CARDBUS_NOT_SUPPORTED ((NTSTATUS)0x40000027L)
644 #define STATUS_WX86_CREATEWX86TIB ((NTSTATUS)0x40000028L)
645 #define STATUS_MP_PROCESSOR_MISMATCH ((NTSTATUS)0x40000029L)
646 #define DBG_REPLY_LATER ((NTSTATUS)0x40010001L)
647 #define DBG_UNABLE_TO_PROVIDE_HANDLE ((NTSTATUS)0x40010002L)
648 #define DBG_TERMINATE_THREAD ((NTSTATUS)0x40010003L)
649 #define DBG_TERMINATE_PROCESS ((NTSTATUS)0x40010004L)
650 #define DBG_CONTROL_C ((NTSTATUS)0x40010005L)
651 #define DBG_PRINTEXCEPTION_C ((NTSTATUS)0x40010006L)
652 #define DBG_RIPEXCEPTION ((NTSTATUS)0x40010007L)
653 #define DBG_CONTROL_BREAK ((NTSTATUS)0x40010008L)
654 #define DBG_EXCEPTION_NOT_HANDLED ((NTSTATUS)0x80010001L)
655 #define STATUS_VALIDATE_CONTINUE ((NTSTATUS)0xC0000271L)
656 #define STATUS_NO_MATCH ((NTSTATUS)0xC0000272L)
657 #define STATUS_NO_MORE_MATCHES ((NTSTATUS)0xC0000273L)
658 #define STATUS_NOT_A_REPARSE_POINT ((NTSTATUS)0xC0000275L)
659 #define STATUS_IO_REPARSE_TAG_INVALID ((NTSTATUS)0xC0000276L)
660 #define STATUS_IO_REPARSE_TAG_MISMATCH ((NTSTATUS)0xC0000277L)
661 #define STATUS_IO_REPARSE_DATA_INVALID ((NTSTATUS)0xC0000278L)
662 #define STATUS_IO_REPARSE_TAG_NOT_HANDLED ((NTSTATUS)0xC0000279L)
663 #define STATUS_REPARSE_POINT_NOT_RESOLVED ((NTSTATUS)0xC0000280L)
664 #define STATUS_DIRECTORY_IS_A_REPARSE_POINT ((NTSTATUS)0xC0000281L)
665 #define STATUS_RANGE_LIST_CONFLICT ((NTSTATUS)0xC0000282L)
666 #define STATUS_SOURCE_ELEMENT_EMPTY ((NTSTATUS)0xC0000283L)
667 #define STATUS_DESTINATION_ELEMENT_FULL ((NTSTATUS)0xC0000284L)
668 #define STATUS_ILLEGAL_ELEMENT_ADDRESS ((NTSTATUS)0xC0000285L)
669 #define STATUS_MAGAZINE_NOT_PRESENT ((NTSTATUS)0xC0000286L)
670 #define STATUS_REINITIALIZATION_NEEDED ((NTSTATUS)0xC0000287L)
671 #define STATUS_DEVICE_REQUIRES_CLEANING ((NTSTATUS)0x80000288L)
672 #define STATUS_DEVICE_DOOR_OPEN ((NTSTATUS)0x80000289L)
673 #define STATUS_ENCRYPTION_FAILED ((NTSTATUS)0xC000028AL)
674 #define STATUS_DECRYPTION_FAILED ((NTSTATUS)0xC000028BL)
675 #define STATUS_RANGE_NOT_FOUND ((NTSTATUS)0xC000028CL)
676 #define STATUS_NO_RECOVERY_POLICY ((NTSTATUS)0xC000028DL)
677 #define STATUS_NO_EFS ((NTSTATUS)0xC000028EL)
678 #define STATUS_WRONG_EFS ((NTSTATUS)0xC000028FL)
679 #define STATUS_NO_USER_KEYS ((NTSTATUS)0xC0000290L)
680 #define STATUS_FILE_NOT_ENCRYPTED ((NTSTATUS)0xC0000291L)
681 #define STATUS_NOT_EXPORT_FORMAT ((NTSTATUS)0xC0000292L)
682 #define STATUS_FILE_ENCRYPTED ((NTSTATUS)0xC0000293L)
683 #define STATUS_WAKE_SYSTEM ((NTSTATUS)0x40000294L)
684 #define STATUS_WMI_GUID_NOT_FOUND ((NTSTATUS)0xC0000295L)
685 #define STATUS_WMI_INSTANCE_NOT_FOUND ((NTSTATUS)0xC0000296L)
686 #define STATUS_WMI_ITEMID_NOT_FOUND ((NTSTATUS)0xC0000297L)
687 #define STATUS_WMI_TRY_AGAIN ((NTSTATUS)0xC0000298L)
688 #define STATUS_SHARED_POLICY ((NTSTATUS)0xC0000299L)
689 #define STATUS_POLICY_OBJECT_NOT_FOUND ((NTSTATUS)0xC000029AL)
690 #define STATUS_POLICY_ONLY_IN_DS ((NTSTATUS)0xC000029BL)
691 #define STATUS_VOLUME_NOT_UPGRADED ((NTSTATUS)0xC000029CL)
692 #define STATUS_REMOTE_STORAGE_NOT_ACTIVE ((NTSTATUS)0xC000029DL)
693 #define STATUS_REMOTE_STORAGE_MEDIA_ERROR ((NTSTATUS)0xC000029EL)
694 #define STATUS_NO_TRACKING_SERVICE ((NTSTATUS)0xC000029FL)
695 #define STATUS_SERVER_SID_MISMATCH ((NTSTATUS)0xC00002A0L)
696 #define STATUS_DS_NO_ATTRIBUTE_OR_VALUE ((NTSTATUS)0xC00002A1L)
697 #define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX ((NTSTATUS)0xC00002A2L)
698 #define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED ((NTSTATUS)0xC00002A3L)
699 #define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS ((NTSTATUS)0xC00002A4L)
700 #define STATUS_DS_BUSY ((NTSTATUS)0xC00002A5L)
701 #define STATUS_DS_UNAVAILABLE ((NTSTATUS)0xC00002A6L)
702 #define STATUS_DS_NO_RIDS_ALLOCATED ((NTSTATUS)0xC00002A7L)
703 #define STATUS_DS_NO_MORE_RIDS ((NTSTATUS)0xC00002A8L)
704 #define STATUS_DS_INCORRECT_ROLE_OWNER ((NTSTATUS)0xC00002A9L)
705 #define STATUS_DS_RIDMGR_INIT_ERROR ((NTSTATUS)0xC00002AAL)
706 #define STATUS_DS_OBJ_CLASS_VIOLATION ((NTSTATUS)0xC00002ABL)
707 #define STATUS_DS_CANT_ON_NON_LEAF ((NTSTATUS)0xC00002ACL)
708 #define STATUS_DS_CANT_ON_RDN ((NTSTATUS)0xC00002ADL)
709 #define STATUS_DS_CANT_MOD_OBJ_CLASS ((NTSTATUS)0xC00002AEL)
710 #define STATUS_DS_CROSS_DOM_MOVE_FAILED ((NTSTATUS)0xC00002AFL)
711 #define STATUS_DS_GC_NOT_AVAILABLE ((NTSTATUS)0xC00002B0L)
712 #define STATUS_DIRECTORY_SERVICE_REQUIRED ((NTSTATUS)0xC00002B1L)
713 #define STATUS_REPARSE_ATTRIBUTE_CONFLICT ((NTSTATUS)0xC00002B2L)
714 #define STATUS_CANT_ENABLE_DENY_ONLY ((NTSTATUS)0xC00002B3L)
715 #define STATUS_FLOAT_MULTIPLE_FAULTS ((NTSTATUS)0xC00002B4L)
716 #define STATUS_FLOAT_MULTIPLE_TRAPS ((NTSTATUS)0xC00002B5L)
717 #define STATUS_DEVICE_REMOVED ((NTSTATUS)0xC00002B6L)
718 #define STATUS_JOURNAL_DELETE_IN_PROGRESS ((NTSTATUS)0xC00002B7L)
719 #define STATUS_JOURNAL_NOT_ACTIVE ((NTSTATUS)0xC00002B8L)
720 #define STATUS_NOINTERFACE ((NTSTATUS)0xC00002B9L)
721 #define STATUS_DS_ADMIN_LIMIT_EXCEEDED ((NTSTATUS)0xC00002C1L)
722 #define STATUS_DRIVER_FAILED_SLEEP ((NTSTATUS)0xC00002C2L)
723 #define STATUS_MUTUAL_AUTHENTICATION_FAILED ((NTSTATUS)0xC00002C3L)
724 #define STATUS_CORRUPT_SYSTEM_FILE ((NTSTATUS)0xC00002C4L)
725 #define STATUS_DATATYPE_MISALIGNMENT_ERROR ((NTSTATUS)0xC00002C5L)
726 #define STATUS_WMI_READ_ONLY ((NTSTATUS)0xC00002C6L)
727 #define STATUS_WMI_SET_FAILURE ((NTSTATUS)0xC00002C7L)
728 #define STATUS_COMMITMENT_MINIMUM ((NTSTATUS)0xC00002C8L)
729 #define STATUS_REG_NAT_CONSUMPTION ((NTSTATUS)0xC00002C9L)
730 #define STATUS_TRANSPORT_FULL ((NTSTATUS)0xC00002CAL)
731 #define STATUS_DS_SAM_INIT_FAILURE ((NTSTATUS)0xC00002CBL)
732 #define STATUS_ONLY_IF_CONNECTED ((NTSTATUS)0xC00002CCL)
733 #define STATUS_DS_SENSITIVE_GROUP_VIOLATION ((NTSTATUS)0xC00002CDL)
734 #define STATUS_PNP_RESTART_ENUMERATION ((NTSTATUS)0xC00002CEL)
735 #define STATUS_JOURNAL_ENTRY_DELETED ((NTSTATUS)0xC00002CFL)
736 #define STATUS_DS_CANT_MOD_PRIMARYGROUPID ((NTSTATUS)0xC00002D0L)
737 #define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE ((NTSTATUS)0xC00002D1L)
738 #define STATUS_PNP_REBOOT_REQUIRED ((NTSTATUS)0xC00002D2L)
739 #define STATUS_POWER_STATE_INVALID ((NTSTATUS)0xC00002D3L)
740 #define STATUS_DS_INVALID_GROUP_TYPE ((NTSTATUS)0xC00002D4L)
741 #define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN ((NTSTATUS)0xC00002D5L)
742 #define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN ((NTSTATUS)0xC00002D6L)
743 #define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS)0xC00002D7L)
744 #define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS)0xC00002D8L)
745 #define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS)0xC00002D9L)
746 #define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER ((NTSTATUS)0xC00002DAL)
747 #define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER ((NTSTATUS)0xC00002DBL)
748 #define STATUS_DS_HAVE_PRIMARY_MEMBERS ((NTSTATUS)0xC00002DCL)
749 #define STATUS_WMI_NOT_SUPPORTED ((NTSTATUS)0xC00002DDL)
750 #define STATUS_INSUFFICIENT_POWER ((NTSTATUS)0xC00002DEL)
751 #define STATUS_SAM_NEED_BOOTKEY_PASSWORD ((NTSTATUS)0xC00002DFL)
752 #define STATUS_SAM_NEED_BOOTKEY_FLOPPY ((NTSTATUS)0xC00002E0L)
753 #define STATUS_DS_CANT_START ((NTSTATUS)0xC00002E1L)
754 #define STATUS_DS_INIT_FAILURE ((NTSTATUS)0xC00002E2L)
755 #define STATUS_SAM_INIT_FAILURE ((NTSTATUS)0xC00002E3L)
756 #define STATUS_DS_GC_REQUIRED ((NTSTATUS)0xC00002E4L)
757 #define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY ((NTSTATUS)0xC00002E5L)
758 #define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS ((NTSTATUS)0xC00002E6L)
759 #define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED ((NTSTATUS)0xC00002E7L)
760 #define STATUS_MULTIPLE_FAULT_VIOLATION ((NTSTATUS)0xC00002E8L)
761 #define STATUS_NOT_SUPPORTED_ON_SBS ((NTSTATUS)0xC0000300L)
762 #define DBG_NO_STATE_CHANGE ((NTSTATUS)0xC0010001L)
763 #define DBG_APP_NOT_IDLE ((NTSTATUS)0xC0010002L)
764 #define RPC_NT_PIPE_CLOSED ((NTSTATUS)0xC003005FL)
765 #define RPC_NT_PIPE_DISCIPLINE_ERROR ((NTSTATUS)0xC0030060L)
766 #define RPC_NT_PIPE_EMPTY ((NTSTATUS)0xC0030061L)
767 #define RPC_NT_INVALID_ASYNC_HANDLE ((NTSTATUS)0xC0020062L)
768 #define RPC_NT_INVALID_ASYNC_CALL ((NTSTATUS)0xC0020063L)
769 #define STATUS_ACPI_INVALID_OPCODE ((NTSTATUS)0xC0140001L)
770 #define STATUS_ACPI_STACK_OVERFLOW ((NTSTATUS)0xC0140002L)
771 #define STATUS_ACPI_ASSERT_FAILED ((NTSTATUS)0xC0140003L)
772 #define STATUS_ACPI_INVALID_INDEX ((NTSTATUS)0xC0140004L)
773 #define STATUS_ACPI_INVALID_ARGUMENT ((NTSTATUS)0xC0140005L)
774 #define STATUS_ACPI_FATAL ((NTSTATUS)0xC0140006L)
775 #define STATUS_ACPI_INVALID_SUPERNAME ((NTSTATUS)0xC0140007L)
776 #define STATUS_ACPI_INVALID_ARGTYPE ((NTSTATUS)0xC0140008L)
777 #define STATUS_ACPI_INVALID_OBJTYPE ((NTSTATUS)0xC0140009L)
778 #define STATUS_ACPI_INVALID_TARGETTYPE ((NTSTATUS)0xC014000AL)
779 #define STATUS_ACPI_INCORRECT_ARGUMENT_COUNT ((NTSTATUS)0xC014000BL)
780 #define STATUS_ACPI_ADDRESS_NOT_MAPPED ((NTSTATUS)0xC014000CL)
781 #define STATUS_ACPI_INVALID_EVENTTYPE ((NTSTATUS)0xC014000DL)
782 #define STATUS_ACPI_HANDLER_COLLISION ((NTSTATUS)0xC014000EL)
783 #define STATUS_ACPI_INVALID_DATA ((NTSTATUS)0xC014000FL)
784 #define STATUS_ACPI_INVALID_REGION ((NTSTATUS)0xC0140010L)
785 #define STATUS_ACPI_INVALID_ACCESS_SIZE ((NTSTATUS)0xC0140011L)
786 #define STATUS_ACPI_ACQUIRE_GLOBAL_LOCK ((NTSTATUS)0xC0140012L)
787 #define STATUS_ACPI_ALREADY_INITIALIZED ((NTSTATUS)0xC0140013L)
788 #define STATUS_ACPI_NOT_INITIALIZED ((NTSTATUS)0xC0140014L)
789 #define STATUS_ACPI_INVALID_MUTEX_LEVEL ((NTSTATUS)0xC0140015L)
790 #define STATUS_ACPI_MUTEX_NOT_OWNED ((NTSTATUS)0xC0140016L)
791 #define STATUS_ACPI_MUTEX_NOT_OWNER ((NTSTATUS)0xC0140017L)
792 #define STATUS_ACPI_RS_ACCESS ((NTSTATUS)0xC0140018L)
793 #define STATUS_ACPI_INVALID_TABLE ((NTSTATUS)0xC0140019L)
794 #define STATUS_ACPI_REG_HANDLER_FAILED ((NTSTATUS)0xC0140020L)
795 #define STATUS_ACPI_POWER_REQUEST_FAILED ((NTSTATUS)0xC0140021L)
796 #define STATUS_CTX_WINSTATION_NAME_INVALID ((NTSTATUS)0xC00A0001L)
797 #define STATUS_CTX_INVALID_PD ((NTSTATUS)0xC00A0002L)
798 #define STATUS_CTX_PD_NOT_FOUND ((NTSTATUS)0xC00A0003L)
799 #define STATUS_CTX_CDM_CONNECT ((NTSTATUS)0x400A0004L)
800 #define STATUS_CTX_CDM_DISCONNECT ((NTSTATUS)0x400A0005L)
801 #define STATUS_CTX_CLOSE_PENDING ((NTSTATUS)0xC00A0006L)
802 #define STATUS_CTX_NO_OUTBUF ((NTSTATUS)0xC00A0007L)
803 #define STATUS_CTX_MODEM_INF_NOT_FOUND ((NTSTATUS)0xC00A0008L)
804 #define STATUS_CTX_INVALID_MODEMNAME ((NTSTATUS)0xC00A0009L)
805 #define STATUS_CTX_RESPONSE_ERROR ((NTSTATUS)0xC00A000AL)
806 #define STATUS_CTX_MODEM_RESPONSE_TIMEOUT ((NTSTATUS)0xC00A000BL)
807 #define STATUS_CTX_MODEM_RESPONSE_NO_CARRIER ((NTSTATUS)0xC00A000CL)
808 #define STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE ((NTSTATUS)0xC00A000DL)
809 #define STATUS_CTX_MODEM_RESPONSE_BUSY ((NTSTATUS)0xC00A000EL)
810 #define STATUS_CTX_MODEM_RESPONSE_VOICE ((NTSTATUS)0xC00A000FL)
811 #define STATUS_CTX_TD_ERROR ((NTSTATUS)0xC00A0010L)
812 #define STATUS_CTX_LICENSE_CLIENT_INVALID ((NTSTATUS)0xC00A0012L)
813 #define STATUS_CTX_LICENSE_NOT_AVAILABLE ((NTSTATUS)0xC00A0013L)
814 #define STATUS_CTX_LICENSE_EXPIRED ((NTSTATUS)0xC00A0014L)
815 #define STATUS_CTX_WINSTATION_NOT_FOUND ((NTSTATUS)0xC00A0015L)
816 #define STATUS_CTX_WINSTATION_NAME_COLLISION ((NTSTATUS)0xC00A0016L)
817 #define STATUS_CTX_WINSTATION_BUSY ((NTSTATUS)0xC00A0017L)
818 #define STATUS_CTX_BAD_VIDEO_MODE ((NTSTATUS)0xC00A0018L)
819 #define STATUS_CTX_GRAPHICS_INVALID ((NTSTATUS)0xC00A0022L)
820 #define STATUS_CTX_NOT_CONSOLE ((NTSTATUS)0xC00A0024L)
821 #define STATUS_CTX_CLIENT_QUERY_TIMEOUT ((NTSTATUS)0xC00A0026L)
822 #define STATUS_CTX_CONSOLE_DISCONNECT ((NTSTATUS)0xC00A0027L)
823 #define STATUS_CTX_CONSOLE_CONNECT ((NTSTATUS)0xC00A0028L)
824 #define STATUS_CTX_SHADOW_DENIED ((NTSTATUS)0xC00A002AL)
825 #define STATUS_CTX_WINSTATION_ACCESS_DENIED ((NTSTATUS)0xC00A002BL)
826 #define STATUS_CTX_INVALID_WD ((NTSTATUS)0xC00A002EL)
827 #define STATUS_CTX_WD_NOT_FOUND ((NTSTATUS)0xC00A002FL)
828 #define STATUS_CTX_SHADOW_INVALID ((NTSTATUS)0xC00A0030L)
829 #define STATUS_CTX_SHADOW_DISABLED ((NTSTATUS)0xC00A0031L)
830 #define STATUS_RDP_PROTOCOL_ERROR ((NTSTATUS)0xC00A0032L)
831 #define STATUS_CTX_CLIENT_LICENSE_NOT_SET ((NTSTATUS)0xC00A0033L)
832 #define STATUS_CTX_CLIENT_LICENSE_IN_USE ((NTSTATUS)0xC00A0034L)
833 #define STATUS_PNP_BAD_MPS_TABLE ((NTSTATUS)0xC0040035L)
834 #define STATUS_PNP_TRANSLATION_FAILED ((NTSTATUS)0xC0040036L)
835 #define STATUS_PNP_IRQ_TRANSLATION_FAILED ((NTSTATUS)0xC0040037L)
836 #endif // VER_PRODUCTBUILD < 2195
837 
838 static PCSTR
839 NtStatusToStr(
840  NTSTATUS status);
841 
842 PCSTR
843 GetStatusName(
845 {
846  static CHAR statusName[80];
847  CHAR severity;
848 
849  switch (status & 0xf0000000) {
850  case 0x00000000: severity = 'S'; break;
851  case 0x40000000: severity = 'I'; break;
852  case 0x80000000: severity = 'W'; break;
853  case 0xC0000000: severity = 'E'; break;
854  default: severity = '?';
855  }
856 
857  statusName[sizeof(statusName) - 1] = '\0';
858  _snprintf(statusName, sizeof(statusName) - 1,
859  // sprintf(statusName,
860  "(%c)%s", severity, NtStatusToStr(status));
861 
862  return statusName;
863 }
864 
865 PCSTR
866 NtStatusToStr(
868 {
869  switch (status) {
870  CASE_RETURN_STR(STATUS_SUCCESS);
871 /*
872  CASE_RETURN_STR(STATUS_WAIT_0);
873 */
874  CASE_RETURN_STR(STATUS_WAIT_1);
875  CASE_RETURN_STR(STATUS_WAIT_2);
876  CASE_RETURN_STR(STATUS_WAIT_3);
877  CASE_RETURN_STR(STATUS_WAIT_63);
878  CASE_RETURN_STR(STATUS_ABANDONED);
879 /*
880  CASE_RETURN_STR(STATUS_ABANDONED_WAIT_0);
881 */
882  CASE_RETURN_STR(STATUS_ABANDONED_WAIT_63);
883  CASE_RETURN_STR(STATUS_USER_APC);
884  CASE_RETURN_STR(STATUS_KERNEL_APC);
885  CASE_RETURN_STR(STATUS_ALERTED);
886  CASE_RETURN_STR(STATUS_TIMEOUT);
887  CASE_RETURN_STR(STATUS_PENDING);
888  CASE_RETURN_STR(STATUS_REPARSE);
889  CASE_RETURN_STR(STATUS_MORE_ENTRIES);
890  CASE_RETURN_STR(STATUS_NOT_ALL_ASSIGNED);
891  CASE_RETURN_STR(STATUS_SOME_NOT_MAPPED);
892  CASE_RETURN_STR(STATUS_OPLOCK_BREAK_IN_PROGRESS);
893  CASE_RETURN_STR(STATUS_VOLUME_MOUNTED);
894  CASE_RETURN_STR(STATUS_RXACT_COMMITTED);
895  CASE_RETURN_STR(STATUS_NOTIFY_CLEANUP);
896  CASE_RETURN_STR(STATUS_NOTIFY_ENUM_DIR);
897  CASE_RETURN_STR(STATUS_NO_QUOTAS_FOR_ACCOUNT);
899  CASE_RETURN_STR(STATUS_PAGE_FAULT_TRANSITION);
900  CASE_RETURN_STR(STATUS_PAGE_FAULT_DEMAND_ZERO);
901  CASE_RETURN_STR(STATUS_PAGE_FAULT_COPY_ON_WRITE);
902  CASE_RETURN_STR(STATUS_PAGE_FAULT_GUARD_PAGE);
903  CASE_RETURN_STR(STATUS_PAGE_FAULT_PAGING_FILE);
904  CASE_RETURN_STR(STATUS_CACHE_PAGE_LOCKED);
905  CASE_RETURN_STR(STATUS_CRASH_DUMP);
906  CASE_RETURN_STR(STATUS_BUFFER_ALL_ZEROS);
907  CASE_RETURN_STR(STATUS_REPARSE_OBJECT);
908  CASE_RETURN_STR(STATUS_RESOURCE_REQUIREMENTS_CHANGED);
909  CASE_RETURN_STR(STATUS_TRANSLATION_COMPLETE);
911  CASE_RETURN_STR(DBG_EXCEPTION_HANDLED);
912  CASE_RETURN_STR(DBG_CONTINUE);
913  CASE_RETURN_STR(STATUS_OBJECT_NAME_EXISTS);
914  CASE_RETURN_STR(STATUS_THREAD_WAS_SUSPENDED);
915  CASE_RETURN_STR(STATUS_WORKING_SET_LIMIT_RANGE);
916  CASE_RETURN_STR(STATUS_IMAGE_NOT_AT_BASE);
917  CASE_RETURN_STR(STATUS_RXACT_STATE_CREATED);
918  CASE_RETURN_STR(STATUS_SEGMENT_NOTIFICATION);
919  CASE_RETURN_STR(STATUS_LOCAL_USER_SESSION_KEY);
920  CASE_RETURN_STR(STATUS_BAD_CURRENT_DIRECTORY);
921  CASE_RETURN_STR(STATUS_SERIAL_MORE_WRITES);
922  CASE_RETURN_STR(STATUS_REGISTRY_RECOVERED);
923  CASE_RETURN_STR(STATUS_FT_READ_RECOVERY_FROM_BACKUP);
924  CASE_RETURN_STR(STATUS_FT_WRITE_RECOVERY);
925  CASE_RETURN_STR(STATUS_SERIAL_COUNTER_TIMEOUT);
926  CASE_RETURN_STR(STATUS_NULL_LM_PASSWORD);
927  CASE_RETURN_STR(STATUS_IMAGE_MACHINE_TYPE_MISMATCH);
928  CASE_RETURN_STR(STATUS_RECEIVE_PARTIAL);
929  CASE_RETURN_STR(STATUS_RECEIVE_EXPEDITED);
930  CASE_RETURN_STR(STATUS_RECEIVE_PARTIAL_EXPEDITED);
931  CASE_RETURN_STR(STATUS_EVENT_DONE);
932  CASE_RETURN_STR(STATUS_EVENT_PENDING);
933  CASE_RETURN_STR(STATUS_CHECKING_FILE_SYSTEM);
934  CASE_RETURN_STR(STATUS_FATAL_APP_EXIT);
935  CASE_RETURN_STR(STATUS_PREDEFINED_HANDLE);
936  CASE_RETURN_STR(STATUS_WAS_UNLOCKED);
937  CASE_RETURN_STR(STATUS_SERVICE_NOTIFICATION);
938  CASE_RETURN_STR(STATUS_WAS_LOCKED);
939  CASE_RETURN_STR(STATUS_LOG_HARD_ERROR);
940  CASE_RETURN_STR(STATUS_ALREADY_WIN32);
941  CASE_RETURN_STR(STATUS_WX86_UNSIMULATE);
942  CASE_RETURN_STR(STATUS_WX86_CONTINUE);
943  CASE_RETURN_STR(STATUS_WX86_SINGLE_STEP);
944  CASE_RETURN_STR(STATUS_WX86_BREAKPOINT);
945  CASE_RETURN_STR(STATUS_WX86_EXCEPTION_CONTINUE);
946  CASE_RETURN_STR(STATUS_WX86_EXCEPTION_LASTCHANCE);
947  CASE_RETURN_STR(STATUS_WX86_EXCEPTION_CHAIN);
949  CASE_RETURN_STR(STATUS_NO_YIELD_PERFORMED);
950  CASE_RETURN_STR(STATUS_TIMER_RESUME_IGNORED);
951  CASE_RETURN_STR(STATUS_ARBITRATION_UNHANDLED);
952  CASE_RETURN_STR(STATUS_CARDBUS_NOT_SUPPORTED);
953  CASE_RETURN_STR(STATUS_WX86_CREATEWX86TIB);
954  CASE_RETURN_STR(STATUS_MP_PROCESSOR_MISMATCH);
955  CASE_RETURN_STR(DBG_REPLY_LATER);
956  CASE_RETURN_STR(DBG_UNABLE_TO_PROVIDE_HANDLE);
957  CASE_RETURN_STR(DBG_TERMINATE_THREAD);
958  CASE_RETURN_STR(DBG_TERMINATE_PROCESS);
959  CASE_RETURN_STR(DBG_CONTROL_C);
960  CASE_RETURN_STR(DBG_PRINTEXCEPTION_C);
961  CASE_RETURN_STR(DBG_RIPEXCEPTION);
962  CASE_RETURN_STR(DBG_CONTROL_BREAK);
963  CASE_RETURN_STR(STATUS_GUARD_PAGE_VIOLATION);
964  CASE_RETURN_STR(STATUS_DATATYPE_MISALIGNMENT);
965  CASE_RETURN_STR(STATUS_BREAKPOINT);
966  CASE_RETURN_STR(STATUS_SINGLE_STEP);
967  CASE_RETURN_STR(STATUS_BUFFER_OVERFLOW);
968  CASE_RETURN_STR(STATUS_NO_MORE_FILES);
969  CASE_RETURN_STR(STATUS_WAKE_SYSTEM_DEBUGGER);
970  CASE_RETURN_STR(STATUS_HANDLES_CLOSED);
971  CASE_RETURN_STR(STATUS_NO_INHERITANCE);
972  CASE_RETURN_STR(STATUS_GUID_SUBSTITUTION_MADE);
973  CASE_RETURN_STR(STATUS_PARTIAL_COPY);
974  CASE_RETURN_STR(STATUS_DEVICE_PAPER_EMPTY);
975  CASE_RETURN_STR(STATUS_DEVICE_POWERED_OFF);
976  CASE_RETURN_STR(STATUS_DEVICE_OFF_LINE);
977  CASE_RETURN_STR(STATUS_DEVICE_BUSY);
978  CASE_RETURN_STR(STATUS_NO_MORE_EAS);
979  CASE_RETURN_STR(STATUS_INVALID_EA_NAME);
980  CASE_RETURN_STR(STATUS_EA_LIST_INCONSISTENT);
981  CASE_RETURN_STR(STATUS_INVALID_EA_FLAG);
982  CASE_RETURN_STR(STATUS_VERIFY_REQUIRED);
983  CASE_RETURN_STR(STATUS_EXTRANEOUS_INFORMATION);
984  CASE_RETURN_STR(STATUS_RXACT_COMMIT_NECESSARY);
985  CASE_RETURN_STR(STATUS_NO_MORE_ENTRIES);
986  CASE_RETURN_STR(STATUS_FILEMARK_DETECTED);
987  CASE_RETURN_STR(STATUS_MEDIA_CHANGED);
988  CASE_RETURN_STR(STATUS_BUS_RESET);
989  CASE_RETURN_STR(STATUS_END_OF_MEDIA);
990  CASE_RETURN_STR(STATUS_BEGINNING_OF_MEDIA);
991  CASE_RETURN_STR(STATUS_MEDIA_CHECK);
992  CASE_RETURN_STR(STATUS_SETMARK_DETECTED);
993  CASE_RETURN_STR(STATUS_NO_DATA_DETECTED);
994  CASE_RETURN_STR(STATUS_REDIRECTOR_HAS_OPEN_HANDLES);
995  CASE_RETURN_STR(STATUS_SERVER_HAS_OPEN_HANDLES);
996  CASE_RETURN_STR(STATUS_ALREADY_DISCONNECTED);
997  CASE_RETURN_STR(STATUS_LONGJUMP);
998  CASE_RETURN_STR(DBG_EXCEPTION_NOT_HANDLED);
999  CASE_RETURN_STR(STATUS_UNSUCCESSFUL);
1000  CASE_RETURN_STR(STATUS_NOT_IMPLEMENTED);
1001  CASE_RETURN_STR(STATUS_INVALID_INFO_CLASS);
1002  CASE_RETURN_STR(STATUS_INFO_LENGTH_MISMATCH);
1003  CASE_RETURN_STR(STATUS_ACCESS_VIOLATION);
1004  CASE_RETURN_STR(STATUS_IN_PAGE_ERROR);
1005  CASE_RETURN_STR(STATUS_PAGEFILE_QUOTA);
1006  CASE_RETURN_STR(STATUS_INVALID_HANDLE);
1007  CASE_RETURN_STR(STATUS_BAD_INITIAL_STACK);
1008  CASE_RETURN_STR(STATUS_BAD_INITIAL_PC);
1009  CASE_RETURN_STR(STATUS_INVALID_CID);
1010  CASE_RETURN_STR(STATUS_TIMER_NOT_CANCELED);
1011  CASE_RETURN_STR(STATUS_INVALID_PARAMETER);
1012  CASE_RETURN_STR(STATUS_NO_SUCH_DEVICE);
1013  CASE_RETURN_STR(STATUS_NO_SUCH_FILE);
1014  CASE_RETURN_STR(STATUS_INVALID_DEVICE_REQUEST);
1015  CASE_RETURN_STR(STATUS_END_OF_FILE);
1016  CASE_RETURN_STR(STATUS_WRONG_VOLUME);
1017  CASE_RETURN_STR(STATUS_NO_MEDIA_IN_DEVICE);
1018  CASE_RETURN_STR(STATUS_UNRECOGNIZED_MEDIA);
1019  CASE_RETURN_STR(STATUS_NONEXISTENT_SECTOR);
1020  CASE_RETURN_STR(STATUS_MORE_PROCESSING_REQUIRED);
1021  CASE_RETURN_STR(STATUS_NO_MEMORY);
1022  CASE_RETURN_STR(STATUS_CONFLICTING_ADDRESSES);
1023  CASE_RETURN_STR(STATUS_NOT_MAPPED_VIEW);
1024  CASE_RETURN_STR(STATUS_UNABLE_TO_FREE_VM);
1025  CASE_RETURN_STR(STATUS_UNABLE_TO_DELETE_SECTION);
1026  CASE_RETURN_STR(STATUS_INVALID_SYSTEM_SERVICE);
1027  CASE_RETURN_STR(STATUS_ILLEGAL_INSTRUCTION);
1028  CASE_RETURN_STR(STATUS_INVALID_LOCK_SEQUENCE);
1029  CASE_RETURN_STR(STATUS_INVALID_VIEW_SIZE);
1030  CASE_RETURN_STR(STATUS_INVALID_FILE_FOR_SECTION);
1031  CASE_RETURN_STR(STATUS_ALREADY_COMMITTED);
1032  CASE_RETURN_STR(STATUS_ACCESS_DENIED);
1033  CASE_RETURN_STR(STATUS_BUFFER_TOO_SMALL);
1034  CASE_RETURN_STR(STATUS_OBJECT_TYPE_MISMATCH);
1035  CASE_RETURN_STR(STATUS_NONCONTINUABLE_EXCEPTION);
1036  CASE_RETURN_STR(STATUS_INVALID_DISPOSITION);
1037  CASE_RETURN_STR(STATUS_UNWIND);
1038  CASE_RETURN_STR(STATUS_BAD_STACK);
1039  CASE_RETURN_STR(STATUS_INVALID_UNWIND_TARGET);
1040  CASE_RETURN_STR(STATUS_NOT_LOCKED);
1041  CASE_RETURN_STR(STATUS_PARITY_ERROR);
1042  CASE_RETURN_STR(STATUS_UNABLE_TO_DECOMMIT_VM);
1043  CASE_RETURN_STR(STATUS_NOT_COMMITTED);
1044  CASE_RETURN_STR(STATUS_INVALID_PORT_ATTRIBUTES);
1045  CASE_RETURN_STR(STATUS_PORT_MESSAGE_TOO_LONG);
1046  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_MIX);
1047  CASE_RETURN_STR(STATUS_INVALID_QUOTA_LOWER);
1048  CASE_RETURN_STR(STATUS_DISK_CORRUPT_ERROR);
1049  CASE_RETURN_STR(STATUS_OBJECT_NAME_INVALID);
1050  CASE_RETURN_STR(STATUS_OBJECT_NAME_NOT_FOUND);
1051  CASE_RETURN_STR(STATUS_OBJECT_NAME_COLLISION);
1052  CASE_RETURN_STR(STATUS_PORT_DISCONNECTED);
1053  CASE_RETURN_STR(STATUS_DEVICE_ALREADY_ATTACHED);
1054  CASE_RETURN_STR(STATUS_OBJECT_PATH_INVALID);
1055  CASE_RETURN_STR(STATUS_OBJECT_PATH_NOT_FOUND);
1056  CASE_RETURN_STR(STATUS_OBJECT_PATH_SYNTAX_BAD);
1057  CASE_RETURN_STR(STATUS_DATA_OVERRUN);
1058  CASE_RETURN_STR(STATUS_DATA_LATE_ERROR);
1059  CASE_RETURN_STR(STATUS_DATA_ERROR);
1060  CASE_RETURN_STR(STATUS_CRC_ERROR);
1061  CASE_RETURN_STR(STATUS_SECTION_TOO_BIG);
1062  CASE_RETURN_STR(STATUS_PORT_CONNECTION_REFUSED);
1063  CASE_RETURN_STR(STATUS_INVALID_PORT_HANDLE);
1064  CASE_RETURN_STR(STATUS_SHARING_VIOLATION);
1065  CASE_RETURN_STR(STATUS_QUOTA_EXCEEDED);
1066  CASE_RETURN_STR(STATUS_INVALID_PAGE_PROTECTION);
1067  CASE_RETURN_STR(STATUS_MUTANT_NOT_OWNED);
1068  CASE_RETURN_STR(STATUS_SEMAPHORE_LIMIT_EXCEEDED);
1069  CASE_RETURN_STR(STATUS_PORT_ALREADY_SET);
1070  CASE_RETURN_STR(STATUS_SECTION_NOT_IMAGE);
1071  CASE_RETURN_STR(STATUS_SUSPEND_COUNT_EXCEEDED);
1072  CASE_RETURN_STR(STATUS_THREAD_IS_TERMINATING);
1073  CASE_RETURN_STR(STATUS_BAD_WORKING_SET_LIMIT);
1074  CASE_RETURN_STR(STATUS_INCOMPATIBLE_FILE_MAP);
1075  CASE_RETURN_STR(STATUS_SECTION_PROTECTION);
1076  CASE_RETURN_STR(STATUS_EAS_NOT_SUPPORTED);
1077  CASE_RETURN_STR(STATUS_EA_TOO_LARGE);
1078  CASE_RETURN_STR(STATUS_NONEXISTENT_EA_ENTRY);
1079  CASE_RETURN_STR(STATUS_NO_EAS_ON_FILE);
1080  CASE_RETURN_STR(STATUS_EA_CORRUPT_ERROR);
1081  CASE_RETURN_STR(STATUS_FILE_LOCK_CONFLICT);
1082  CASE_RETURN_STR(STATUS_LOCK_NOT_GRANTED);
1083  CASE_RETURN_STR(STATUS_DELETE_PENDING);
1084  CASE_RETURN_STR(STATUS_CTL_FILE_NOT_SUPPORTED);
1085  CASE_RETURN_STR(STATUS_UNKNOWN_REVISION);
1086  CASE_RETURN_STR(STATUS_REVISION_MISMATCH);
1087  CASE_RETURN_STR(STATUS_INVALID_OWNER);
1088  CASE_RETURN_STR(STATUS_INVALID_PRIMARY_GROUP);
1089  CASE_RETURN_STR(STATUS_NO_IMPERSONATION_TOKEN);
1090  CASE_RETURN_STR(STATUS_CANT_DISABLE_MANDATORY);
1091  CASE_RETURN_STR(STATUS_NO_LOGON_SERVERS);
1092  CASE_RETURN_STR(STATUS_NO_SUCH_LOGON_SESSION);
1093  CASE_RETURN_STR(STATUS_NO_SUCH_PRIVILEGE);
1094  CASE_RETURN_STR(STATUS_PRIVILEGE_NOT_HELD);
1095  CASE_RETURN_STR(STATUS_INVALID_ACCOUNT_NAME);
1096  CASE_RETURN_STR(STATUS_USER_EXISTS);
1097  CASE_RETURN_STR(STATUS_NO_SUCH_USER);
1098  CASE_RETURN_STR(STATUS_GROUP_EXISTS);
1099  CASE_RETURN_STR(STATUS_NO_SUCH_GROUP);
1100  CASE_RETURN_STR(STATUS_MEMBER_IN_GROUP);
1101  CASE_RETURN_STR(STATUS_MEMBER_NOT_IN_GROUP);
1102  CASE_RETURN_STR(STATUS_LAST_ADMIN);
1103  CASE_RETURN_STR(STATUS_WRONG_PASSWORD);
1104  CASE_RETURN_STR(STATUS_ILL_FORMED_PASSWORD);
1105  CASE_RETURN_STR(STATUS_PASSWORD_RESTRICTION);
1106  CASE_RETURN_STR(STATUS_LOGON_FAILURE);
1107  CASE_RETURN_STR(STATUS_ACCOUNT_RESTRICTION);
1108  CASE_RETURN_STR(STATUS_INVALID_LOGON_HOURS);
1109  CASE_RETURN_STR(STATUS_INVALID_WORKSTATION);
1110  CASE_RETURN_STR(STATUS_PASSWORD_EXPIRED);
1111  CASE_RETURN_STR(STATUS_ACCOUNT_DISABLED);
1112  CASE_RETURN_STR(STATUS_NONE_MAPPED);
1113  CASE_RETURN_STR(STATUS_TOO_MANY_LUIDS_REQUESTED);
1114  CASE_RETURN_STR(STATUS_LUIDS_EXHAUSTED);
1115  CASE_RETURN_STR(STATUS_INVALID_SUB_AUTHORITY);
1116  CASE_RETURN_STR(STATUS_INVALID_ACL);
1117  CASE_RETURN_STR(STATUS_INVALID_SID);
1118  CASE_RETURN_STR(STATUS_INVALID_SECURITY_DESCR);
1119  CASE_RETURN_STR(STATUS_PROCEDURE_NOT_FOUND);
1120  CASE_RETURN_STR(STATUS_INVALID_IMAGE_FORMAT);
1121  CASE_RETURN_STR(STATUS_NO_TOKEN);
1122  CASE_RETURN_STR(STATUS_BAD_INHERITANCE_ACL);
1123  CASE_RETURN_STR(STATUS_RANGE_NOT_LOCKED);
1124  CASE_RETURN_STR(STATUS_DISK_FULL);
1125  CASE_RETURN_STR(STATUS_SERVER_DISABLED);
1126  CASE_RETURN_STR(STATUS_SERVER_NOT_DISABLED);
1127  CASE_RETURN_STR(STATUS_TOO_MANY_GUIDS_REQUESTED);
1128  CASE_RETURN_STR(STATUS_GUIDS_EXHAUSTED);
1129  CASE_RETURN_STR(STATUS_INVALID_ID_AUTHORITY);
1130  CASE_RETURN_STR(STATUS_AGENTS_EXHAUSTED);
1131  CASE_RETURN_STR(STATUS_INVALID_VOLUME_LABEL);
1132  CASE_RETURN_STR(STATUS_SECTION_NOT_EXTENDED);
1133  CASE_RETURN_STR(STATUS_NOT_MAPPED_DATA);
1134  CASE_RETURN_STR(STATUS_RESOURCE_DATA_NOT_FOUND);
1135  CASE_RETURN_STR(STATUS_RESOURCE_TYPE_NOT_FOUND);
1136  CASE_RETURN_STR(STATUS_RESOURCE_NAME_NOT_FOUND);
1137  CASE_RETURN_STR(STATUS_ARRAY_BOUNDS_EXCEEDED);
1138  CASE_RETURN_STR(STATUS_FLOAT_DENORMAL_OPERAND);
1139  CASE_RETURN_STR(STATUS_FLOAT_DIVIDE_BY_ZERO);
1140  CASE_RETURN_STR(STATUS_FLOAT_INEXACT_RESULT);
1141  CASE_RETURN_STR(STATUS_FLOAT_INVALID_OPERATION);
1142  CASE_RETURN_STR(STATUS_FLOAT_OVERFLOW);
1143  CASE_RETURN_STR(STATUS_FLOAT_STACK_CHECK);
1144  CASE_RETURN_STR(STATUS_FLOAT_UNDERFLOW);
1145  CASE_RETURN_STR(STATUS_INTEGER_DIVIDE_BY_ZERO);
1146  CASE_RETURN_STR(STATUS_INTEGER_OVERFLOW);
1147  CASE_RETURN_STR(STATUS_PRIVILEGED_INSTRUCTION);
1148  CASE_RETURN_STR(STATUS_TOO_MANY_PAGING_FILES);
1149  CASE_RETURN_STR(STATUS_FILE_INVALID);
1150  CASE_RETURN_STR(STATUS_ALLOTTED_SPACE_EXCEEDED);
1151  CASE_RETURN_STR(STATUS_INSUFFICIENT_RESOURCES);
1152  CASE_RETURN_STR(STATUS_DFS_EXIT_PATH_FOUND);
1153  CASE_RETURN_STR(STATUS_DEVICE_DATA_ERROR);
1154  CASE_RETURN_STR(STATUS_DEVICE_NOT_CONNECTED);
1155  CASE_RETURN_STR(STATUS_DEVICE_POWER_FAILURE);
1156  CASE_RETURN_STR(STATUS_FREE_VM_NOT_AT_BASE);
1157  CASE_RETURN_STR(STATUS_MEMORY_NOT_ALLOCATED);
1158  CASE_RETURN_STR(STATUS_WORKING_SET_QUOTA);
1159  CASE_RETURN_STR(STATUS_MEDIA_WRITE_PROTECTED);
1160  CASE_RETURN_STR(STATUS_DEVICE_NOT_READY);
1161  CASE_RETURN_STR(STATUS_INVALID_GROUP_ATTRIBUTES);
1162  CASE_RETURN_STR(STATUS_BAD_IMPERSONATION_LEVEL);
1163  CASE_RETURN_STR(STATUS_CANT_OPEN_ANONYMOUS);
1164  CASE_RETURN_STR(STATUS_BAD_VALIDATION_CLASS);
1165  CASE_RETURN_STR(STATUS_BAD_TOKEN_TYPE);
1166  CASE_RETURN_STR(STATUS_BAD_MASTER_BOOT_RECORD);
1167  CASE_RETURN_STR(STATUS_INSTRUCTION_MISALIGNMENT);
1168  CASE_RETURN_STR(STATUS_INSTANCE_NOT_AVAILABLE);
1169  CASE_RETURN_STR(STATUS_PIPE_NOT_AVAILABLE);
1170  CASE_RETURN_STR(STATUS_INVALID_PIPE_STATE);
1171  CASE_RETURN_STR(STATUS_PIPE_BUSY);
1172  CASE_RETURN_STR(STATUS_ILLEGAL_FUNCTION);
1173  CASE_RETURN_STR(STATUS_PIPE_DISCONNECTED);
1174  CASE_RETURN_STR(STATUS_PIPE_CLOSING);
1175  CASE_RETURN_STR(STATUS_PIPE_CONNECTED);
1176  CASE_RETURN_STR(STATUS_PIPE_LISTENING);
1177  CASE_RETURN_STR(STATUS_INVALID_READ_MODE);
1178  CASE_RETURN_STR(STATUS_IO_TIMEOUT);
1179  CASE_RETURN_STR(STATUS_FILE_FORCED_CLOSED);
1180  CASE_RETURN_STR(STATUS_PROFILING_NOT_STARTED);
1181  CASE_RETURN_STR(STATUS_PROFILING_NOT_STOPPED);
1182  CASE_RETURN_STR(STATUS_COULD_NOT_INTERPRET);
1183  CASE_RETURN_STR(STATUS_FILE_IS_A_DIRECTORY);
1184  CASE_RETURN_STR(STATUS_NOT_SUPPORTED);
1185  CASE_RETURN_STR(STATUS_REMOTE_NOT_LISTENING);
1186  CASE_RETURN_STR(STATUS_DUPLICATE_NAME);
1187  CASE_RETURN_STR(STATUS_BAD_NETWORK_PATH);
1188  CASE_RETURN_STR(STATUS_NETWORK_BUSY);
1189  CASE_RETURN_STR(STATUS_DEVICE_DOES_NOT_EXIST);
1190  CASE_RETURN_STR(STATUS_TOO_MANY_COMMANDS);
1191  CASE_RETURN_STR(STATUS_ADAPTER_HARDWARE_ERROR);
1192  CASE_RETURN_STR(STATUS_INVALID_NETWORK_RESPONSE);
1193  CASE_RETURN_STR(STATUS_UNEXPECTED_NETWORK_ERROR);
1194  CASE_RETURN_STR(STATUS_BAD_REMOTE_ADAPTER);
1195  CASE_RETURN_STR(STATUS_PRINT_QUEUE_FULL);
1196  CASE_RETURN_STR(STATUS_NO_SPOOL_SPACE);
1197  CASE_RETURN_STR(STATUS_PRINT_CANCELLED);
1198  CASE_RETURN_STR(STATUS_NETWORK_NAME_DELETED);
1199  CASE_RETURN_STR(STATUS_NETWORK_ACCESS_DENIED);
1200  CASE_RETURN_STR(STATUS_BAD_DEVICE_TYPE);
1201  CASE_RETURN_STR(STATUS_BAD_NETWORK_NAME);
1202  CASE_RETURN_STR(STATUS_TOO_MANY_NAMES);
1203  CASE_RETURN_STR(STATUS_TOO_MANY_SESSIONS);
1204  CASE_RETURN_STR(STATUS_SHARING_PAUSED);
1205  CASE_RETURN_STR(STATUS_REQUEST_NOT_ACCEPTED);
1206  CASE_RETURN_STR(STATUS_REDIRECTOR_PAUSED);
1207  CASE_RETURN_STR(STATUS_NET_WRITE_FAULT);
1208  CASE_RETURN_STR(STATUS_PROFILING_AT_LIMIT);
1209  CASE_RETURN_STR(STATUS_NOT_SAME_DEVICE);
1210  CASE_RETURN_STR(STATUS_FILE_RENAMED);
1211  CASE_RETURN_STR(STATUS_VIRTUAL_CIRCUIT_CLOSED);
1212  CASE_RETURN_STR(STATUS_NO_SECURITY_ON_OBJECT);
1213  CASE_RETURN_STR(STATUS_CANT_WAIT);
1214  CASE_RETURN_STR(STATUS_PIPE_EMPTY);
1215  CASE_RETURN_STR(STATUS_CANT_ACCESS_DOMAIN_INFO);
1216  CASE_RETURN_STR(STATUS_CANT_TERMINATE_SELF);
1217  CASE_RETURN_STR(STATUS_INVALID_SERVER_STATE);
1218  CASE_RETURN_STR(STATUS_INVALID_DOMAIN_STATE);
1219  CASE_RETURN_STR(STATUS_INVALID_DOMAIN_ROLE);
1220  CASE_RETURN_STR(STATUS_NO_SUCH_DOMAIN);
1221  CASE_RETURN_STR(STATUS_DOMAIN_EXISTS);
1222  CASE_RETURN_STR(STATUS_DOMAIN_LIMIT_EXCEEDED);
1223  CASE_RETURN_STR(STATUS_OPLOCK_NOT_GRANTED);
1224  CASE_RETURN_STR(STATUS_INVALID_OPLOCK_PROTOCOL);
1225  CASE_RETURN_STR(STATUS_INTERNAL_DB_CORRUPTION);
1226  CASE_RETURN_STR(STATUS_INTERNAL_ERROR);
1227  CASE_RETURN_STR(STATUS_GENERIC_NOT_MAPPED);
1228  CASE_RETURN_STR(STATUS_BAD_DESCRIPTOR_FORMAT);
1229  CASE_RETURN_STR(STATUS_INVALID_USER_BUFFER);
1230  CASE_RETURN_STR(STATUS_UNEXPECTED_IO_ERROR);
1231  CASE_RETURN_STR(STATUS_UNEXPECTED_MM_CREATE_ERR);
1232  CASE_RETURN_STR(STATUS_UNEXPECTED_MM_MAP_ERROR);
1233  CASE_RETURN_STR(STATUS_UNEXPECTED_MM_EXTEND_ERR);
1234  CASE_RETURN_STR(STATUS_NOT_LOGON_PROCESS);
1235  CASE_RETURN_STR(STATUS_LOGON_SESSION_EXISTS);
1236  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_1);
1237  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_2);
1238  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_3);
1239  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_4);
1240  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_5);
1241  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_6);
1242  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_7);
1243  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_8);
1244  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_9);
1245  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_10);
1246  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_11);
1247  CASE_RETURN_STR(STATUS_INVALID_PARAMETER_12);
1248  CASE_RETURN_STR(STATUS_REDIRECTOR_NOT_STARTED);
1249  CASE_RETURN_STR(STATUS_REDIRECTOR_STARTED);
1250  CASE_RETURN_STR(STATUS_STACK_OVERFLOW);
1251  CASE_RETURN_STR(STATUS_NO_SUCH_PACKAGE);
1252  CASE_RETURN_STR(STATUS_BAD_FUNCTION_TABLE);
1253  CASE_RETURN_STR(STATUS_VARIABLE_NOT_FOUND);
1254  CASE_RETURN_STR(STATUS_DIRECTORY_NOT_EMPTY);
1255  CASE_RETURN_STR(STATUS_FILE_CORRUPT_ERROR);
1256  CASE_RETURN_STR(STATUS_NOT_A_DIRECTORY);
1257  CASE_RETURN_STR(STATUS_BAD_LOGON_SESSION_STATE);
1258  CASE_RETURN_STR(STATUS_LOGON_SESSION_COLLISION);
1259  CASE_RETURN_STR(STATUS_NAME_TOO_LONG);
1260  CASE_RETURN_STR(STATUS_FILES_OPEN);
1261  CASE_RETURN_STR(STATUS_CONNECTION_IN_USE);
1262  CASE_RETURN_STR(STATUS_MESSAGE_NOT_FOUND);
1263  CASE_RETURN_STR(STATUS_PROCESS_IS_TERMINATING);
1264  CASE_RETURN_STR(STATUS_INVALID_LOGON_TYPE);
1265  CASE_RETURN_STR(STATUS_NO_GUID_TRANSLATION);
1266  CASE_RETURN_STR(STATUS_CANNOT_IMPERSONATE);
1267  CASE_RETURN_STR(STATUS_IMAGE_ALREADY_LOADED);
1268  CASE_RETURN_STR(STATUS_ABIOS_NOT_PRESENT);
1269  CASE_RETURN_STR(STATUS_ABIOS_LID_NOT_EXIST);
1270  CASE_RETURN_STR(STATUS_ABIOS_LID_ALREADY_OWNED);
1271  CASE_RETURN_STR(STATUS_ABIOS_NOT_LID_OWNER);
1272  CASE_RETURN_STR(STATUS_ABIOS_INVALID_COMMAND);
1273  CASE_RETURN_STR(STATUS_ABIOS_INVALID_LID);
1274  CASE_RETURN_STR(STATUS_ABIOS_SELECTOR_NOT_AVAILABLE);
1275  CASE_RETURN_STR(STATUS_ABIOS_INVALID_SELECTOR);
1276  CASE_RETURN_STR(STATUS_NO_LDT);
1277  CASE_RETURN_STR(STATUS_INVALID_LDT_SIZE);
1278  CASE_RETURN_STR(STATUS_INVALID_LDT_OFFSET);
1279  CASE_RETURN_STR(STATUS_INVALID_LDT_DESCRIPTOR);
1280  CASE_RETURN_STR(STATUS_INVALID_IMAGE_NE_FORMAT);
1281  CASE_RETURN_STR(STATUS_RXACT_INVALID_STATE);
1282  CASE_RETURN_STR(STATUS_RXACT_COMMIT_FAILURE);
1283  CASE_RETURN_STR(STATUS_MAPPED_FILE_SIZE_ZERO);
1284  CASE_RETURN_STR(STATUS_TOO_MANY_OPENED_FILES);
1285  CASE_RETURN_STR(STATUS_CANCELLED);
1286  CASE_RETURN_STR(STATUS_CANNOT_DELETE);
1287  CASE_RETURN_STR(STATUS_INVALID_COMPUTER_NAME);
1288  CASE_RETURN_STR(STATUS_FILE_DELETED);
1289  CASE_RETURN_STR(STATUS_SPECIAL_ACCOUNT);
1290  CASE_RETURN_STR(STATUS_SPECIAL_GROUP);
1291  CASE_RETURN_STR(STATUS_SPECIAL_USER);
1292  CASE_RETURN_STR(STATUS_MEMBERS_PRIMARY_GROUP);
1293  CASE_RETURN_STR(STATUS_FILE_CLOSED);
1294  CASE_RETURN_STR(STATUS_TOO_MANY_THREADS);
1295  CASE_RETURN_STR(STATUS_THREAD_NOT_IN_PROCESS);
1296  CASE_RETURN_STR(STATUS_TOKEN_ALREADY_IN_USE);
1297  CASE_RETURN_STR(STATUS_PAGEFILE_QUOTA_EXCEEDED);
1298  CASE_RETURN_STR(STATUS_COMMITMENT_LIMIT);
1299  CASE_RETURN_STR(STATUS_INVALID_IMAGE_LE_FORMAT);
1300  CASE_RETURN_STR(STATUS_INVALID_IMAGE_NOT_MZ);
1301  CASE_RETURN_STR(STATUS_INVALID_IMAGE_PROTECT);
1302  CASE_RETURN_STR(STATUS_INVALID_IMAGE_WIN_16);
1303  CASE_RETURN_STR(STATUS_LOGON_SERVER_CONFLICT);
1304  CASE_RETURN_STR(STATUS_TIME_DIFFERENCE_AT_DC);
1305  CASE_RETURN_STR(STATUS_SYNCHRONIZATION_REQUIRED);
1306  CASE_RETURN_STR(STATUS_DLL_NOT_FOUND);
1307  CASE_RETURN_STR(STATUS_OPEN_FAILED);
1308  CASE_RETURN_STR(STATUS_IO_PRIVILEGE_FAILED);
1309  CASE_RETURN_STR(STATUS_ORDINAL_NOT_FOUND);
1310  CASE_RETURN_STR(STATUS_ENTRYPOINT_NOT_FOUND);
1311  CASE_RETURN_STR(STATUS_CONTROL_C_EXIT);
1312  CASE_RETURN_STR(STATUS_LOCAL_DISCONNECT);
1313  CASE_RETURN_STR(STATUS_REMOTE_DISCONNECT);
1314  CASE_RETURN_STR(STATUS_REMOTE_RESOURCES);
1315  CASE_RETURN_STR(STATUS_LINK_FAILED);
1316  CASE_RETURN_STR(STATUS_LINK_TIMEOUT);
1317  CASE_RETURN_STR(STATUS_INVALID_CONNECTION);
1318  CASE_RETURN_STR(STATUS_INVALID_ADDRESS);
1319  CASE_RETURN_STR(STATUS_DLL_INIT_FAILED);
1320  CASE_RETURN_STR(STATUS_MISSING_SYSTEMFILE);
1321  CASE_RETURN_STR(STATUS_UNHANDLED_EXCEPTION);
1322  CASE_RETURN_STR(STATUS_APP_INIT_FAILURE);
1323  CASE_RETURN_STR(STATUS_PAGEFILE_CREATE_FAILED);
1324  CASE_RETURN_STR(STATUS_NO_PAGEFILE);
1325  CASE_RETURN_STR(STATUS_INVALID_LEVEL);
1326  CASE_RETURN_STR(STATUS_WRONG_PASSWORD_CORE);
1327  CASE_RETURN_STR(STATUS_ILLEGAL_FLOAT_CONTEXT);
1328  CASE_RETURN_STR(STATUS_PIPE_BROKEN);
1329  CASE_RETURN_STR(STATUS_REGISTRY_CORRUPT);
1330  CASE_RETURN_STR(STATUS_REGISTRY_IO_FAILED);
1331  CASE_RETURN_STR(STATUS_NO_EVENT_PAIR);
1332  CASE_RETURN_STR(STATUS_UNRECOGNIZED_VOLUME);
1333  CASE_RETURN_STR(STATUS_SERIAL_NO_DEVICE_INITED);
1334  CASE_RETURN_STR(STATUS_NO_SUCH_ALIAS);
1335  CASE_RETURN_STR(STATUS_MEMBER_NOT_IN_ALIAS);
1336  CASE_RETURN_STR(STATUS_MEMBER_IN_ALIAS);
1337  CASE_RETURN_STR(STATUS_ALIAS_EXISTS);
1338  CASE_RETURN_STR(STATUS_LOGON_NOT_GRANTED);
1339  CASE_RETURN_STR(STATUS_TOO_MANY_SECRETS);
1340  CASE_RETURN_STR(STATUS_SECRET_TOO_LONG);
1341  CASE_RETURN_STR(STATUS_INTERNAL_DB_ERROR);
1342  CASE_RETURN_STR(STATUS_FULLSCREEN_MODE);
1343  CASE_RETURN_STR(STATUS_TOO_MANY_CONTEXT_IDS);
1344  CASE_RETURN_STR(STATUS_LOGON_TYPE_NOT_GRANTED);
1345  CASE_RETURN_STR(STATUS_NOT_REGISTRY_FILE);
1346  CASE_RETURN_STR(STATUS_NT_CROSS_ENCRYPTION_REQUIRED);
1347  CASE_RETURN_STR(STATUS_DOMAIN_CTRLR_CONFIG_ERROR);
1348  CASE_RETURN_STR(STATUS_FT_MISSING_MEMBER);
1349  CASE_RETURN_STR(STATUS_ILL_FORMED_SERVICE_ENTRY);
1350  CASE_RETURN_STR(STATUS_ILLEGAL_CHARACTER);
1351  CASE_RETURN_STR(STATUS_UNMAPPABLE_CHARACTER);
1352  CASE_RETURN_STR(STATUS_UNDEFINED_CHARACTER);
1353  CASE_RETURN_STR(STATUS_FLOPPY_VOLUME);
1354  CASE_RETURN_STR(STATUS_FLOPPY_ID_MARK_NOT_FOUND);
1355  CASE_RETURN_STR(STATUS_FLOPPY_WRONG_CYLINDER);
1356  CASE_RETURN_STR(STATUS_FLOPPY_UNKNOWN_ERROR);
1357  CASE_RETURN_STR(STATUS_FLOPPY_BAD_REGISTERS);
1358  CASE_RETURN_STR(STATUS_DISK_RECALIBRATE_FAILED);
1359  CASE_RETURN_STR(STATUS_DISK_OPERATION_FAILED);
1360  CASE_RETURN_STR(STATUS_DISK_RESET_FAILED);
1361  CASE_RETURN_STR(STATUS_SHARED_IRQ_BUSY);
1362  CASE_RETURN_STR(STATUS_FT_ORPHANING);
1363  CASE_RETURN_STR(STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT);
1364  CASE_RETURN_STR(STATUS_PARTITION_FAILURE);
1365  CASE_RETURN_STR(STATUS_INVALID_BLOCK_LENGTH);
1366  CASE_RETURN_STR(STATUS_DEVICE_NOT_PARTITIONED);
1367  CASE_RETURN_STR(STATUS_UNABLE_TO_LOCK_MEDIA);
1368  CASE_RETURN_STR(STATUS_UNABLE_TO_UNLOAD_MEDIA);
1369  CASE_RETURN_STR(STATUS_EOM_OVERFLOW);
1370  CASE_RETURN_STR(STATUS_NO_MEDIA);
1371  CASE_RETURN_STR(STATUS_NO_SUCH_MEMBER);
1372  CASE_RETURN_STR(STATUS_INVALID_MEMBER);
1373  CASE_RETURN_STR(STATUS_KEY_DELETED);
1374  CASE_RETURN_STR(STATUS_NO_LOG_SPACE);
1375  CASE_RETURN_STR(STATUS_TOO_MANY_SIDS);
1376  CASE_RETURN_STR(STATUS_LM_CROSS_ENCRYPTION_REQUIRED);
1377  CASE_RETURN_STR(STATUS_KEY_HAS_CHILDREN);
1378  CASE_RETURN_STR(STATUS_CHILD_MUST_BE_VOLATILE);
1379  CASE_RETURN_STR(STATUS_DEVICE_CONFIGURATION_ERROR);
1380  CASE_RETURN_STR(STATUS_DRIVER_INTERNAL_ERROR);
1381  CASE_RETURN_STR(STATUS_INVALID_DEVICE_STATE);
1382  CASE_RETURN_STR(STATUS_IO_DEVICE_ERROR);
1383  CASE_RETURN_STR(STATUS_DEVICE_PROTOCOL_ERROR);
1384  CASE_RETURN_STR(STATUS_BACKUP_CONTROLLER);
1385  CASE_RETURN_STR(STATUS_LOG_FILE_FULL);
1386  CASE_RETURN_STR(STATUS_TOO_LATE);
1387  CASE_RETURN_STR(STATUS_NO_TRUST_LSA_SECRET);
1388  CASE_RETURN_STR(STATUS_NO_TRUST_SAM_ACCOUNT);
1389  CASE_RETURN_STR(STATUS_TRUSTED_DOMAIN_FAILURE);
1390  CASE_RETURN_STR(STATUS_TRUSTED_RELATIONSHIP_FAILURE);
1391  CASE_RETURN_STR(STATUS_EVENTLOG_FILE_CORRUPT);
1392  CASE_RETURN_STR(STATUS_EVENTLOG_CANT_START);
1393  CASE_RETURN_STR(STATUS_TRUST_FAILURE);
1394  CASE_RETURN_STR(STATUS_MUTANT_LIMIT_EXCEEDED);
1395  CASE_RETURN_STR(STATUS_NETLOGON_NOT_STARTED);
1396  CASE_RETURN_STR(STATUS_ACCOUNT_EXPIRED);
1397  CASE_RETURN_STR(STATUS_POSSIBLE_DEADLOCK);
1398  CASE_RETURN_STR(STATUS_NETWORK_CREDENTIAL_CONFLICT);
1399  CASE_RETURN_STR(STATUS_REMOTE_SESSION_LIMIT);
1400  CASE_RETURN_STR(STATUS_EVENTLOG_FILE_CHANGED);
1403  CASE_RETURN_STR(STATUS_NOLOGON_SERVER_TRUST_ACCOUNT);
1404  CASE_RETURN_STR(STATUS_DOMAIN_TRUST_INCONSISTENT);
1405  CASE_RETURN_STR(STATUS_FS_DRIVER_REQUIRED);
1406  CASE_RETURN_STR(STATUS_NO_USER_SESSION_KEY);
1407  CASE_RETURN_STR(STATUS_USER_SESSION_DELETED);
1408  CASE_RETURN_STR(STATUS_RESOURCE_LANG_NOT_FOUND);
1409  CASE_RETURN_STR(STATUS_INSUFF_SERVER_RESOURCES);
1410  CASE_RETURN_STR(STATUS_INVALID_BUFFER_SIZE);
1411  CASE_RETURN_STR(STATUS_INVALID_ADDRESS_COMPONENT);
1412  CASE_RETURN_STR(STATUS_INVALID_ADDRESS_WILDCARD);
1413  CASE_RETURN_STR(STATUS_TOO_MANY_ADDRESSES);
1414  CASE_RETURN_STR(STATUS_ADDRESS_ALREADY_EXISTS);
1415  CASE_RETURN_STR(STATUS_ADDRESS_CLOSED);
1416  CASE_RETURN_STR(STATUS_CONNECTION_DISCONNECTED);
1417  CASE_RETURN_STR(STATUS_CONNECTION_RESET);
1418  CASE_RETURN_STR(STATUS_TOO_MANY_NODES);
1419  CASE_RETURN_STR(STATUS_TRANSACTION_ABORTED);
1420  CASE_RETURN_STR(STATUS_TRANSACTION_TIMED_OUT);
1421  CASE_RETURN_STR(STATUS_TRANSACTION_NO_RELEASE);
1422  CASE_RETURN_STR(STATUS_TRANSACTION_NO_MATCH);
1423  CASE_RETURN_STR(STATUS_TRANSACTION_RESPONDED);
1424  CASE_RETURN_STR(STATUS_TRANSACTION_INVALID_ID);
1425  CASE_RETURN_STR(STATUS_TRANSACTION_INVALID_TYPE);
1426  CASE_RETURN_STR(STATUS_NOT_SERVER_SESSION);
1427  CASE_RETURN_STR(STATUS_NOT_CLIENT_SESSION);
1428  CASE_RETURN_STR(STATUS_CANNOT_LOAD_REGISTRY_FILE);
1429  CASE_RETURN_STR(STATUS_DEBUG_ATTACH_FAILED);
1430  CASE_RETURN_STR(STATUS_SYSTEM_PROCESS_TERMINATED);
1431  CASE_RETURN_STR(STATUS_DATA_NOT_ACCEPTED);
1432  CASE_RETURN_STR(STATUS_NO_BROWSER_SERVERS_FOUND);
1433  CASE_RETURN_STR(STATUS_VDM_HARD_ERROR);
1434  CASE_RETURN_STR(STATUS_DRIVER_CANCEL_TIMEOUT);
1435  CASE_RETURN_STR(STATUS_REPLY_MESSAGE_MISMATCH);
1436  CASE_RETURN_STR(STATUS_MAPPED_ALIGNMENT);
1437  CASE_RETURN_STR(STATUS_IMAGE_CHECKSUM_MISMATCH);
1438  CASE_RETURN_STR(STATUS_LOST_WRITEBEHIND_DATA);
1439  CASE_RETURN_STR(STATUS_CLIENT_SERVER_PARAMETERS_INVALID);
1440  CASE_RETURN_STR(STATUS_PASSWORD_MUST_CHANGE);
1441  CASE_RETURN_STR(STATUS_NOT_FOUND);
1442  CASE_RETURN_STR(STATUS_NOT_TINY_STREAM);
1443  CASE_RETURN_STR(STATUS_RECOVERY_FAILURE);
1444  CASE_RETURN_STR(STATUS_STACK_OVERFLOW_READ);
1445  CASE_RETURN_STR(STATUS_FAIL_CHECK);
1446  CASE_RETURN_STR(STATUS_DUPLICATE_OBJECTID);
1447  CASE_RETURN_STR(STATUS_OBJECTID_EXISTS);
1448  CASE_RETURN_STR(STATUS_CONVERT_TO_LARGE);
1449  CASE_RETURN_STR(STATUS_RETRY);
1450  CASE_RETURN_STR(STATUS_FOUND_OUT_OF_SCOPE);
1451  CASE_RETURN_STR(STATUS_ALLOCATE_BUCKET);
1452  CASE_RETURN_STR(STATUS_PROPSET_NOT_FOUND);
1453  CASE_RETURN_STR(STATUS_MARSHALL_OVERFLOW);
1454  CASE_RETURN_STR(STATUS_INVALID_VARIANT);
1455  CASE_RETURN_STR(STATUS_DOMAIN_CONTROLLER_NOT_FOUND);
1456  CASE_RETURN_STR(STATUS_ACCOUNT_LOCKED_OUT);
1457  CASE_RETURN_STR(STATUS_HANDLE_NOT_CLOSABLE);
1458  CASE_RETURN_STR(STATUS_CONNECTION_REFUSED);
1459  CASE_RETURN_STR(STATUS_GRACEFUL_DISCONNECT);
1460  CASE_RETURN_STR(STATUS_ADDRESS_ALREADY_ASSOCIATED);
1461  CASE_RETURN_STR(STATUS_ADDRESS_NOT_ASSOCIATED);
1462  CASE_RETURN_STR(STATUS_CONNECTION_INVALID);
1463  CASE_RETURN_STR(STATUS_CONNECTION_ACTIVE);
1464  CASE_RETURN_STR(STATUS_NETWORK_UNREACHABLE);
1465  CASE_RETURN_STR(STATUS_HOST_UNREACHABLE);
1466  CASE_RETURN_STR(STATUS_PROTOCOL_UNREACHABLE);
1467  CASE_RETURN_STR(STATUS_PORT_UNREACHABLE);
1468  CASE_RETURN_STR(STATUS_REQUEST_ABORTED);
1469  CASE_RETURN_STR(STATUS_CONNECTION_ABORTED);
1470  CASE_RETURN_STR(STATUS_BAD_COMPRESSION_BUFFER);
1471  CASE_RETURN_STR(STATUS_USER_MAPPED_FILE);
1472  CASE_RETURN_STR(STATUS_AUDIT_FAILED);
1473  CASE_RETURN_STR(STATUS_TIMER_RESOLUTION_NOT_SET);
1474  CASE_RETURN_STR(STATUS_CONNECTION_COUNT_LIMIT);
1475  CASE_RETURN_STR(STATUS_LOGIN_TIME_RESTRICTION);
1476  CASE_RETURN_STR(STATUS_LOGIN_WKSTA_RESTRICTION);
1477  CASE_RETURN_STR(STATUS_IMAGE_MP_UP_MISMATCH);
1478  CASE_RETURN_STR(STATUS_INSUFFICIENT_LOGON_INFO);
1479  CASE_RETURN_STR(STATUS_BAD_DLL_ENTRYPOINT);
1480  CASE_RETURN_STR(STATUS_BAD_SERVICE_ENTRYPOINT);
1481  CASE_RETURN_STR(STATUS_LPC_REPLY_LOST);
1482  CASE_RETURN_STR(STATUS_IP_ADDRESS_CONFLICT1);
1483  CASE_RETURN_STR(STATUS_IP_ADDRESS_CONFLICT2);
1484  CASE_RETURN_STR(STATUS_REGISTRY_QUOTA_LIMIT);
1485  CASE_RETURN_STR(STATUS_PATH_NOT_COVERED);
1486  CASE_RETURN_STR(STATUS_NO_CALLBACK_ACTIVE);
1487  CASE_RETURN_STR(STATUS_LICENSE_QUOTA_EXCEEDED);
1488  CASE_RETURN_STR(STATUS_PWD_TOO_SHORT);
1489  CASE_RETURN_STR(STATUS_PWD_TOO_RECENT);
1490  CASE_RETURN_STR(STATUS_PWD_HISTORY_CONFLICT);
1491  CASE_RETURN_STR(STATUS_PLUGPLAY_NO_DEVICE);
1492  CASE_RETURN_STR(STATUS_UNSUPPORTED_COMPRESSION);
1493  CASE_RETURN_STR(STATUS_INVALID_HW_PROFILE);
1494  CASE_RETURN_STR(STATUS_INVALID_PLUGPLAY_DEVICE_PATH);
1495  CASE_RETURN_STR(STATUS_DRIVER_ORDINAL_NOT_FOUND);
1496  CASE_RETURN_STR(STATUS_DRIVER_ENTRYPOINT_NOT_FOUND);
1497  CASE_RETURN_STR(STATUS_RESOURCE_NOT_OWNED);
1498  CASE_RETURN_STR(STATUS_TOO_MANY_LINKS);
1499  CASE_RETURN_STR(STATUS_QUOTA_LIST_INCONSISTENT);
1500  CASE_RETURN_STR(STATUS_FILE_IS_OFFLINE);
1501  CASE_RETURN_STR(STATUS_EVALUATION_EXPIRATION);
1502  CASE_RETURN_STR(STATUS_ILLEGAL_DLL_RELOCATION);
1503  CASE_RETURN_STR(STATUS_LICENSE_VIOLATION);
1504  CASE_RETURN_STR(STATUS_DLL_INIT_FAILED_LOGOFF);
1505  CASE_RETURN_STR(STATUS_DRIVER_UNABLE_TO_LOAD);
1506  CASE_RETURN_STR(STATUS_DFS_UNAVAILABLE);
1507  CASE_RETURN_STR(STATUS_VOLUME_DISMOUNTED);
1508  CASE_RETURN_STR(STATUS_WX86_INTERNAL_ERROR);
1509  CASE_RETURN_STR(STATUS_WX86_FLOAT_STACK_CHECK);
1510  CASE_RETURN_STR(STATUS_VALIDATE_CONTINUE);
1511  CASE_RETURN_STR(STATUS_NO_MATCH);
1512  CASE_RETURN_STR(STATUS_NO_MORE_MATCHES);
1513  CASE_RETURN_STR(STATUS_NOT_A_REPARSE_POINT);
1514  CASE_RETURN_STR(STATUS_IO_REPARSE_TAG_INVALID);
1515  CASE_RETURN_STR(STATUS_IO_REPARSE_TAG_MISMATCH);
1516  CASE_RETURN_STR(STATUS_IO_REPARSE_DATA_INVALID);
1517  CASE_RETURN_STR(STATUS_IO_REPARSE_TAG_NOT_HANDLED);
1518  CASE_RETURN_STR(STATUS_REPARSE_POINT_NOT_RESOLVED);
1519  CASE_RETURN_STR(STATUS_DIRECTORY_IS_A_REPARSE_POINT);
1520  CASE_RETURN_STR(STATUS_RANGE_LIST_CONFLICT);
1521  CASE_RETURN_STR(STATUS_SOURCE_ELEMENT_EMPTY);
1522  CASE_RETURN_STR(STATUS_DESTINATION_ELEMENT_FULL);
1523  CASE_RETURN_STR(STATUS_ILLEGAL_ELEMENT_ADDRESS);
1524  CASE_RETURN_STR(STATUS_MAGAZINE_NOT_PRESENT);
1525  CASE_RETURN_STR(STATUS_REINITIALIZATION_NEEDED);
1526  CASE_RETURN_STR(STATUS_DEVICE_REQUIRES_CLEANING);
1527  CASE_RETURN_STR(STATUS_DEVICE_DOOR_OPEN);
1528  CASE_RETURN_STR(STATUS_ENCRYPTION_FAILED);
1529  CASE_RETURN_STR(STATUS_DECRYPTION_FAILED);
1530  CASE_RETURN_STR(STATUS_RANGE_NOT_FOUND);
1531  CASE_RETURN_STR(STATUS_NO_RECOVERY_POLICY);
1532  CASE_RETURN_STR(STATUS_NO_EFS);
1533  CASE_RETURN_STR(STATUS_WRONG_EFS);
1534  CASE_RETURN_STR(STATUS_NO_USER_KEYS);
1535  CASE_RETURN_STR(STATUS_FILE_NOT_ENCRYPTED);
1536  CASE_RETURN_STR(STATUS_NOT_EXPORT_FORMAT);
1537  CASE_RETURN_STR(STATUS_FILE_ENCRYPTED);
1538  CASE_RETURN_STR(STATUS_WAKE_SYSTEM);
1539  CASE_RETURN_STR(STATUS_WMI_GUID_NOT_FOUND);
1540  CASE_RETURN_STR(STATUS_WMI_INSTANCE_NOT_FOUND);
1541  CASE_RETURN_STR(STATUS_WMI_ITEMID_NOT_FOUND);
1542  CASE_RETURN_STR(STATUS_WMI_TRY_AGAIN);
1543  CASE_RETURN_STR(STATUS_SHARED_POLICY);
1544  CASE_RETURN_STR(STATUS_POLICY_OBJECT_NOT_FOUND);
1545  CASE_RETURN_STR(STATUS_POLICY_ONLY_IN_DS);
1546  CASE_RETURN_STR(STATUS_VOLUME_NOT_UPGRADED);
1547  CASE_RETURN_STR(STATUS_REMOTE_STORAGE_NOT_ACTIVE);
1548  CASE_RETURN_STR(STATUS_REMOTE_STORAGE_MEDIA_ERROR);
1549  CASE_RETURN_STR(STATUS_NO_TRACKING_SERVICE);
1550  CASE_RETURN_STR(STATUS_SERVER_SID_MISMATCH);
1551  CASE_RETURN_STR(STATUS_DS_NO_ATTRIBUTE_OR_VALUE);
1552  CASE_RETURN_STR(STATUS_DS_INVALID_ATTRIBUTE_SYNTAX);
1553  CASE_RETURN_STR(STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED);
1554  CASE_RETURN_STR(STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS);
1555  CASE_RETURN_STR(STATUS_DS_BUSY);
1556  CASE_RETURN_STR(STATUS_DS_UNAVAILABLE);
1557  CASE_RETURN_STR(STATUS_DS_NO_RIDS_ALLOCATED);
1558  CASE_RETURN_STR(STATUS_DS_NO_MORE_RIDS);
1559  CASE_RETURN_STR(STATUS_DS_INCORRECT_ROLE_OWNER);
1560  CASE_RETURN_STR(STATUS_DS_RIDMGR_INIT_ERROR);
1561  CASE_RETURN_STR(STATUS_DS_OBJ_CLASS_VIOLATION);
1562  CASE_RETURN_STR(STATUS_DS_CANT_ON_NON_LEAF);
1563  CASE_RETURN_STR(STATUS_DS_CANT_ON_RDN);
1564  CASE_RETURN_STR(STATUS_DS_CANT_MOD_OBJ_CLASS);
1565  CASE_RETURN_STR(STATUS_DS_CROSS_DOM_MOVE_FAILED);
1566  CASE_RETURN_STR(STATUS_DS_GC_NOT_AVAILABLE);
1567  CASE_RETURN_STR(STATUS_DIRECTORY_SERVICE_REQUIRED);
1568  CASE_RETURN_STR(STATUS_REPARSE_ATTRIBUTE_CONFLICT);
1569  CASE_RETURN_STR(STATUS_CANT_ENABLE_DENY_ONLY);
1570  CASE_RETURN_STR(STATUS_FLOAT_MULTIPLE_FAULTS);
1571  CASE_RETURN_STR(STATUS_FLOAT_MULTIPLE_TRAPS);
1572  CASE_RETURN_STR(STATUS_DEVICE_REMOVED);
1573  CASE_RETURN_STR(STATUS_JOURNAL_DELETE_IN_PROGRESS);
1574  CASE_RETURN_STR(STATUS_JOURNAL_NOT_ACTIVE);
1575  CASE_RETURN_STR(STATUS_NOINTERFACE);
1576  CASE_RETURN_STR(STATUS_DS_ADMIN_LIMIT_EXCEEDED);
1577  CASE_RETURN_STR(STATUS_DRIVER_FAILED_SLEEP);
1578  CASE_RETURN_STR(STATUS_MUTUAL_AUTHENTICATION_FAILED);
1579  CASE_RETURN_STR(STATUS_CORRUPT_SYSTEM_FILE);
1580  CASE_RETURN_STR(STATUS_DATATYPE_MISALIGNMENT_ERROR);
1581  CASE_RETURN_STR(STATUS_WMI_READ_ONLY);
1582  CASE_RETURN_STR(STATUS_WMI_SET_FAILURE);
1583  CASE_RETURN_STR(STATUS_COMMITMENT_MINIMUM);
1584  CASE_RETURN_STR(STATUS_REG_NAT_CONSUMPTION);
1585  CASE_RETURN_STR(STATUS_TRANSPORT_FULL);
1586  CASE_RETURN_STR(STATUS_DS_SAM_INIT_FAILURE);
1587  CASE_RETURN_STR(STATUS_ONLY_IF_CONNECTED);
1588  CASE_RETURN_STR(STATUS_DS_SENSITIVE_GROUP_VIOLATION);
1589  CASE_RETURN_STR(STATUS_PNP_RESTART_ENUMERATION);
1590  CASE_RETURN_STR(STATUS_JOURNAL_ENTRY_DELETED);
1591  CASE_RETURN_STR(STATUS_DS_CANT_MOD_PRIMARYGROUPID);
1592  CASE_RETURN_STR(STATUS_SYSTEM_IMAGE_BAD_SIGNATURE);
1593  CASE_RETURN_STR(STATUS_PNP_REBOOT_REQUIRED);
1594  CASE_RETURN_STR(STATUS_POWER_STATE_INVALID);
1595  CASE_RETURN_STR(STATUS_DS_INVALID_GROUP_TYPE);
1598  CASE_RETURN_STR(STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER);
1603  CASE_RETURN_STR(STATUS_DS_HAVE_PRIMARY_MEMBERS);
1604  CASE_RETURN_STR(STATUS_WMI_NOT_SUPPORTED);
1605  CASE_RETURN_STR(STATUS_INSUFFICIENT_POWER);
1606  CASE_RETURN_STR(STATUS_SAM_NEED_BOOTKEY_PASSWORD);
1607  CASE_RETURN_STR(STATUS_SAM_NEED_BOOTKEY_FLOPPY);
1608  CASE_RETURN_STR(STATUS_DS_CANT_START);
1609  CASE_RETURN_STR(STATUS_DS_INIT_FAILURE);
1610  CASE_RETURN_STR(STATUS_SAM_INIT_FAILURE);
1611  CASE_RETURN_STR(STATUS_DS_GC_REQUIRED);
1612  CASE_RETURN_STR(STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY);
1613  CASE_RETURN_STR(STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS);
1615  CASE_RETURN_STR(STATUS_MULTIPLE_FAULT_VIOLATION);
1616  CASE_RETURN_STR(STATUS_NOT_SUPPORTED_ON_SBS);
1617  CASE_RETURN_STR(STATUS_WOW_ASSERTION);
1618  CASE_RETURN_STR(DBG_NO_STATE_CHANGE);
1619  CASE_RETURN_STR(DBG_APP_NOT_IDLE);
1620  CASE_RETURN_STR(RPC_NT_INVALID_STRING_BINDING);
1621  CASE_RETURN_STR(RPC_NT_WRONG_KIND_OF_BINDING);
1622  CASE_RETURN_STR(RPC_NT_INVALID_BINDING);
1623  CASE_RETURN_STR(RPC_NT_PROTSEQ_NOT_SUPPORTED);
1624  CASE_RETURN_STR(RPC_NT_INVALID_RPC_PROTSEQ);
1625  CASE_RETURN_STR(RPC_NT_INVALID_STRING_UUID);
1626  CASE_RETURN_STR(RPC_NT_INVALID_ENDPOINT_FORMAT);
1627  CASE_RETURN_STR(RPC_NT_INVALID_NET_ADDR);
1628  CASE_RETURN_STR(RPC_NT_NO_ENDPOINT_FOUND);
1629  CASE_RETURN_STR(RPC_NT_INVALID_TIMEOUT);
1630  CASE_RETURN_STR(RPC_NT_OBJECT_NOT_FOUND);
1631  CASE_RETURN_STR(RPC_NT_ALREADY_REGISTERED);
1632  CASE_RETURN_STR(RPC_NT_TYPE_ALREADY_REGISTERED);
1633  CASE_RETURN_STR(RPC_NT_ALREADY_LISTENING);
1634  CASE_RETURN_STR(RPC_NT_NO_PROTSEQS_REGISTERED);
1635  CASE_RETURN_STR(RPC_NT_NOT_LISTENING);
1636  CASE_RETURN_STR(RPC_NT_UNKNOWN_MGR_TYPE);
1637  CASE_RETURN_STR(RPC_NT_UNKNOWN_IF);
1638  CASE_RETURN_STR(RPC_NT_NO_BINDINGS);
1639  CASE_RETURN_STR(RPC_NT_NO_PROTSEQS);
1640  CASE_RETURN_STR(RPC_NT_CANT_CREATE_ENDPOINT);
1641  CASE_RETURN_STR(RPC_NT_OUT_OF_RESOURCES);
1642  CASE_RETURN_STR(RPC_NT_SERVER_UNAVAILABLE);
1643  CASE_RETURN_STR(RPC_NT_SERVER_TOO_BUSY);
1644  CASE_RETURN_STR(RPC_NT_INVALID_NETWORK_OPTIONS);
1645  CASE_RETURN_STR(RPC_NT_NO_CALL_ACTIVE);
1646  CASE_RETURN_STR(RPC_NT_CALL_FAILED);
1647  CASE_RETURN_STR(RPC_NT_CALL_FAILED_DNE);
1648  CASE_RETURN_STR(RPC_NT_PROTOCOL_ERROR);
1649  CASE_RETURN_STR(RPC_NT_UNSUPPORTED_TRANS_SYN);
1650  CASE_RETURN_STR(RPC_NT_UNSUPPORTED_TYPE);
1651  CASE_RETURN_STR(RPC_NT_INVALID_TAG);
1652  CASE_RETURN_STR(RPC_NT_INVALID_BOUND);
1653  CASE_RETURN_STR(RPC_NT_NO_ENTRY_NAME);
1654  CASE_RETURN_STR(RPC_NT_INVALID_NAME_SYNTAX);
1655  CASE_RETURN_STR(RPC_NT_UNSUPPORTED_NAME_SYNTAX);
1656  CASE_RETURN_STR(RPC_NT_UUID_NO_ADDRESS);
1657  CASE_RETURN_STR(RPC_NT_DUPLICATE_ENDPOINT);
1658  CASE_RETURN_STR(RPC_NT_UNKNOWN_AUTHN_TYPE);
1659  CASE_RETURN_STR(RPC_NT_MAX_CALLS_TOO_SMALL);
1660  CASE_RETURN_STR(RPC_NT_STRING_TOO_LONG);
1661  CASE_RETURN_STR(RPC_NT_PROTSEQ_NOT_FOUND);
1662  CASE_RETURN_STR(RPC_NT_PROCNUM_OUT_OF_RANGE);
1663  CASE_RETURN_STR(RPC_NT_BINDING_HAS_NO_AUTH);
1664  CASE_RETURN_STR(RPC_NT_UNKNOWN_AUTHN_SERVICE);
1665  CASE_RETURN_STR(RPC_NT_UNKNOWN_AUTHN_LEVEL);
1666  CASE_RETURN_STR(RPC_NT_INVALID_AUTH_IDENTITY);
1667  CASE_RETURN_STR(RPC_NT_UNKNOWN_AUTHZ_SERVICE);
1668  CASE_RETURN_STR(EPT_NT_INVALID_ENTRY);
1669  CASE_RETURN_STR(EPT_NT_CANT_PERFORM_OP);
1670  CASE_RETURN_STR(EPT_NT_NOT_REGISTERED);
1671  CASE_RETURN_STR(RPC_NT_NOTHING_TO_EXPORT);
1672  CASE_RETURN_STR(RPC_NT_INCOMPLETE_NAME);
1673  CASE_RETURN_STR(RPC_NT_INVALID_VERS_OPTION);
1674  CASE_RETURN_STR(RPC_NT_NO_MORE_MEMBERS);
1675  CASE_RETURN_STR(RPC_NT_NOT_ALL_OBJS_UNEXPORTED);
1676  CASE_RETURN_STR(RPC_NT_INTERFACE_NOT_FOUND);
1677  CASE_RETURN_STR(RPC_NT_ENTRY_ALREADY_EXISTS);
1678  CASE_RETURN_STR(RPC_NT_ENTRY_NOT_FOUND);
1679  CASE_RETURN_STR(RPC_NT_NAME_SERVICE_UNAVAILABLE);
1680  CASE_RETURN_STR(RPC_NT_INVALID_NAF_ID);
1681  CASE_RETURN_STR(RPC_NT_CANNOT_SUPPORT);
1682  CASE_RETURN_STR(RPC_NT_NO_CONTEXT_AVAILABLE);
1683  CASE_RETURN_STR(RPC_NT_INTERNAL_ERROR);
1684  CASE_RETURN_STR(RPC_NT_ZERO_DIVIDE);
1685  CASE_RETURN_STR(RPC_NT_ADDRESS_ERROR);
1686  CASE_RETURN_STR(RPC_NT_FP_DIV_ZERO);
1687  CASE_RETURN_STR(RPC_NT_FP_UNDERFLOW);
1688  CASE_RETURN_STR(RPC_NT_FP_OVERFLOW);
1689  CASE_RETURN_STR(RPC_NT_NO_MORE_ENTRIES);
1690  CASE_RETURN_STR(RPC_NT_SS_CHAR_TRANS_OPEN_FAIL);
1691  CASE_RETURN_STR(RPC_NT_SS_CHAR_TRANS_SHORT_FILE);
1692  CASE_RETURN_STR(RPC_NT_SS_IN_NULL_CONTEXT);
1693  CASE_RETURN_STR(RPC_NT_SS_CONTEXT_MISMATCH);
1694  CASE_RETURN_STR(RPC_NT_SS_CONTEXT_DAMAGED);
1695  CASE_RETURN_STR(RPC_NT_SS_HANDLES_MISMATCH);
1696  CASE_RETURN_STR(RPC_NT_SS_CANNOT_GET_CALL_HANDLE);
1697  CASE_RETURN_STR(RPC_NT_NULL_REF_POINTER);
1698  CASE_RETURN_STR(RPC_NT_ENUM_VALUE_OUT_OF_RANGE);
1699  CASE_RETURN_STR(RPC_NT_BYTE_COUNT_TOO_SMALL);
1700  CASE_RETURN_STR(RPC_NT_BAD_STUB_DATA);
1701  CASE_RETURN_STR(RPC_NT_CALL_IN_PROGRESS);
1702  CASE_RETURN_STR(RPC_NT_NO_MORE_BINDINGS);
1703  CASE_RETURN_STR(RPC_NT_GROUP_MEMBER_NOT_FOUND);
1704  CASE_RETURN_STR(EPT_NT_CANT_CREATE);
1705  CASE_RETURN_STR(RPC_NT_INVALID_OBJECT);
1706  CASE_RETURN_STR(RPC_NT_NO_INTERFACES);
1707  CASE_RETURN_STR(RPC_NT_CALL_CANCELLED);
1708  CASE_RETURN_STR(RPC_NT_BINDING_INCOMPLETE);
1709  CASE_RETURN_STR(RPC_NT_COMM_FAILURE);
1710  CASE_RETURN_STR(RPC_NT_UNSUPPORTED_AUTHN_LEVEL);
1711  CASE_RETURN_STR(RPC_NT_NO_PRINC_NAME);
1712  CASE_RETURN_STR(RPC_NT_NOT_RPC_ERROR);
1713  CASE_RETURN_STR(RPC_NT_UUID_LOCAL_ONLY);
1714  CASE_RETURN_STR(RPC_NT_SEC_PKG_ERROR);
1715  CASE_RETURN_STR(RPC_NT_NOT_CANCELLED);
1716  CASE_RETURN_STR(RPC_NT_INVALID_ES_ACTION);
1717  CASE_RETURN_STR(RPC_NT_WRONG_ES_VERSION);
1718  CASE_RETURN_STR(RPC_NT_WRONG_STUB_VERSION);
1719  CASE_RETURN_STR(RPC_NT_INVALID_PIPE_OBJECT);
1720  CASE_RETURN_STR(RPC_NT_INVALID_PIPE_OPERATION);
1721  CASE_RETURN_STR(RPC_NT_WRONG_PIPE_VERSION);
1722  CASE_RETURN_STR(RPC_NT_PIPE_CLOSED);
1723  CASE_RETURN_STR(RPC_NT_PIPE_DISCIPLINE_ERROR);
1724  CASE_RETURN_STR(RPC_NT_PIPE_EMPTY);
1725  CASE_RETURN_STR(RPC_NT_INVALID_ASYNC_HANDLE);
1726  CASE_RETURN_STR(RPC_NT_INVALID_ASYNC_CALL);
1727  CASE_RETURN_STR(RPC_NT_SEND_INCOMPLETE);
1728  CASE_RETURN_STR(STATUS_ACPI_INVALID_OPCODE);
1729  CASE_RETURN_STR(STATUS_ACPI_STACK_OVERFLOW);
1730  CASE_RETURN_STR(STATUS_ACPI_ASSERT_FAILED);
1731  CASE_RETURN_STR(STATUS_ACPI_INVALID_INDEX);
1732  CASE_RETURN_STR(STATUS_ACPI_INVALID_ARGUMENT);
1733  CASE_RETURN_STR(STATUS_ACPI_FATAL);
1734  CASE_RETURN_STR(STATUS_ACPI_INVALID_SUPERNAME);
1735  CASE_RETURN_STR(STATUS_ACPI_INVALID_ARGTYPE);
1736  CASE_RETURN_STR(STATUS_ACPI_INVALID_OBJTYPE);
1737  CASE_RETURN_STR(STATUS_ACPI_INVALID_TARGETTYPE);
1738  CASE_RETURN_STR(STATUS_ACPI_INCORRECT_ARGUMENT_COUNT);
1739  CASE_RETURN_STR(STATUS_ACPI_ADDRESS_NOT_MAPPED);
1740  CASE_RETURN_STR(STATUS_ACPI_INVALID_EVENTTYPE);
1741  CASE_RETURN_STR(STATUS_ACPI_HANDLER_COLLISION);
1742  CASE_RETURN_STR(STATUS_ACPI_INVALID_DATA);
1743  CASE_RETURN_STR(STATUS_ACPI_INVALID_REGION);
1744  CASE_RETURN_STR(STATUS_ACPI_INVALID_ACCESS_SIZE);
1745  CASE_RETURN_STR(STATUS_ACPI_ACQUIRE_GLOBAL_LOCK);
1746  CASE_RETURN_STR(STATUS_ACPI_ALREADY_INITIALIZED);
1747  CASE_RETURN_STR(STATUS_ACPI_NOT_INITIALIZED);
1748  CASE_RETURN_STR(STATUS_ACPI_INVALID_MUTEX_LEVEL);
1749  CASE_RETURN_STR(STATUS_ACPI_MUTEX_NOT_OWNED);
1750  CASE_RETURN_STR(STATUS_ACPI_MUTEX_NOT_OWNER);
1751  CASE_RETURN_STR(STATUS_ACPI_RS_ACCESS);
1752  CASE_RETURN_STR(STATUS_ACPI_INVALID_TABLE);
1753  CASE_RETURN_STR(STATUS_ACPI_REG_HANDLER_FAILED);
1754  CASE_RETURN_STR(STATUS_ACPI_POWER_REQUEST_FAILED);
1755  CASE_RETURN_STR(STATUS_CTX_WINSTATION_NAME_INVALID);
1756  CASE_RETURN_STR(STATUS_CTX_INVALID_PD);
1757  CASE_RETURN_STR(STATUS_CTX_PD_NOT_FOUND);
1758  CASE_RETURN_STR(STATUS_CTX_CDM_CONNECT);
1759  CASE_RETURN_STR(STATUS_CTX_CDM_DISCONNECT);
1760  CASE_RETURN_STR(STATUS_CTX_CLOSE_PENDING);
1761  CASE_RETURN_STR(STATUS_CTX_NO_OUTBUF);
1762  CASE_RETURN_STR(STATUS_CTX_MODEM_INF_NOT_FOUND);
1763  CASE_RETURN_STR(STATUS_CTX_INVALID_MODEMNAME);
1764  CASE_RETURN_STR(STATUS_CTX_RESPONSE_ERROR);
1765  CASE_RETURN_STR(STATUS_CTX_MODEM_RESPONSE_TIMEOUT);
1766  CASE_RETURN_STR(STATUS_CTX_MODEM_RESPONSE_NO_CARRIER);
1767  CASE_RETURN_STR(STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE);
1768  CASE_RETURN_STR(STATUS_CTX_MODEM_RESPONSE_BUSY);
1769  CASE_RETURN_STR(STATUS_CTX_MODEM_RESPONSE_VOICE);
1770  CASE_RETURN_STR(STATUS_CTX_TD_ERROR);
1771  CASE_RETURN_STR(STATUS_CTX_LICENSE_CLIENT_INVALID);
1772  CASE_RETURN_STR(STATUS_CTX_LICENSE_NOT_AVAILABLE);
1773  CASE_RETURN_STR(STATUS_CTX_LICENSE_EXPIRED);
1774  CASE_RETURN_STR(STATUS_CTX_WINSTATION_NOT_FOUND);
1775  CASE_RETURN_STR(STATUS_CTX_WINSTATION_NAME_COLLISION);
1776  CASE_RETURN_STR(STATUS_CTX_WINSTATION_BUSY);
1777  CASE_RETURN_STR(STATUS_CTX_BAD_VIDEO_MODE);
1778  CASE_RETURN_STR(STATUS_CTX_GRAPHICS_INVALID);
1779  CASE_RETURN_STR(STATUS_CTX_NOT_CONSOLE);
1780  CASE_RETURN_STR(STATUS_CTX_CLIENT_QUERY_TIMEOUT);
1781  CASE_RETURN_STR(STATUS_CTX_CONSOLE_DISCONNECT);
1782  CASE_RETURN_STR(STATUS_CTX_CONSOLE_CONNECT);
1783  CASE_RETURN_STR(STATUS_CTX_SHADOW_DENIED);
1784  CASE_RETURN_STR(STATUS_CTX_WINSTATION_ACCESS_DENIED);
1785  CASE_RETURN_STR(STATUS_CTX_INVALID_WD);
1786  CASE_RETURN_STR(STATUS_CTX_WD_NOT_FOUND);
1787  CASE_RETURN_STR(STATUS_CTX_SHADOW_INVALID);
1788  CASE_RETURN_STR(STATUS_CTX_SHADOW_DISABLED);
1789  CASE_RETURN_STR(STATUS_RDP_PROTOCOL_ERROR);
1790  CASE_RETURN_STR(STATUS_CTX_CLIENT_LICENSE_NOT_SET);
1791  CASE_RETURN_STR(STATUS_CTX_CLIENT_LICENSE_IN_USE);
1792  CASE_RETURN_STR(STATUS_PNP_BAD_MPS_TABLE);
1793  CASE_RETURN_STR(STATUS_PNP_TRANSLATION_FAILED);
1794  CASE_RETURN_STR(STATUS_PNP_IRQ_TRANSLATION_FAILED);
1795  default:
1796  return "Unknown";
1797  }
1798 }
1799 #endif // DBG
#define STATUS_USER_SESSION_DELETED
Definition: ntstatus.h:647
#define RPC_NT_NO_PROTSEQS_REGISTERED
Definition: ntstatus.h:1193
#define STATUS_UNSUPPORTED_COMPRESSION
Definition: ntstatus.h:732
#define STATUS_NOT_SUPPORTED_ON_SBS
Definition: ntstatus.h:876
#define IOCTL_DISK_INTERNAL_SET_NOTIFY
Definition: ntdddisk.h:139
#define STATUS_REVISION_MISMATCH
Definition: ntstatus.h:325
#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH
Definition: mountmgr.h:127
#define STATUS_OBJECT_NAME_COLLISION
Definition: udferr_usr.h:150
#define STATUS_DEVICE_ALREADY_ATTACHED
Definition: ntstatus.h:292
#define STATUS_SERVER_SID_MISMATCH
Definition: ntstatus.h:787
#define STATUS_EAS_NOT_SUPPORTED
Definition: ntstatus.h:315
#define STATUS_NETLOGON_NOT_STARTED
Definition: ntstatus.h:635
#define STATUS_CONNECTION_COUNT_LIMIT
Definition: ntstatus.h:714
#define IOCTL_DISK_GET_DRIVE_GEOMETRY_EX
Definition: ntddk_ex.h:208
#define STATUS_DRIVER_CANCEL_TIMEOUT
Definition: ntstatus.h:674
#define IOCTL_STORAGE_MCN_CONTROL
Definition: ntddstor.h:128
#define STATUS_INSTANCE_NOT_AVAILABLE
Definition: ntstatus.h:407
#define IRP_MN_CANCEL_REMOVE_DEVICE
#define STATUS_PAGEFILE_QUOTA_EXCEEDED
Definition: ntstatus.h:536
#define STATUS_WRONG_PASSWORD
Definition: ntstatus.h:342
#define STATUS_WORKING_SET_QUOTA
Definition: ntstatus.h:397
#define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
Definition: ntstatus.h:836
#define STATUS_DEVICE_DOES_NOT_EXIST
Definition: ntstatus.h:428
#define STATUS_VOLUME_NOT_UPGRADED
Definition: ntstatus.h:783
#define STATUS_INVALID_CONNECTION
Definition: ntstatus.h:556
#define STATUS_INVALID_UNWIND_TARGET
Definition: ntstatus.h:278
#define STATUS_MEMBER_NOT_IN_GROUP
Definition: ntstatus.h:340
#define STATUS_INTERNAL_DB_ERROR
Definition: ntstatus.h:580
#define STATUS_NOT_ALL_ASSIGNED
Definition: ntstatus.h:85
#define STATUS_BACKUP_CONTROLLER
Definition: ntstatus.h:624
#define IOCTL_DISK_FORMAT_DRIVE
Definition: ntdddisk.h:64
#define STATUS_RECEIVE_PARTIAL
Definition: ntstatus.h:129
#define STATUS_SERIAL_MORE_WRITES
Definition: ntstatus.h:122
#define IOCTL_DISK_SET_DRIVE_LAYOUT_EX
Definition: ntdddisk.h:208
#define STATUS_ACPI_MUTEX_NOT_OWNED
Definition: ntstatus.h:1313
#define STATUS_PWD_TOO_SHORT
Definition: ntstatus.h:728
#define STATUS_DELETE_PENDING
Definition: ntstatus.h:322
return STATUS_NOT_SUPPORTED
#define STATUS_DS_CANT_MOD_OBJ_CLASS
Definition: ntstatus.h:801
#define STATUS_PRIVILEGE_NOT_HELD
Definition: DriverTester.h:9
#define STATUS_WX86_CREATEWX86TIB
Definition: ntstatus.h:154
#define STATUS_BAD_LOGON_SESSION_STATE
Definition: ntstatus.h:496
#define STATUS_DEVICE_REMOVED
Definition: ntstatus.h:809
#define STATUS_EVENTLOG_FILE_CHANGED
Definition: ntstatus.h:640
#define STATUS_MAGAZINE_NOT_PRESENT
Definition: ntstatus.h:764
#define STATUS_NO_MEDIA_IN_DEVICE
Definition: udferr_usr.h:141
#define RPC_NT_DUPLICATE_ENDPOINT
Definition: ntstatus.h:1216
#define STATUS_PLUGPLAY_NO_DEVICE
Definition: ntstatus.h:731
#define STATUS_LOGON_SERVER_CONFLICT
Definition: ntstatus.h:542
#define STATUS_NETWORK_NAME_DELETED
Definition: ntstatus.h:437
#define STATUS_CONNECTION_REFUSED
Definition: ntstatus.h:698
#define IOCTL_DISK_HISTOGRAM_RESET
Definition: ntdddisk.h:130
#define STATUS_NO_QUOTAS_FOR_ACCOUNT
Definition: ntstatus.h:92
#define RPC_NT_SS_CONTEXT_MISMATCH
Definition: ntstatus.h:1269
#define IOCTL_DISK_EJECT_MEDIA
Definition: cdrw_usr.h:177
#define IRP_MN_REGINFO
#define STATUS_FILE_IS_A_DIRECTORY
Definition: udferr_usr.h:164
#define STATUS_INVALID_ID_AUTHORITY
Definition: ntstatus.h:368
#define STATUS_TRANSACTION_TIMED_OUT
Definition: ntstatus.h:660
#define STATUS_INVALID_SECURITY_DESCR
Definition: ntstatus.h:357
#define STATUS_ACPI_RS_ACCESS
Definition: ntstatus.h:1315
#define STATUS_CONNECTION_RESET
Definition: ntstatus.h:657
#define STATUS_BAD_IMPERSONATION_LEVEL
Definition: ntstatus.h:401
#define IRP_MJ_CREATE
Definition: rdpdr.c:44
#define STATUS_LOGON_SESSION_COLLISION
Definition: ntstatus.h:497
#define STATUS_REDIRECTOR_NOT_STARTED
Definition: ntstatus.h:487
#define IRP_MN_QUERY_RESOURCES
#define RPC_NT_INVALID_TIMEOUT
Definition: ntstatus.h:1188
#define STATUS_NOT_MAPPED_DATA
Definition: udferr_usr.h:157
#define STATUS_REINITIALIZATION_NEEDED
Definition: ntstatus.h:765
#define IRP_MN_REMOVE_DEVICE
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
#define DBG_TERMINATE_PROCESS
Definition: ntstatus.h:51
#define STATUS_ILLEGAL_INSTRUCTION
Definition: ntstatus.h:266
#define IRP_MN_QUERY_ID
#define STATUS_TOO_MANY_ADDRESSES
Definition: ntstatus.h:653
#define STATUS_PARITY_ERROR
Definition: ntstatus.h:280
#define RPC_NT_BAD_STUB_DATA
Definition: ntstatus.h:1276
#define STATUS_NOT_SERVER_SESSION
Definition: ntstatus.h:666
#define STATUS_ACPI_ACQUIRE_GLOBAL_LOCK
Definition: ntstatus.h:1309
#define IRP_MJ_CREATE_MAILSLOT
#define STATUS_ALREADY_DISCONNECTED
Definition: ntstatus.h:216
#define IOCTL_STORAGE_BREAK_RESERVATION
Definition: ntddstor.h:166
#define STATUS_QUOTA_EXCEEDED
Definition: ntstatus.h:304
#define STATUS_PIPE_DISCONNECTED
Definition: ntstatus.h:412
#define STATUS_DEVICE_REQUIRES_CLEANING
Definition: ntstatus.h:226
#define RPC_NT_BYTE_COUNT_TOO_SMALL
Definition: ntstatus.h:1275
#define STATUS_CONTROL_C_EXIT
Definition: ntstatus.h:550
#define STATUS_INFO_LENGTH_MISMATCH
Definition: udferr_usr.h:133
#define STATUS_ACPI_INVALID_EVENTTYPE
Definition: ntstatus.h:1304
#define STATUS_FILE_NOT_ENCRYPTED
Definition: ntstatus.h:773
#define STATUS_NULL_LM_PASSWORD
Definition: ntstatus.h:127
#define STATUS_REMOTE_RESOURCES
Definition: ntstatus.h:553
#define IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY
Definition: imports.h:86
#define STATUS_WMI_GUID_NOT_FOUND
Definition: ntstatus.h:776
#define IOCTL_STORAGE_SET_HOTPLUG_INFO
Definition: ntddstor.h:157
#define STATUS_CRASH_DUMP
Definition: ntstatus.h:100
#define STATUS_CTX_CONSOLE_DISCONNECT
Definition: ntstatus.h:1344
#define STATUS_NO_MORE_ENTRIES
Definition: ntstatus.h:205
#define STATUS_CONVERT_TO_LARGE
Definition: ntstatus.h:688
#define RPC_NT_NO_CONTEXT_AVAILABLE
Definition: ntstatus.h:1241
#define RPC_NT_INTERFACE_NOT_FOUND
Definition: ntstatus.h:1235
#define STATUS_DATATYPE_MISALIGNMENT_ERROR
Definition: ntstatus.h:817
#define RPC_NT_UNKNOWN_AUTHZ_SERVICE
Definition: ntstatus.h:1226
#define STATUS_NOT_SAME_DEVICE
Definition: ntstatus.h:448
#define IRP_MJ_QUERY_SECURITY
#define STATUS_INVALID_QUOTA_LOWER
Definition: ntstatus.h:286
#define STATUS_PWD_TOO_RECENT
Definition: ntstatus.h:729
#define STATUS_WAKE_SYSTEM_DEBUGGER
Definition: ntstatus.h:188
#define IRP_MJ_FLUSH_BUFFERS
#define STATUS_NO_SUCH_MEMBER
Definition: ntstatus.h:611
#define RPC_NT_NO_PRINC_NAME
Definition: ntstatus.h:1258
#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED
Definition: mountmgr.h:40
#define STATUS_RANGE_NOT_FOUND
Definition: ntstatus.h:768
#define IRP_MN_POWER_SEQUENCE
#define STATUS_DATA_OVERRUN
Definition: udferr_usr.h:152
#define IRP_MN_QUERY_POWER
#define IOCTL_STORAGE_MEDIA_REMOVAL
Definition: ntddstor.h:104
#define STATUS_SEMAPHORE_LIMIT_EXCEEDED
Definition: ntstatus.h:307
#define FT_SYNC_REDUNDANT_COPY
Definition: ntddft.h:32
#define STATUS_APP_INIT_FAILURE
Definition: ntstatus.h:561
#define STATUS_CTX_PD_NOT_FOUND
Definition: ntstatus.h:1322
#define IOCTL_DISK_INTERNAL_SET_VERIFY
Definition: ntdddisk.h:136
#define STATUS_MORE_PROCESSING_REQUIRED
Definition: shellext.h:68
#define STATUS_CONNECTION_INVALID
Definition: ntstatus.h:702
#define RPC_NT_SS_CHAR_TRANS_OPEN_FAIL
Definition: ntstatus.h:1266
#define STATUS_DIRECTORY_NOT_EMPTY
Definition: udferr_usr.h:167
#define STATUS_CONNECTION_IN_USE
Definition: ntstatus.h:500
#define STATUS_ADDRESS_CLOSED
Definition: ntstatus.h:655
#define RPC_NT_CANNOT_SUPPORT
Definition: ntstatus.h:1240
#define IOCTL_MOUNTDEV_LINK_DELETED
Definition: imports.h:112
#define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
Definition: ntstatus.h:641
#define STATUS_ILLEGAL_ELEMENT_ADDRESS
Definition: ntstatus.h:763
#define STATUS_DEVICE_NOT_PARTITIONED
Definition: ntstatus.h:606
#define STATUS_WX86_SINGLE_STEP
Definition: ntstatus.h:144
#define IRP_MJ_SHUTDOWN
#define STATUS_NO_SUCH_LOGON_SESSION
Definition: ntstatus.h:331
#define STATUS_RANGE_NOT_LOCKED
Definition: ntstatus.h:362
#define STATUS_BAD_STACK
Definition: ntstatus.h:277
#define IOCTL_VFD_SET_PROTECT
Definition: vfdio.h:247
#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED
Definition: mountmgr.h:38
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
#define STATUS_ACPI_INVALID_TARGETTYPE
Definition: ntstatus.h:1301
#define STATUS_LOGON_TYPE_NOT_GRANTED
Definition: ntstatus.h:583
#define STATUS_NO_YIELD_PERFORMED
Definition: ntstatus.h:150
#define STATUS_SETMARK_DETECTED
Definition: ntstatus.h:212
#define STATUS_TOO_MANY_SECRETS
Definition: udferr_usr.h:174
#define STATUS_MULTIPLE_FAULT_VIOLATION
Definition: ntstatus.h:852
#define RPC_NT_NO_PROTSEQS
Definition: ntstatus.h:1198
#define IRP_MN_FILTER_RESOURCE_REQUIREMENTS
#define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
Definition: ntstatus.h:839
#define STATUS_NO_EFS
Definition: ntstatus.h:770
#define STATUS_THREAD_IS_TERMINATING
Definition: ntstatus.h:311
#define STATUS_NO_MORE_MATCHES
Definition: ntstatus.h:752
#define STATUS_SERIAL_COUNTER_TIMEOUT
Definition: ntstatus.h:126
#define STATUS_PNP_RESTART_ENUMERATION
Definition: ntstatus.h:826
#define RPC_NT_ALREADY_LISTENING
Definition: ntstatus.h:1192
#define STATUS_DS_NO_ATTRIBUTE_OR_VALUE
Definition: ntstatus.h:788
#define STATUS_LOST_WRITEBEHIND_DATA
Definition: udferr_usr.h:180
#define IRP_MN_QUERY_RESOURCE_REQUIREMENTS
#define STATUS_EVENT_DONE
Definition: ntstatus.h:132
#define STATUS_REGISTRY_IO_FAILED
Definition: ntstatus.h:569
#define IRP_MN_WRITE_CONFIG
#define STATUS_WMI_TRY_AGAIN
Definition: ntstatus.h:779
#define IOCTL_VFD_QUERY_NAME
Definition: vfdio.h:358
#define STATUS_CARDBUS_NOT_SUPPORTED
Definition: ntstatus.h:153
#define SMART_GET_VERSION
Definition: ntdddisk.h:257
#define STATUS_UNABLE_TO_UNLOAD_MEDIA
Definition: udferr_usr.h:176
#define IRP_MJ_SET_SECURITY
#define EPT_NT_CANT_CREATE
Definition: ntstatus.h:1251
#define STATUS_CTX_WINSTATION_NAME_COLLISION
Definition: ntstatus.h:1338
char CHAR
Definition: xmlstorage.h:175
#define STATUS_OPEN_FAILED
Definition: ntstatus.h:546
#define IRP_MJ_PNP
Definition: cdrw_usr.h:52
#define STATUS_REG_NAT_CONSUMPTION
Definition: ntstatus.h:821
#define RPC_NT_INVALID_TAG
Definition: ntstatus.h:1210
#define STATUS_UNDEFINED_CHARACTER
Definition: ntstatus.h:591
#define STATUS_LOG_FILE_FULL
Definition: ntstatus.h:625
#define RPC_NT_NO_MORE_MEMBERS
Definition: ntstatus.h:1233
#define STATUS_PIPE_EMPTY
Definition: ntstatus.h:453
#define STATUS_DIRECTORY_IS_A_REPARSE_POINT
Definition: ntstatus.h:759
#define STATUS_CANT_OPEN_ANONYMOUS
Definition: ntstatus.h:402
#define STATUS_FT_WRITE_RECOVERY
Definition: udferr_usr.h:126
#define STATUS_OBJECT_NAME_EXISTS
Definition: ntstatus.h:114
#define STATUS_ABIOS_SELECTOR_NOT_AVAILABLE
Definition: ntstatus.h:513
LONG NTSTATUS
Definition: precomp.h:26
#define RPC_NT_UNKNOWN_AUTHN_LEVEL
Definition: ntstatus.h:1224
#define IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS
Definition: mountmgr.h:36
#define IOCTL_DISK_CHECK_VERIFY
Definition: cdrw_usr.h:175
#define STATUS_SINGLE_STEP
Definition: ntstatus.h:185
#define STATUS_NO_RECOVERY_POLICY
Definition: ntstatus.h:769
#define STATUS_BAD_MASTER_BOOT_RECORD
Definition: ntstatus.h:405
#define STATUS_INVALID_PARAMETER_12
Definition: ntstatus.h:486
#define STATUS_EVENTLOG_FILE_CORRUPT
Definition: ntstatus.h:631
#define STATUS_IO_REPARSE_TAG_NOT_HANDLED
Definition: ntstatus.h:757
#define IOCTL_STORAGE_RESET_DEVICE
Definition: ntddstor.h:140
#define STATUS_LOGON_NOT_GRANTED
Definition: ntstatus.h:577
#define STATUS_VIRTUAL_CIRCUIT_CLOSED
Definition: ntstatus.h:450
#define STATUS_RDP_PROTOCOL_ERROR
Definition: ntstatus.h:1352
#define RPC_NT_INVALID_PIPE_OPERATION
Definition: ntstatus.h:1281
#define STATUS_NO_SUCH_PACKAGE
Definition: ntstatus.h:490
#define STATUS_REGISTRY_RECOVERED
Definition: ntstatus.h:123
#define IOCTL_DISK_CONTROLLER_NUMBER
Definition: ntdddisk.h:52
#define STATUS_NO_EAS_ON_FILE
Definition: ntstatus.h:318
#define STATUS_INVALID_PARAMETER_9
Definition: ntstatus.h:483
#define STATUS_GUARD_PAGE_VIOLATION
Definition: ntstatus.h:182
#define STATUS_CORRUPT_SYSTEM_FILE
Definition: ntstatus.h:816
#define IOCTL_STORAGE_GET_HOTPLUG_INFO
Definition: imports.h:238
#define RPC_NT_INVALID_RPC_PROTSEQ
Definition: ntstatus.h:1183
#define STATUS_INVALID_PARAMETER_8
Definition: ntstatus.h:482
#define IOCTL_VOLUME_IS_CLUSTERED
Definition: ntddvol.h:44
#define IOCTL_DISK_CREATE_DISK
Definition: ntdddisk.h:55
#define IRP_MJ_SET_VOLUME_INFORMATION
#define IOCTL_VOLUME_QUERY_VOLUME_NUMBER
Definition: ntddvol.h:47
#define STATUS_POLICY_OBJECT_NOT_FOUND
Definition: ntstatus.h:781
#define RPC_NT_SERVER_TOO_BUSY
Definition: ntstatus.h:1202
#define STATUS_INSUFF_SERVER_RESOURCES
Definition: ntstatus.h:649
#define IOCTL_VFD_CLEAR_PROTECT
Definition: vfdio.h:273
#define STATUS_ACPI_INVALID_OBJTYPE
Definition: ntstatus.h:1300
#define STATUS_DRIVER_ORDINAL_NOT_FOUND
Definition: ntstatus.h:735
#define IOCTL_VOLUME_LOGICAL_TO_PHYSICAL
Definition: ntddvol.h:32
#define STATUS_INVALID_DEVICE_REQUEST
Definition: udferr_usr.h:138
#define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
Definition: ntstatus.h:834
#define STATUS_REQUEST_NOT_ACCEPTED
Definition: ntstatus.h:444
#define RPC_NT_NO_CALL_ACTIVE
Definition: ntstatus.h:1204
#define IOCTL_DISK_IS_WRITABLE
Definition: cdrw_usr.h:172
#define STATUS_DS_INCORRECT_ROLE_OWNER
Definition: ntstatus.h:796
#define IOCTL_MOUNTMGR_CREATE_POINT
Definition: imports.h:118
#define RPC_NT_UNKNOWN_AUTHN_TYPE
Definition: ntstatus.h:1217
#define STATUS_VDM_HARD_ERROR
Definition: ntstatus.h:673
#define IOCTL_DISK_UPDATE_DRIVE_SIZE
Definition: ntdddisk.h:239
#define RPC_NT_WRONG_STUB_VERSION
Definition: ntstatus.h:1279
#define STATUS_PRINT_CANCELLED
Definition: ntstatus.h:436
#define IOCTL_VOLUME_IS_PARTITION
Definition: ntddvol.h:50
#define STATUS_MEMBERS_PRIMARY_GROUP
Definition: ntstatus.h:531
#define STATUS_NOT_EXPORT_FORMAT
Definition: ntstatus.h:774
#define STATUS_NO_SUCH_DOMAIN
Definition: ntstatus.h:459
#define STATUS_DATA_LATE_ERROR
Definition: ntstatus.h:297
#define STATUS_NOT_LOGON_PROCESS
Definition: ntstatus.h:473
#define RPC_NT_ENUM_VALUE_OUT_OF_RANGE
Definition: ntstatus.h:1274
#define STATUS_DEBUG_ATTACH_FAILED
Definition: ntstatus.h:669
#define RPC_NT_GROUP_MEMBER_NOT_FOUND
Definition: ntstatus.h:1250
#define STATUS_INVALID_OPLOCK_PROTOCOL
Definition: ntstatus.h:463
#define STATUS_THREAD_WAS_SUSPENDED
Definition: ntstatus.h:115
#define STATUS_END_OF_MEDIA
Definition: ntstatus.h:209
#define IRP_MN_QUERY_LEGACY_BUS_INFORMATION
Definition: iotypes.h:4426
#define STATUS_FAIL_CHECK
Definition: ntstatus.h:685
#define IRP_MN_EJECT
#define STATUS_ACCOUNT_LOCKED_OUT
Definition: ntstatus.h:696
#define STATUS_DS_UNAVAILABLE
Definition: ntstatus.h:793
#define STATUS_REDIRECTOR_PAUSED
Definition: ntstatus.h:445
#define STATUS_REMOTE_STORAGE_MEDIA_ERROR
Definition: ntstatus.h:785
#define STATUS_ACPI_STACK_OVERFLOW
Definition: ntstatus.h:1293
#define RPC_NT_BINDING_INCOMPLETE
Definition: ntstatus.h:1255
#define STATUS_FILE_INVALID
Definition: ntstatus.h:388
#define STATUS_CTX_SHADOW_INVALID
Definition: ntstatus.h:1350
#define STATUS_INVALID_VOLUME_LABEL
Definition: udferr_usr.h:156
#define IRP_MN_QUERY_SINGLE_INSTANCE
#define STATUS_INVALID_PARAMETER_MIX
Definition: ntstatus.h:285
#define STATUS_WRONG_VOLUME
Definition: udferr_usr.h:140
#define STATUS_SHARED_POLICY
Definition: ntstatus.h:780
#define STATUS_IP_ADDRESS_CONFLICT2
Definition: ntstatus.h:723
#define STATUS_BEGINNING_OF_MEDIA
Definition: ntstatus.h:210
#define STATUS_WMI_READ_ONLY
Definition: ntstatus.h:818
#define STATUS_FS_DRIVER_REQUIRED
Definition: ntstatus.h:645
#define STATUS_FLOAT_DIVIDE_BY_ZERO
Definition: ntstatus.h:378
#define STATUS_ACPI_INVALID_ACCESS_SIZE
Definition: ntstatus.h:1308
#define STATUS_FLOAT_INEXACT_RESULT
Definition: ntstatus.h:379
#define STATUS_ALIAS_EXISTS
Definition: ntstatus.h:576
#define STATUS_VERIFY_REQUIRED
Definition: udferr_usr.h:130
#define STATUS_ALERTED
Definition: ntstatus.h:80
#define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX
Definition: ntstatus.h:789
#define IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES
Definition: mountmgr.h:46
#define STATUS_AGENTS_EXHAUSTED
Definition: ntstatus.h:369
#define STATUS_CTX_MODEM_INF_NOT_FOUND
Definition: ntstatus.h:1325
#define STATUS_ABIOS_INVALID_COMMAND
Definition: ntstatus.h:511
#define STATUS_BAD_WORKING_SET_LIMIT
Definition: ntstatus.h:312
#define RPC_NT_INVALID_BOUND
Definition: ntstatus.h:1211
#define STATUS_NO_GUID_TRANSLATION
Definition: ntstatus.h:504
#define STATUS_PIPE_CLOSING
Definition: ntstatus.h:413
#define STATUS_FREE_VM_NOT_AT_BASE
Definition: ntstatus.h:395
#define STATUS_DUPLICATE_NAME
Definition: ntstatus.h:425
#define STATUS_INVALID_BLOCK_LENGTH
Definition: udferr_usr.h:175
#define STATUS_MUTANT_NOT_OWNED
Definition: ntstatus.h:306
#define DBG_REPLY_LATER
Definition: ntstatus.h:48
#define STATUS_CTX_WINSTATION_NOT_FOUND
Definition: ntstatus.h:1337
#define STATUS_NO_TRACKING_SERVICE
Definition: ntstatus.h:786
#define DBG_APP_NOT_IDLE
Definition: ntstatus.h:59
#define STATUS_PAGEFILE_QUOTA
Definition: ntstatus.h:244
#define DBG_CONTINUE
Definition: ntstatus.h:47
#define STATUS_HOST_UNREACHABLE
Definition: ntstatus.h:705
#define STATUS_INVALID_HANDLE
Definition: ntstatus.h:245
#define RPC_NT_INVALID_NAME_SYNTAX
Definition: ntstatus.h:1213
#define RPC_NT_INVALID_VERS_OPTION
Definition: ntstatus.h:1232
#define IOCTL_DISK_GET_CACHE_INFORMATION
Definition: ntdddisk.h:73
#define STATUS_BAD_FUNCTION_TABLE
Definition: ntstatus.h:491
#define STATUS_ACCOUNT_EXPIRED
Definition: ntstatus.h:636
#define STATUS_NONEXISTENT_SECTOR
Definition: udferr_usr.h:143
#define STATUS_BUFFER_ALL_ZEROS
Definition: udferr_usr.h:125
#define IRP_MN_ENABLE_COLLECTION
#define IOCTL_MOUNTMGR_VOLUME_ARRIVAL_NOTIFICATION
Definition: imports.h:130
#define STATUS_ADDRESS_ALREADY_EXISTS
Definition: ntstatus.h:654
#define STATUS_NOT_TINY_STREAM
Definition: ntstatus.h:682
#define STATUS_WMI_INSTANCE_NOT_FOUND
Definition: ntstatus.h:777
#define STATUS_FLOAT_MULTIPLE_FAULTS
Definition: ntstatus.h:807
#define STATUS_BUFFER_TOO_SMALL
Definition: shellext.h:69
#define STATUS_NONE_MAPPED
Definition: ntstatus.h:351
#define STATUS_INVALID_LOGON_HOURS
Definition: ntstatus.h:347
#define STATUS_DRIVER_ENTRYPOINT_NOT_FOUND
Definition: ntstatus.h:736
#define EPT_NT_CANT_PERFORM_OP
Definition: ntstatus.h:1228
#define STATUS_RXACT_COMMIT_FAILURE
Definition: ntstatus.h:521
#define IOCTL_VFD_QUERY_VERSION
Definition: vfdio.h:387
#define STATUS_UNEXPECTED_MM_MAP_ERROR
Definition: ntstatus.h:471
#define STATUS_FLOAT_STACK_CHECK
Definition: ntstatus.h:382
#define STATUS_DS_INIT_FAILURE
Definition: ntstatus.h:846
#define STATUS_ABIOS_INVALID_LID
Definition: ntstatus.h:512
#define STATUS_TOO_MANY_PAGING_FILES
Definition: ntstatus.h:387
#define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
Definition: ntstatus.h:849
#define STATUS_ACCOUNT_RESTRICTION
Definition: ntstatus.h:346
#define STATUS_UNRECOGNIZED_MEDIA
Definition: udferr_usr.h:142
#define IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE
Definition: mountmgr.h:44
#define STATUS_INVALID_PORT_HANDLE
Definition: ntstatus.h:302
#define IOCTL_DISK_FIND_NEW_DEVICES
Definition: cdrw_usr.h:181
#define STATUS_MARSHALL_OVERFLOW
Definition: ntstatus.h:693
#define STATUS_EA_TOO_LARGE
Definition: ntstatus.h:316
#define STATUS_END_OF_FILE
Definition: shellext.h:67
#define STATUS_TRUST_FAILURE
Definition: ntstatus.h:633
#define STATUS_INVALID_DEVICE_STATE
Definition: udferr_usr.h:178
#define STATUS_ALREADY_COMMITTED
Definition: ntstatus.h:270
#define STATUS_IO_DEVICE_ERROR
Definition: udferr_usr.h:179
#define STATUS_DS_RIDMGR_INIT_ERROR
Definition: ntstatus.h:797
#define STATUS_FLOPPY_WRONG_CYLINDER
Definition: ntstatus.h:594
#define STATUS_LINK_TIMEOUT
Definition: ntstatus.h:555
#define STATUS_FLOAT_UNDERFLOW
Definition: ntstatus.h:383
#define STATUS_PASSWORD_RESTRICTION
Definition: ntstatus.h:344
#define IOCTL_STORAGE_FIND_NEW_DEVICES
Definition: ntddstor.h:122
#define STATUS_INTERNAL_ERROR
Definition: ntstatus.h:465
#define STATUS_TIMEOUT
Definition: ntstatus.h:81
#define STATUS_DS_OBJ_CLASS_VIOLATION
Definition: ntstatus.h:798
#define STATUS_WAIT_2
Definition: ntstatus.h:72
#define STATUS_CANT_ACCESS_DOMAIN_INFO
Definition: ntstatus.h:454
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define STATUS_DEVICE_PROTOCOL_ERROR
Definition: ntstatus.h:623
#define STATUS_WAIT_1
Definition: ntstatus.h:71
#define STATUS_NO_USER_SESSION_KEY
Definition: ntstatus.h:646
#define STATUS_IO_REPARSE_TAG_MISMATCH
Definition: ntstatus.h:755
#define STATUS_DEVICE_PAPER_EMPTY
Definition: ntstatus.h:194
#define IOCTL_MOUNTDEV_QUERY_DEVICE_NAME
Definition: imports.h:93
#define STATUS_JOURNAL_ENTRY_DELETED
Definition: ntstatus.h:827
#define STATUS_PAGE_FAULT_GUARD_PAGE
Definition: ntstatus.h:97
#define STATUS_PAGEFILE_CREATE_FAILED
Definition: ntstatus.h:562
#define STATUS_INVALID_DOMAIN_STATE
Definition: ntstatus.h:457
#define IOCTL_MOUNTMGR_QUERY_POINTS
Definition: mountmgr.h:30
return STATUS_NOT_IMPLEMENTED
#define _snprintf
Definition: xmlstorage.h:200
#define STATUS_DESTINATION_ELEMENT_FULL
Definition: ntstatus.h:762
#define STATUS_SPECIAL_GROUP
Definition: ntstatus.h:529
#define STATUS_WMI_SET_FAILURE
Definition: ntstatus.h:819
#define STATUS_PORT_CONNECTION_REFUSED
Definition: ntstatus.h:301
#define STATUS_MEDIA_CHANGED
Definition: ntstatus.h:207
#define STATUS_FILEMARK_DETECTED
Definition: ntstatus.h:206
#define IOCTL_DISK_FORMAT_TRACKS
Definition: cdrw_usr.h:171
#define IOCTL_MOUNTDEV_QUERY_UNIQUE_ID
Definition: imports.h:80
#define STATUS_FILE_CORRUPT_ERROR
Definition: udferr_usr.h:168
#define STATUS_TIMER_NOT_CANCELED
Definition: ntstatus.h:249
#define STATUS_INVALID_PORT_ATTRIBUTES
Definition: ntstatus.h:283
#define STATUS_NOT_A_DIRECTORY
Definition: udferr_usr.h:169
#define RPC_NT_NO_INTERFACES
Definition: ntstatus.h:1253
#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS
Definition: mountmgr.h:129
#define STATUS_INVALID_PARAMETER_3
Definition: ntstatus.h:477
#define STATUS_INVALID_SERVER_STATE
Definition: ntstatus.h:456
#define STATUS_DOMAIN_TRUST_INCONSISTENT
Definition: ntstatus.h:644
#define STATUS_NO_PAGEFILE
Definition: ntstatus.h:563
#define STATUS_DRIVER_UNABLE_TO_LOAD
Definition: ntstatus.h:745
#define STATUS_ACPI_INVALID_REGION
Definition: ntstatus.h:1307
#define STATUS_ACPI_INVALID_SUPERNAME
Definition: ntstatus.h:1298
#define STATUS_FLOAT_OVERFLOW
Definition: ntstatus.h:381
#define STATUS_DEVICE_POWERED_OFF
Definition: ntstatus.h:195
#define STATUS_DOMAIN_CONTROLLER_NOT_FOUND
Definition: ntstatus.h:695
#define IOCTL_VOLUME_OFFLINE
Definition: ntddvol.h:65
#define STATUS_RECOVERY_FAILURE
Definition: ntstatus.h:683
#define STATUS_SHARING_VIOLATION
Definition: udferr_usr.h:154
#define STATUS_DS_INVALID_GROUP_TYPE
Definition: ntstatus.h:832
#define STATUS_REMOTE_DISCONNECT
Definition: ntstatus.h:552
#define STATUS_INVALID_EA_FLAG
Definition: ntstatus.h:201
#define IRP_MN_QUERY_REMOVE_DEVICE
#define STATUS_ACPI_HANDLER_COLLISION
Definition: ntstatus.h:1305
#define RPC_NT_INVALID_NAF_ID
Definition: ntstatus.h:1239
#define STATUS_INVALID_DISPOSITION
Definition: ntstatus.h:275
#define STATUS_INTEGER_OVERFLOW
Definition: ntstatus.h:385
#define STATUS_DS_CANT_ON_RDN
Definition: ntstatus.h:800
#define STATUS_DS_SAM_INIT_FAILURE
Definition: ntstatus.h:823
#define IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER
Definition: mountmgr.h:34
#define RPC_NT_ZERO_DIVIDE
Definition: ntstatus.h:1243
#define STATUS_DISK_RESET_FAILED
Definition: ntstatus.h:599
#define STATUS_INVALID_LDT_SIZE
Definition: ntstatus.h:516
#define STATUS_TOO_MANY_OPENED_FILES
Definition: ntstatus.h:523
#define STATUS_INVALID_CID
Definition: ntstatus.h:248
#define IOCTL_DISK_VERIFY
Definition: cdrw_usr.h:170
#define STATUS_UNRECOGNIZED_VOLUME
Definition: udferr_usr.h:173
#define DBG_EXCEPTION_HANDLED
Definition: ntstatus.h:46
#define IRP_MN_CHANGE_SINGLE_ITEM
#define STATUS_FILE_ENCRYPTED
Definition: ntstatus.h:775
#define STATUS_ACPI_INVALID_MUTEX_LEVEL
Definition: ntstatus.h:1312
#define STATUS_ILLEGAL_DLL_RELOCATION
Definition: ntstatus.h:742
#define STATUS_TOO_MANY_NODES
Definition: ntstatus.h:658
#define STATUS_FOUND_OUT_OF_SCOPE
Definition: ntstatus.h:690
#define IOCTL_DISK_DELETE_DRIVE_LAYOUT
Definition: ntdddisk.h:58
#define STATUS_REPARSE_OBJECT
Definition: ntstatus.h:102
#define RPC_NT_INVALID_STRING_UUID
Definition: ntstatus.h:1184
#define STATUS_REDIRECTOR_STARTED
Definition: ntstatus.h:488
#define STATUS_ACPI_NOT_INITIALIZED
Definition: ntstatus.h:1311
#define STATUS_MAPPED_ALIGNMENT
Definition: ntstatus.h:676
#define STATUS_INTEGER_DIVIDE_BY_ZERO
Definition: ntstatus.h:384
#define STATUS_NT_CROSS_ENCRYPTION_REQUIRED
Definition: ntstatus.h:585
#define STATUS_ACPI_FATAL
Definition: ntstatus.h:1297
#define IRP_MJ_SET_EA
#define RPC_NT_INVALID_ASYNC_CALL
Definition: ntstatus.h:1263
#define IOCTL_STORAGE_EJECTION_CONTROL
Definition: ntddstor.h:125
#define STATUS_INVALID_USER_BUFFER
Definition: udferr_usr.h:166
#define RPC_NT_INTERNAL_ERROR
Definition: ntstatus.h:1242
#define STATUS_GENERIC_NOT_MAPPED
Definition: ntstatus.h:466
#define STATUS_ACPI_ADDRESS_NOT_MAPPED
Definition: ntstatus.h:1303
#define DBG_NO_STATE_CHANGE
Definition: ntstatus.h:58
#define IOCTL_STORAGE_RELEASE
Definition: ntddstor.h:119
#define STATUS_DS_NO_RIDS_ALLOCATED
Definition: ntstatus.h:794
#define STATUS_BAD_NETWORK_PATH
Definition: ntstatus.h:426
#define STATUS_ABIOS_INVALID_SELECTOR
Definition: ntstatus.h:514
#define IRP_MN_DISABLE_COLLECTION
#define RPC_NT_SEC_PKG_ERROR
Definition: ntstatus.h:1260
#define IOCTL_STORAGE_EJECT_MEDIA
Definition: ntddstor.h:107
#define STATUS_CTX_WINSTATION_ACCESS_DENIED
Definition: ntstatus.h:1347
#define RPC_NT_CANT_CREATE_ENDPOINT
Definition: ntstatus.h:1199
#define STATUS_CTX_INVALID_PD
Definition: ntstatus.h:1321
#define STATUS_IMAGE_MP_UP_MISMATCH
Definition: ntstatus.h:717
#define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
Definition: ntstatus.h:837
#define STATUS_IO_REPARSE_DATA_INVALID
Definition: ntstatus.h:756
#define STATUS_PAGE_FAULT_TRANSITION
Definition: ntstatus.h:94
#define IOCTL_VOLUME_PHYSICAL_TO_LOGICAL
Definition: ntddvol.h:35
#define STATUS_SECTION_TOO_BIG
Definition: ntstatus.h:300
#define STATUS_WAS_UNLOCKED
Definition: ntstatus.h:137
#define STATUS_DLL_INIT_FAILED_LOGOFF
Definition: ntstatus.h:744
#define STATUS_UNABLE_TO_DECOMMIT_VM
Definition: ntstatus.h:281
#define STATUS_BAD_TOKEN_TYPE
Definition: ntstatus.h:404
#define STATUS_SYNCHRONIZATION_REQUIRED
Definition: ntstatus.h:544
#define STATUS_LICENSE_QUOTA_EXCEEDED
Definition: ntstatus.h:727
#define RPC_NT_INCOMPLETE_NAME
Definition: ntstatus.h:1231
#define STATUS_DS_CROSS_DOM_MOVE_FAILED
Definition: ntstatus.h:802
#define STATUS_LOGON_SESSION_EXISTS
Definition: ntstatus.h:474
#define STATUS_BREAKPOINT
Definition: ntstatus.h:184
#define STATUS_ACPI_INVALID_INDEX
Definition: ntstatus.h:1295
#define STATUS_INVALID_PARAMETER_2
Definition: ntstatus.h:476
#define RPC_NT_INVALID_ES_ACTION
Definition: ntstatus.h:1277
#define STATUS_CTX_INVALID_MODEMNAME
Definition: ntstatus.h:1326
#define RPC_NT_CALL_CANCELLED
Definition: ntstatus.h:1254
#define STATUS_DS_BUSY
Definition: ntstatus.h:792
#define IOCTL_VOLUME_ONLINE
Definition: ntddvol.h:62
#define STATUS_OPLOCK_NOT_GRANTED
Definition: ntstatus.h:462
#define STATUS_NO_INHERITANCE
Definition: ntstatus.h:191
#define DBG_CONTROL_BREAK
Definition: ntstatus.h:55
#define STATUS_CTX_SHADOW_DISABLED
Definition: ntstatus.h:1351
#define STATUS_SPECIAL_ACCOUNT
Definition: ntstatus.h:528
#define STATUS_DS_CANT_ON_NON_LEAF
Definition: ntstatus.h:799
#define RPC_NT_PROCNUM_OUT_OF_RANGE
Definition: ntstatus.h:1221
#define STATUS_REPLY_MESSAGE_MISMATCH
Definition: ntstatus.h:675
#define STATUS_FLOAT_DENORMAL_OPERAND
Definition: ntstatus.h:377
#define STATUS_MEDIA_WRITE_PROTECTED
Definition: udferr_usr.h:161
#define IOCTL_DISK_GET_MEDIA_TYPES
Definition: cdrw_usr.h:182
#define STATUS_REMOTE_STORAGE_NOT_ACTIVE
Definition: ntstatus.h:784
#define IOCTL_VOLUME_SET_GPT_ATTRIBUTES
Definition: ntddvol.h:53
#define STATUS_CANT_DISABLE_MANDATORY
Definition: ntstatus.h:329
#define IOCTL_VFD_SET_LINK
Definition: vfdio.h:194
#define IOCTL_STORAGE_GET_DEVICE_NUMBER
Definition: ntddstor.h:143
#define STATUS_KEY_DELETED
Definition: ntstatus.h:613
#define STATUS_WMI_NOT_SUPPORTED
Definition: ntstatus.h:841
#define STATUS_REGISTRY_CORRUPT
Definition: ntstatus.h:568
#define STATUS_KERNEL_APC
Definition: ntstatus.h:79
#define STATUS_INVALID_SID
Definition: ntstatus.h:356
#define STATUS_BAD_COMPRESSION_BUFFER
Definition: ntstatus.h:710
#define STATUS_RXACT_STATE_CREATED
Definition: ntstatus.h:118
#define RPC_NT_UNSUPPORTED_TRANS_SYN
Definition: ntstatus.h:1208
#define STATUS_USER_MAPPED_FILE
Definition: ntstatus.h:711
#define STATUS_UNEXPECTED_MM_EXTEND_ERR
Definition: ntstatus.h:472
#define STATUS_DS_CANT_START
Definition: ntstatus.h:845
#define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS
Definition: ntstatus.h:850
#define STATUS_TRUSTED_DOMAIN_FAILURE
Definition: ntstatus.h:629
#define IRP_MJ_QUERY_VOLUME_INFORMATION
Definition: rdpdr.c:50
#define IOCTL_DISK_SET_PARTITION_INFO
Definition: ntdddisk.h:214
#define IRP_MJ_DIRECTORY_CONTROL
Definition: rdpdr.c:51
#define IOCTL_DISK_PERFORMANCE_OFF
Definition: ntdddisk.h:154
#define STATUS_NO_LDT
Definition: ntstatus.h:515
#define RPC_NT_UNKNOWN_IF
Definition: ntstatus.h:1196
#define STATUS_SAM_INIT_FAILURE
Definition: ntstatus.h:847
#define STATUS_TOO_MANY_SESSIONS
Definition: ntstatus.h:442
#define IOCTL_VFD_QUERY_NUMBER
Definition: vfdio.h:325
#define STATUS_NOTIFY_ENUM_DIR
Definition: ntstatus.h:91
#define STATUS_JOURNAL_DELETE_IN_PROGRESS
Definition: ntstatus.h:810
#define STATUS_NO_IMPERSONATION_TOKEN
Definition: ntstatus.h:328
#define STATUS_FILE_DELETED
Definition: udferr_usr.h:172
#define RPC_NT_INVALID_PIPE_OBJECT
Definition: ntstatus.h:1280
#define SMART_RCV_DRIVE_DATA
Definition: ntdddisk.h:260
#define RPC_NT_INVALID_OBJECT
Definition: ntstatus.h:1252
#define STATUS_SERVER_NOT_DISABLED
Definition: ntstatus.h:365
#define IOCTL_STORAGE_RESERVE
Definition: ntddstor.h:116
#define STATUS_NAME_TOO_LONG
Definition: ntstatus.h:498
#define STATUS_TOO_MANY_THREADS
Definition: ntstatus.h:533
#define STATUS_EVALUATION_EXPIRATION
Definition: ntstatus.h:741
#define STATUS_LONGJUMP
Definition: ntstatus.h:217
#define IOCTL_DISK_GET_LENGTH_INFO
Definition: imports.h:192
#define STATUS_MEMBER_NOT_IN_ALIAS
Definition: ntstatus.h:574
#define IRP_MN_READ_CONFIG
#define STATUS_UNEXPECTED_MM_CREATE_ERR
Definition: ntstatus.h:470
#define STATUS_WX86_EXCEPTION_LASTCHANCE
Definition: ntstatus.h:147
#define STATUS_ADDRESS_ALREADY_ASSOCIATED
Definition: ntstatus.h:700
#define IOCTL_MOUNTMGR_CHANGE_NOTIFY
Definition: mountmgr.h:42
#define STATUS_INVALID_PARAMETER_7
Definition: ntstatus.h:481
#define STATUS_REPARSE_ATTRIBUTE_CONFLICT
Definition: ntstatus.h:805
#define STATUS_ABIOS_NOT_LID_OWNER
Definition: ntstatus.h:510
#define STATUS_IMAGE_CHECKSUM_MISMATCH
Definition: ntstatus.h:677
#define STATUS_DEVICE_NOT_CONNECTED
Definition: udferr_usr.h:160
#define STATUS_NO_MORE_EAS
Definition: ntstatus.h:198
#define IOCTL_MOUNTDEV_QUERY_STABLE_GUID
Definition: imports.h:255
#define RPC_NT_ENTRY_ALREADY_EXISTS
Definition: ntstatus.h:1236
#define STATUS_LOCK_NOT_GRANTED
Definition: ntstatus.h:321
#define IRP_MN_QUERY_STOP_DEVICE
#define STATUS_ILL_FORMED_SERVICE_ENTRY
Definition: ntstatus.h:588
#define STATUS_INVALID_PARAMETER_5
Definition: ntstatus.h:479
#define IRP_MJ_SET_QUOTA
#define STATUS_TOO_MANY_LUIDS_REQUESTED
Definition: ntstatus.h:352
#define IRP_MJ_QUERY_EA
#define IOCTL_STORAGE_CHECK_VERIFY
Definition: ntddstor.h:98
#define STATUS_INVALID_BUFFER_SIZE
Definition: ntstatus.h:650
#define STATUS_CTX_MODEM_RESPONSE_NO_CARRIER
Definition: ntstatus.h:1329
#define IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE
Definition: ntddvol.h:59
#define STATUS_UNABLE_TO_FREE_VM
Definition: ntstatus.h:263
#define STATUS_NO_SUCH_USER
Definition: ntstatus.h:336
#define STATUS_INVALID_IMAGE_PROTECT
Definition: ntstatus.h:540
#define OBSOLETE_IOCTL_STORAGE_RESET_BUS
Definition: ntddstor.h:160
#define IOCTL_DISK_UPDATE_PROPERTIES
Definition: ntdddisk.h:242
#define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT
Definition: ntstatus.h:643
#define STATUS_TOO_MANY_SIDS
Definition: ntstatus.h:615
#define STATUS_WX86_CONTINUE
Definition: ntstatus.h:143
#define STATUS_ACCOUNT_DISABLED
Definition: ntstatus.h:350
#define STATUS_FILE_RENAMED
Definition: ntstatus.h:449
#define STATUS_REGISTRY_QUOTA_LIMIT
Definition: ntstatus.h:724
#define STATUS_NOT_FOUND
Definition: shellext.h:72
#define IOCTL_VFD_QUERY_IMAGE
Definition: vfdio.h:163
#define STATUS_MEMBER_IN_GROUP
Definition: ntstatus.h:339
#define STATUS_INVALID_PRIMARY_GROUP
Definition: ntstatus.h:327
#define STATUS_INVALID_ACCOUNT_NAME
Definition: ntstatus.h:334
#define STATUS_INVALID_IMAGE_NOT_MZ
Definition: ntstatus.h:539
#define IOCTL_STORAGE_QUERY_PROPERTY
Definition: ntddstor.h:178
#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX
Definition: cdrw_usr.h:190
#define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER
Definition: ntddstor.h:151
#define RPC_NT_ALREADY_REGISTERED
Definition: ntstatus.h:1190
#define STATUS_SAM_NEED_BOOTKEY_FLOPPY
Definition: ntstatus.h:844
#define STATUS_RXACT_INVALID_STATE
Definition: ntstatus.h:520
#define IRP_MN_SURPRISE_REMOVAL
Definition: ntifs_ex.h:408
#define STATUS_MUTUAL_AUTHENTICATION_FAILED
Definition: ntstatus.h:815
#define IOCTL_VOLUME_IS_OFFLINE
Definition: ntddvol.h:68
#define STATUS_OBJECT_TYPE_MISMATCH
Definition: ntstatus.h:273
#define IRP_MJ_DEVICE_CHANGE
#define STATUS_INVALID_LOGON_TYPE
Definition: ntstatus.h:503
#define STATUS_NOINTERFACE
Definition: ntstatus.h:812
#define STATUS_VOLUME_MOUNTED
Definition: ntstatus.h:88
#define IOCTL_DISK_REQUEST_STRUCTURE
Definition: ntdddisk.h:163
#define STATUS_BAD_NETWORK_NAME
Definition: ntstatus.h:440
#define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
Definition: ntstatus.h:835
#define STATUS_WORKING_SET_LIMIT_RANGE
Definition: ntstatus.h:116
#define STATUS_INVALID_IMAGE_FORMAT
Definition: ntstatus.h:359
#define IOCTL_DISK_PERFORMANCE
Definition: ntdddisk.h:151
#define RPC_NT_SS_CANNOT_GET_CALL_HANDLE
Definition: ntstatus.h:1272
#define IRP_MN_ENABLE_EVENTS
#define IRP_MN_STOP_DEVICE
#define STATUS_WOW_ASSERTION
Definition: ntstatus.h:1171
#define STATUS_CONNECTION_DISCONNECTED
Definition: ntstatus.h:656
#define STATUS_TRANSACTION_NO_RELEASE
Definition: ntstatus.h:661
#define STATUS_WX86_UNSIMULATE
Definition: ntstatus.h:142
#define IRP_MJ_QUERY_QUOTA
#define STATUS_NETWORK_CREDENTIAL_CONFLICT
Definition: ntstatus.h:638
#define RPC_NT_UNKNOWN_MGR_TYPE
Definition: ntstatus.h:1195
#define STATUS_ALLOTTED_SPACE_EXCEEDED
Definition: ntstatus.h:389
#define OBSOLETE_IOCTL_STORAGE_RESET_DEVICE
Definition: ntddstor.h:163
#define STATUS_COMMITMENT_MINIMUM
Definition: ntstatus.h:820
#define STATUS_CTX_LICENSE_CLIENT_INVALID
Definition: ntstatus.h:1334
#define STATUS_INVALID_LEVEL
Definition: ntstatus.h:564
#define STATUS_PASSWORD_EXPIRED
Definition: ntstatus.h:349
#define RPC_NT_INVALID_NET_ADDR
Definition: ntstatus.h:1186
#define STATUS_PENDING
Definition: ntstatus.h:82
#define STATUS_NO_MORE_FILES
Definition: udferr_usr.h:128
#define STATUS_NO_SUCH_DEVICE
Definition: udferr_usr.h:136
#define STATUS_NONEXISTENT_EA_ENTRY
Definition: ntstatus.h:317
#define STATUS_TOO_MANY_COMMANDS
Definition: ntstatus.h:429
#define IOCTL_DISK_INTERNAL_CLEAR_VERIFY
Definition: ntdddisk.h:133
#define STATUS_TRANSPORT_FULL
Definition: ntstatus.h:822
#define IOCTL_VOLUME_READ_PLEX
Definition: ntddvol.h:38
#define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED
Definition: ntstatus.h:790
#define RPC_NT_SS_IN_NULL_CONTEXT
Definition: ntstatus.h:1268
#define IRP_MJ_FILE_SYSTEM_CONTROL
#define STATUS_MP_PROCESSOR_MISMATCH
Definition: ntstatus.h:155
#define STATUS_DRIVER_FAILED_SLEEP
Definition: ntstatus.h:814
#define STATUS_CTX_RESPONSE_ERROR
Definition: ntstatus.h:1327
#define IOCTL_DISK_HISTOGRAM_DATA
Definition: ntdddisk.h:127
#define RPC_NT_PIPE_EMPTY
Definition: ntstatus.h:1285
#define STATUS_MISSING_SYSTEMFILE
Definition: ntstatus.h:559
#define IOCTL_VFD_QUERY_LINK
Definition: vfdio.h:221
#define STATUS_PIPE_LISTENING
Definition: ntstatus.h:415
#define STATUS_NO_SUCH_PRIVILEGE
Definition: ntstatus.h:332
#define STATUS_WX86_BREAKPOINT
Definition: ntstatus.h:145
#define STATUS_ABIOS_LID_ALREADY_OWNED
Definition: ntstatus.h:509
#define STATUS_PROCESS_IS_TERMINATING
Definition: ntstatus.h:502
#define STATUS_WRONG_EFS
Definition: ntstatus.h:771
#define IRP_MN_START_DEVICE
#define STATUS_PNP_IRQ_TRANSLATION_FAILED
Definition: ntstatus.h:1289
#define STATUS_TOKEN_ALREADY_IN_USE
Definition: ntstatus.h:535
#define STATUS_CANCELLED
Definition: udferr_usr.h:170
#define STATUS_NOTIFY_CLEANUP
Definition: ntstatus.h:90
#define STATUS_NETWORK_BUSY
Definition: ntstatus.h:427
#define STATUS_JOURNAL_NOT_ACTIVE
Definition: ntstatus.h:811
#define STATUS_CTX_NO_OUTBUF
Definition: ntstatus.h:1324
#define RPC_NT_STRING_TOO_LONG
Definition: ntstatus.h:1219
#define STATUS_ACPI_INVALID_ARGTYPE
Definition: ntstatus.h:1299
#define STATUS_LAST_ADMIN
Definition: ntstatus.h:341
#define STATUS_PAGE_FAULT_COPY_ON_WRITE
Definition: ntstatus.h:96
#define STATUS_INTERNAL_DB_CORRUPTION
Definition: ntstatus.h:464
#define STATUS_SECTION_PROTECTION
Definition: ntstatus.h:314
#define STATUS_WRONG_PASSWORD_CORE
Definition: ntstatus.h:565
#define STATUS_OBJECT_PATH_NOT_FOUND
Definition: udferr_usr.h:151
#define DBG_UNABLE_TO_PROVIDE_HANDLE
Definition: ntstatus.h:49
#define IOCTL_STORAGE_LOAD_MEDIA2
Definition: ntddk_ex.h:210
#define STATUS_PNP_TRANSLATION_FAILED
Definition: ntstatus.h:1288
#define STATUS_CTX_WINSTATION_BUSY
Definition: ntstatus.h:1339
#define IRP_MN_QUERY_DEVICE_TEXT
#define RPC_NT_NO_ENDPOINT_FOUND
Definition: ntstatus.h:1187
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145
#define STATUS_LICENSE_VIOLATION
Definition: udferr_usr.h:185
#define RPC_NT_FP_UNDERFLOW
Definition: ntstatus.h:1246
#define IRP_MN_QUERY_INTERFACE
#define STATUS_RECEIVE_EXPEDITED
Definition: ntstatus.h:130
#define IRP_MJ_INTERNAL_DEVICE_CONTROL
#define STATUS_INVALID_FILE_FOR_SECTION
Definition: ntstatus.h:269
#define STATUS_DOMAIN_EXISTS
Definition: ntstatus.h:460
#define STATUS_ACPI_ALREADY_INITIALIZED
Definition: ntstatus.h:1310
#define STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE
Definition: ntstatus.h:149
#define STATUS_TOO_MANY_LINKS
Definition: udferr_usr.h:184
#define RPC_NT_WRONG_ES_VERSION
Definition: ntstatus.h:1278
#define STATUS_NO_SECURITY_ON_OBJECT
Definition: ntstatus.h:451
#define STATUS_NO_TOKEN
Definition: ntstatus.h:360
#define DBG_CONTROL_C
Definition: ntstatus.h:52
#define STATUS_SERVER_DISABLED
Definition: ntstatus.h:364
#define STATUS_IO_PRIVILEGE_FAILED
Definition: ntstatus.h:547
#define STATUS_REPARSE_POINT_NOT_RESOLVED
Definition: ntstatus.h:758
#define RPC_NT_FP_OVERFLOW
Definition: ntstatus.h:1247
#define STATUS_ACPI_INVALID_ARGUMENT
Definition: ntstatus.h:1296
#define STATUS_POLICY_ONLY_IN_DS
Definition: ntstatus.h:782
#define STATUS_REMOTE_SESSION_LIMIT
Definition: ntstatus.h:639
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
#define RPC_NT_SEND_INCOMPLETE
Definition: ntstatus.h:175
#define STATUS_PIPE_BROKEN
Definition: ntstatus.h:567
#define STATUS_DRIVER_INTERNAL_ERROR
Definition: udferr_usr.h:177
#define RPC_NT_FP_DIV_ZERO
Definition: ntstatus.h:1245
#define IRP_MN_QUERY_BUS_INFORMATION
#define IOCTL_DISK_SENSE_DEVICE
Definition: ntdddisk.h:190
#define STATUS_CHILD_MUST_BE_VOLATILE
Definition: ntstatus.h:618
#define DBG_EXCEPTION_NOT_HANDLED
Definition: ntstatus.h:57
#define STATUS_ACPI_REG_HANDLER_FAILED
Definition: ntstatus.h:1317
#define STATUS_INVALID_PIPE_STATE
Definition: ntstatus.h:409
#define STATUS_CTX_LICENSE_EXPIRED
Definition: ntstatus.h:1336
#define RPC_NT_INVALID_STRING_BINDING
Definition: ntstatus.h:1179
#define STATUS_WX86_EXCEPTION_CHAIN
Definition: ntstatus.h:148
#define STATUS_ILLEGAL_FLOAT_CONTEXT
Definition: ntstatus.h:566
#define STATUS_CANNOT_DELETE
Definition: shellext.h:71
unsigned char UCHAR
Definition: xmlstorage.h:181
#define STATUS_CANNOT_LOAD_REGISTRY_FILE
Definition: ntstatus.h:668
#define RPC_NT_ENTRY_NOT_FOUND
Definition: ntstatus.h:1237
#define STATUS_CONNECTION_ABORTED
Definition: ntstatus.h:709
#define IRP_MN_DISABLE_EVENTS
#define STATUS_IMAGE_MACHINE_TYPE_MISMATCH
Definition: ntstatus.h:128
#define STATUS_CTX_LICENSE_NOT_AVAILABLE
Definition: ntstatus.h:1335
#define STATUS_DISK_OPERATION_FAILED
Definition: ntstatus.h:598
#define STATUS_RESOURCE_DATA_NOT_FOUND
Definition: ntstatus.h:373
#define STATUS_CTX_MODEM_RESPONSE_TIMEOUT
Definition: ntstatus.h:1328
#define STATUS_INVALID_SUB_AUTHORITY
Definition: ntstatus.h:354
#define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
Definition: ntstatus.h:838
#define IRP_MJ_POWER
#define STATUS_SECTION_NOT_IMAGE
Definition: ntstatus.h:309
#define STATUS_NOT_CLIENT_SESSION
Definition: ntstatus.h:667
#define STATUS_DS_ADMIN_LIMIT_EXCEEDED
Definition: ntstatus.h:813
#define STATUS_BAD_VALIDATION_CLASS
Definition: ntstatus.h:403
#define IRP_MJ_CLOSE
Definition: rdpdr.c:45
#define STATUS_INVALID_GROUP_ATTRIBUTES
Definition: ntstatus.h:400
#define IOCTL_DISK_GET_PARTITION_INFO
Definition: ntdddisk.h:106
#define STATUS_OBJECTID_EXISTS
Definition: ntstatus.h:687
#define STATUS_PIPE_CONNECTED
Definition: ntstatus.h:414
#define STATUS_INVALID_INFO_CLASS
Definition: ntstatus.h:240
#define STATUS_VARIABLE_NOT_FOUND
Definition: ntstatus.h:492
#define RPC_NT_NOT_ALL_OBJS_UNEXPORTED
Definition: ntstatus.h:1234
#define IOCTL_VFD_OPEN_IMAGE
Definition: vfdio.h:107
#define STATUS_DS_NO_MORE_RIDS
Definition: ntstatus.h:795
#define STATUS_FLOPPY_UNKNOWN_ERROR
Definition: ntstatus.h:595
#define RPC_NT_UNSUPPORTED_AUTHN_LEVEL
Definition: ntstatus.h:1257
#define RPC_NT_INVALID_BINDING
Definition: ntstatus.h:1181
#define STATUS_SHARED_IRQ_BUSY
Definition: ntstatus.h:600
#define STATUS_NONCONTINUABLE_EXCEPTION
Definition: ntstatus.h:274
#define STATUS_TOO_MANY_CONTEXT_IDS
Definition: ntstatus.h:582
#define RPC_NT_MAX_CALLS_TOO_SMALL
Definition: ntstatus.h:1218
#define STATUS_BAD_DESCRIPTOR_FORMAT
Definition: ntstatus.h:467
#define STATUS_RANGE_LIST_CONFLICT
Definition: ntstatus.h:760
#define RPC_NT_INVALID_NETWORK_OPTIONS
Definition: ntstatus.h:1203
#define STATUS_CTX_MODEM_RESPONSE_BUSY
Definition: ntstatus.h:1331
#define IRP_MN_EXECUTE_METHOD
#define STATUS_AUDIT_FAILED
Definition: ntstatus.h:712
#define STATUS_GUIDS_EXHAUSTED
Definition: ntstatus.h:367
#define STATUS_INVALID_PARAMETER_1
Definition: ntstatus.h:475
#define STATUS_SECRET_TOO_LONG
Definition: ntstatus.h:579
#define STATUS_DS_CANT_MOD_PRIMARYGROUPID
Definition: ntstatus.h:828
#define STATUS_NOT_A_REPARSE_POINT
Definition: ntstatus.h:753
#define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS
Definition: ntstatus.h:791
#define STATUS_COMMITMENT_LIMIT
Definition: ntstatus.h:537
#define STATUS_TRANSACTION_ABORTED
Definition: ntstatus.h:659
#define RPC_NT_OBJECT_NOT_FOUND
Definition: ntstatus.h:1189
#define IRP_MN_SET_POWER
#define IOCTL_STORAGE_CHECK_VERIFY2
Definition: ntddk_ex.h:212
#define STATUS_INVALID_DOMAIN_ROLE
Definition: ntstatus.h:458
#define STATUS_DATA_NOT_ACCEPTED
Definition: ntstatus.h:671
#define IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
Definition: ntddvol.h:41
#define STATUS_SHARING_PAUSED
Definition: udferr_usr.h:165
#define STATUS_HANDLE_NOT_CLOSABLE
Definition: ntstatus.h:697
#define STATUS_INVALID_LDT_OFFSET
Definition: ntstatus.h:517
#define STATUS_PRIVILEGED_INSTRUCTION
Definition: ntstatus.h:386
#define DBG_PRINTEXCEPTION_C
Definition: ntstatus.h:53
#define STATUS_CTX_WD_NOT_FOUND
Definition: ntstatus.h:1349
#define RPC_NT_NO_MORE_ENTRIES
Definition: ntstatus.h:1265
#define STATUS_INVALID_HW_PROFILE
Definition: ntstatus.h:733
#define STATUS_INVALID_EA_NAME
Definition: ntstatus.h:199
#define STATUS_INVALID_PARAMETER_11
Definition: ntstatus.h:485
#define STATUS_BAD_DLL_ENTRYPOINT
Definition: ntstatus.h:719
#define STATUS_TRANSACTION_INVALID_TYPE
Definition: ntstatus.h:665
#define STATUS_FLOAT_MULTIPLE_TRAPS
Definition: ntstatus.h:808
#define STATUS_INVALID_PAGE_PROTECTION
Definition: ntstatus.h:305
#define STATUS_NO_DATA_DETECTED
Definition: udferr_usr.h:131
#define STATUS_NO_SUCH_GROUP
Definition: ntstatus.h:338
#define RPC_NT_UNSUPPORTED_NAME_SYNTAX
Definition: ntstatus.h:1214
#define STATUS_DIRECTORY_SERVICE_REQUIRED
Definition: ntstatus.h:804
#define STATUS_FILES_OPEN
Definition: ntstatus.h:499
#define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY
Definition: ntstatus.h:105
#define STATUS_INVALID_VARIANT
Definition: ntstatus.h:694
#define STATUS_INVALID_PLUGPLAY_DEVICE_PATH
Definition: ntstatus.h:734
#define STATUS_MORE_ENTRIES
Definition: udferr_usr.h:124
#define STATUS_CRC_ERROR
Definition: udferr_usr.h:153
#define STATUS_BAD_INITIAL_STACK
Definition: ntstatus.h:246
#define RPC_NT_TYPE_ALREADY_REGISTERED
Definition: ntstatus.h:1191
#define STATUS_DFS_UNAVAILABLE
Definition: ntstatus.h:746
#define STATUS_DEVICE_DOOR_OPEN
Definition: ntstatus.h:227
#define STATUS_DS_GC_REQUIRED
Definition: ntstatus.h:848
#define IRP_MJ_SYSTEM_CONTROL
#define STATUS_POSSIBLE_DEADLOCK
Definition: ntstatus.h:637
#define STATUS_KEY_HAS_CHILDREN
Definition: ntstatus.h:617
#define STATUS_INSUFFICIENT_LOGON_INFO
Definition: ntstatus.h:718
#define STATUS_DEVICE_OFF_LINE
Definition: ntstatus.h:196
#define STATUS_ARBITRATION_UNHANDLED
Definition: ntstatus.h:152
#define STATUS_SOURCE_ELEMENT_EMPTY
Definition: ntstatus.h:761
#define STATUS_DS_HAVE_PRIMARY_MEMBERS
Definition: ntstatus.h:840
#define STATUS_TRUSTED_RELATIONSHIP_FAILURE
Definition: ntstatus.h:630
#define IOCTL_DISK_REASSIGN_BLOCKS
Definition: ntdddisk.h:157
#define DBG_TERMINATE_THREAD
Definition: ntstatus.h:50
#define STATUS_ACPI_INVALID_TABLE
Definition: ntstatus.h:1316
#define STATUS_CHECKING_FILE_SYSTEM
Definition: ntstatus.h:134
#define STATUS_REQUEST_ABORTED
Definition: udferr_usr.h:183
#define STATUS_GRACEFUL_DISCONNECT
Definition: ntstatus.h:699
#define STATUS_ILL_FORMED_PASSWORD
Definition: ntstatus.h:343
#define STATUS_TIME_DIFFERENCE_AT_DC
Definition: ntstatus.h:543
#define STATUS_LOGIN_TIME_RESTRICTION
Definition: ntstatus.h:715
#define STATUS_NO_TRUST_LSA_SECRET
Definition: ntstatus.h:627
#define STATUS_PROPSET_NOT_FOUND
Definition: ntstatus.h:692
#define STATUS_RESOURCE_NOT_OWNED
Definition: ntstatus.h:737
#define IOCTL_DISK_GET_DRIVE_LAYOUT
Definition: ntdddisk.h:91
#define STATUS_EA_LIST_INCONSISTENT
Definition: IoEaTest.cpp:21
#define STATUS_FILE_IS_OFFLINE
Definition: ntstatus.h:740
#define STATUS_USER_APC
Definition: ntstatus.h:78
#define STATUS_INVALID_MEMBER
Definition: ntstatus.h:612
#define STATUS_CTX_BAD_VIDEO_MODE
Definition: ntstatus.h:1340
#define RPC_NT_SS_CONTEXT_DAMAGED
Definition: ntstatus.h:1270
#define STATUS_PROFILING_AT_LIMIT
Definition: ntstatus.h:447
#define RPC_NT_PROTOCOL_ERROR
Definition: ntstatus.h:1207
#define STATUS_ALLOCATE_BUCKET
Definition: ntstatus.h:691
#define STATUS_ORDINAL_NOT_FOUND
Definition: ntstatus.h:548
#define STATUS_INVALID_ADDRESS_COMPONENT
Definition: ntstatus.h:651
#define STATUS_ONLY_IF_CONNECTED
Definition: ntstatus.h:824
#define STATUS_EVENTLOG_CANT_START
Definition: ntstatus.h:632
#define IRP_MN_CHANGE_SINGLE_INSTANCE
#define STATUS_BAD_SERVICE_ENTRYPOINT
Definition: ntstatus.h:720
#define STATUS_REDIRECTOR_HAS_OPEN_HANDLES
Definition: ntstatus.h:214
#define STATUS_IMAGE_NOT_AT_BASE
Definition: ntstatus.h:117
#define STATUS_CANT_TERMINATE_SELF
Definition: ntstatus.h:455
#define IOCTL_STORAGE_RESET_BUS
Definition: ntddstor.h:137
#define STATUS_NO_CALLBACK_ACTIVE
Definition: ntstatus.h:726
#define RPC_NT_SS_HANDLES_MISMATCH
Definition: ntstatus.h:1271
#define STATUS_NO_MEDIA
Definition: ntstatus.h:610
#define STATUS_DLL_INIT_FAILED
Definition: ntstatus.h:558
#define RPC_NT_CALL_IN_PROGRESS
Definition: ntstatus.h:1248
#define IOCTL_STORAGE_PREDICT_FAILURE
Definition: ntddstor.h:146
#define STATUS_DS_GC_NOT_AVAILABLE
Definition: ntstatus.h:803
#define STATUS_SOME_NOT_MAPPED
Definition: ntstatus.h:86
#define STATUS_ACPI_MUTEX_NOT_OWNER
Definition: ntstatus.h:1314
#define IOCTL_VOLUME_QUERY_FAILOVER_SET
Definition: ntddvol.h:74
#define STATUS_INVALID_VIEW_SIZE
Definition: ntstatus.h:268
#define STATUS_INVALID_WORKSTATION
Definition: ntstatus.h:348
#define STATUS_UNABLE_TO_LOCK_MEDIA
Definition: ntstatus.h:607
#define RPC_NT_UNKNOWN_AUTHN_SERVICE
Definition: ntstatus.h:1223
#define IOCTL_STORAGE_GET_MEDIA_TYPES
Definition: ntddstor.h:131
#define STATUS_INSTRUCTION_MISALIGNMENT
Definition: ntstatus.h:406
#define STATUS_INVALID_ADDRESS_WILDCARD
Definition: ntstatus.h:652
#define STATUS_WX86_EXCEPTION_CONTINUE
Definition: ntstatus.h:146
#define STATUS_POWER_STATE_INVALID
Definition: ntstatus.h:831
#define RPC_NT_NOT_CANCELLED
Definition: ntstatus.h:1261
#define STATUS_OBJECT_NAME_NOT_FOUND
Definition: udferr_usr.h:149
#define IOCTL_DISK_REQUEST_DATA
Definition: ntdddisk.h:160
#define IOCTL_DISK_HISTOGRAM_STRUCTURE
Definition: ntdddisk.h:124
#define STATUS_BUFFER_OVERFLOW
Definition: shellext.h:66
#define STATUS_ABIOS_NOT_PRESENT
Definition: ntstatus.h:507
#define STATUS_MEMORY_NOT_ALLOCATED
Definition: ntstatus.h:396
#define STATUS_MEDIA_CHECK
Definition: ntstatus.h:211
#define STATUS_UNMAPPABLE_CHARACTER
Definition: ntstatus.h:590
#define IOCTL_DISK_GET_DRIVE_LAYOUT_EX
Definition: ntddk_ex.h:207
#define STATUS_INVALID_READ_MODE
Definition: ntstatus.h:416
#define STATUS_CTX_NOT_CONSOLE
Definition: ntstatus.h:1342
#define STATUS_WAKE_SYSTEM
Definition: ntstatus.h:170
#define STATUS_RESOURCE_LANG_NOT_FOUND
Definition: ntstatus.h:648
#define RPC_NT_CALL_FAILED_DNE
Definition: ntstatus.h:1206
#define STATUS_WAS_LOCKED
Definition: ntstatus.h:139
#define STATUS_FULLSCREEN_MODE
Definition: ntstatus.h:581
#define STATUS_ACCESS_VIOLATION
Definition: ntstatus.h:242
#define STATUS_ENCRYPTION_FAILED
Definition: ntstatus.h:766
#define STATUS_ALREADY_WIN32
Definition: ntstatus.h:141
#define STATUS_INVALID_ACL
Definition: ntstatus.h:355
#define IOCTL_DISK_LOAD_MEDIA
Definition: cdrw_usr.h:178
#define IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME
Definition: imports.h:99
#define STATUS_CTX_GRAPHICS_INVALID
Definition: ntstatus.h:1341
#define FT_SECONDARY_READ
Definition: ntddft.h:29
#define STATUS_INVALID_ADDRESS
Definition: ntstatus.h:557
#define STATUS_CTX_TD_ERROR
Definition: ntstatus.h:1333
#define STATUS_PASSWORD_MUST_CHANGE
Definition: ntstatus.h:680
#define STATUS_TRANSACTION_INVALID_ID
Definition: ntstatus.h:664
#define IOCTL_VFD_CLOSE_IMAGE
Definition: vfdio.h:133
#define STATUS_CLIENT_SERVER_PARAMETERS_INVALID
Definition: ntstatus.h:679
#define STATUS_DLL_NOT_FOUND
Definition: ntstatus.h:545
#define STATUS_PROFILING_NOT_STOPPED
Definition: ntstatus.h:420
#define RPC_NT_INVALID_AUTH_IDENTITY
Definition: ntstatus.h:1225
#define STATUS_FT_READ_RECOVERY_FROM_BACKUP
Definition: ntstatus.h:124
#define STATUS_RESOURCE_NAME_NOT_FOUND
Definition: ntstatus.h:375
#define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
Definition: ntstatus.h:642
#define STATUS_NO_MATCH
Definition: ntstatus.h:751
#define STATUS_INVALID_PARAMETER_10
Definition: ntstatus.h:484
#define STATUS_DEVICE_BUSY
Definition: udferr_usr.h:129
#define STATUS_PNP_REBOOT_REQUIRED
Definition: ntstatus.h:830
#define STATUS_DISK_RECALIBRATE_FAILED
Definition: ntstatus.h:597
#define STATUS_NO_MEMORY
Definition: ntstatus.h:260
#define STATUS_NO_SUCH_FILE
Definition: udferr_usr.h:137
#define RPC_NT_PIPE_DISCIPLINE_ERROR
Definition: ntstatus.h:1284
#define IRP_MN_QUERY_ALL_DATA
#define STATUS_LPC_REPLY_LOST
Definition: ntstatus.h:721
#define IOCTL_DISK_SET_PARTITION_INFO_EX
Definition: ntdddisk.h:217
#define STATUS_EXTRANEOUS_INFORMATION
Definition: ntstatus.h:203
#define STATUS_OBJECT_NAME_INVALID
Definition: udferr_usr.h:148
#define STATUS_DOMAIN_CTRLR_CONFIG_ERROR
Definition: ntstatus.h:586
#define RPC_NT_NO_ENTRY_NAME
Definition: ntstatus.h:1212
#define STATUS_REPARSE
Definition: ntstatus.h:83
#define STATUS_INVALID_PARAMETER_6
Definition: ntstatus.h:480
#define IOCTL_STORAGE_LOAD_MEDIA
Definition: ntddstor.h:110
#define RPC_NT_INVALID_ENDPOINT_FORMAT
Definition: ntstatus.h:1185
#define STATUS_BUS_RESET
Definition: ntstatus.h:208
#define STATUS_CTX_CDM_CONNECT
Definition: ntstatus.h:177
#define RPC_NT_PIPE_CLOSED
Definition: ntstatus.h:1283
#define STATUS_RESOURCE_REQUIREMENTS_CHANGED
Definition: ntstatus.h:103
#define STATUS_OBJECT_PATH_INVALID
Definition: ntstatus.h:293
#define STATUS_CTX_CLOSE_PENDING
Definition: ntstatus.h:1323
#define DBG_RIPEXCEPTION
Definition: ntstatus.h:54
#define STATUS_CONNECTION_ACTIVE
Definition: ntstatus.h:703
#define STATUS_PORT_MESSAGE_TOO_LONG
Definition: ntstatus.h:284
#define STATUS_UNWIND
Definition: ntstatus.h:276
#define STATUS_RECEIVE_PARTIAL_EXPEDITED
Definition: ntstatus.h:131
#define STATUS_USER_EXISTS
Definition: ntstatus.h:335
#define STATUS_SECTION_NOT_EXTENDED
Definition: ntstatus.h:371
#define IOCTL_VFD_RESET_MODIFY
Definition: vfdio.h:299
#define FT_BALANCED_READ_MODE
Definition: ntddft.h:31
#define STATUS_STACK_OVERFLOW
Definition: ntstatus.h:489
#define STATUS_PRINT_QUEUE_FULL
Definition: ntstatus.h:434
#define STATUS_DATA_ERROR
Definition: ntstatus.h:298
#define IRP_MN_QUERY_DEVICE_RELATIONS
#define STATUS_FT_ORPHANING
Definition: ntstatus.h:601
#define STATUS_PROCEDURE_NOT_FOUND
Definition: ntstatus.h:358
#define STATUS_ACPI_POWER_REQUEST_FAILED
Definition: ntstatus.h:1318
#define STATUS_INVALID_LDT_DESCRIPTOR
Definition: ntstatus.h:518
#define IOCTL_VOLUME_IS_IO_CAPABLE
Definition: ntddvol.h:71
#define STATUS_IO_REPARSE_TAG_INVALID
Definition: ntstatus.h:754
#define STATUS_PROTOCOL_UNREACHABLE
Definition: ntstatus.h:706
#define STATUS_IO_TIMEOUT
Definition: udferr_usr.h:163
#define STATUS_RXACT_COMMITTED
Definition: ntstatus.h:89
#define STATUS_VALIDATE_CONTINUE
Definition: ntstatus.h:750
#define IOCTL_DISK_FORMAT_TRACKS_EX
Definition: cdrw_usr.h:173
#define STATUS_ADDRESS_NOT_ASSOCIATED
Definition: ntstatus.h:701
#define STATUS_REMOTE_NOT_LISTENING
Definition: ntstatus.h:424
#define STATUS_ACPI_ASSERT_FAILED
Definition: ntstatus.h:1294
#define STATUS_INVALID_OWNER
Definition: ntstatus.h:326
#define STATUS_LOCAL_DISCONNECT
Definition: ntstatus.h:551
#define RPC_NT_NOT_RPC_ERROR
Definition: ntstatus.h:1259
#define STATUS_NOT_COMMITTED
Definition: ntstatus.h:282
#define STATUS_OPLOCK_BREAK_IN_PROGRESS
Definition: ntstatus.h:87
#define STATUS_UNEXPECTED_IO_ERROR
Definition: ntstatus.h:469
#define IRP_MJ_LOCK_CONTROL
Definition: rdpdr.c:53
#define STATUS_SEGMENT_NOTIFICATION
Definition: ntstatus.h:119
#define RPC_NT_INVALID_ASYNC_HANDLE
Definition: ntstatus.h:1262
#define STATUS_FLOPPY_ID_MARK_NOT_FOUND
Definition: ntstatus.h:593
#define IRP_MJ_READ
Definition: rdpdr.c:46
#define STATUS_CTX_INVALID_WD
Definition: ntstatus.h:1348
#define STATUS_STACK_OVERFLOW_READ
Definition: ntstatus.h:684
#define STATUS_RETRY
Definition: udferr_usr.h:182
#define STATUS_PARTIAL_COPY
Definition: ntstatus.h:193
#define STATUS_CANT_ENABLE_DENY_ONLY
Definition: ntstatus.h:806
#define STATUS_LOGIN_WKSTA_RESTRICTION
Definition: ntstatus.h:716
#define STATUS_ENTRYPOINT_NOT_FOUND
Definition: ntstatus.h:549
#define IOCTL_DISK_LOGGING
Definition: ntdddisk.h:148
#define STATUS_TIMER_RESUME_IGNORED
Definition: ntstatus.h:151
#define STATUS_CTX_CLIENT_QUERY_TIMEOUT
Definition: ntstatus.h:1343
#define STATUS_UNEXPECTED_NETWORK_ERROR
Definition: ntstatus.h:432
#define STATUS_DS_SENSITIVE_GROUP_VIOLATION
Definition: ntstatus.h:825
#define STATUS_SERVER_HAS_OPEN_HANDLES
Definition: ntstatus.h:215
#define STATUS_FILE_LOCK_CONFLICT
Definition: ntstatus.h:320
#define STATUS_CTX_SHADOW_DENIED
Definition: ntstatus.h:1346
#define IRP_MJ_CLEANUP
#define STATUS_TRANSACTION_RESPONDED
Definition: ntstatus.h:663
#define STATUS_CTX_CLIENT_LICENSE_IN_USE
Definition: ntstatus.h:1354
#define STATUS_BAD_DEVICE_TYPE
Definition: ntstatus.h:439
#define FT_PRIMARY_READ
Definition: ntddft.h:30
#define STATUS_BAD_CURRENT_DIRECTORY
Definition: ntstatus.h:121
#define STATUS_LUIDS_EXHAUSTED
Definition: ntstatus.h:353
#define STATUS_VOLUME_DISMOUNTED
Definition: ntstatus.h:747
#define STATUS_INVALID_IMAGE_NE_FORMAT
Definition: ntstatus.h:519
#define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
Definition: ntstatus.h:851
#define RPC_NT_WRONG_PIPE_VERSION
Definition: ntstatus.h:1282
#define STATUS_DISK_FULL
Definition: udferr_usr.h:155
#define STATUS_DATATYPE_MISALIGNMENT
Definition: ntstatus.h:183
#define RPC_NT_NAME_SERVICE_UNAVAILABLE
Definition: ntstatus.h:1238
#define STATUS_NOT_LOCKED
Definition: ntstatus.h:279
#define STATUS_DISK_CORRUPT_ERROR
Definition: udferr_usr.h:147
#define IRP_MN_SET_LOCK
#define IOCTL_DISK_SET_CACHE_INFORMATION
Definition: ntdddisk.h:193
#define IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY
Definition: mountmgr.h:32
#define STATUS_ACPI_INVALID_OPCODE
Definition: ntstatus.h:1292
#define STATUS_WMI_ITEMID_NOT_FOUND
Definition: ntstatus.h:778
#define EPT_NT_NOT_REGISTERED
Definition: ntstatus.h:1229
#define STATUS_PORT_DISCONNECTED
Definition: ntstatus.h:291
#define RPC_NT_NOTHING_TO_EXPORT
Definition: ntstatus.h:1230
#define IRP_MJ_SET_INFORMATION
Definition: rdpdr.c:49
#define STATUS_CACHE_PAGE_LOCKED
Definition: ntstatus.h:99
unsigned int ULONG
Definition: retypes.h:1
#define STATUS_NOT_MAPPED_VIEW
Definition: ntstatus.h:262
#define STATUS_NO_TRUST_SAM_ACCOUNT
Definition: ntstatus.h:628
#define STATUS_FILE_FORCED_CLOSED
Definition: ntstatus.h:418
#define RPC_NT_BINDING_HAS_NO_AUTH
Definition: ntstatus.h:1222
#define STATUS_RXACT_COMMIT_NECESSARY
Definition: ntstatus.h:204
#define STATUS_INVALID_SYSTEM_SERVICE
Definition: ntstatus.h:265
#define STATUS_SPECIAL_USER
Definition: ntstatus.h:530
#define STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE
Definition: ntstatus.h:1330
#define STATUS_NETWORK_ACCESS_DENIED
Definition: ntstatus.h:438
#define STATUS_ABIOS_LID_NOT_EXIST
Definition: ntstatus.h:508
#define STATUS_WAIT_63
Definition: ntstatus.h:74
#define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE
Definition: ntstatus.h:829
#define STATUS_CTX_MODEM_RESPONSE_VOICE
Definition: ntstatus.h:1332
#define IOCTL_DISK_SET_DRIVE_LAYOUT
Definition: ntdddisk.h:205
#define IRP_MN_WAIT_WAKE
#define IRP_MJ_WRITE
Definition: rdpdr.c:47
#define STATUS_NO_LOGON_SERVERS
Definition: ntstatus.h:330
#define STATUS_WAIT_3
Definition: ntstatus.h:73
#define IRP_MJ_QUERY_INFORMATION
Definition: rdpdr.c:48
#define STATUS_MEMBER_IN_ALIAS
Definition: ntstatus.h:575
#define STATUS_DOMAIN_LIMIT_EXCEEDED
Definition: ntstatus.h:461
#define STATUS_FLOPPY_BAD_REGISTERS
Definition: ntstatus.h:596
const char * PCSTR
Definition: typedefs.h:52
#define RPC_NT_COMM_FAILURE
Definition: ntstatus.h:1256
#define STATUS_CANNOT_IMPERSONATE
Definition: ntstatus.h:505
#define IRP_MN_CANCEL_STOP_DEVICE
#define STATUS_IN_PAGE_ERROR
Definition: ntstatus.h:243
#define STATUS_FATAL_APP_EXIT
Definition: ntstatus.h:135
#define STATUS_SUCCESS
Definition: shellext.h:65
#define STATUS_ABANDONED_WAIT_63
Definition: ntstatus.h:77
#define STATUS_LOG_HARD_ERROR
Definition: ntstatus.h:140
#define IRP_MN_DEVICE_USAGE_NOTIFICATION
#define STATUS_DEVICE_POWER_FAILURE
Definition: ntstatus.h:394
#define STATUS_CTX_CONSOLE_CONNECT
Definition: ntstatus.h:1345
#define STATUS_PNP_BAD_MPS_TABLE
Definition: ntstatus.h:1287
#define IOCTL_DISK_MEDIA_REMOVAL
Definition: cdrw_usr.h:176
#define STATUS_TOO_MANY_NAMES
Definition: ntstatus.h:441
#define STATUS_MAPPED_FILE_SIZE_ZERO
Definition: ntstatus.h:522
#define STATUS_TIMER_RESOLUTION_NOT_SET
Definition: ntstatus.h:713
#define RPC_NT_UNSUPPORTED_TYPE
Definition: ntstatus.h:1209
#define STATUS_FLOAT_INVALID_OPERATION
Definition: ntstatus.h:380
#define IOCTL_DISK_RESERVE
Definition: cdrw_usr.h:179
#define STATUS_WX86_FLOAT_STACK_CHECK
Definition: ntstatus.h:749
#define STATUS_ADAPTER_HARDWARE_ERROR
Definition: ntstatus.h:430
#define STATUS_PREDEFINED_HANDLE
Definition: ntstatus.h:136
#define STATUS_LINK_FAILED
Definition: ntstatus.h:554
#define STATUS_TRANSLATION_COMPLETE
Definition: ntstatus.h:104
#define STATUS_OBJECT_PATH_SYNTAX_BAD
Definition: ntstatus.h:295
#define STATUS_PORT_UNREACHABLE
Definition: ntstatus.h:707
GLenum GLuint GLenum severity
Definition: glext.h:5579
#define STATUS_PIPE_BUSY
Definition: ntstatus.h:410
#define RPC_NT_NULL_REF_POINTER
Definition: ntstatus.h:1273
#define STATUS_DEVICE_CONFIGURATION_ERROR
Definition: ntstatus.h:619
#define RPC_NT_OUT_OF_RESOURCES
Definition: ntstatus.h:1200
#define STATUS_INVALID_PARAMETER_4
Definition: ntstatus.h:478
#define STATUS_SERVICE_NOTIFICATION
Definition: ntstatus.h:138
#define STATUS_MESSAGE_NOT_FOUND
Definition: ntstatus.h:501
#define STATUS_TRANSACTION_NO_MATCH
Definition: ntstatus.h:662
#define STATUS_INVALID_NETWORK_RESPONSE
Definition: ntstatus.h:431
#define STATUS_BAD_INHERITANCE_ACL
Definition: ntstatus.h:361
#define STATUS_CONFLICTING_ADDRESSES
Definition: ntstatus.h:261
#define RPC_NT_CALL_FAILED
Definition: ntstatus.h:1205
#define STATUS_FT_MISSING_MEMBER
Definition: ntstatus.h:587
#define STATUS_UNHANDLED_EXCEPTION
Definition: ntstatus.h:560
#define STATUS_GUID_SUBSTITUTION_MADE
Definition: ntstatus.h:192
#define STATUS_LM_CROSS_ENCRYPTION_REQUIRED
Definition: ntstatus.h:616
#define STATUS_TOO_MANY_GUIDS_REQUESTED
Definition: ntstatus.h:366
#define STATUS_NETWORK_UNREACHABLE
Definition: ntstatus.h:704
#define STATUS_EA_CORRUPT_ERROR
Definition: ntstatus.h:319
#define STATUS_BAD_REMOTE_ADAPTER
Definition: ntstatus.h:433
#define STATUS_EOM_OVERFLOW
Definition: ntstatus.h:609
#define STATUS_IP_ADDRESS_CONFLICT1
Definition: ntstatus.h:722
#define STATUS_PWD_HISTORY_CONFLICT
Definition: ntstatus.h:730
#define STATUS_NET_WRITE_FAULT
Definition: ntstatus.h:446
#define STATUS_WX86_INTERNAL_ERROR
Definition: ntstatus.h:748
#define STATUS_ILLEGAL_FUNCTION
Definition: ntstatus.h:411
#define STATUS_NOT_REGISTRY_FILE
Definition: ntstatus.h:584
#define STATUS_SYSTEM_PROCESS_TERMINATED
Definition: ntstatus.h:670
#define STATUS_ABANDONED
Definition: ntstatus.h:75
#define IOCTL_VOLUME_GET_GPT_ATTRIBUTES
Definition: ntddvol.h:56
#define EPT_NT_INVALID_ENTRY
Definition: ntstatus.h:1227
#define STATUS_ARRAY_BOUNDS_EXCEEDED
Definition: ntstatus.h:376
#define STATUS_INVALID_IMAGE_WIN_16
Definition: ntstatus.h:541
#define STATUS_PIPE_NOT_AVAILABLE
Definition: ntstatus.h:408
#define STATUS_INCOMPATIBLE_FILE_MAP
Definition: ntstatus.h:313
#define STATUS_SERIAL_NO_DEVICE_INITED
Definition: ntstatus.h:572
#define STATUS_SUSPEND_COUNT_EXCEEDED
Definition: ntstatus.h:310
#define STATUS_PAGE_FAULT_DEMAND_ZERO
Definition: ntstatus.h:95
#define STATUS_ILLEGAL_CHARACTER
Definition: ntstatus.h:589
#define RPC_NT_WRONG_KIND_OF_BINDING
Definition: ntstatus.h:1180
#define STATUS_ACPI_INCORRECT_ARGUMENT_COUNT
Definition: ntstatus.h:1302
#define STATUS_ACPI_INVALID_DATA
Definition: ntstatus.h:1306
#define STATUS_BAD_INITIAL_PC
Definition: ntstatus.h:247
#define IOCTL_DISK_RELEASE
Definition: cdrw_usr.h:180
#define STATUS_THREAD_NOT_IN_PROCESS
Definition: ntstatus.h:534
#define IOCTL_DISK_SIMBAD
Definition: ntdddisk.h:254
#define STATUS_COULD_NOT_INTERPRET
Definition: ntstatus.h:421
#define SMART_SEND_DRIVE_COMMAND
Definition: ntdddisk.h:263
#define STATUS_INSUFFICIENT_POWER
Definition: ntstatus.h:842
#define STATUS_NO_EVENT_PAIR
Definition: ntstatus.h:570
#define STATUS_NO_SPOOL_SPACE
Definition: ntstatus.h:435
#define STATUS_TOO_LATE
Definition: ntstatus.h:626
#define STATUS_UNKNOWN_REVISION
Definition: ntstatus.h:324
#define STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED
Definition: ntstatus.h:93
#define IRP_MN_QUERY_PNP_DEVICE_STATE
#define STATUS_UNABLE_TO_DELETE_SECTION
Definition: ntstatus.h:264
#define STATUS_CTX_WINSTATION_NAME_INVALID
Definition: ntstatus.h:1320
#define STATUS_PATH_NOT_COVERED
Definition: ntstatus.h:725
#define STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
Definition: ntstatus.h:602
#define IOCTL_DISK_GET_DRIVE_GEOMETRY
Definition: cdrw_usr.h:169
#define STATUS_QUOTA_LIST_INCONSISTENT
Definition: ntstatus.h:739
#define STATUS_MUTANT_LIMIT_EXCEEDED
Definition: ntstatus.h:634
#define RPC_NT_UUID_LOCAL_ONLY
Definition: ntstatus.h:174
#define OBSOLETE_DISK_GET_WRITE_CACHE_STATE
Definition: ntdddisk.h:235
#define RPC_NT_NO_MORE_BINDINGS
Definition: ntstatus.h:1249
#define STATUS_LOGON_FAILURE
Definition: ntstatus.h:345
#define STATUS_DUPLICATE_OBJECTID
Definition: ntstatus.h:686
#define STATUS_EVENT_PENDING
Definition: ntstatus.h:133
#define STATUS_CTX_CLIENT_LICENSE_NOT_SET
Definition: ntstatus.h:1353
#define IOCTL_MOUNTDEV_LINK_CREATED
Definition: imports.h:106
#define STATUS_CTL_FILE_NOT_SUPPORTED
Definition: ntstatus.h:323
#define IOCTL_DISK_GET_PARTITION_INFO_EX
Definition: ntddk_ex.h:206
#define STATUS_INVALID_LOCK_SEQUENCE
Definition: ntstatus.h:267
#define RPC_NT_SERVER_UNAVAILABLE
Definition: ntstatus.h:1201
#define RPC_NT_NO_BINDINGS
Definition: ntstatus.h:1197
#define STATUS_DEVICE_DATA_ERROR
Definition: udferr_usr.h:159
#define STATUS_NO_BROWSER_SERVERS_FOUND
Definition: ntstatus.h:672
#define IOCTL_MOUNTMGR_DELETE_POINTS
Definition: imports.h:124
#define IRP_MJ_CREATE_NAMED_PIPE
#define STATUS_PARTITION_FAILURE
Definition: ntstatus.h:604
#define STATUS_HANDLES_CLOSED
Definition: ntstatus.h:190
#define STATUS_DFS_EXIT_PATH_FOUND
Definition: ntstatus.h:391
#define STATUS_NO_LOG_SPACE
Definition: ntstatus.h:614
#define STATUS_FLOPPY_VOLUME
Definition: ntstatus.h:592
#define IRP_MN_QUERY_CAPABILITIES
#define STATUS_NO_SUCH_ALIAS
Definition: ntstatus.h:573
#define RPC_NT_SS_CHAR_TRANS_SHORT_FILE
Definition: ntstatus.h:1267
#define RPC_NT_UUID_NO_ADDRESS
Definition: ntstatus.h:1215
#define STATUS_GROUP_EXISTS
Definition: ntstatus.h:337
#define STATUS_PAGE_FAULT_PAGING_FILE
Definition: ntstatus.h:98
#define STATUS_NO_USER_KEYS
Definition: ntstatus.h:772
#define IRP_MJ_DEVICE_CONTROL
Definition: rdpdr.c:52
#define STATUS_IMAGE_ALREADY_LOADED
Definition: ntstatus.h:506
#define IOCTL_DISK_GROW_PARTITION
Definition: ntdddisk.h:121
#define STATUS_PROFILING_NOT_STARTED
Definition: ntstatus.h:419
#define STATUS_CANT_WAIT
Definition: ntstatus.h:452
#define STATUS_DEVICE_NOT_READY
Definition: shellext.h:70
#define STATUS_DECRYPTION_FAILED
Definition: ntstatus.h:767
#define RPC_NT_NOT_LISTENING
Definition: ntstatus.h:1194
#define RPC_NT_PROTSEQ_NOT_FOUND
Definition: ntstatus.h:1220
#define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
Definition: ntstatus.h:833
#define STATUS_INVALID_IMAGE_LE_FORMAT
Definition: ntstatus.h:538
#define RPC_NT_PROTSEQ_NOT_SUPPORTED
Definition: ntstatus.h:1182
#define STATUS_CTX_CDM_DISCONNECT
Definition: ntstatus.h:178
#define STATUS_RESOURCE_TYPE_NOT_FOUND
Definition: ntstatus.h:374
#define STATUS_FILE_CLOSED
Definition: ntstatus.h:532
#define STATUS_PORT_ALREADY_SET
Definition: ntstatus.h:308
#define RPC_NT_ADDRESS_ERROR
Definition: ntstatus.h:1244
Definition: ps.c:97
#define STATUS_SAM_NEED_BOOTKEY_PASSWORD
Definition: ntstatus.h:843
#define STATUS_LOCAL_USER_SESSION_KEY
Definition: ntstatus.h:120
#define STATUS_INVALID_COMPUTER_NAME
Definition: ntstatus.h:526