12#if !defined(__REACTOS__) || defined(_MSC_VER)
14#pragma warning (disable: 4206)
15#pragma message ("Debug feature is disabled.")
24#define CASE_RETURN_STR(str) case str: return #str;
30#define IRP_MJ_POWER 0x16
32#ifndef IRP_MJ_SYSTEM_CONTROL
33#define IRP_MJ_SYSTEM_CONTROL 0x17
36#define IRP_MJ_PNP 0x1b
43 static char functionName[80];
75 functionName[
sizeof(functionName) - 1] =
'\0';
76 _snprintf(functionName,
sizeof(functionName) - 1,
78 "Unknown Major Function (0x%x)", major_code);
89GetPnpIrpName(
ULONG minor_code)
91 static char functionName[80];
119 functionName[
sizeof(functionName) - 1] =
'\0';
120 _snprintf(functionName,
sizeof(functionName) - 1,
122 "Unknown PNP IRP (0x%x)", minor_code);
131GetPowerIrpName(
ULONG minor_code)
133 static char functionName[80];
135 switch (minor_code) {
141 functionName[
sizeof(functionName) - 1] =
'\0';
142 _snprintf(functionName,
sizeof(functionName) - 1,
144 "Unknown Power IRP (0x%x)", minor_code);
153GetSystemIrpName(
ULONG minor_code)
155 static char functionName[80];
157 switch (minor_code) {
169 functionName[
sizeof(functionName) - 1] =
'\0';
170 _snprintf(functionName,
sizeof(functionName) - 1,
172 "Unknown System IRP (0x%x)", minor_code);
186#if (VER_PRODUCTBUILD < 2195)
193#define MOUNTMGRCONTROLTYPE ((ULONG) 'm')
194#define MOUNTDEVCONTROLTYPE ((ULONG) 'M')
201#define IOCTL_MOUNTMGR_QUERY_POINTS \
202 CTL_CODE(MOUNTMGRCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
203#define IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY \
204 CTL_CODE(MOUNTMGRCONTROLTYPE, 3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
205#define IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER \
206 CTL_CODE(MOUNTMGRCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
207#define IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS \
208 CTL_CODE(MOUNTMGRCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
209#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED \
210 CTL_CODE(MOUNTMGRCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
211#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED \
212 CTL_CODE(MOUNTMGRCONTROLTYPE, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
213#define IOCTL_MOUNTMGR_CHANGE_NOTIFY \
214 CTL_CODE(MOUNTMGRCONTROLTYPE, 8, METHOD_BUFFERED, FILE_READ_ACCESS)
215#define IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE \
216 CTL_CODE(MOUNTMGRCONTROLTYPE, 9, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
217#define IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES \
218 CTL_CODE(MOUNTMGRCONTROLTYPE, 10, METHOD_BUFFERED, FILE_READ_ACCESS)
241#define IOCTL_DISK_UPDATE_DRIVE_SIZE \
242 CTL_CODE(IOCTL_DISK_BASE, 0x0032, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
243#define IOCTL_DISK_GROW_PARTITION \
244 CTL_CODE(IOCTL_DISK_BASE, 0x0034, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
245#define IOCTL_DISK_GET_CACHE_INFORMATION \
246 CTL_CODE(IOCTL_DISK_BASE, 0x0035, METHOD_BUFFERED, FILE_READ_ACCESS)
247#define IOCTL_DISK_SET_CACHE_INFORMATION \
248 CTL_CODE(IOCTL_DISK_BASE, 0x0036, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
249#define IOCTL_DISK_DELETE_DRIVE_LAYOUT \
250 CTL_CODE(IOCTL_DISK_BASE, 0x0040, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
251#define IOCTL_DISK_FORMAT_DRIVE \
252 CTL_CODE(IOCTL_DISK_BASE, 0x00f3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
253#define IOCTL_DISK_SENSE_DEVICE \
254 CTL_CODE(IOCTL_DISK_BASE, 0x00f8, METHOD_BUFFERED, FILE_ANY_ACCESS)
255#define IOCTL_DISK_INTERNAL_SET_NOTIFY \
256 CTL_CODE(IOCTL_DISK_BASE, 0x0102, METHOD_BUFFERED, FILE_ANY_ACCESS)
259#define FT_SECONDARY_READ_ALT \
260 CTL_CODE(FTTYPE, 4, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
261#define FT_PRIMARY_READ_ALT \
262 CTL_CODE(FTTYPE, 5, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
263#define FT_CLUSTER_SET_MEMBER_STATE \
264 CTL_CODE(FTTYPE,11, METHOD_BUFFERED, FILE_ANY_ACCESS)
265#define FT_CLUSTER_GET_MEMBER_STATE \
266 CTL_CODE(FTTYPE,12, METHOD_BUFFERED, FILE_ANY_ACCESS)
269#define IOCTL_STORAGE_LOAD_MEDIA2 \
270 CTL_CODE(IOCTL_STORAGE_BASE, 0x0203, METHOD_BUFFERED, FILE_ANY_ACCESS)
271#define IOCTL_STORAGE_EJECTION_CONTROL \
272 CTL_CODE(IOCTL_STORAGE_BASE, 0x0250, METHOD_BUFFERED, FILE_ANY_ACCESS)
273#define IOCTL_STORAGE_MCN_CONTROL \
274 CTL_CODE(IOCTL_STORAGE_BASE, 0x0251, METHOD_BUFFERED, FILE_ANY_ACCESS)
275#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX \
276 CTL_CODE(IOCTL_STORAGE_BASE, 0x0301, METHOD_BUFFERED, FILE_ANY_ACCESS)
277#define IOCTL_STORAGE_RESET_BUS \
278 CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)
279#define IOCTL_STORAGE_RESET_DEVICE \
280 CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)
281#define IOCTL_STORAGE_GET_DEVICE_NUMBER \
282 CTL_CODE(IOCTL_STORAGE_BASE, 0x0420, METHOD_BUFFERED, FILE_ANY_ACCESS)
283#define IOCTL_STORAGE_PREDICT_FAILURE \
284 CTL_CODE(IOCTL_STORAGE_BASE, 0x0440, METHOD_BUFFERED, FILE_ANY_ACCESS)
285#define IOCTL_STORAGE_QUERY_PROPERTY \
286 CTL_CODE(IOCTL_STORAGE_BASE, 0x0500, METHOD_BUFFERED, FILE_ANY_ACCESS)
287#define OBSOLETE_IOCTL_STORAGE_RESET_BUS \
288 CTL_CODE(IOCTL_STORAGE_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
289#define OBSOLETE_IOCTL_STORAGE_RESET_DEVICE \
290 CTL_CODE(IOCTL_STORAGE_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
293#define FTCONTROLTYPE ((ULONG) 'g')
294#define FT_CREATE_LOGICAL_DISK \
295 CTL_CODE(FTCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
296#define FT_BREAK_LOGICAL_DISK \
297 CTL_CODE(FTCONTROLTYPE, 1, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
298#define FT_ENUMERATE_LOGICAL_DISKS \
299 CTL_CODE(FTCONTROLTYPE, 2, METHOD_BUFFERED, FILE_READ_ACCESS)
300#define FT_QUERY_LOGICAL_DISK_INFORMATION \
301 CTL_CODE(FTCONTROLTYPE, 3, METHOD_BUFFERED, FILE_READ_ACCESS)
302#define FT_ORPHAN_LOGICAL_DISK_MEMBER \
303 CTL_CODE(FTCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
304#define FT_REPLACE_LOGICAL_DISK_MEMBER \
305 CTL_CODE(FTCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
306#define FT_QUERY_NT_DEVICE_NAME_FOR_LOGICAL_DISK \
307 CTL_CODE(FTCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS)
308#define FT_INITIALIZE_LOGICAL_DISK \
309 CTL_CODE(FTCONTROLTYPE, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
310#define FT_QUERY_DRIVE_LETTER_FOR_LOGICAL_DISK \
311 CTL_CODE(FTCONTROLTYPE, 8, METHOD_BUFFERED, FILE_READ_ACCESS)
313 CTL_CODE(FTCONTROLTYPE, 9, METHOD_BUFFERED, FILE_READ_ACCESS)
314#define FT_SET_DRIVE_LETTER_FOR_LOGICAL_DISK \
315 CTL_CODE(FTCONTROLTYPE, 10, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
316#define FT_QUERY_NT_DEVICE_NAME_FOR_PARTITION \
317 CTL_CODE(FTCONTROLTYPE, 12, METHOD_BUFFERED, FILE_READ_ACCESS)
318#define FT_CHANGE_NOTIFY \
319 CTL_CODE(FTCONTROLTYPE, 13, METHOD_BUFFERED, FILE_READ_ACCESS)
320#define FT_STOP_SYNC_OPERATIONS \
321 CTL_CODE(FTCONTROLTYPE, 14, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
322#define FT_QUERY_LOGICAL_DISK_ID \
323 CTL_CODE(FTCONTROLTYPE, 100, METHOD_BUFFERED, FILE_READ_ACCESS)
324#define FT_CREATE_PARTITION_LOGICAL_DISK \
325 CTL_CODE(FTCONTROLTYPE, 101, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
328#define IOCTL_VOLUME_BASE ((ULONG) 'V')
329#define IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS \
330 CTL_CODE(IOCTL_VOLUME_BASE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
331#define IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE \
332 CTL_CODE(IOCTL_VOLUME_BASE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
333#define IOCTL_VOLUME_ONLINE \
334 CTL_CODE(IOCTL_VOLUME_BASE, 2, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
335#define IOCTL_VOLUME_OFFLINE \
336 CTL_CODE(IOCTL_VOLUME_BASE, 3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
337#define IOCTL_VOLUME_IS_OFFLINE \
338 CTL_CODE(IOCTL_VOLUME_BASE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
339#define IOCTL_VOLUME_IS_IO_CAPABLE \
340 CTL_CODE(IOCTL_VOLUME_BASE, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
341#define IOCTL_VOLUME_QUERY_FAILOVER_SET \
342 CTL_CODE(IOCTL_VOLUME_BASE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
343#define IOCTL_VOLUME_QUERY_VOLUME_NUMBER \
344 CTL_CODE(IOCTL_VOLUME_BASE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
345#define IOCTL_VOLUME_LOGICAL_TO_PHYSICAL \
346 CTL_CODE(IOCTL_VOLUME_BASE, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
347#define IOCTL_VOLUME_PHYSICAL_TO_LOGICAL \
348 CTL_CODE(IOCTL_VOLUME_BASE, 9, METHOD_BUFFERED, FILE_ANY_ACCESS)
359#define FT_SECONDARY_READ_ALT \
360 CTL_CODE(FTTYPE, 4, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
361#define FT_PRIMARY_READ_ALT \
362 CTL_CODE(FTTYPE, 5, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
366#if (VER_PRODUCTBUILD < 2600)
372#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH \
373 CTL_CODE(MOUNTMGRCONTROLTYPE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
374#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS \
375 CTL_CODE(MOUNTMGRCONTROLTYPE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
384#define IOCTL_DISK_PERFORMANCE_OFF \
385 CTL_CODE(IOCTL_DISK_BASE, 0x0018, METHOD_BUFFERED, FILE_ANY_ACCESS)
390#define IOCTL_DISK_SET_PARTITION_INFO_EX \
391 CTL_CODE(IOCTL_DISK_BASE, 0x0013, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
392#define IOCTL_DISK_GET_DRIVE_LAYOUT_EX \
393 CTL_CODE(IOCTL_DISK_BASE, 0x0014, METHOD_BUFFERED, FILE_ANY_ACCESS)
394#define IOCTL_DISK_SET_DRIVE_LAYOUT_EX \
395 CTL_CODE(IOCTL_DISK_BASE, 0x0015, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
396#define IOCTL_DISK_CREATE_DISK \
397 CTL_CODE(IOCTL_DISK_BASE, 0x0016, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
402#define IOCTL_DISK_GET_DRIVE_GEOMETRY_EX \
403 CTL_CODE(IOCTL_DISK_BASE, 0x0028, METHOD_BUFFERED, FILE_ANY_ACCESS)
404#define IOCTL_DISK_GET_WRITE_CACHE_STATE \
405 CTL_CODE(IOCTL_DISK_BASE, 0x0037, METHOD_BUFFERED, FILE_READ_ACCESS)
406#define IOCTL_DISK_UPDATE_PROPERTIES \
407 CTL_CODE(IOCTL_DISK_BASE, 0x0050, METHOD_BUFFERED, FILE_ANY_ACCESS)
410#define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER \
411 CTL_CODE(IOCTL_STORAGE_BASE, 0x0304, METHOD_BUFFERED, FILE_ANY_ACCESS)
416#define IOCTL_STORAGE_SET_HOTPLUG_INFO \
417 CTL_CODE(IOCTL_STORAGE_BASE, 0x0306, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
418#define IOCTL_STORAGE_BREAK_RESERVATION \
419 CTL_CODE(IOCTL_STORAGE_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS)
422#define IOCTL_VOLUME_IS_PARTITION \
423 CTL_CODE(IOCTL_VOLUME_BASE, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)
424#define IOCTL_VOLUME_READ_PLEX \
425 CTL_CODE(IOCTL_VOLUME_BASE, 11, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
426#define IOCTL_VOLUME_IS_CLUSTERED \
427 CTL_CODE(IOCTL_VOLUME_BASE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
428#define IOCTL_VOLUME_SET_GPT_ATTRIBUTES \
429 CTL_CODE(IOCTL_VOLUME_BASE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
430#define IOCTL_VOLUME_GET_GPT_ATTRIBUTES \
431 CTL_CODE(IOCTL_VOLUME_BASE, 14, METHOD_BUFFERED, FILE_ANY_ACCESS)
519#if !defined(__REACTOS__) || (NTDDI_VERSION < NTDDI_WS03)
520 CASE_RETURN_STR(IOCTL_DISK_GET_WRITE_CACHE_STATE);
543 CASE_RETURN_STR(FT_INITIALIZE_SET);
544 CASE_RETURN_STR(FT_REGENERATE);
545 CASE_RETURN_STR(FT_CONFIGURE);
546 CASE_RETURN_STR(FT_VERIFY);
551 CASE_RETURN_STR(FT_SEQUENTIAL_WRITE_MODE);
552 CASE_RETURN_STR(FT_PARALLEL_WRITE_MODE);
553 CASE_RETURN_STR(FT_QUERY_SET_STATE);
554 CASE_RETURN_STR(FT_CLUSTER_SET_MEMBER_STATE);
555 CASE_RETURN_STR(FT_CLUSTER_GET_MEMBER_STATE);
558 CASE_RETURN_STR(FT_CREATE_LOGICAL_DISK);
559 CASE_RETURN_STR(FT_BREAK_LOGICAL_DISK);
560 CASE_RETURN_STR(FT_ENUMERATE_LOGICAL_DISKS);
561 CASE_RETURN_STR(FT_QUERY_LOGICAL_DISK_INFORMATION);
562 CASE_RETURN_STR(FT_ORPHAN_LOGICAL_DISK_MEMBER);
563 CASE_RETURN_STR(FT_REPLACE_LOGICAL_DISK_MEMBER);
564 CASE_RETURN_STR(FT_QUERY_NT_DEVICE_NAME_FOR_LOGICAL_DISK);
565 CASE_RETURN_STR(FT_INITIALIZE_LOGICAL_DISK);
566 CASE_RETURN_STR(FT_QUERY_DRIVE_LETTER_FOR_LOGICAL_DISK);
567 CASE_RETURN_STR(FT_CHECK_IO);
568 CASE_RETURN_STR(FT_SET_DRIVE_LETTER_FOR_LOGICAL_DISK);
569 CASE_RETURN_STR(FT_QUERY_NT_DEVICE_NAME_FOR_PARTITION);
570 CASE_RETURN_STR(FT_CHANGE_NOTIFY);
571 CASE_RETURN_STR(FT_STOP_SYNC_OPERATIONS);
572 CASE_RETURN_STR(FT_QUERY_LOGICAL_DISK_ID);
573 CASE_RETURN_STR(FT_CREATE_PARTITION_LOGICAL_DISK);
620 buf[
sizeof(
buf) - 1] =
'\0';
623 "Unknown IOCTL: 0x%08x", ctrl_code);
628#if (VER_PRODUCTBUILD < 2195)
632#define FACILITY_USB_ERROR_CODE 0x10
633#define FACILITY_TERMINAL_SERVER 0xA
634#define FACILITY_HID_ERROR_CODE 0x11
635#define FACILITY_FIREWIRE_ERROR_CODE 0x12
636#define FACILITY_DEBUGGER 0x1
637#define FACILITY_CLUSTER_ERROR_CODE 0x13
638#define FACILITY_ACPI_ERROR_CODE 0x14
639#define STATUS_RESOURCE_REQUIREMENTS_CHANGED ((NTSTATUS)0x00000119L)
640#define STATUS_TRANSLATION_COMPLETE ((NTSTATUS)0x00000120L)
641#define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY ((NTSTATUS)0x00000121L)
642#define DBG_EXCEPTION_HANDLED ((NTSTATUS)0x00010001L)
643#define DBG_CONTINUE ((NTSTATUS)0x00010002L)
644#define STATUS_ARBITRATION_UNHANDLED ((NTSTATUS)0x40000026L)
645#define STATUS_CARDBUS_NOT_SUPPORTED ((NTSTATUS)0x40000027L)
646#define STATUS_WX86_CREATEWX86TIB ((NTSTATUS)0x40000028L)
647#define STATUS_MP_PROCESSOR_MISMATCH ((NTSTATUS)0x40000029L)
648#define DBG_REPLY_LATER ((NTSTATUS)0x40010001L)
649#define DBG_UNABLE_TO_PROVIDE_HANDLE ((NTSTATUS)0x40010002L)
650#define DBG_TERMINATE_THREAD ((NTSTATUS)0x40010003L)
651#define DBG_TERMINATE_PROCESS ((NTSTATUS)0x40010004L)
652#define DBG_CONTROL_C ((NTSTATUS)0x40010005L)
653#define DBG_PRINTEXCEPTION_C ((NTSTATUS)0x40010006L)
654#define DBG_RIPEXCEPTION ((NTSTATUS)0x40010007L)
655#define DBG_CONTROL_BREAK ((NTSTATUS)0x40010008L)
656#define DBG_EXCEPTION_NOT_HANDLED ((NTSTATUS)0x80010001L)
657#define STATUS_VALIDATE_CONTINUE ((NTSTATUS)0xC0000271L)
658#define STATUS_NO_MATCH ((NTSTATUS)0xC0000272L)
659#define STATUS_NO_MORE_MATCHES ((NTSTATUS)0xC0000273L)
660#define STATUS_NOT_A_REPARSE_POINT ((NTSTATUS)0xC0000275L)
661#define STATUS_IO_REPARSE_TAG_INVALID ((NTSTATUS)0xC0000276L)
662#define STATUS_IO_REPARSE_TAG_MISMATCH ((NTSTATUS)0xC0000277L)
663#define STATUS_IO_REPARSE_DATA_INVALID ((NTSTATUS)0xC0000278L)
664#define STATUS_IO_REPARSE_TAG_NOT_HANDLED ((NTSTATUS)0xC0000279L)
665#define STATUS_REPARSE_POINT_NOT_RESOLVED ((NTSTATUS)0xC0000280L)
666#define STATUS_DIRECTORY_IS_A_REPARSE_POINT ((NTSTATUS)0xC0000281L)
667#define STATUS_RANGE_LIST_CONFLICT ((NTSTATUS)0xC0000282L)
668#define STATUS_SOURCE_ELEMENT_EMPTY ((NTSTATUS)0xC0000283L)
669#define STATUS_DESTINATION_ELEMENT_FULL ((NTSTATUS)0xC0000284L)
670#define STATUS_ILLEGAL_ELEMENT_ADDRESS ((NTSTATUS)0xC0000285L)
671#define STATUS_MAGAZINE_NOT_PRESENT ((NTSTATUS)0xC0000286L)
672#define STATUS_REINITIALIZATION_NEEDED ((NTSTATUS)0xC0000287L)
673#define STATUS_DEVICE_REQUIRES_CLEANING ((NTSTATUS)0x80000288L)
674#define STATUS_DEVICE_DOOR_OPEN ((NTSTATUS)0x80000289L)
675#define STATUS_ENCRYPTION_FAILED ((NTSTATUS)0xC000028AL)
676#define STATUS_DECRYPTION_FAILED ((NTSTATUS)0xC000028BL)
677#define STATUS_RANGE_NOT_FOUND ((NTSTATUS)0xC000028CL)
678#define STATUS_NO_RECOVERY_POLICY ((NTSTATUS)0xC000028DL)
679#define STATUS_NO_EFS ((NTSTATUS)0xC000028EL)
680#define STATUS_WRONG_EFS ((NTSTATUS)0xC000028FL)
681#define STATUS_NO_USER_KEYS ((NTSTATUS)0xC0000290L)
682#define STATUS_FILE_NOT_ENCRYPTED ((NTSTATUS)0xC0000291L)
683#define STATUS_NOT_EXPORT_FORMAT ((NTSTATUS)0xC0000292L)
684#define STATUS_FILE_ENCRYPTED ((NTSTATUS)0xC0000293L)
685#define STATUS_WAKE_SYSTEM ((NTSTATUS)0x40000294L)
686#define STATUS_WMI_GUID_NOT_FOUND ((NTSTATUS)0xC0000295L)
687#define STATUS_WMI_INSTANCE_NOT_FOUND ((NTSTATUS)0xC0000296L)
688#define STATUS_WMI_ITEMID_NOT_FOUND ((NTSTATUS)0xC0000297L)
689#define STATUS_WMI_TRY_AGAIN ((NTSTATUS)0xC0000298L)
690#define STATUS_SHARED_POLICY ((NTSTATUS)0xC0000299L)
691#define STATUS_POLICY_OBJECT_NOT_FOUND ((NTSTATUS)0xC000029AL)
692#define STATUS_POLICY_ONLY_IN_DS ((NTSTATUS)0xC000029BL)
693#define STATUS_VOLUME_NOT_UPGRADED ((NTSTATUS)0xC000029CL)
694#define STATUS_REMOTE_STORAGE_NOT_ACTIVE ((NTSTATUS)0xC000029DL)
695#define STATUS_REMOTE_STORAGE_MEDIA_ERROR ((NTSTATUS)0xC000029EL)
696#define STATUS_NO_TRACKING_SERVICE ((NTSTATUS)0xC000029FL)
697#define STATUS_SERVER_SID_MISMATCH ((NTSTATUS)0xC00002A0L)
698#define STATUS_DS_NO_ATTRIBUTE_OR_VALUE ((NTSTATUS)0xC00002A1L)
699#define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX ((NTSTATUS)0xC00002A2L)
700#define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED ((NTSTATUS)0xC00002A3L)
701#define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS ((NTSTATUS)0xC00002A4L)
702#define STATUS_DS_BUSY ((NTSTATUS)0xC00002A5L)
703#define STATUS_DS_UNAVAILABLE ((NTSTATUS)0xC00002A6L)
704#define STATUS_DS_NO_RIDS_ALLOCATED ((NTSTATUS)0xC00002A7L)
705#define STATUS_DS_NO_MORE_RIDS ((NTSTATUS)0xC00002A8L)
706#define STATUS_DS_INCORRECT_ROLE_OWNER ((NTSTATUS)0xC00002A9L)
707#define STATUS_DS_RIDMGR_INIT_ERROR ((NTSTATUS)0xC00002AAL)
708#define STATUS_DS_OBJ_CLASS_VIOLATION ((NTSTATUS)0xC00002ABL)
709#define STATUS_DS_CANT_ON_NON_LEAF ((NTSTATUS)0xC00002ACL)
710#define STATUS_DS_CANT_ON_RDN ((NTSTATUS)0xC00002ADL)
711#define STATUS_DS_CANT_MOD_OBJ_CLASS ((NTSTATUS)0xC00002AEL)
712#define STATUS_DS_CROSS_DOM_MOVE_FAILED ((NTSTATUS)0xC00002AFL)
713#define STATUS_DS_GC_NOT_AVAILABLE ((NTSTATUS)0xC00002B0L)
714#define STATUS_DIRECTORY_SERVICE_REQUIRED ((NTSTATUS)0xC00002B1L)
715#define STATUS_REPARSE_ATTRIBUTE_CONFLICT ((NTSTATUS)0xC00002B2L)
716#define STATUS_CANT_ENABLE_DENY_ONLY ((NTSTATUS)0xC00002B3L)
717#define STATUS_FLOAT_MULTIPLE_FAULTS ((NTSTATUS)0xC00002B4L)
718#define STATUS_FLOAT_MULTIPLE_TRAPS ((NTSTATUS)0xC00002B5L)
719#define STATUS_DEVICE_REMOVED ((NTSTATUS)0xC00002B6L)
720#define STATUS_JOURNAL_DELETE_IN_PROGRESS ((NTSTATUS)0xC00002B7L)
721#define STATUS_JOURNAL_NOT_ACTIVE ((NTSTATUS)0xC00002B8L)
722#define STATUS_NOINTERFACE ((NTSTATUS)0xC00002B9L)
723#define STATUS_DS_ADMIN_LIMIT_EXCEEDED ((NTSTATUS)0xC00002C1L)
724#define STATUS_DRIVER_FAILED_SLEEP ((NTSTATUS)0xC00002C2L)
725#define STATUS_MUTUAL_AUTHENTICATION_FAILED ((NTSTATUS)0xC00002C3L)
726#define STATUS_CORRUPT_SYSTEM_FILE ((NTSTATUS)0xC00002C4L)
727#define STATUS_DATATYPE_MISALIGNMENT_ERROR ((NTSTATUS)0xC00002C5L)
728#define STATUS_WMI_READ_ONLY ((NTSTATUS)0xC00002C6L)
729#define STATUS_WMI_SET_FAILURE ((NTSTATUS)0xC00002C7L)
730#define STATUS_COMMITMENT_MINIMUM ((NTSTATUS)0xC00002C8L)
731#define STATUS_REG_NAT_CONSUMPTION ((NTSTATUS)0xC00002C9L)
732#define STATUS_TRANSPORT_FULL ((NTSTATUS)0xC00002CAL)
733#define STATUS_DS_SAM_INIT_FAILURE ((NTSTATUS)0xC00002CBL)
734#define STATUS_ONLY_IF_CONNECTED ((NTSTATUS)0xC00002CCL)
735#define STATUS_DS_SENSITIVE_GROUP_VIOLATION ((NTSTATUS)0xC00002CDL)
736#define STATUS_PNP_RESTART_ENUMERATION ((NTSTATUS)0xC00002CEL)
737#define STATUS_JOURNAL_ENTRY_DELETED ((NTSTATUS)0xC00002CFL)
738#define STATUS_DS_CANT_MOD_PRIMARYGROUPID ((NTSTATUS)0xC00002D0L)
739#define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE ((NTSTATUS)0xC00002D1L)
740#define STATUS_PNP_REBOOT_REQUIRED ((NTSTATUS)0xC00002D2L)
741#define STATUS_POWER_STATE_INVALID ((NTSTATUS)0xC00002D3L)
742#define STATUS_DS_INVALID_GROUP_TYPE ((NTSTATUS)0xC00002D4L)
743#define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN ((NTSTATUS)0xC00002D5L)
744#define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN ((NTSTATUS)0xC00002D6L)
745#define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS)0xC00002D7L)
746#define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS)0xC00002D8L)
747#define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS)0xC00002D9L)
748#define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER ((NTSTATUS)0xC00002DAL)
749#define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER ((NTSTATUS)0xC00002DBL)
750#define STATUS_DS_HAVE_PRIMARY_MEMBERS ((NTSTATUS)0xC00002DCL)
751#define STATUS_WMI_NOT_SUPPORTED ((NTSTATUS)0xC00002DDL)
752#define STATUS_INSUFFICIENT_POWER ((NTSTATUS)0xC00002DEL)
753#define STATUS_SAM_NEED_BOOTKEY_PASSWORD ((NTSTATUS)0xC00002DFL)
754#define STATUS_SAM_NEED_BOOTKEY_FLOPPY ((NTSTATUS)0xC00002E0L)
755#define STATUS_DS_CANT_START ((NTSTATUS)0xC00002E1L)
756#define STATUS_DS_INIT_FAILURE ((NTSTATUS)0xC00002E2L)
757#define STATUS_SAM_INIT_FAILURE ((NTSTATUS)0xC00002E3L)
758#define STATUS_DS_GC_REQUIRED ((NTSTATUS)0xC00002E4L)
759#define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY ((NTSTATUS)0xC00002E5L)
760#define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS ((NTSTATUS)0xC00002E6L)
761#define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED ((NTSTATUS)0xC00002E7L)
762#define STATUS_MULTIPLE_FAULT_VIOLATION ((NTSTATUS)0xC00002E8L)
763#define STATUS_NOT_SUPPORTED_ON_SBS ((NTSTATUS)0xC0000300L)
764#define DBG_NO_STATE_CHANGE ((NTSTATUS)0xC0010001L)
765#define DBG_APP_NOT_IDLE ((NTSTATUS)0xC0010002L)
766#define RPC_NT_PIPE_CLOSED ((NTSTATUS)0xC003005FL)
767#define RPC_NT_PIPE_DISCIPLINE_ERROR ((NTSTATUS)0xC0030060L)
768#define RPC_NT_PIPE_EMPTY ((NTSTATUS)0xC0030061L)
769#define RPC_NT_INVALID_ASYNC_HANDLE ((NTSTATUS)0xC0020062L)
770#define RPC_NT_INVALID_ASYNC_CALL ((NTSTATUS)0xC0020063L)
771#define STATUS_ACPI_INVALID_OPCODE ((NTSTATUS)0xC0140001L)
772#define STATUS_ACPI_STACK_OVERFLOW ((NTSTATUS)0xC0140002L)
773#define STATUS_ACPI_ASSERT_FAILED ((NTSTATUS)0xC0140003L)
774#define STATUS_ACPI_INVALID_INDEX ((NTSTATUS)0xC0140004L)
775#define STATUS_ACPI_INVALID_ARGUMENT ((NTSTATUS)0xC0140005L)
776#define STATUS_ACPI_FATAL ((NTSTATUS)0xC0140006L)
777#define STATUS_ACPI_INVALID_SUPERNAME ((NTSTATUS)0xC0140007L)
778#define STATUS_ACPI_INVALID_ARGTYPE ((NTSTATUS)0xC0140008L)
779#define STATUS_ACPI_INVALID_OBJTYPE ((NTSTATUS)0xC0140009L)
780#define STATUS_ACPI_INVALID_TARGETTYPE ((NTSTATUS)0xC014000AL)
781#define STATUS_ACPI_INCORRECT_ARGUMENT_COUNT ((NTSTATUS)0xC014000BL)
782#define STATUS_ACPI_ADDRESS_NOT_MAPPED ((NTSTATUS)0xC014000CL)
783#define STATUS_ACPI_INVALID_EVENTTYPE ((NTSTATUS)0xC014000DL)
784#define STATUS_ACPI_HANDLER_COLLISION ((NTSTATUS)0xC014000EL)
785#define STATUS_ACPI_INVALID_DATA ((NTSTATUS)0xC014000FL)
786#define STATUS_ACPI_INVALID_REGION ((NTSTATUS)0xC0140010L)
787#define STATUS_ACPI_INVALID_ACCESS_SIZE ((NTSTATUS)0xC0140011L)
788#define STATUS_ACPI_ACQUIRE_GLOBAL_LOCK ((NTSTATUS)0xC0140012L)
789#define STATUS_ACPI_ALREADY_INITIALIZED ((NTSTATUS)0xC0140013L)
790#define STATUS_ACPI_NOT_INITIALIZED ((NTSTATUS)0xC0140014L)
791#define STATUS_ACPI_INVALID_MUTEX_LEVEL ((NTSTATUS)0xC0140015L)
792#define STATUS_ACPI_MUTEX_NOT_OWNED ((NTSTATUS)0xC0140016L)
793#define STATUS_ACPI_MUTEX_NOT_OWNER ((NTSTATUS)0xC0140017L)
794#define STATUS_ACPI_RS_ACCESS ((NTSTATUS)0xC0140018L)
795#define STATUS_ACPI_INVALID_TABLE ((NTSTATUS)0xC0140019L)
796#define STATUS_ACPI_REG_HANDLER_FAILED ((NTSTATUS)0xC0140020L)
797#define STATUS_ACPI_POWER_REQUEST_FAILED ((NTSTATUS)0xC0140021L)
798#define STATUS_CTX_WINSTATION_NAME_INVALID ((NTSTATUS)0xC00A0001L)
799#define STATUS_CTX_INVALID_PD ((NTSTATUS)0xC00A0002L)
800#define STATUS_CTX_PD_NOT_FOUND ((NTSTATUS)0xC00A0003L)
801#define STATUS_CTX_CDM_CONNECT ((NTSTATUS)0x400A0004L)
802#define STATUS_CTX_CDM_DISCONNECT ((NTSTATUS)0x400A0005L)
803#define STATUS_CTX_CLOSE_PENDING ((NTSTATUS)0xC00A0006L)
804#define STATUS_CTX_NO_OUTBUF ((NTSTATUS)0xC00A0007L)
805#define STATUS_CTX_MODEM_INF_NOT_FOUND ((NTSTATUS)0xC00A0008L)
806#define STATUS_CTX_INVALID_MODEMNAME ((NTSTATUS)0xC00A0009L)
807#define STATUS_CTX_RESPONSE_ERROR ((NTSTATUS)0xC00A000AL)
808#define STATUS_CTX_MODEM_RESPONSE_TIMEOUT ((NTSTATUS)0xC00A000BL)
809#define STATUS_CTX_MODEM_RESPONSE_NO_CARRIER ((NTSTATUS)0xC00A000CL)
810#define STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE ((NTSTATUS)0xC00A000DL)
811#define STATUS_CTX_MODEM_RESPONSE_BUSY ((NTSTATUS)0xC00A000EL)
812#define STATUS_CTX_MODEM_RESPONSE_VOICE ((NTSTATUS)0xC00A000FL)
813#define STATUS_CTX_TD_ERROR ((NTSTATUS)0xC00A0010L)
814#define STATUS_CTX_LICENSE_CLIENT_INVALID ((NTSTATUS)0xC00A0012L)
815#define STATUS_CTX_LICENSE_NOT_AVAILABLE ((NTSTATUS)0xC00A0013L)
816#define STATUS_CTX_LICENSE_EXPIRED ((NTSTATUS)0xC00A0014L)
817#define STATUS_CTX_WINSTATION_NOT_FOUND ((NTSTATUS)0xC00A0015L)
818#define STATUS_CTX_WINSTATION_NAME_COLLISION ((NTSTATUS)0xC00A0016L)
819#define STATUS_CTX_WINSTATION_BUSY ((NTSTATUS)0xC00A0017L)
820#define STATUS_CTX_BAD_VIDEO_MODE ((NTSTATUS)0xC00A0018L)
821#define STATUS_CTX_GRAPHICS_INVALID ((NTSTATUS)0xC00A0022L)
822#define STATUS_CTX_NOT_CONSOLE ((NTSTATUS)0xC00A0024L)
823#define STATUS_CTX_CLIENT_QUERY_TIMEOUT ((NTSTATUS)0xC00A0026L)
824#define STATUS_CTX_CONSOLE_DISCONNECT ((NTSTATUS)0xC00A0027L)
825#define STATUS_CTX_CONSOLE_CONNECT ((NTSTATUS)0xC00A0028L)
826#define STATUS_CTX_SHADOW_DENIED ((NTSTATUS)0xC00A002AL)
827#define STATUS_CTX_WINSTATION_ACCESS_DENIED ((NTSTATUS)0xC00A002BL)
828#define STATUS_CTX_INVALID_WD ((NTSTATUS)0xC00A002EL)
829#define STATUS_CTX_WD_NOT_FOUND ((NTSTATUS)0xC00A002FL)
830#define STATUS_CTX_SHADOW_INVALID ((NTSTATUS)0xC00A0030L)
831#define STATUS_CTX_SHADOW_DISABLED ((NTSTATUS)0xC00A0031L)
832#define STATUS_RDP_PROTOCOL_ERROR ((NTSTATUS)0xC00A0032L)
833#define STATUS_CTX_CLIENT_LICENSE_NOT_SET ((NTSTATUS)0xC00A0033L)
834#define STATUS_CTX_CLIENT_LICENSE_IN_USE ((NTSTATUS)0xC00A0034L)
835#define STATUS_PNP_BAD_MPS_TABLE ((NTSTATUS)0xC0040035L)
836#define STATUS_PNP_TRANSLATION_FAILED ((NTSTATUS)0xC0040036L)
837#define STATUS_PNP_IRQ_TRANSLATION_FAILED ((NTSTATUS)0xC0040037L)
848 static CHAR statusName[80];
851 switch (
status & 0xf0000000) {
852 case 0x00000000:
severity =
'S';
break;
853 case 0x40000000:
severity =
'I';
break;
854 case 0x80000000:
severity =
'W';
break;
855 case 0xC0000000:
severity =
'E';
break;
859 statusName[
sizeof(statusName) - 1] =
'\0';
860 _snprintf(statusName,
sizeof(statusName) - 1,
#define STATUS_PRIVILEGE_NOT_HELD
#define STATUS_EA_LIST_INCONSISTENT
#define IOCTL_DISK_FIND_NEW_DEVICES
#define IOCTL_DISK_CHECK_VERIFY
#define IOCTL_DISK_GET_DRIVE_GEOMETRY
#define IOCTL_DISK_RESERVE
#define IOCTL_DISK_RELEASE
#define IOCTL_DISK_MEDIA_REMOVAL
#define IOCTL_DISK_FORMAT_TRACKS_EX
#define IOCTL_DISK_EJECT_MEDIA
#define IOCTL_DISK_VERIFY
#define IOCTL_DISK_LOAD_MEDIA
#define IOCTL_DISK_GET_MEDIA_TYPES
#define IOCTL_DISK_IS_WRITABLE
#define IOCTL_STORAGE_GET_MEDIA_TYPES_EX
#define IOCTL_DISK_FORMAT_TRACKS
#define STATUS_ILLEGAL_INSTRUCTION
#define STATUS_INVALID_HANDLE
#define STATUS_NOT_SUPPORTED
#define STATUS_DEVICE_REMOVED
#define STATUS_NOT_IMPLEMENTED
#define STATUS_OBJECT_TYPE_MISMATCH
#define IOCTL_DISK_GET_DRIVE_GEOMETRY_EX
#define IOCTL_DISK_GET_PARTITION_INFO_EX
#define IOCTL_DISK_GET_DRIVE_LAYOUT_EX
#define IOCTL_STORAGE_CHECK_VERIFY2
#define IOCTL_STORAGE_LOAD_MEDIA2
GLenum GLuint GLenum GLsizei const GLchar * buf
#define IOCTL_MOUNTMGR_DELETE_POINTS
#define IOCTL_MOUNTDEV_LINK_CREATED
#define IOCTL_MOUNTDEV_QUERY_DEVICE_NAME
#define IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME
#define IOCTL_MOUNTDEV_QUERY_STABLE_GUID
#define IOCTL_DISK_GET_LENGTH_INFO
#define IOCTL_MOUNTDEV_QUERY_UNIQUE_ID
#define IOCTL_STORAGE_GET_HOTPLUG_INFO
#define IOCTL_MOUNTMGR_CREATE_POINT
#define IOCTL_MOUNTMGR_VOLUME_ARRIVAL_NOTIFICATION
#define IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY
#define IOCTL_MOUNTDEV_LINK_DELETED
#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH
#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS
#define IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS
#define IOCTL_MOUNTMGR_QUERY_POINTS
#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED
#define IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES
#define IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER
#define IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY
#define IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE
#define IOCTL_MOUNTMGR_CHANGE_NOTIFY
#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED
#define IOCTL_DISK_INTERNAL_CLEAR_VERIFY
#define IOCTL_DISK_SET_DRIVE_LAYOUT
#define IOCTL_DISK_GET_CACHE_INFORMATION
#define IOCTL_DISK_HISTOGRAM_STRUCTURE
#define IOCTL_DISK_SET_PARTITION_INFO
#define IOCTL_DISK_SET_PARTITION_INFO_EX
#define SMART_GET_VERSION
#define IOCTL_DISK_UPDATE_DRIVE_SIZE
#define IOCTL_DISK_PERFORMANCE
#define IOCTL_DISK_GROW_PARTITION
#define SMART_RCV_DRIVE_DATA
#define IOCTL_DISK_HISTOGRAM_DATA
#define IOCTL_DISK_GET_DRIVE_LAYOUT
#define SMART_SEND_DRIVE_COMMAND
#define IOCTL_DISK_CREATE_DISK
#define IOCTL_DISK_FORMAT_DRIVE
#define IOCTL_DISK_SET_CACHE_INFORMATION
#define IOCTL_DISK_REASSIGN_BLOCKS
#define IOCTL_DISK_INTERNAL_SET_NOTIFY
#define IOCTL_DISK_HISTOGRAM_RESET
#define IOCTL_DISK_SET_DRIVE_LAYOUT_EX
#define IOCTL_DISK_GET_PARTITION_INFO
#define IOCTL_DISK_INTERNAL_SET_VERIFY
#define OBSOLETE_DISK_GET_WRITE_CACHE_STATE
#define IOCTL_DISK_DELETE_DRIVE_LAYOUT
#define IOCTL_DISK_REQUEST_DATA
#define IOCTL_DISK_PERFORMANCE_OFF
#define IOCTL_DISK_CONTROLLER_NUMBER
#define IOCTL_DISK_UPDATE_PROPERTIES
#define IOCTL_DISK_SIMBAD
#define IOCTL_DISK_SENSE_DEVICE
#define IOCTL_DISK_REQUEST_STRUCTURE
#define IOCTL_DISK_LOGGING
#define FT_SECONDARY_READ
#define FT_SYNC_REDUNDANT_COPY
#define FT_BALANCED_READ_MODE
#define IOCTL_STORAGE_QUERY_PROPERTY
#define IOCTL_STORAGE_RELEASE
#define IOCTL_STORAGE_BREAK_RESERVATION
#define IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER
#define IOCTL_STORAGE_SET_HOTPLUG_INFO
#define IOCTL_STORAGE_GET_DEVICE_NUMBER
#define IOCTL_STORAGE_CHECK_VERIFY
#define IOCTL_STORAGE_LOAD_MEDIA
#define IOCTL_STORAGE_RESERVE
#define IOCTL_STORAGE_GET_MEDIA_TYPES
#define OBSOLETE_IOCTL_STORAGE_RESET_BUS
#define IOCTL_STORAGE_RESET_DEVICE
#define IOCTL_STORAGE_PREDICT_FAILURE
#define IOCTL_STORAGE_FIND_NEW_DEVICES
#define IOCTL_STORAGE_RESET_BUS
#define IOCTL_STORAGE_MCN_CONTROL
#define IOCTL_STORAGE_EJECT_MEDIA
#define IOCTL_STORAGE_EJECTION_CONTROL
#define OBSOLETE_IOCTL_STORAGE_RESET_DEVICE
#define IOCTL_STORAGE_MEDIA_REMOVAL
#define IOCTL_VOLUME_IS_IO_CAPABLE
#define IOCTL_VOLUME_LOGICAL_TO_PHYSICAL
#define IOCTL_VOLUME_QUERY_FAILOVER_SET
#define IOCTL_VOLUME_QUERY_VOLUME_NUMBER
#define IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE
#define IOCTL_VOLUME_IS_OFFLINE
#define IOCTL_VOLUME_IS_CLUSTERED
#define IOCTL_VOLUME_READ_PLEX
#define IOCTL_VOLUME_GET_GPT_ATTRIBUTES
#define IOCTL_VOLUME_ONLINE
#define IOCTL_VOLUME_SET_GPT_ATTRIBUTES
#define IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
#define IOCTL_VOLUME_OFFLINE
#define IOCTL_VOLUME_IS_PARTITION
#define IOCTL_VOLUME_PHYSICAL_TO_LOGICAL
#define IRP_MN_SURPRISE_REMOVAL
#define STATUS_INVALID_VIEW_SIZE
#define STATUS_DRIVER_ENTRYPOINT_NOT_FOUND
#define STATUS_ALIAS_EXISTS
#define STATUS_INVALID_DOMAIN_ROLE
#define STATUS_ACPI_ACQUIRE_GLOBAL_LOCK
#define STATUS_TRANSACTION_INVALID_ID
#define STATUS_ACPI_INVALID_OBJTYPE
#define RPC_NT_INVALID_NAF_ID
#define STATUS_TOO_MANY_SESSIONS
#define STATUS_UNSUPPORTED_COMPRESSION
#define STATUS_FLOAT_UNDERFLOW
#define STATUS_INTERNAL_ERROR
#define STATUS_PIPE_DISCONNECTED
#define STATUS_TRANSACTION_RESPONDED
#define STATUS_ACPI_INVALID_TABLE
#define STATUS_GUIDS_EXHAUSTED
#define STATUS_DEVICE_POWERED_OFF
#define STATUS_INVALID_IMAGE_WIN_16
#define STATUS_DS_CANT_START
#define STATUS_ACPI_INVALID_MUTEX_LEVEL
#define EPT_NT_INVALID_ENTRY
#define RPC_NT_SERVER_UNAVAILABLE
#define STATUS_DS_ADMIN_LIMIT_EXCEEDED
#define RPC_NT_UNSUPPORTED_TYPE
#define RPC_NT_UUID_LOCAL_ONLY
#define STATUS_INVALID_IMAGE_NE_FORMAT
#define STATUS_ABIOS_LID_NOT_EXIST
#define STATUS_WRONG_PASSWORD
#define STATUS_NETWORK_NAME_DELETED
#define RPC_NT_INTERFACE_NOT_FOUND
#define RPC_NT_INVALID_NETWORK_OPTIONS
#define STATUS_RXACT_COMMIT_FAILURE
#define STATUS_INVALID_ADDRESS
#define STATUS_MAPPED_ALIGNMENT
#define STATUS_PIPE_NOT_AVAILABLE
#define RPC_NT_INVALID_RPC_PROTSEQ
#define STATUS_INVALID_ID_AUTHORITY
#define STATUS_FLOPPY_VOLUME
#define STATUS_PAGE_FAULT_GUARD_PAGE
#define STATUS_REGISTRY_QUOTA_LIMIT
#define STATUS_NOT_LOGON_PROCESS
#define RPC_NT_BAD_STUB_DATA
#define STATUS_QUOTA_EXCEEDED
#define STATUS_INVALID_ACCOUNT_NAME
#define STATUS_ILLEGAL_CHARACTER
#define STATUS_INVALID_LOGON_HOURS
#define STATUS_NO_TRACKING_SERVICE
#define STATUS_ABIOS_SELECTOR_NOT_AVAILABLE
#define STATUS_IP_ADDRESS_CONFLICT2
#define RPC_NT_INTERNAL_ERROR
#define STATUS_EOM_OVERFLOW
#define STATUS_WORKING_SET_LIMIT_RANGE
#define STATUS_LOGIN_WKSTA_RESTRICTION
#define STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE
#define RPC_NT_UNKNOWN_AUTHN_LEVEL
#define RPC_NT_SS_IN_NULL_CONTEXT
#define STATUS_NO_QUOTAS_FOR_ACCOUNT
#define RPC_NT_INVALID_PIPE_OPERATION
#define STATUS_KEY_HAS_CHILDREN
#define STATUS_IMAGE_CHECKSUM_MISMATCH
#define STATUS_DEVICE_NOT_PARTITIONED
#define STATUS_CTX_MODEM_RESPONSE_TIMEOUT
#define STATUS_SECTION_PROTECTION
#define STATUS_BAD_INITIAL_STACK
#define STATUS_RECEIVE_EXPEDITED
#define STATUS_CRASH_DUMP
#define STATUS_CTX_INVALID_MODEMNAME
#define STATUS_CTX_CDM_CONNECT
#define STATUS_IMAGE_MP_UP_MISMATCH
#define STATUS_UNABLE_TO_DELETE_SECTION
#define STATUS_SPECIAL_USER
#define STATUS_PWD_HISTORY_CONFLICT
#define STATUS_UNKNOWN_REVISION
#define RPC_NT_ENUM_VALUE_OUT_OF_RANGE
#define STATUS_RESOURCE_LANG_NOT_FOUND
#define RPC_NT_WRONG_ES_VERSION
#define STATUS_TOO_MANY_NAMES
#define STATUS_REDIRECTOR_PAUSED
#define STATUS_NO_EVENT_PAIR
#define STATUS_DEVICE_PAPER_EMPTY
#define RPC_NT_PIPE_CLOSED
#define STATUS_CANT_ACCESS_DOMAIN_INFO
#define STATUS_REPARSE_ATTRIBUTE_CONFLICT
#define STATUS_ABIOS_NOT_LID_OWNER
#define STATUS_BAD_DEVICE_TYPE
#define STATUS_DS_OBJ_CLASS_VIOLATION
#define STATUS_NONEXISTENT_EA_ENTRY
#define STATUS_REG_NAT_CONSUMPTION
#define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
#define STATUS_DATA_NOT_ACCEPTED
#define STATUS_NOINTERFACE
#define STATUS_CTX_LICENSE_NOT_AVAILABLE
#define STATUS_NO_INHERITANCE
#define STATUS_PARITY_ERROR
#define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT
#define STATUS_WAS_LOCKED
#define STATUS_IO_REPARSE_TAG_INVALID
#define STATUS_INVALID_PARAMETER_10
#define STATUS_FILE_FORCED_CLOSED
#define STATUS_DRIVER_CANCEL_TIMEOUT
#define STATUS_POSSIBLE_DEADLOCK
#define STATUS_TOO_MANY_THREADS
#define STATUS_WX86_SINGLE_STEP
#define STATUS_BAD_DESCRIPTOR_FORMAT
#define RPC_NT_ENTRY_ALREADY_EXISTS
#define STATUS_NETWORK_UNREACHABLE
#define STATUS_CTX_INVALID_WD
#define STATUS_DS_NO_ATTRIBUTE_OR_VALUE
#define STATUS_NO_IMPERSONATION_TOKEN
#define STATUS_DEVICE_PROTOCOL_ERROR
#define STATUS_BAD_SERVICE_ENTRYPOINT
#define STATUS_ACPI_ASSERT_FAILED
#define STATUS_EVENTLOG_FILE_CHANGED
#define STATUS_DUPLICATE_NAME
#define STATUS_ACPI_MUTEX_NOT_OWNED
#define STATUS_CONNECTION_IN_USE
#define STATUS_IO_REPARSE_TAG_MISMATCH
#define STATUS_DIRECTORY_IS_A_REPARSE_POINT
#define STATUS_INVALID_LDT_SIZE
#define STATUS_SERIAL_NO_DEVICE_INITED
#define RPC_NT_SEC_PKG_ERROR
#define RPC_NT_DUPLICATE_ENDPOINT
#define STATUS_ILLEGAL_FLOAT_CONTEXT
#define STATUS_CTX_BAD_VIDEO_MODE
#define STATUS_NT_CROSS_ENCRYPTION_REQUIRED
#define STATUS_INVALID_IMAGE_FORMAT
#define STATUS_FLOAT_OVERFLOW
#define STATUS_SECRET_TOO_LONG
#define STATUS_IMAGE_MACHINE_TYPE_MISMATCH
#define STATUS_NO_TRUST_LSA_SECRET
#define STATUS_GUID_SUBSTITUTION_MADE
#define STATUS_DELETE_PENDING
#define STATUS_DS_HAVE_PRIMARY_MEMBERS
#define STATUS_BAD_COMPRESSION_BUFFER
#define STATUS_FLOAT_STACK_CHECK
#define STATUS_WMI_TRY_AGAIN
#define STATUS_INVALID_CID
#define STATUS_PIPE_CONNECTED
#define STATUS_THREAD_IS_TERMINATING
#define RPC_NT_CALL_IN_PROGRESS
#define STATUS_CTX_SHADOW_DENIED
#define STATUS_FILE_LOCK_CONFLICT
#define STATUS_ACPI_ALREADY_INITIALIZED
#define RPC_NT_NO_CALL_ACTIVE
#define RPC_NT_NO_ENDPOINT_FOUND
#define STATUS_EVENT_DONE
#define STATUS_WX86_EXCEPTION_CONTINUE
#define STATUS_REGISTRY_RECOVERED
#define STATUS_NO_USER_KEYS
#define STATUS_MEMBER_IN_ALIAS
#define STATUS_DS_INCORRECT_ROLE_OWNER
#define STATUS_EVENT_PENDING
#define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED
#define STATUS_COMMITMENT_MINIMUM
#define RPC_NT_STRING_TOO_LONG
#define STATUS_INVALID_DISPOSITION
#define RPC_NT_WRONG_PIPE_VERSION
#define RPC_NT_INVALID_PIPE_OBJECT
#define STATUS_FT_READ_RECOVERY_FROM_BACKUP
#define STATUS_PROTOCOL_UNREACHABLE
#define STATUS_CTX_GRAPHICS_INVALID
#define STATUS_SOURCE_ELEMENT_EMPTY
#define STATUS_BAD_VALIDATION_CLASS
#define STATUS_INSTRUCTION_MISALIGNMENT
#define STATUS_DATA_LATE_ERROR
#define STATUS_ADDRESS_ALREADY_EXISTS
#define STATUS_HANDLES_CLOSED
#define STATUS_ACPI_INVALID_SUPERNAME
#define STATUS_CANNOT_IMPERSONATE
#define RPC_NT_PROCNUM_OUT_OF_RANGE
#define STATUS_PIPE_LISTENING
#define STATUS_INVALID_READ_MODE
#define STATUS_ACCOUNT_DISABLED
#define STATUS_RXACT_INVALID_STATE
#define STATUS_INVALID_EA_NAME
#define STATUS_ADDRESS_NOT_ASSOCIATED
#define STATUS_DISK_RECALIBRATE_FAILED
#define STATUS_DLL_NOT_FOUND
#define STATUS_DS_SAM_INIT_FAILURE
#define STATUS_VOLUME_NOT_UPGRADED
#define STATUS_INVALID_ACL
#define STATUS_SECTION_NOT_IMAGE
#define RPC_NT_NO_INTERFACES
#define STATUS_ARRAY_BOUNDS_EXCEEDED
#define STATUS_BAD_NETWORK_NAME
#define RPC_NT_PIPE_EMPTY
#define STATUS_GRACEFUL_DISCONNECT
#define STATUS_RECOVERY_FAILURE
#define STATUS_DESTINATION_ELEMENT_FULL
#define STATUS_FT_MISSING_MEMBER
#define STATUS_END_OF_MEDIA
#define STATUS_NOTIFY_CLEANUP
#define STATUS_FLOPPY_BAD_REGISTERS
#define STATUS_NO_USER_SESSION_KEY
#define RPC_NT_WRONG_STUB_VERSION
#define STATUS_EA_CORRUPT_ERROR
#define STATUS_FOUND_OUT_OF_SCOPE
#define STATUS_NO_RECOVERY_POLICY
#define STATUS_VIRTUAL_CIRCUIT_CLOSED
#define STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED
#define STATUS_INVALID_PARAMETER_MIX
#define RPC_NT_NO_MORE_ENTRIES
#define STATUS_PRINT_QUEUE_FULL
#define STATUS_INVALID_BUFFER_SIZE
#define STATUS_UNABLE_TO_FREE_VM
#define STATUS_CONNECTION_COUNT_LIMIT
#define STATUS_OBJECT_PATH_SYNTAX_BAD
#define STATUS_POLICY_OBJECT_NOT_FOUND
#define STATUS_ACPI_INVALID_INDEX
#define STATUS_TOKEN_ALREADY_IN_USE
#define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX
#define STATUS_TRANSACTION_ABORTED
#define STATUS_NO_SUCH_USER
#define STATUS_PASSWORD_MUST_CHANGE
#define STATUS_ACPI_INVALID_ARGTYPE
#define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY
#define STATUS_DOMAIN_EXISTS
#define STATUS_VDM_HARD_ERROR
#define STATUS_NETWORK_ACCESS_DENIED
#define STATUS_NO_PAGEFILE
#define STATUS_CTX_MODEM_RESPONSE_BUSY
#define STATUS_LOG_FILE_FULL
#define STATUS_DEVICE_POWER_FAILURE
#define STATUS_MEMORY_NOT_ALLOCATED
#define STATUS_CTX_WD_NOT_FOUND
#define STATUS_NOT_MAPPED_VIEW
#define STATUS_IMAGE_ALREADY_LOADED
#define STATUS_LOGON_SESSION_COLLISION
#define STATUS_CONTROL_C_EXIT
#define STATUS_THREAD_WAS_SUSPENDED
#define STATUS_CTX_SHADOW_DISABLED
#define STATUS_INVALID_SUB_AUTHORITY
#define STATUS_WOW_ASSERTION
#define RPC_NT_NOT_RPC_ERROR
#define RPC_NT_BYTE_COUNT_TOO_SMALL
#define STATUS_CTX_CDM_DISCONNECT
#define STATUS_NOT_TINY_STREAM
#define STATUS_BAD_MASTER_BOOT_RECORD
#define STATUS_FILE_NOT_ENCRYPTED
#define STATUS_NONE_MAPPED
#define STATUS_FS_DRIVER_REQUIRED
#define STATUS_NOT_REGISTRY_FILE
#define STATUS_KERNEL_APC
#define STATUS_ILLEGAL_ELEMENT_ADDRESS
#define STATUS_BAD_WORKING_SET_LIMIT
#define STATUS_TOO_MANY_COMMANDS
#define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
#define STATUS_INCOMPATIBLE_FILE_MAP
#define STATUS_PWD_TOO_SHORT
#define STATUS_INVALID_PARAMETER_9
#define STATUS_SHARED_IRQ_BUSY
#define STATUS_INVALID_VARIANT
#define STATUS_OBJECT_NAME_EXISTS
#define STATUS_MEDIA_CHANGED
#define STATUS_NO_SUCH_MEMBER
#define STATUS_WMI_SET_FAILURE
#define STATUS_DEVICE_DOOR_OPEN
#define RPC_NT_SS_CONTEXT_MISMATCH
#define STATUS_INVALID_PARAMETER_4
#define STATUS_FILE_CLOSED
#define STATUS_ALREADY_COMMITTED
#define RPC_NT_WRONG_KIND_OF_BINDING
#define RPC_NT_ALREADY_REGISTERED
#define STATUS_OBJECTID_EXISTS
#define STATUS_CTX_WINSTATION_BUSY
#define STATUS_INVALID_PIPE_STATE
#define STATUS_INVALID_LDT_DESCRIPTOR
#define EPT_NT_NOT_REGISTERED
#define STATUS_ACPI_ADDRESS_NOT_MAPPED
#define STATUS_NO_LOGON_SERVERS
#define STATUS_KEY_DELETED
#define RPC_NT_INVALID_ASYNC_HANDLE
#define STATUS_INVALID_PLUGPLAY_DEVICE_PATH
#define STATUS_ALREADY_WIN32
#define RPC_NT_INVALID_NAME_SYNTAX
#define STATUS_BAD_LOGON_SESSION_STATE
#define STATUS_NO_GUID_TRANSLATION
#define STATUS_HOST_UNREACHABLE
#define STATUS_DOMAIN_CONTROLLER_NOT_FOUND
#define STATUS_NO_SUCH_PRIVILEGE
#define STATUS_TOO_MANY_OPENED_FILES
#define STATUS_INVALID_SID
#define RPC_NT_NOTHING_TO_EXPORT
#define STATUS_CTX_CONSOLE_DISCONNECT
#define STATUS_RESOURCE_REQUIREMENTS_CHANGED
#define STATUS_TOO_MANY_LUIDS_REQUESTED
#define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS
#define STATUS_WX86_EXCEPTION_LASTCHANCE
#define STATUS_RXACT_STATE_CREATED
#define STATUS_STACK_OVERFLOW
#define STATUS_UNABLE_TO_LOCK_MEDIA
#define STATUS_WORKING_SET_QUOTA
#define STATUS_BAD_CURRENT_DIRECTORY
#define STATUS_ABIOS_INVALID_SELECTOR
#define STATUS_UNDEFINED_CHARACTER
#define STATUS_SYNCHRONIZATION_REQUIRED
#define RPC_NT_UNKNOWN_IF
#define STATUS_VOLUME_DISMOUNTED
#define STATUS_CTX_LICENSE_CLIENT_INVALID
#define STATUS_NO_EAS_ON_FILE
#define STATUS_FATAL_APP_EXIT
#define STATUS_CTX_INVALID_PD
#define STATUS_SEGMENT_NOTIFICATION
#define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
#define RPC_NT_PROTOCOL_ERROR
#define STATUS_DEVICE_ALREADY_ATTACHED
#define STATUS_TOO_MANY_NODES
#define STATUS_ILL_FORMED_SERVICE_ENTRY
#define STATUS_ABIOS_NOT_PRESENT
#define STATUS_PASSWORD_RESTRICTION
#define STATUS_REMOTE_DISCONNECT
#define STATUS_DS_GC_REQUIRED
#define STATUS_INVALID_PARAMETER_2
#define STATUS_INVALID_IMAGE_NOT_MZ
#define STATUS_NO_SUCH_DOMAIN
#define RPC_NT_ENTRY_NOT_FOUND
#define STATUS_PROPSET_NOT_FOUND
#define RPC_NT_NO_PROTSEQS_REGISTERED
#define STATUS_CTX_NO_OUTBUF
#define STATUS_ALREADY_DISCONNECTED
#define STATUS_TRANSPORT_FULL
#define STATUS_ILLEGAL_DLL_RELOCATION
#define DBG_TERMINATE_PROCESS
#define STATUS_LOCAL_USER_SESSION_KEY
#define RPC_NT_NULL_REF_POINTER
#define STATUS_NO_CALLBACK_ACTIVE
#define STATUS_INVALID_PORT_HANDLE
#define STATUS_FREE_VM_NOT_AT_BASE
#define STATUS_UNEXPECTED_MM_MAP_ERROR
#define RPC_NT_NOT_CANCELLED
#define STATUS_TRANSACTION_NO_RELEASE
#define STATUS_FLOPPY_UNKNOWN_ERROR
#define STATUS_SOME_NOT_MAPPED
#define RPC_NT_GROUP_MEMBER_NOT_FOUND
#define STATUS_ORDINAL_NOT_FOUND
#define STATUS_MEMBER_NOT_IN_ALIAS
#define STATUS_WMI_INSTANCE_NOT_FOUND
#define STATUS_CARDBUS_NOT_SUPPORTED
#define STATUS_INVALID_CONNECTION
#define STATUS_ADDRESS_ALREADY_ASSOCIATED
#define STATUS_REDIRECTOR_HAS_OPEN_HANDLES
#define STATUS_PORT_UNREACHABLE
#define STATUS_INVALID_DOMAIN_STATE
#define STATUS_MUTANT_LIMIT_EXCEEDED
#define STATUS_CTX_LICENSE_EXPIRED
#define STATUS_INVALID_PORT_ATTRIBUTES
#define STATUS_PIPE_EMPTY
#define STATUS_DS_NO_RIDS_ALLOCATED
#define STATUS_MEMBER_IN_GROUP
#define STATUS_NETWORK_BUSY
#define RPC_NT_UNSUPPORTED_AUTHN_LEVEL
#define STATUS_CTX_SHADOW_INVALID
#define STATUS_VALIDATE_CONTINUE
#define RPC_NT_SS_CHAR_TRANS_OPEN_FAIL
#define STATUS_AUDIT_FAILED
#define STATUS_TRANSLATION_COMPLETE
#define STATUS_ADDRESS_CLOSED
#define STATUS_PATH_NOT_COVERED
#define RPC_NT_UNSUPPORTED_TRANS_SYN
#define STATUS_INVALID_IMAGE_PROTECT
#define STATUS_LUIDS_EXHAUSTED
#define STATUS_NO_LOG_SPACE
#define STATUS_DS_GC_NOT_AVAILABLE
#define STATUS_LOGON_SERVER_CONFLICT
#define STATUS_CTX_CLIENT_LICENSE_IN_USE
#define STATUS_PNP_TRANSLATION_FAILED
#define STATUS_DS_RIDMGR_INIT_ERROR
#define STATUS_INVALID_NETWORK_RESPONSE
#define STATUS_INVALID_MEMBER
#define STATUS_CTX_PD_NOT_FOUND
#define STATUS_SINGLE_STEP
#define STATUS_DLL_INIT_FAILED_LOGOFF
#define STATUS_DEBUG_ATTACH_FAILED
#define RPC_NT_INVALID_STRING_UUID
#define STATUS_CONNECTION_RESET
#define STATUS_RESOURCE_NAME_NOT_FOUND
#define STATUS_PROCESS_IS_TERMINATING
#define STATUS_NOT_ALL_ASSIGNED
#define RPC_NT_NOT_LISTENING
#define STATUS_MAGAZINE_NOT_PRESENT
#define STATUS_POWER_STATE_INVALID
#define STATUS_DS_CROSS_DOM_MOVE_FAILED
#define RPC_NT_OBJECT_NOT_FOUND
#define STATUS_PWD_TOO_RECENT
#define STATUS_WMI_NOT_SUPPORTED
#define STATUS_BAD_INITIAL_PC
#define STATUS_AGENTS_EXHAUSTED
#define STATUS_INVALID_FILE_FOR_SECTION
#define STATUS_RANGE_NOT_LOCKED
#define STATUS_THREAD_NOT_IN_PROCESS
#define STATUS_CHECKING_FILE_SYSTEM
#define STATUS_SPECIAL_GROUP
#define STATUS_PIPE_BROKEN
#define STATUS_BACKUP_CONTROLLER
#define STATUS_UNHANDLED_EXCEPTION
#define STATUS_NO_SUCH_LOGON_SESSION
#define STATUS_TOO_MANY_CONTEXT_IDS
#define STATUS_FT_ORPHANING
#define STATUS_FLOPPY_WRONG_CYLINDER
#define STATUS_PNP_BAD_MPS_TABLE
#define STATUS_IO_PRIVILEGE_FAILED
#define STATUS_CTX_MODEM_INF_NOT_FOUND
#define STATUS_INSUFFICIENT_POWER
#define STATUS_RXACT_COMMITTED
#define STATUS_INSUFF_SERVER_RESOURCES
#define RPC_NT_INVALID_AUTH_IDENTITY
#define RPC_NT_INVALID_ES_ACTION
#define STATUS_WX86_UNSIMULATE
#define RPC_NT_INVALID_ASYNC_CALL
#define STATUS_MISSING_SYSTEMFILE
#define STATUS_WX86_EXCEPTION_CHAIN
#define STATUS_INSUFFICIENT_LOGON_INFO
#define STATUS_PAGE_FAULT_COPY_ON_WRITE
#define STATUS_INVALID_LOGON_TYPE
#define DBG_UNABLE_TO_PROVIDE_HANDLE
#define STATUS_NOT_A_REPARSE_POINT
#define STATUS_DATATYPE_MISALIGNMENT_ERROR
#define STATUS_MEMBERS_PRIMARY_GROUP
#define STATUS_NO_MORE_ENTRIES
#define DBG_CONTROL_BREAK
#define STATUS_CONVERT_TO_LARGE
#define RPC_NT_SS_CHAR_TRANS_SHORT_FILE
#define STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
#define STATUS_SERVER_DISABLED
#define DBG_TERMINATE_THREAD
#define STATUS_CTX_WINSTATION_NAME_INVALID
#define STATUS_MP_PROCESSOR_MISMATCH
#define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
#define STATUS_UNABLE_TO_DECOMMIT_VM
#define STATUS_CTX_TD_ERROR
#define RPC_NT_PROTSEQ_NOT_FOUND
#define STATUS_PROFILING_NOT_STOPPED
#define RPC_NT_SS_CANNOT_GET_CALL_HANDLE
#define STATUS_ABIOS_INVALID_COMMAND
#define RPC_NT_BINDING_INCOMPLETE
#define STATUS_INVALID_LEVEL
#define DBG_NO_STATE_CHANGE
#define STATUS_CTX_MODEM_RESPONSE_NO_CARRIER
#define STATUS_LOGIN_TIME_RESTRICTION
#define STATUS_BEGINNING_OF_MEDIA
#define STATUS_DISK_OPERATION_FAILED
#define STATUS_ACPI_INVALID_ACCESS_SIZE
#define STATUS_NO_SUCH_ALIAS
#define RPC_NT_NO_ENTRY_NAME
#define RPC_NT_CALL_CANCELLED
#define STATUS_ACPI_STACK_OVERFLOW
#define STATUS_BAD_INHERITANCE_ACL
#define STATUS_DRIVER_UNABLE_TO_LOAD
#define RPC_NT_TYPE_ALREADY_REGISTERED
#define STATUS_FILE_RENAMED
#define STATUS_ALLOCATE_BUCKET
#define STATUS_UNEXPECTED_MM_CREATE_ERR
#define STATUS_CONNECTION_INVALID
#define STATUS_PORT_CONNECTION_REFUSED
#define STATUS_CTL_FILE_NOT_SUPPORTED
#define STATUS_MUTANT_NOT_OWNED
#define STATUS_ENTRYPOINT_NOT_FOUND
#define STATUS_WMI_ITEMID_NOT_FOUND
#define RPC_NT_UUID_NO_ADDRESS
#define STATUS_IP_ADDRESS_CONFLICT1
#define RPC_NT_OUT_OF_RESOURCES
#define STATUS_INVALID_SECURITY_DESCR
#define STATUS_DS_INIT_FAILURE
#define STATUS_LM_CROSS_ENCRYPTION_REQUIRED
#define STATUS_DS_NO_MORE_RIDS
#define STATUS_PROCEDURE_NOT_FOUND
#define STATUS_PNP_REBOOT_REQUIRED
#define STATUS_WMI_GUID_NOT_FOUND
#define STATUS_USER_EXISTS
#define STATUS_ABANDONED_WAIT_63
#define STATUS_CONNECTION_ABORTED
#define STATUS_PAGE_FAULT_DEMAND_ZERO
#define STATUS_FLOAT_DIVIDE_BY_ZERO
#define STATUS_FLOAT_MULTIPLE_FAULTS
#define STATUS_WX86_CONTINUE
#define STATUS_DRIVER_ORDINAL_NOT_FOUND
#define STATUS_IO_REPARSE_TAG_NOT_HANDLED
#define STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE
#define STATUS_PRIVILEGED_INSTRUCTION
#define STATUS_INVALID_ADDRESS_WILDCARD
#define STATUS_PORT_MESSAGE_TOO_LONG
#define STATUS_INVALID_PARAMETER_7
#define STATUS_TIMER_RESOLUTION_NOT_SET
#define STATUS_REPLY_MESSAGE_MISMATCH
#define RPC_NT_NO_PRINC_NAME
#define STATUS_USER_MAPPED_FILE
#define STATUS_WAKE_SYSTEM
#define STATUS_BAD_NETWORK_PATH
#define STATUS_PLUGPLAY_NO_DEVICE
#define STATUS_FILE_INVALID
#define STATUS_CANNOT_LOAD_REGISTRY_FILE
#define STATUS_REDIRECTOR_NOT_STARTED
#define STATUS_ACPI_INVALID_TARGETTYPE
#define STATUS_ALLOTTED_SPACE_EXCEEDED
#define STATUS_COULD_NOT_INTERPRET
#define STATUS_SERIAL_MORE_WRITES
#define STATUS_ACPI_POWER_REQUEST_FAILED
#define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE
#define STATUS_IO_REPARSE_DATA_INVALID
#define STATUS_BREAKPOINT
#define STATUS_INTERNAL_DB_ERROR
#define RPC_NT_NO_CONTEXT_AVAILABLE
#define RPC_NT_PIPE_DISCIPLINE_ERROR
#define STATUS_PAGEFILE_CREATE_FAILED
#define STATUS_BAD_FUNCTION_TABLE
#define STATUS_TRANSACTION_TIMED_OUT
#define STATUS_DS_CANT_ON_NON_LEAF
#define STATUS_RANGE_LIST_CONFLICT
#define STATUS_MEDIA_CHECK
#define STATUS_SPECIAL_ACCOUNT
#define STATUS_PRINT_CANCELLED
#define RPC_NT_MAX_CALLS_TOO_SMALL
#define STATUS_WX86_CREATEWX86TIB
#define STATUS_DOMAIN_CTRLR_CONFIG_ERROR
#define STATUS_USER_SESSION_DELETED
#define STATUS_INVALID_COMPUTER_NAME
#define STATUS_NOT_SUPPORTED_ON_SBS
#define STATUS_DECRYPTION_FAILED
#define RPC_NT_INVALID_STRING_BINDING
#define STATUS_CLIENT_SERVER_PARAMETERS_INVALID
#define STATUS_CTX_CLIENT_LICENSE_NOT_SET
#define RPC_NT_NO_PROTSEQS
#define STATUS_FLOAT_MULTIPLE_TRAPS
#define STATUS_BAD_DLL_ENTRYPOINT
#define STATUS_CONNECTION_ACTIVE
#define STATUS_CONNECTION_REFUSED
#define STATUS_FULLSCREEN_MODE
#define STATUS_INVALID_ADDRESS_COMPONENT
#define STATUS_EXTRANEOUS_INFORMATION
#define STATUS_EAS_NOT_SUPPORTED
#define STATUS_ACPI_HANDLER_COLLISION
#define STATUS_CTX_WINSTATION_NAME_COLLISION
#define RPC_NT_SS_HANDLES_MISMATCH
#define STATUS_DEVICE_CONFIGURATION_ERROR
#define STATUS_PASSWORD_EXPIRED
#define STATUS_DEVICE_REQUIRES_CLEANING
#define STATUS_DLL_INIT_FAILED
#define STATUS_MEMBER_NOT_IN_GROUP
#define STATUS_CTX_MODEM_RESPONSE_VOICE
#define STATUS_PARTITION_FAILURE
#define STATUS_DFS_EXIT_PATH_FOUND
#define STATUS_ACCESS_VIOLATION
#define STATUS_MAPPED_FILE_SIZE_ZERO
#define STATUS_CTX_CLIENT_QUERY_TIMEOUT
#define STATUS_PORT_DISCONNECTED
#define STATUS_TOO_MANY_GUIDS_REQUESTED
#define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
#define STATUS_INVALID_SYSTEM_SERVICE
#define STATUS_REDIRECTOR_STARTED
#define STATUS_REPARSE_OBJECT
#define STATUS_ACPI_INVALID_DATA
#define STATUS_WMI_READ_ONLY
#define STATUS_BAD_TOKEN_TYPE
#define RPC_NT_NO_BINDINGS
#define STATUS_SYSTEM_PROCESS_TERMINATED
#define STATUS_ILL_FORMED_PASSWORD
#define DBG_PRINTEXCEPTION_C
#define STATUS_FILE_IS_OFFLINE
#define STATUS_EVALUATION_EXPIRATION
#define STATUS_ACPI_INVALID_EVENTTYPE
#define STATUS_ACPI_NOT_INITIALIZED
#define STATUS_OPLOCK_BREAK_IN_PROGRESS
#define STATUS_TRUSTED_RELATIONSHIP_FAILURE
#define RPC_NT_FP_DIV_ZERO
#define STATUS_SERVER_NOT_DISABLED
#define STATUS_POLICY_ONLY_IN_DS
#define STATUS_SERIAL_COUNTER_TIMEOUT
#define STATUS_APP_INIT_FAILURE
#define STATUS_RECEIVE_PARTIAL
#define STATUS_INVALID_WORKSTATION
#define STATUS_CONNECTION_DISCONNECTED
#define RPC_NT_FP_UNDERFLOW
#define STATUS_WX86_BREAKPOINT
#define STATUS_REMOTE_STORAGE_NOT_ACTIVE
#define STATUS_ABIOS_LID_ALREADY_OWNED
#define STATUS_PAGEFILE_QUOTA_EXCEEDED
#define STATUS_TRUSTED_DOMAIN_FAILURE
#define RPC_NT_INCOMPLETE_NAME
#define STATUS_MARSHALL_OVERFLOW
#define STATUS_INVALID_PARAMETER_6
#define STATUS_ACCOUNT_EXPIRED
#define STATUS_CANT_OPEN_ANONYMOUS
#define STATUS_NOT_LOCKED
#define STATUS_ACPI_INCORRECT_ARGUMENT_COUNT
#define STATUS_LOGON_NOT_GRANTED
#define STATUS_NONCONTINUABLE_EXCEPTION
#define STATUS_ONLY_IF_CONNECTED
#define STATUS_FLOAT_INVALID_OPERATION
#define STATUS_JOURNAL_NOT_ACTIVE
#define STATUS_RANGE_NOT_FOUND
#define STATUS_REMOTE_SESSION_LIMIT
#define STATUS_CTX_CONSOLE_CONNECT
#define STATUS_LINK_TIMEOUT
#define STATUS_LICENSE_QUOTA_EXCEEDED
#define STATUS_REGISTRY_CORRUPT
#define STATUS_IN_PAGE_ERROR
#define STATUS_EVENTLOG_FILE_CORRUPT
#define STATUS_CONFLICTING_ADDRESSES
#define STATUS_ACPI_INVALID_REGION
#define STATUS_INVALID_OPLOCK_PROTOCOL
#define STATUS_PNP_IRQ_TRANSLATION_FAILED
#define STATUS_GROUP_EXISTS
#define STATUS_CANT_DISABLE_MANDATORY
#define STATUS_SETMARK_DETECTED
#define RPC_NT_SS_CONTEXT_DAMAGED
#define STATUS_NOT_CLIENT_SESSION
#define STATUS_REMOTE_NOT_LISTENING
#define STATUS_FLOAT_INEXACT_RESULT
#define STATUS_RESOURCE_TYPE_NOT_FOUND
#define STATUS_VARIABLE_NOT_FOUND
#define DBG_EXCEPTION_NOT_HANDLED
#define RPC_NT_SERVER_TOO_BUSY
#define RPC_NT_FP_OVERFLOW
#define STATUS_FLOAT_DENORMAL_OPERAND
#define RPC_NT_UNKNOWN_AUTHN_SERVICE
#define STATUS_GENERIC_NOT_MAPPED
#define STATUS_TIME_DIFFERENCE_AT_DC
#define STATUS_LOCK_NOT_GRANTED
#define STATUS_INVALID_UNWIND_TARGET
#define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
#define STATUS_INVALID_PAGE_PROTECTION
#define STATUS_WRONG_PASSWORD_CORE
#define RPC_NT_INVALID_TIMEOUT
#define STATUS_NETWORK_CREDENTIAL_CONFLICT
#define STATUS_DISK_RESET_FAILED
#define RPC_NT_CANNOT_SUPPORT
#define RPC_NT_PROTSEQ_NOT_SUPPORTED
#define STATUS_REMOTE_RESOURCES
#define STATUS_HANDLE_NOT_CLOSABLE
#define STATUS_BAD_REMOTE_ADAPTER
#define STATUS_STACK_OVERFLOW_READ
#define STATUS_LOG_HARD_ERROR
#define STATUS_NULL_LM_PASSWORD
#define STATUS_LOGON_SESSION_EXISTS
#define STATUS_OBJECT_PATH_INVALID
#define STATUS_PREDEFINED_HANDLE
#define STATUS_MUTUAL_AUTHENTICATION_FAILED
#define RPC_NT_INVALID_NET_ADDR
#define STATUS_UNEXPECTED_MM_EXTEND_ERR
#define STATUS_INVALID_PARAMETER_11
#define STATUS_CTX_CLOSE_PENDING
#define STATUS_INVALID_PARAMETER_12
#define STATUS_DATATYPE_MISALIGNMENT
#define STATUS_SECTION_TOO_BIG
#define STATUS_DIRECTORY_SERVICE_REQUIRED
#define STATUS_LAST_ADMIN
#define STATUS_NO_YIELD_PERFORMED
#define STATUS_UNEXPECTED_IO_ERROR
#define RPC_NT_INVALID_BOUND
#define RPC_NT_NO_MORE_BINDINGS
#define STATUS_LINK_FAILED
#define STATUS_SEMAPHORE_LIMIT_EXCEEDED
#define RPC_NT_INVALID_OBJECT
#define STATUS_RESOURCE_DATA_NOT_FOUND
#define RPC_NT_ZERO_DIVIDE
#define STATUS_RDP_PROTOCOL_ERROR
#define STATUS_DOMAIN_TRUST_INCONSISTENT
#define STATUS_INVALID_INFO_CLASS
#define STATUS_CTX_WINSTATION_NOT_FOUND
#define STATUS_INTERNAL_DB_CORRUPTION
#define STATUS_SAM_INIT_FAILURE
#define STATUS_GUARD_PAGE_VIOLATION
#define STATUS_NOT_EXPORT_FORMAT
#define STATUS_INVALID_IMAGE_LE_FORMAT
#define STATUS_OPLOCK_NOT_GRANTED
#define STATUS_DOMAIN_LIMIT_EXCEEDED
#define STATUS_DFS_UNAVAILABLE
#define STATUS_PIPE_CLOSING
#define STATUS_INVALID_GROUP_ATTRIBUTES
#define RPC_NT_UNKNOWN_AUTHZ_SERVICE
#define STATUS_PORT_ALREADY_SET
#define STATUS_MESSAGE_NOT_FOUND
#define STATUS_TIMER_NOT_CANCELED
#define STATUS_REPARSE_POINT_NOT_RESOLVED
#define STATUS_SHARED_POLICY
#define STATUS_WAS_UNLOCKED
#define STATUS_NOT_SERVER_SESSION
#define STATUS_INVALID_PARAMETER_1
#define STATUS_INSTANCE_NOT_AVAILABLE
#define STATUS_INTEGER_OVERFLOW
#define STATUS_DEVICE_DOES_NOT_EXIST
#define STATUS_ENCRYPTION_FAILED
#define STATUS_FAIL_CHECK
#define STATUS_UNEXPECTED_NETWORK_ERROR
#define STATUS_PNP_RESTART_ENUMERATION
#define STATUS_CORRUPT_SYSTEM_FILE
#define STATUS_LOGON_TYPE_NOT_GRANTED
#define STATUS_SAM_NEED_BOOTKEY_FLOPPY
#define STATUS_DS_INVALID_GROUP_TYPE
#define STATUS_NO_SECURITY_ON_OBJECT
#define STATUS_INVALID_PRIMARY_GROUP
#define RPC_NT_BINDING_HAS_NO_AUTH
#define STATUS_TRUST_FAILURE
#define STATUS_JOURNAL_DELETE_IN_PROGRESS
#define STATUS_TOO_MANY_SIDS
#define RPC_NT_INVALID_BINDING
#define STATUS_RESOURCE_NOT_OWNED
#define STATUS_FILEMARK_DETECTED
#define STATUS_UNMAPPABLE_CHARACTER
#define RPC_NT_UNSUPPORTED_NAME_SYNTAX
#define STATUS_CHILD_MUST_BE_VOLATILE
#define STATUS_LOCAL_DISCONNECT
#define STATUS_SERVER_HAS_OPEN_HANDLES
#define RPC_NT_UNKNOWN_MGR_TYPE
#define STATUS_INVALID_HW_PROFILE
#define STATUS_NOT_COMMITTED
#define STATUS_INTEGER_DIVIDE_BY_ZERO
#define STATUS_CTX_RESPONSE_ERROR
#define RPC_NT_CANT_CREATE_ENDPOINT
#define STATUS_CANT_ENABLE_DENY_ONLY
#define STATUS_INVALID_PARAMETER_8
#define STATUS_TIMER_RESUME_IGNORED
#define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
#define STATUS_DS_SENSITIVE_GROUP_VIOLATION
#define STATUS_SAM_NEED_BOOTKEY_PASSWORD
#define STATUS_NO_SUCH_GROUP
#define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
#define STATUS_ACPI_FATAL
#define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
#define STATUS_SERVER_SID_MISMATCH
#define STATUS_ACCOUNT_LOCKED_OUT
#define STATUS_WX86_FLOAT_STACK_CHECK
#define RPC_NT_NAME_SERVICE_UNAVAILABLE
#define EPT_NT_CANT_PERFORM_OP
#define STATUS_DS_CANT_MOD_OBJ_CLASS
#define RPC_NT_NOT_ALL_OBJS_UNEXPORTED
#define STATUS_VOLUME_MOUNTED
#define RPC_NT_COMM_FAILURE
#define RPC_NT_NO_MORE_MEMBERS
#define STATUS_SECTION_NOT_EXTENDED
#define STATUS_ILLEGAL_FUNCTION
#define RPC_NT_INVALID_ENDPOINT_FORMAT
#define STATUS_INVALID_SERVER_STATE
#define STATUS_TRANSACTION_NO_MATCH
#define STATUS_INVALID_LDT_OFFSET
#define STATUS_PROFILING_AT_LIMIT
#define STATUS_WX86_INTERNAL_ERROR
#define STATUS_EA_TOO_LARGE
#define STATUS_INVALID_PARAMETER_3
#define STATUS_NOTIFY_ENUM_DIR
#define STATUS_RECEIVE_PARTIAL_EXPEDITED
#define STATUS_REMOTE_STORAGE_MEDIA_ERROR
#define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
#define STATUS_WAKE_SYSTEM_DEBUGGER
#define STATUS_IMAGE_NOT_AT_BASE
#define STATUS_DS_UNAVAILABLE
#define STATUS_REINITIALIZATION_NEEDED
#define RPC_NT_ALREADY_LISTENING
#define STATUS_FILES_OPEN
#define STATUS_QUOTA_LIST_INCONSISTENT
#define STATUS_ACPI_RS_ACCESS
#define RPC_NT_UNKNOWN_AUTHN_TYPE
#define STATUS_INVALID_PARAMETER_5
#define STATUS_DEVICE_OFF_LINE
#define STATUS_OPEN_FAILED
#define STATUS_EVENTLOG_CANT_START
#define STATUS_JOURNAL_ENTRY_DELETED
#define STATUS_ACPI_INVALID_ARGUMENT
#define STATUS_FLOPPY_ID_MARK_NOT_FOUND
#define STATUS_PAGE_FAULT_PAGING_FILE
#define STATUS_ARBITRATION_UNHANDLED
#define STATUS_ACPI_INVALID_OPCODE
#define STATUS_TRANSACTION_INVALID_TYPE
#define STATUS_NO_SPOOL_SPACE
#define STATUS_LOGON_FAILURE
#define EPT_NT_CANT_CREATE
#define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS
#define STATUS_REQUEST_NOT_ACCEPTED
#define STATUS_NET_WRITE_FAULT
#define STATUS_PAGEFILE_QUOTA
#define STATUS_DRIVER_FAILED_SLEEP
#define STATUS_REGISTRY_IO_FAILED
#define STATUS_TOO_MANY_ADDRESSES
#define STATUS_ACCOUNT_RESTRICTION
#define STATUS_NETLOGON_NOT_STARTED
#define STATUS_MULTIPLE_FAULT_VIOLATION
#define STATUS_DUPLICATE_OBJECTID
#define STATUS_CANT_TERMINATE_SELF
#define STATUS_ABIOS_INVALID_LID
#define STATUS_TOO_MANY_PAGING_FILES
#define STATUS_DS_CANT_MOD_PRIMARYGROUPID
#define STATUS_CTX_NOT_CONSOLE
#define RPC_NT_ADDRESS_ERROR
#define STATUS_ACPI_REG_HANDLER_FAILED
#define STATUS_LPC_REPLY_LOST
#define STATUS_NO_BROWSER_SERVERS_FOUND
#define STATUS_COMMITMENT_LIMIT
#define STATUS_NAME_TOO_LONG
#define STATUS_NO_TRUST_SAM_ACCOUNT
#define STATUS_PARTIAL_COPY
#define STATUS_INVALID_QUOTA_LOWER
#define STATUS_PROFILING_NOT_STARTED
#define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
#define STATUS_NO_MORE_EAS
#define STATUS_INVALID_EA_FLAG
#define STATUS_SERVICE_NOTIFICATION
#define STATUS_RXACT_COMMIT_NECESSARY
#define RPC_NT_CALL_FAILED
#define STATUS_SUSPEND_COUNT_EXCEEDED
#define STATUS_FILE_ENCRYPTED
#define STATUS_DS_CANT_ON_RDN
#define RPC_NT_CALL_FAILED_DNE
#define DBG_EXCEPTION_HANDLED
#define STATUS_INVALID_LOCK_SEQUENCE
#define STATUS_NO_MORE_MATCHES
#define STATUS_REVISION_MISMATCH
#define STATUS_NOT_SAME_DEVICE
#define STATUS_CACHE_PAGE_LOCKED
#define STATUS_PAGE_FAULT_TRANSITION
#define RPC_NT_SEND_INCOMPLETE
#define STATUS_ACPI_MUTEX_NOT_OWNER
#define STATUS_INVALID_OWNER
#define RPC_NT_INVALID_TAG
#define STATUS_ADAPTER_HARDWARE_ERROR
#define STATUS_DATA_ERROR
#define RPC_NT_INVALID_VERS_OPTION
#define STATUS_NO_SUCH_PACKAGE
#define STATUS_CTX_WINSTATION_ACCESS_DENIED
#define STATUS_BAD_IMPERSONATION_LEVEL
#define IRP_MJ_DIRECTORY_CONTROL
#define IRP_MJ_DEVICE_CONTROL
#define IRP_MJ_QUERY_VOLUME_INFORMATION
#define IRP_MJ_LOCK_CONTROL
#define IRP_MJ_SET_INFORMATION
#define IRP_MJ_QUERY_INFORMATION
#define STATUS_CANNOT_DELETE
#define STATUS_DEVICE_NOT_READY
#define STATUS_MORE_PROCESSING_REQUIRED
#define STATUS_END_OF_FILE
#define STATUS_BUFFER_TOO_SMALL
#define STATUS_BUFFER_OVERFLOW
#define STATUS_IO_DEVICE_ERROR
#define STATUS_DIRECTORY_NOT_EMPTY
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_UNRECOGNIZED_MEDIA
#define STATUS_FILE_IS_A_DIRECTORY
#define STATUS_NOT_A_DIRECTORY
#define STATUS_DRIVER_INTERNAL_ERROR
#define STATUS_INVALID_BLOCK_LENGTH
#define STATUS_MEDIA_WRITE_PROTECTED
#define STATUS_ACCESS_DENIED
#define STATUS_DATA_OVERRUN
#define STATUS_OBJECT_PATH_NOT_FOUND
#define STATUS_DEVICE_NOT_CONNECTED
#define STATUS_INVALID_PARAMETER
#define STATUS_UNRECOGNIZED_VOLUME
#define STATUS_IO_TIMEOUT
#define STATUS_NO_SUCH_DEVICE
#define STATUS_REQUEST_ABORTED
#define STATUS_TOO_MANY_SECRETS
#define STATUS_NONEXISTENT_SECTOR
#define STATUS_UNSUCCESSFUL
#define STATUS_LOST_WRITEBEHIND_DATA
#define STATUS_DISK_CORRUPT_ERROR
#define STATUS_NOT_MAPPED_DATA
#define STATUS_WRONG_VOLUME
#define STATUS_NO_MEDIA_IN_DEVICE
#define STATUS_TOO_MANY_LINKS
#define STATUS_LICENSE_VIOLATION
#define STATUS_FT_WRITE_RECOVERY
#define STATUS_NO_SUCH_FILE
#define STATUS_OBJECT_NAME_COLLISION
#define STATUS_SHARING_PAUSED
#define STATUS_MORE_ENTRIES
#define STATUS_FILE_DELETED
#define STATUS_INVALID_USER_BUFFER
#define STATUS_INVALID_DEVICE_STATE
#define STATUS_INFO_LENGTH_MISMATCH
#define STATUS_INVALID_VOLUME_LABEL
#define STATUS_DEVICE_BUSY
#define STATUS_BUFFER_ALL_ZEROS
#define STATUS_NO_DATA_DETECTED
#define STATUS_VERIFY_REQUIRED
#define STATUS_DEVICE_DATA_ERROR
#define STATUS_SHARING_VIOLATION
#define STATUS_FILE_CORRUPT_ERROR
#define STATUS_OBJECT_NAME_INVALID
#define STATUS_INSUFFICIENT_RESOURCES
#define STATUS_OBJECT_NAME_NOT_FOUND
#define STATUS_UNABLE_TO_UNLOAD_MEDIA
#define STATUS_NO_MORE_FILES
#define IOCTL_VFD_RESET_MODIFY
#define IOCTL_VFD_QUERY_IMAGE
#define IOCTL_VFD_SET_LINK
#define IOCTL_VFD_CLOSE_IMAGE
#define IOCTL_VFD_SET_PROTECT
#define IOCTL_VFD_QUERY_LINK
#define IOCTL_VFD_QUERY_VERSION
#define IOCTL_VFD_CLEAR_PROTECT
#define IOCTL_VFD_QUERY_NAME
#define IOCTL_VFD_QUERY_NUMBER
#define IOCTL_VFD_OPEN_IMAGE
#define IRP_MN_CANCEL_STOP_DEVICE
#define IRP_MN_QUERY_PNP_DEVICE_STATE
#define IRP_MJ_DEVICE_CHANGE
#define IRP_MN_EXECUTE_METHOD
#define IRP_MJ_CREATE_NAMED_PIPE
#define IRP_MJ_CREATE_MAILSLOT
#define IRP_MN_QUERY_INTERFACE
#define IRP_MJ_FILE_SYSTEM_CONTROL
#define IRP_MN_DISABLE_COLLECTION
#define IRP_MJ_SET_VOLUME_INFORMATION
#define IRP_MN_START_DEVICE
#define IRP_MN_CHANGE_SINGLE_ITEM
#define IRP_MN_DEVICE_USAGE_NOTIFICATION
#define IRP_MJ_QUERY_QUOTA
#define IRP_MN_READ_CONFIG
#define IRP_MN_WRITE_CONFIG
#define IRP_MN_QUERY_RESOURCE_REQUIREMENTS
#define IRP_MN_QUERY_ALL_DATA
#define IRP_MN_REMOVE_DEVICE
#define IRP_MN_FILTER_RESOURCE_REQUIREMENTS
#define IRP_MJ_QUERY_SECURITY
#define IRP_MN_DISABLE_EVENTS
#define IRP_MN_QUERY_DEVICE_RELATIONS
#define IRP_MN_QUERY_STOP_DEVICE
#define IRP_MJ_SYSTEM_CONTROL
#define IRP_MN_QUERY_DEVICE_TEXT
#define IRP_MN_ENABLE_EVENTS
#define IRP_MN_QUERY_CAPABILITIES
#define IRP_MN_POWER_SEQUENCE
#define IRP_MN_QUERY_RESOURCES
#define IRP_MJ_FLUSH_BUFFERS
#define IRP_MN_ENABLE_COLLECTION
#define IRP_MN_CANCEL_REMOVE_DEVICE
#define IRP_MJ_INTERNAL_DEVICE_CONTROL
#define IRP_MN_STOP_DEVICE
#define IRP_MJ_SET_SECURITY
#define IRP_MN_CHANGE_SINGLE_INSTANCE
#define IRP_MN_QUERY_SINGLE_INSTANCE
#define IRP_MN_QUERY_POWER
#define IRP_MN_QUERY_LEGACY_BUS_INFORMATION
#define IRP_MN_QUERY_BUS_INFORMATION
#define IRP_MN_QUERY_REMOVE_DEVICE