diff options
Diffstat (limited to 'toolkit/crashreporter/breakpad-patches/19-updated-ntstatus.patch')
-rw-r--r-- | toolkit/crashreporter/breakpad-patches/19-updated-ntstatus.patch | 3500 |
1 files changed, 3500 insertions, 0 deletions
diff --git a/toolkit/crashreporter/breakpad-patches/19-updated-ntstatus.patch b/toolkit/crashreporter/breakpad-patches/19-updated-ntstatus.patch new file mode 100644 index 0000000000..13c6597435 --- /dev/null +++ b/toolkit/crashreporter/breakpad-patches/19-updated-ntstatus.patch @@ -0,0 +1,3500 @@ +changeset: 651287:a6a1b6cc572e +tag: tip +parent: 651282:232ec0fbbaaa +user: Gabriele Svelto <gsvelto@mozilla.com> +date: Thu Apr 08 11:13:10 2021 +0200 +summary: Updated ntstatus.h definitions in Breakpad + +diff --git a/src/google_breakpad/common/minidump_exception_win32.h b/src/google_breakpad/common/minidump_exception_win32.h +--- a/src/google_breakpad/common/minidump_exception_win32.h ++++ b/src/google_breakpad/common/minidump_exception_win32.h +@@ -39,22 +39,18 @@ + #ifndef GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ + #define GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_WIN32_H__ + + #include <stddef.h> + + #include "google_breakpad/common/breakpad_types.h" + + +-/* For (MDException).exception_code. These values come from WinBase.h +- * and WinNT.h (names beginning with EXCEPTION_ are in WinBase.h, +- * they are STATUS_ in WinNT.h). */ ++/* For (MDException).exception_code. These values come from WinBase.h */ + typedef enum { +- MD_EXCEPTION_CODE_WIN_CONTROL_C = 0x40010005, +- /* DBG_CONTROL_C */ + MD_EXCEPTION_CODE_WIN_GUARD_PAGE_VIOLATION = 0x80000001, + /* EXCEPTION_GUARD_PAGE */ + MD_EXCEPTION_CODE_WIN_DATATYPE_MISALIGNMENT = 0x80000002, + /* EXCEPTION_DATATYPE_MISALIGNMENT */ + MD_EXCEPTION_CODE_WIN_BREAKPOINT = 0x80000003, + /* EXCEPTION_BREAKPOINT */ + MD_EXCEPTION_CODE_WIN_SINGLE_STEP = 0x80000004, + /* EXCEPTION_SINGLE_STEP */ +@@ -93,51 +89,291 @@ typedef enum { + MD_EXCEPTION_CODE_WIN_PRIVILEGED_INSTRUCTION = 0xc0000096, + /* EXCEPTION_PRIV_INSTRUCTION */ + MD_EXCEPTION_CODE_WIN_STACK_OVERFLOW = 0xc00000fd, + /* EXCEPTION_STACK_OVERFLOW */ + MD_EXCEPTION_CODE_WIN_BAD_FUNCTION_TABLE = 0xc00000ff, + /* EXCEPTION_BAD_FUNCTION_TABLE */ + MD_EXCEPTION_CODE_WIN_POSSIBLE_DEADLOCK = 0xc0000194, + /* EXCEPTION_POSSIBLE_DEADLOCK */ +- MD_EXCEPTION_CODE_WIN_STACK_BUFFER_OVERRUN = 0xc0000409, +- /* STATUS_STACK_BUFFER_OVERRUN */ +- MD_EXCEPTION_CODE_WIN_HEAP_CORRUPTION = 0xc0000374, +- /* STATUS_HEAP_CORRUPTION */ + MD_EXCEPTION_OUT_OF_MEMORY = 0xe0000008, + /* Exception thrown by Chromium allocators to indicate OOM. + See base/process/memory.h in Chromium for rationale. */ + MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION = 0xe06d7363, + /* Per http://support.microsoft.com/kb/185294, + generated by Visual C++ compiler */ + MD_EXCEPTION_CODE_WIN_SIMULATED = 0x0517a7ed + /* Fake exception code used by Crashpad's + CrashpadClient::DumpWithoutCrash. */ + } MDExceptionCodeWin; + + + /* For (MDException).exception_information[2], when (MDException).exception_code + * is MD_EXCEPTION_CODE_WIN_IN_PAGE_ERROR. This describes the underlying reason + * for the error. These values come from ntstatus.h. + * +- * The content of this enum was created from ntstatus.h in the 8.1 SDK with ++ * The content of this enum was created from ntstatus.h in the 10 SDK ++ * (version 10.0.19041.0) with + * +- * egrep '#define [A-Z_0-9]+\s+\(\(NTSTATUS\)0xC[0-9A-F]+L\)' ntstatus.h ++ * egrep '#define [A-Z_0-9]+\s+\(\(NTSTATUS\)0x[048C][0-9A-F]+L\)' ntstatus.h + * | tr -d '\r' +- * | sed -r 's@#define ([A-Z_0-9]+)\s+\(\(NTSTATUS\)(0xC[0-9A-F]+)L\).*@\2 \1@' ++ * | sed -r 's@#define ([A-Z_0-9]+)\s+\(\(NTSTATUS\)(0x[048C][0-9A-F]+)L\).*@\2 \1@' + * | sort +- * | sed -r 's@(0xC[0-9A-F]+) ([A-Z_0-9]+)@ MD_NTSTATUS_WIN_\2 = \1,@' ++ * | sed -r 's@(0x[048C][0-9A-F]+) ([A-Z_0-9]+)@ MD_NTSTATUS_WIN_\2 = \1,@' + * + * With easy copy to clipboard with + * | xclip -selection c # on linux + * | clip # on windows +- * | pbcopy # on mac +- * +- * and then the last comma manually removed. */ ++ * | pbcopy # on mac */ + typedef enum { ++ MD_NTSTATUS_WIN_STATUS_SUCCESS = 0x00000000, ++ MD_NTSTATUS_WIN_STATUS_WAIT_0 = 0x00000000, ++ MD_NTSTATUS_WIN_STATUS_WAIT_1 = 0x00000001, ++ MD_NTSTATUS_WIN_STATUS_WAIT_2 = 0x00000002, ++ MD_NTSTATUS_WIN_STATUS_WAIT_3 = 0x00000003, ++ MD_NTSTATUS_WIN_STATUS_WAIT_63 = 0x0000003F, ++ MD_NTSTATUS_WIN_STATUS_ABANDONED = 0x00000080, ++ MD_NTSTATUS_WIN_STATUS_ABANDONED_WAIT_0 = 0x00000080, ++ MD_NTSTATUS_WIN_STATUS_ABANDONED_WAIT_63 = 0x000000BF, ++ MD_NTSTATUS_WIN_STATUS_USER_APC = 0x000000C0, ++ MD_NTSTATUS_WIN_STATUS_ALREADY_COMPLETE = 0x000000FF, ++ MD_NTSTATUS_WIN_STATUS_KERNEL_APC = 0x00000100, ++ MD_NTSTATUS_WIN_STATUS_ALERTED = 0x00000101, ++ MD_NTSTATUS_WIN_STATUS_TIMEOUT = 0x00000102, ++ MD_NTSTATUS_WIN_STATUS_PENDING = 0x00000103, ++ MD_NTSTATUS_WIN_STATUS_REPARSE = 0x00000104, ++ MD_NTSTATUS_WIN_STATUS_MORE_ENTRIES = 0x00000105, ++ MD_NTSTATUS_WIN_STATUS_NOT_ALL_ASSIGNED = 0x00000106, ++ MD_NTSTATUS_WIN_STATUS_SOME_NOT_MAPPED = 0x00000107, ++ MD_NTSTATUS_WIN_STATUS_OPLOCK_BREAK_IN_PROGRESS = 0x00000108, ++ MD_NTSTATUS_WIN_STATUS_VOLUME_MOUNTED = 0x00000109, ++ MD_NTSTATUS_WIN_STATUS_RXACT_COMMITTED = 0x0000010A, ++ MD_NTSTATUS_WIN_STATUS_NOTIFY_CLEANUP = 0x0000010B, ++ MD_NTSTATUS_WIN_STATUS_NOTIFY_ENUM_DIR = 0x0000010C, ++ MD_NTSTATUS_WIN_STATUS_NO_QUOTAS_FOR_ACCOUNT = 0x0000010D, ++ MD_NTSTATUS_WIN_STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED = 0x0000010E, ++ MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_TRANSITION = 0x00000110, ++ MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_DEMAND_ZERO = 0x00000111, ++ MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_COPY_ON_WRITE = 0x00000112, ++ MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_GUARD_PAGE = 0x00000113, ++ MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_PAGING_FILE = 0x00000114, ++ MD_NTSTATUS_WIN_STATUS_CACHE_PAGE_LOCKED = 0x00000115, ++ MD_NTSTATUS_WIN_STATUS_CRASH_DUMP = 0x00000116, ++ MD_NTSTATUS_WIN_STATUS_BUFFER_ALL_ZEROS = 0x00000117, ++ MD_NTSTATUS_WIN_STATUS_REPARSE_OBJECT = 0x00000118, ++ MD_NTSTATUS_WIN_STATUS_RESOURCE_REQUIREMENTS_CHANGED = 0x00000119, ++ MD_NTSTATUS_WIN_STATUS_TRANSLATION_COMPLETE = 0x00000120, ++ MD_NTSTATUS_WIN_STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY = 0x00000121, ++ MD_NTSTATUS_WIN_STATUS_NOTHING_TO_TERMINATE = 0x00000122, ++ MD_NTSTATUS_WIN_STATUS_PROCESS_NOT_IN_JOB = 0x00000123, ++ MD_NTSTATUS_WIN_STATUS_PROCESS_IN_JOB = 0x00000124, ++ MD_NTSTATUS_WIN_STATUS_VOLSNAP_HIBERNATE_READY = 0x00000125, ++ MD_NTSTATUS_WIN_STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY = 0x00000126, ++ MD_NTSTATUS_WIN_STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED = 0x00000127, ++ MD_NTSTATUS_WIN_STATUS_INTERRUPT_STILL_CONNECTED = 0x00000128, ++ MD_NTSTATUS_WIN_STATUS_PROCESS_CLONED = 0x00000129, ++ MD_NTSTATUS_WIN_STATUS_FILE_LOCKED_WITH_ONLY_READERS = 0x0000012A, ++ MD_NTSTATUS_WIN_STATUS_FILE_LOCKED_WITH_WRITERS = 0x0000012B, ++ MD_NTSTATUS_WIN_STATUS_VALID_IMAGE_HASH = 0x0000012C, ++ MD_NTSTATUS_WIN_STATUS_VALID_CATALOG_HASH = 0x0000012D, ++ MD_NTSTATUS_WIN_STATUS_VALID_STRONG_CODE_HASH = 0x0000012E, ++ MD_NTSTATUS_WIN_STATUS_GHOSTED = 0x0000012F, ++ MD_NTSTATUS_WIN_STATUS_DATA_OVERWRITTEN = 0x00000130, ++ MD_NTSTATUS_WIN_STATUS_RESOURCEMANAGER_READ_ONLY = 0x00000202, ++ MD_NTSTATUS_WIN_STATUS_RING_PREVIOUSLY_EMPTY = 0x00000210, ++ MD_NTSTATUS_WIN_STATUS_RING_PREVIOUSLY_FULL = 0x00000211, ++ MD_NTSTATUS_WIN_STATUS_RING_PREVIOUSLY_ABOVE_QUOTA = 0x00000212, ++ MD_NTSTATUS_WIN_STATUS_RING_NEWLY_EMPTY = 0x00000213, ++ MD_NTSTATUS_WIN_STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT = 0x00000214, ++ MD_NTSTATUS_WIN_STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE = 0x00000215, ++ MD_NTSTATUS_WIN_STATUS_OPLOCK_HANDLE_CLOSED = 0x00000216, ++ MD_NTSTATUS_WIN_STATUS_WAIT_FOR_OPLOCK = 0x00000367, ++ MD_NTSTATUS_WIN_STATUS_REPARSE_GLOBAL = 0x00000368, ++ MD_NTSTATUS_WIN_DBG_EXCEPTION_HANDLED = 0x00010001, ++ MD_NTSTATUS_WIN_DBG_CONTINUE = 0x00010002, ++ MD_NTSTATUS_WIN_STATUS_FLT_IO_COMPLETE = 0x001C0001, ++ MD_NTSTATUS_WIN_STATUS_RTPM_CONTEXT_CONTINUE = 0x00293000, ++ MD_NTSTATUS_WIN_STATUS_RTPM_CONTEXT_COMPLETE = 0x00293001, ++ MD_NTSTATUS_WIN_STATUS_HV_PENDING_PAGE_REQUESTS = 0x00350059, ++ MD_NTSTATUS_WIN_STATUS_SPACES_REPAIRED = 0x00E70000, ++ MD_NTSTATUS_WIN_STATUS_SPACES_PAUSE = 0x00E70001, ++ MD_NTSTATUS_WIN_STATUS_SPACES_COMPLETE = 0x00E70002, ++ MD_NTSTATUS_WIN_STATUS_SPACES_REDIRECT = 0x00E70003, ++ MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_EXISTS = 0x40000000, ++ MD_NTSTATUS_WIN_STATUS_THREAD_WAS_SUSPENDED = 0x40000001, ++ MD_NTSTATUS_WIN_STATUS_WORKING_SET_LIMIT_RANGE = 0x40000002, ++ MD_NTSTATUS_WIN_STATUS_IMAGE_NOT_AT_BASE = 0x40000003, ++ MD_NTSTATUS_WIN_STATUS_RXACT_STATE_CREATED = 0x40000004, ++ MD_NTSTATUS_WIN_STATUS_SEGMENT_NOTIFICATION = 0x40000005, ++ MD_NTSTATUS_WIN_STATUS_LOCAL_USER_SESSION_KEY = 0x40000006, ++ MD_NTSTATUS_WIN_STATUS_BAD_CURRENT_DIRECTORY = 0x40000007, ++ MD_NTSTATUS_WIN_STATUS_SERIAL_MORE_WRITES = 0x40000008, ++ MD_NTSTATUS_WIN_STATUS_REGISTRY_RECOVERED = 0x40000009, ++ MD_NTSTATUS_WIN_STATUS_FT_READ_RECOVERY_FROM_BACKUP = 0x4000000A, ++ MD_NTSTATUS_WIN_STATUS_FT_WRITE_RECOVERY = 0x4000000B, ++ MD_NTSTATUS_WIN_STATUS_SERIAL_COUNTER_TIMEOUT = 0x4000000C, ++ MD_NTSTATUS_WIN_STATUS_NULL_LM_PASSWORD = 0x4000000D, ++ MD_NTSTATUS_WIN_STATUS_IMAGE_MACHINE_TYPE_MISMATCH = 0x4000000E, ++ MD_NTSTATUS_WIN_STATUS_RECEIVE_PARTIAL = 0x4000000F, ++ MD_NTSTATUS_WIN_STATUS_RECEIVE_EXPEDITED = 0x40000010, ++ MD_NTSTATUS_WIN_STATUS_RECEIVE_PARTIAL_EXPEDITED = 0x40000011, ++ MD_NTSTATUS_WIN_STATUS_EVENT_DONE = 0x40000012, ++ MD_NTSTATUS_WIN_STATUS_EVENT_PENDING = 0x40000013, ++ MD_NTSTATUS_WIN_STATUS_CHECKING_FILE_SYSTEM = 0x40000014, ++ MD_NTSTATUS_WIN_STATUS_FATAL_APP_EXIT = 0x40000015, ++ MD_NTSTATUS_WIN_STATUS_PREDEFINED_HANDLE = 0x40000016, ++ MD_NTSTATUS_WIN_STATUS_WAS_UNLOCKED = 0x40000017, ++ MD_NTSTATUS_WIN_STATUS_SERVICE_NOTIFICATION = 0x40000018, ++ MD_NTSTATUS_WIN_STATUS_WAS_LOCKED = 0x40000019, ++ MD_NTSTATUS_WIN_STATUS_LOG_HARD_ERROR = 0x4000001A, ++ MD_NTSTATUS_WIN_STATUS_ALREADY_WIN32 = 0x4000001B, ++ MD_NTSTATUS_WIN_STATUS_WX86_UNSIMULATE = 0x4000001C, ++ MD_NTSTATUS_WIN_STATUS_WX86_CONTINUE = 0x4000001D, ++ MD_NTSTATUS_WIN_STATUS_WX86_SINGLE_STEP = 0x4000001E, ++ MD_NTSTATUS_WIN_STATUS_WX86_BREAKPOINT = 0x4000001F, ++ MD_NTSTATUS_WIN_STATUS_WX86_EXCEPTION_CONTINUE = 0x40000020, ++ MD_NTSTATUS_WIN_STATUS_WX86_EXCEPTION_LASTCHANCE = 0x40000021, ++ MD_NTSTATUS_WIN_STATUS_WX86_EXCEPTION_CHAIN = 0x40000022, ++ MD_NTSTATUS_WIN_STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE = 0x40000023, ++ MD_NTSTATUS_WIN_STATUS_NO_YIELD_PERFORMED = 0x40000024, ++ MD_NTSTATUS_WIN_STATUS_TIMER_RESUME_IGNORED = 0x40000025, ++ MD_NTSTATUS_WIN_STATUS_ARBITRATION_UNHANDLED = 0x40000026, ++ MD_NTSTATUS_WIN_STATUS_CARDBUS_NOT_SUPPORTED = 0x40000027, ++ MD_NTSTATUS_WIN_STATUS_WX86_CREATEWX86TIB = 0x40000028, ++ MD_NTSTATUS_WIN_STATUS_MP_PROCESSOR_MISMATCH = 0x40000029, ++ MD_NTSTATUS_WIN_STATUS_HIBERNATED = 0x4000002A, ++ MD_NTSTATUS_WIN_STATUS_RESUME_HIBERNATION = 0x4000002B, ++ MD_NTSTATUS_WIN_STATUS_FIRMWARE_UPDATED = 0x4000002C, ++ MD_NTSTATUS_WIN_STATUS_DRIVERS_LEAKING_LOCKED_PAGES = 0x4000002D, ++ MD_NTSTATUS_WIN_STATUS_MESSAGE_RETRIEVED = 0x4000002E, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_POWERSTATE_TRANSITION = 0x4000002F, ++ MD_NTSTATUS_WIN_STATUS_ALPC_CHECK_COMPLETION_LIST = 0x40000030, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION = 0x40000031, ++ MD_NTSTATUS_WIN_STATUS_ACCESS_AUDIT_BY_POLICY = 0x40000032, ++ MD_NTSTATUS_WIN_STATUS_ABANDON_HIBERFILE = 0x40000033, ++ MD_NTSTATUS_WIN_STATUS_BIZRULES_NOT_ENABLED = 0x40000034, ++ MD_NTSTATUS_WIN_STATUS_FT_READ_FROM_COPY = 0x40000035, ++ MD_NTSTATUS_WIN_STATUS_IMAGE_AT_DIFFERENT_BASE = 0x40000036, ++ MD_NTSTATUS_WIN_STATUS_PATCH_DEFERRED = 0x40000037, ++ MD_NTSTATUS_WIN_STATUS_WAKE_SYSTEM = 0x40000294, ++ MD_NTSTATUS_WIN_STATUS_DS_SHUTTING_DOWN = 0x40000370, ++ MD_NTSTATUS_WIN_STATUS_DISK_REPAIR_REDIRECTED = 0x40000807, ++ MD_NTSTATUS_WIN_STATUS_SERVICES_FAILED_AUTOSTART = 0x4000A144, ++ MD_NTSTATUS_WIN_DBG_REPLY_LATER = 0x40010001, ++ MD_NTSTATUS_WIN_DBG_UNABLE_TO_PROVIDE_HANDLE = 0x40010002, ++ MD_NTSTATUS_WIN_DBG_TERMINATE_THREAD = 0x40010003, ++ MD_NTSTATUS_WIN_DBG_TERMINATE_PROCESS = 0x40010004, ++ MD_NTSTATUS_WIN_DBG_CONTROL_C = 0x40010005, ++ MD_NTSTATUS_WIN_DBG_PRINTEXCEPTION_C = 0x40010006, ++ MD_NTSTATUS_WIN_DBG_RIPEXCEPTION = 0x40010007, ++ MD_NTSTATUS_WIN_DBG_CONTROL_BREAK = 0x40010008, ++ MD_NTSTATUS_WIN_DBG_COMMAND_EXCEPTION = 0x40010009, ++ MD_NTSTATUS_WIN_DBG_PRINTEXCEPTION_WIDE_C = 0x4001000A, ++ MD_NTSTATUS_WIN_RPC_NT_UUID_LOCAL_ONLY = 0x40020056, ++ MD_NTSTATUS_WIN_RPC_NT_SEND_INCOMPLETE = 0x400200AF, ++ MD_NTSTATUS_WIN_STATUS_CTX_CDM_CONNECT = 0x400A0004, ++ MD_NTSTATUS_WIN_STATUS_CTX_CDM_DISCONNECT = 0x400A0005, ++ MD_NTSTATUS_WIN_STATUS_SXS_RELEASE_ACTIVATION_CONTEXT = 0x4015000D, ++ MD_NTSTATUS_WIN_STATUS_HEURISTIC_DAMAGE_POSSIBLE = 0x40190001, ++ MD_NTSTATUS_WIN_STATUS_RECOVERY_NOT_NEEDED = 0x40190034, ++ MD_NTSTATUS_WIN_STATUS_RM_ALREADY_STARTED = 0x40190035, ++ MD_NTSTATUS_WIN_STATUS_LOG_NO_RESTART = 0x401A000C, ++ MD_NTSTATUS_WIN_STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST = 0x401B00EC, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_PARTIAL_DATA_POPULATED = 0x401E000A, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_SKIP_ALLOCATION_PREPARATION = 0x401E0201, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_MODE_NOT_PINNED = 0x401E0307, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_NO_PREFERRED_MODE = 0x401E031E, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_DATASET_IS_EMPTY = 0x401E034B, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET = 0x401E034C, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED = 0x401E0351, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS = 0x401E042F, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_LEADLINK_START_DEFERRED = 0x401E0437, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY = 0x401E0439, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_START_DEFERRED = 0x401E043A, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS = 0x401E043C, ++ MD_NTSTATUS_WIN_STATUS_NDIS_INDICATION_REQUIRED = 0x40230001, ++ MD_NTSTATUS_WIN_STATUS_PCP_UNSUPPORTED_PSS_SALT = 0x40292023, ++ MD_NTSTATUS_WIN_STATUS_GUARD_PAGE_VIOLATION = 0x80000001, ++ MD_NTSTATUS_WIN_STATUS_DATATYPE_MISALIGNMENT = 0x80000002, ++ MD_NTSTATUS_WIN_STATUS_BREAKPOINT = 0x80000003, ++ MD_NTSTATUS_WIN_STATUS_SINGLE_STEP = 0x80000004, ++ MD_NTSTATUS_WIN_STATUS_BUFFER_OVERFLOW = 0x80000005, ++ MD_NTSTATUS_WIN_STATUS_NO_MORE_FILES = 0x80000006, ++ MD_NTSTATUS_WIN_STATUS_WAKE_SYSTEM_DEBUGGER = 0x80000007, ++ MD_NTSTATUS_WIN_STATUS_HANDLES_CLOSED = 0x8000000A, ++ MD_NTSTATUS_WIN_STATUS_NO_INHERITANCE = 0x8000000B, ++ MD_NTSTATUS_WIN_STATUS_GUID_SUBSTITUTION_MADE = 0x8000000C, ++ MD_NTSTATUS_WIN_STATUS_PARTIAL_COPY = 0x8000000D, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_PAPER_EMPTY = 0x8000000E, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_POWERED_OFF = 0x8000000F, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_OFF_LINE = 0x80000010, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_BUSY = 0x80000011, ++ MD_NTSTATUS_WIN_STATUS_NO_MORE_EAS = 0x80000012, ++ MD_NTSTATUS_WIN_STATUS_INVALID_EA_NAME = 0x80000013, ++ MD_NTSTATUS_WIN_STATUS_EA_LIST_INCONSISTENT = 0x80000014, ++ MD_NTSTATUS_WIN_STATUS_INVALID_EA_FLAG = 0x80000015, ++ MD_NTSTATUS_WIN_STATUS_VERIFY_REQUIRED = 0x80000016, ++ MD_NTSTATUS_WIN_STATUS_EXTRANEOUS_INFORMATION = 0x80000017, ++ MD_NTSTATUS_WIN_STATUS_RXACT_COMMIT_NECESSARY = 0x80000018, ++ MD_NTSTATUS_WIN_STATUS_NO_MORE_ENTRIES = 0x8000001A, ++ MD_NTSTATUS_WIN_STATUS_FILEMARK_DETECTED = 0x8000001B, ++ MD_NTSTATUS_WIN_STATUS_MEDIA_CHANGED = 0x8000001C, ++ MD_NTSTATUS_WIN_STATUS_BUS_RESET = 0x8000001D, ++ MD_NTSTATUS_WIN_STATUS_END_OF_MEDIA = 0x8000001E, ++ MD_NTSTATUS_WIN_STATUS_BEGINNING_OF_MEDIA = 0x8000001F, ++ MD_NTSTATUS_WIN_STATUS_MEDIA_CHECK = 0x80000020, ++ MD_NTSTATUS_WIN_STATUS_SETMARK_DETECTED = 0x80000021, ++ MD_NTSTATUS_WIN_STATUS_NO_DATA_DETECTED = 0x80000022, ++ MD_NTSTATUS_WIN_STATUS_REDIRECTOR_HAS_OPEN_HANDLES = 0x80000023, ++ MD_NTSTATUS_WIN_STATUS_SERVER_HAS_OPEN_HANDLES = 0x80000024, ++ MD_NTSTATUS_WIN_STATUS_ALREADY_DISCONNECTED = 0x80000025, ++ MD_NTSTATUS_WIN_STATUS_LONGJUMP = 0x80000026, ++ MD_NTSTATUS_WIN_STATUS_CLEANER_CARTRIDGE_INSTALLED = 0x80000027, ++ MD_NTSTATUS_WIN_STATUS_PLUGPLAY_QUERY_VETOED = 0x80000028, ++ MD_NTSTATUS_WIN_STATUS_UNWIND_CONSOLIDATE = 0x80000029, ++ MD_NTSTATUS_WIN_STATUS_REGISTRY_HIVE_RECOVERED = 0x8000002A, ++ MD_NTSTATUS_WIN_STATUS_DLL_MIGHT_BE_INSECURE = 0x8000002B, ++ MD_NTSTATUS_WIN_STATUS_DLL_MIGHT_BE_INCOMPATIBLE = 0x8000002C, ++ MD_NTSTATUS_WIN_STATUS_STOPPED_ON_SYMLINK = 0x8000002D, ++ MD_NTSTATUS_WIN_STATUS_CANNOT_GRANT_REQUESTED_OPLOCK = 0x8000002E, ++ MD_NTSTATUS_WIN_STATUS_NO_ACE_CONDITION = 0x8000002F, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_SUPPORT_IN_PROGRESS = 0x80000030, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_POWER_CYCLE_REQUIRED = 0x80000031, ++ MD_NTSTATUS_WIN_STATUS_NO_WORK_DONE = 0x80000032, ++ MD_NTSTATUS_WIN_STATUS_RETURN_ADDRESS_HIJACK_ATTEMPT = 0x80000033, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_REQUIRES_CLEANING = 0x80000288, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_DOOR_OPEN = 0x80000289, ++ MD_NTSTATUS_WIN_STATUS_DATA_LOST_REPAIR = 0x80000803, ++ MD_NTSTATUS_WIN_STATUS_GPIO_INTERRUPT_ALREADY_UNMASKED = 0x8000A127, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_BLOB_CHECKSUM_MISMATCH = 0x8000CF00, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_BLOB_TOO_LARGE = 0x8000CF04, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_TOO_MANY_PROPERTY_BLOBS = 0x8000CF05, ++ MD_NTSTATUS_WIN_DBG_EXCEPTION_NOT_HANDLED = 0x80010001, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_NODE_ALREADY_UP = 0x80130001, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_NODE_ALREADY_DOWN = 0x80130002, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_NETWORK_ALREADY_ONLINE = 0x80130003, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE = 0x80130004, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_NODE_ALREADY_MEMBER = 0x80130005, ++ MD_NTSTATUS_WIN_STATUS_COULD_NOT_RESIZE_LOG = 0x80190009, ++ MD_NTSTATUS_WIN_STATUS_NO_TXF_METADATA = 0x80190029, ++ MD_NTSTATUS_WIN_STATUS_CANT_RECOVER_WITH_HANDLE_OPEN = 0x80190031, ++ MD_NTSTATUS_WIN_STATUS_TXF_METADATA_ALREADY_PRESENT = 0x80190041, ++ MD_NTSTATUS_WIN_STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET = 0x80190042, ++ MD_NTSTATUS_WIN_STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED = 0x801B00EB, ++ MD_NTSTATUS_WIN_STATUS_FLT_BUFFER_TOO_SMALL = 0x801C0001, ++ MD_NTSTATUS_WIN_STATUS_FVE_PARTIAL_METADATA = 0x80210001, ++ MD_NTSTATUS_WIN_STATUS_FVE_TRANSIENT_STATE = 0x80210002, ++ MD_NTSTATUS_WIN_STATUS_VID_REMOTE_NODE_PARENT_GPA_PAGES_USED = 0x80370001, ++ MD_NTSTATUS_WIN_STATUS_VOLMGR_INCOMPLETE_REGENERATION = 0x80380001, ++ MD_NTSTATUS_WIN_STATUS_VOLMGR_INCOMPLETE_DISK_MIGRATION = 0x80380002, ++ MD_NTSTATUS_WIN_STATUS_BCD_NOT_ALL_ENTRIES_IMPORTED = 0x80390001, ++ MD_NTSTATUS_WIN_STATUS_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED = 0x80390003, ++ MD_NTSTATUS_WIN_STATUS_QUERY_STORAGE_ERROR = 0x803A0001, ++ MD_NTSTATUS_WIN_STATUS_GDI_HANDLE_LEAK = 0x803F0001, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_NOT_ENABLED = 0x80430006, + MD_NTSTATUS_WIN_STATUS_UNSUCCESSFUL = 0xC0000001, + MD_NTSTATUS_WIN_STATUS_NOT_IMPLEMENTED = 0xC0000002, + MD_NTSTATUS_WIN_STATUS_INVALID_INFO_CLASS = 0xC0000003, + MD_NTSTATUS_WIN_STATUS_INFO_LENGTH_MISMATCH = 0xC0000004, + MD_NTSTATUS_WIN_STATUS_ACCESS_VIOLATION = 0xC0000005, + MD_NTSTATUS_WIN_STATUS_IN_PAGE_ERROR = 0xC0000006, + MD_NTSTATUS_WIN_STATUS_PAGEFILE_QUOTA = 0xC0000007, + MD_NTSTATUS_WIN_STATUS_INVALID_HANDLE = 0xC0000008, +@@ -181,16 +417,17 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_INVALID_PORT_ATTRIBUTES = 0xC000002E, + MD_NTSTATUS_WIN_STATUS_PORT_MESSAGE_TOO_LONG = 0xC000002F, + MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_MIX = 0xC0000030, + MD_NTSTATUS_WIN_STATUS_INVALID_QUOTA_LOWER = 0xC0000031, + MD_NTSTATUS_WIN_STATUS_DISK_CORRUPT_ERROR = 0xC0000032, + MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_INVALID = 0xC0000033, + MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_NOT_FOUND = 0xC0000034, + MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_COLLISION = 0xC0000035, ++ MD_NTSTATUS_WIN_STATUS_PORT_DO_NOT_DISTURB = 0xC0000036, + MD_NTSTATUS_WIN_STATUS_PORT_DISCONNECTED = 0xC0000037, + MD_NTSTATUS_WIN_STATUS_DEVICE_ALREADY_ATTACHED = 0xC0000038, + MD_NTSTATUS_WIN_STATUS_OBJECT_PATH_INVALID = 0xC0000039, + MD_NTSTATUS_WIN_STATUS_OBJECT_PATH_NOT_FOUND = 0xC000003A, + MD_NTSTATUS_WIN_STATUS_OBJECT_PATH_SYNTAX_BAD = 0xC000003B, + MD_NTSTATUS_WIN_STATUS_DATA_OVERRUN = 0xC000003C, + MD_NTSTATUS_WIN_STATUS_DATA_LATE_ERROR = 0xC000003D, + MD_NTSTATUS_WIN_STATUS_DATA_ERROR = 0xC000003E, +@@ -549,16 +786,24 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT = 0xC00001A3, + MD_NTSTATUS_WIN_STATUS_NOTIFICATION_GUID_ALREADY_DEFINED = 0xC00001A4, + MD_NTSTATUS_WIN_STATUS_INVALID_EXCEPTION_HANDLER = 0xC00001A5, + MD_NTSTATUS_WIN_STATUS_DUPLICATE_PRIVILEGES = 0xC00001A6, + MD_NTSTATUS_WIN_STATUS_NOT_ALLOWED_ON_SYSTEM_FILE = 0xC00001A7, + MD_NTSTATUS_WIN_STATUS_REPAIR_NEEDED = 0xC00001A8, + MD_NTSTATUS_WIN_STATUS_QUOTA_NOT_ENABLED = 0xC00001A9, + MD_NTSTATUS_WIN_STATUS_NO_APPLICATION_PACKAGE = 0xC00001AA, ++ MD_NTSTATUS_WIN_STATUS_FILE_METADATA_OPTIMIZATION_IN_PROGRESS = 0xC00001AB, ++ MD_NTSTATUS_WIN_STATUS_NOT_SAME_OBJECT = 0xC00001AC, ++ MD_NTSTATUS_WIN_STATUS_FATAL_MEMORY_EXHAUSTION = 0xC00001AD, ++ MD_NTSTATUS_WIN_STATUS_ERROR_PROCESS_NOT_IN_JOB = 0xC00001AE, ++ MD_NTSTATUS_WIN_STATUS_CPU_SET_INVALID = 0xC00001AF, ++ MD_NTSTATUS_WIN_STATUS_IO_DEVICE_INVALID_DATA = 0xC00001B0, ++ MD_NTSTATUS_WIN_STATUS_IO_UNALIGNED_WRITE = 0xC00001B1, ++ MD_NTSTATUS_WIN_STATUS_CONTROL_STACK_VIOLATION = 0xC00001B2, + MD_NTSTATUS_WIN_STATUS_NETWORK_OPEN_RESTRICTION = 0xC0000201, + MD_NTSTATUS_WIN_STATUS_NO_USER_SESSION_KEY = 0xC0000202, + MD_NTSTATUS_WIN_STATUS_USER_SESSION_DELETED = 0xC0000203, + MD_NTSTATUS_WIN_STATUS_RESOURCE_LANG_NOT_FOUND = 0xC0000204, + MD_NTSTATUS_WIN_STATUS_INSUFF_SERVER_RESOURCES = 0xC0000205, + MD_NTSTATUS_WIN_STATUS_INVALID_BUFFER_SIZE = 0xC0000206, + MD_NTSTATUS_WIN_STATUS_INVALID_ADDRESS_COMPONENT = 0xC0000207, + MD_NTSTATUS_WIN_STATUS_INVALID_ADDRESS_WILDCARD = 0xC0000208, +@@ -664,16 +909,17 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_NO_MORE_MATCHES = 0xC0000273, + MD_NTSTATUS_WIN_STATUS_NOT_A_REPARSE_POINT = 0xC0000275, + MD_NTSTATUS_WIN_STATUS_IO_REPARSE_TAG_INVALID = 0xC0000276, + MD_NTSTATUS_WIN_STATUS_IO_REPARSE_TAG_MISMATCH = 0xC0000277, + MD_NTSTATUS_WIN_STATUS_IO_REPARSE_DATA_INVALID = 0xC0000278, + MD_NTSTATUS_WIN_STATUS_IO_REPARSE_TAG_NOT_HANDLED = 0xC0000279, + MD_NTSTATUS_WIN_STATUS_PWD_TOO_LONG = 0xC000027A, + MD_NTSTATUS_WIN_STATUS_STOWED_EXCEPTION = 0xC000027B, ++ MD_NTSTATUS_WIN_STATUS_CONTEXT_STOWED_EXCEPTION = 0xC000027C, + MD_NTSTATUS_WIN_STATUS_REPARSE_POINT_NOT_RESOLVED = 0xC0000280, + MD_NTSTATUS_WIN_STATUS_DIRECTORY_IS_A_REPARSE_POINT = 0xC0000281, + MD_NTSTATUS_WIN_STATUS_RANGE_LIST_CONFLICT = 0xC0000282, + MD_NTSTATUS_WIN_STATUS_SOURCE_ELEMENT_EMPTY = 0xC0000283, + MD_NTSTATUS_WIN_STATUS_DESTINATION_ELEMENT_FULL = 0xC0000284, + MD_NTSTATUS_WIN_STATUS_ILLEGAL_ELEMENT_ADDRESS = 0xC0000285, + MD_NTSTATUS_WIN_STATUS_MAGAZINE_NOT_PRESENT = 0xC0000286, + MD_NTSTATUS_WIN_STATUS_REINITIALIZATION_NEEDED = 0xC0000287, +@@ -796,16 +1042,17 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_COPY_PROTECTION_FAILURE = 0xC0000305, + MD_NTSTATUS_WIN_STATUS_CSS_AUTHENTICATION_FAILURE = 0xC0000306, + MD_NTSTATUS_WIN_STATUS_CSS_KEY_NOT_PRESENT = 0xC0000307, + MD_NTSTATUS_WIN_STATUS_CSS_KEY_NOT_ESTABLISHED = 0xC0000308, + MD_NTSTATUS_WIN_STATUS_CSS_SCRAMBLED_SECTOR = 0xC0000309, + MD_NTSTATUS_WIN_STATUS_CSS_REGION_MISMATCH = 0xC000030A, + MD_NTSTATUS_WIN_STATUS_CSS_RESETS_EXHAUSTED = 0xC000030B, + MD_NTSTATUS_WIN_STATUS_PASSWORD_CHANGE_REQUIRED = 0xC000030C, ++ MD_NTSTATUS_WIN_STATUS_LOST_MODE_LOGON_RESTRICTION = 0xC000030D, + MD_NTSTATUS_WIN_STATUS_PKINIT_FAILURE = 0xC0000320, + MD_NTSTATUS_WIN_STATUS_SMARTCARD_SUBSYSTEM_FAILURE = 0xC0000321, + MD_NTSTATUS_WIN_STATUS_NO_KERB_KEY = 0xC0000322, + MD_NTSTATUS_WIN_STATUS_HOST_DOWN = 0xC0000350, + MD_NTSTATUS_WIN_STATUS_UNSUPPORTED_PREAUTH = 0xC0000351, + MD_NTSTATUS_WIN_STATUS_EFS_ALG_BLOB_TOO_BIG = 0xC0000352, + MD_NTSTATUS_WIN_STATUS_PORT_NOT_SET = 0xC0000353, + MD_NTSTATUS_WIN_STATUS_DEBUGGER_INACTIVE = 0xC0000354, +@@ -928,16 +1175,17 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_FILE_NOT_AVAILABLE = 0xC0000467, + MD_NTSTATUS_WIN_STATUS_DEVICE_INSUFFICIENT_RESOURCES = 0xC0000468, + MD_NTSTATUS_WIN_STATUS_PACKAGE_UPDATING = 0xC0000469, + MD_NTSTATUS_WIN_STATUS_NOT_READ_FROM_COPY = 0xC000046A, + MD_NTSTATUS_WIN_STATUS_FT_WRITE_FAILURE = 0xC000046B, + MD_NTSTATUS_WIN_STATUS_FT_DI_SCAN_REQUIRED = 0xC000046C, + MD_NTSTATUS_WIN_STATUS_OBJECT_NOT_EXTERNALLY_BACKED = 0xC000046D, + MD_NTSTATUS_WIN_STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN = 0xC000046E, ++ MD_NTSTATUS_WIN_STATUS_COMPRESSION_NOT_BENEFICIAL = 0xC000046F, + MD_NTSTATUS_WIN_STATUS_DATA_CHECKSUM_ERROR = 0xC0000470, + MD_NTSTATUS_WIN_STATUS_INTERMIXED_KERNEL_EA_OPERATION = 0xC0000471, + MD_NTSTATUS_WIN_STATUS_TRIM_READ_ZERO_NOT_SUPPORTED = 0xC0000472, + MD_NTSTATUS_WIN_STATUS_TOO_MANY_SEGMENT_DESCRIPTORS = 0xC0000473, + MD_NTSTATUS_WIN_STATUS_INVALID_OFFSET_ALIGNMENT = 0xC0000474, + MD_NTSTATUS_WIN_STATUS_INVALID_FIELD_IN_PARAMETER_LIST = 0xC0000475, + MD_NTSTATUS_WIN_STATUS_OPERATION_IN_PROGRESS = 0xC0000476, + MD_NTSTATUS_WIN_STATUS_INVALID_INITIATOR_TARGET_PATH = 0xC0000477, +@@ -948,26 +1196,101 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_DIRECTORY_NOT_SUPPORTED = 0xC000047C, + MD_NTSTATUS_WIN_STATUS_IO_OPERATION_TIMEOUT = 0xC000047D, + MD_NTSTATUS_WIN_STATUS_SYSTEM_NEEDS_REMEDIATION = 0xC000047E, + MD_NTSTATUS_WIN_STATUS_APPX_INTEGRITY_FAILURE_CLR_NGEN = 0xC000047F, + MD_NTSTATUS_WIN_STATUS_SHARE_UNAVAILABLE = 0xC0000480, + MD_NTSTATUS_WIN_STATUS_APISET_NOT_HOSTED = 0xC0000481, + MD_NTSTATUS_WIN_STATUS_APISET_NOT_PRESENT = 0xC0000482, + MD_NTSTATUS_WIN_STATUS_DEVICE_HARDWARE_ERROR = 0xC0000483, ++ MD_NTSTATUS_WIN_STATUS_FIRMWARE_SLOT_INVALID = 0xC0000484, ++ MD_NTSTATUS_WIN_STATUS_FIRMWARE_IMAGE_INVALID = 0xC0000485, ++ MD_NTSTATUS_WIN_STATUS_STORAGE_TOPOLOGY_ID_MISMATCH = 0xC0000486, ++ MD_NTSTATUS_WIN_STATUS_WIM_NOT_BOOTABLE = 0xC0000487, ++ MD_NTSTATUS_WIN_STATUS_BLOCKED_BY_PARENTAL_CONTROLS = 0xC0000488, ++ MD_NTSTATUS_WIN_STATUS_NEEDS_REGISTRATION = 0xC0000489, ++ MD_NTSTATUS_WIN_STATUS_QUOTA_ACTIVITY = 0xC000048A, ++ MD_NTSTATUS_WIN_STATUS_CALLBACK_INVOKE_INLINE = 0xC000048B, ++ MD_NTSTATUS_WIN_STATUS_BLOCK_TOO_MANY_REFERENCES = 0xC000048C, ++ MD_NTSTATUS_WIN_STATUS_MARKED_TO_DISALLOW_WRITES = 0xC000048D, ++ MD_NTSTATUS_WIN_STATUS_NETWORK_ACCESS_DENIED_EDP = 0xC000048E, ++ MD_NTSTATUS_WIN_STATUS_ENCLAVE_FAILURE = 0xC000048F, ++ MD_NTSTATUS_WIN_STATUS_PNP_NO_COMPAT_DRIVERS = 0xC0000490, ++ MD_NTSTATUS_WIN_STATUS_PNP_DRIVER_PACKAGE_NOT_FOUND = 0xC0000491, ++ MD_NTSTATUS_WIN_STATUS_PNP_DRIVER_CONFIGURATION_NOT_FOUND = 0xC0000492, ++ MD_NTSTATUS_WIN_STATUS_PNP_DRIVER_CONFIGURATION_INCOMPLETE = 0xC0000493, ++ MD_NTSTATUS_WIN_STATUS_PNP_FUNCTION_DRIVER_REQUIRED = 0xC0000494, ++ MD_NTSTATUS_WIN_STATUS_PNP_DEVICE_CONFIGURATION_PENDING = 0xC0000495, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_HINT_NAME_BUFFER_TOO_SMALL = 0xC0000496, ++ MD_NTSTATUS_WIN_STATUS_PACKAGE_NOT_AVAILABLE = 0xC0000497, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_IN_MAINTENANCE = 0xC0000499, ++ MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED_ON_DAX = 0xC000049A, ++ MD_NTSTATUS_WIN_STATUS_FREE_SPACE_TOO_FRAGMENTED = 0xC000049B, ++ MD_NTSTATUS_WIN_STATUS_DAX_MAPPING_EXISTS = 0xC000049C, ++ MD_NTSTATUS_WIN_STATUS_CHILD_PROCESS_BLOCKED = 0xC000049D, ++ MD_NTSTATUS_WIN_STATUS_STORAGE_LOST_DATA_PERSISTENCE = 0xC000049E, ++ MD_NTSTATUS_WIN_STATUS_VRF_CFG_AND_IO_ENABLED = 0xC000049F, ++ MD_NTSTATUS_WIN_STATUS_PARTITION_TERMINATING = 0xC00004A0, ++ MD_NTSTATUS_WIN_STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED = 0xC00004A1, ++ MD_NTSTATUS_WIN_STATUS_ENCLAVE_VIOLATION = 0xC00004A2, ++ MD_NTSTATUS_WIN_STATUS_FILE_PROTECTED_UNDER_DPL = 0xC00004A3, ++ MD_NTSTATUS_WIN_STATUS_VOLUME_NOT_CLUSTER_ALIGNED = 0xC00004A4, ++ MD_NTSTATUS_WIN_STATUS_NO_PHYSICALLY_ALIGNED_FREE_SPACE_FOUND = 0xC00004A5, ++ MD_NTSTATUS_WIN_STATUS_APPX_FILE_NOT_ENCRYPTED = 0xC00004A6, ++ MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_FILE_NOT_ENCRYPTED = 0xC00004A7, ++ MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET = 0xC00004A8, ++ MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILERANGE = 0xC00004A9, ++ MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_PARAMETER = 0xC00004AA, ++ MD_NTSTATUS_WIN_STATUS_FT_READ_FAILURE = 0xC00004AB, ++ MD_NTSTATUS_WIN_STATUS_PATCH_CONFLICT = 0xC00004AC, ++ MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_ID_INVALID = 0xC00004AD, ++ MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_DOES_NOT_EXIST = 0xC00004AE, ++ MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_ALREADY_EXISTS = 0xC00004AF, ++ MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_NOT_EMPTY = 0xC00004B0, ++ MD_NTSTATUS_WIN_STATUS_NOT_A_DAX_VOLUME = 0xC00004B1, ++ MD_NTSTATUS_WIN_STATUS_NOT_DAX_MAPPABLE = 0xC00004B2, ++ MD_NTSTATUS_WIN_STATUS_CASE_DIFFERING_NAMES_IN_DIR = 0xC00004B3, ++ MD_NTSTATUS_WIN_STATUS_FILE_NOT_SUPPORTED = 0xC00004B4, ++ MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED_WITH_BTT = 0xC00004B5, ++ MD_NTSTATUS_WIN_STATUS_ENCRYPTION_DISABLED = 0xC00004B6, ++ MD_NTSTATUS_WIN_STATUS_ENCRYPTING_METADATA_DISALLOWED = 0xC00004B7, ++ MD_NTSTATUS_WIN_STATUS_CANT_CLEAR_ENCRYPTION_FLAG = 0xC00004B8, ++ MD_NTSTATUS_WIN_STATUS_UNSATISFIED_DEPENDENCIES = 0xC00004B9, ++ MD_NTSTATUS_WIN_STATUS_CASE_SENSITIVE_PATH = 0xC00004BA, ++ MD_NTSTATUS_WIN_STATUS_HAS_SYSTEM_CRITICAL_FILES = 0xC00004BD, + MD_NTSTATUS_WIN_STATUS_INVALID_TASK_NAME = 0xC0000500, + MD_NTSTATUS_WIN_STATUS_INVALID_TASK_INDEX = 0xC0000501, + MD_NTSTATUS_WIN_STATUS_THREAD_ALREADY_IN_TASK = 0xC0000502, + MD_NTSTATUS_WIN_STATUS_CALLBACK_BYPASS = 0xC0000503, + MD_NTSTATUS_WIN_STATUS_UNDEFINED_SCOPE = 0xC0000504, + MD_NTSTATUS_WIN_STATUS_INVALID_CAP = 0xC0000505, + MD_NTSTATUS_WIN_STATUS_NOT_GUI_PROCESS = 0xC0000506, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_HUNG = 0xC0000507, ++ MD_NTSTATUS_WIN_STATUS_CONTAINER_ASSIGNED = 0xC0000508, ++ MD_NTSTATUS_WIN_STATUS_JOB_NO_CONTAINER = 0xC0000509, ++ MD_NTSTATUS_WIN_STATUS_DEVICE_UNRESPONSIVE = 0xC000050A, ++ MD_NTSTATUS_WIN_STATUS_REPARSE_POINT_ENCOUNTERED = 0xC000050B, ++ MD_NTSTATUS_WIN_STATUS_ATTRIBUTE_NOT_PRESENT = 0xC000050C, ++ MD_NTSTATUS_WIN_STATUS_NOT_A_TIERED_VOLUME = 0xC000050D, ++ MD_NTSTATUS_WIN_STATUS_ALREADY_HAS_STREAM_ID = 0xC000050E, ++ MD_NTSTATUS_WIN_STATUS_JOB_NOT_EMPTY = 0xC000050F, ++ MD_NTSTATUS_WIN_STATUS_ALREADY_INITIALIZED = 0xC0000510, ++ MD_NTSTATUS_WIN_STATUS_ENCLAVE_NOT_TERMINATED = 0xC0000511, ++ MD_NTSTATUS_WIN_STATUS_ENCLAVE_IS_TERMINATING = 0xC0000512, ++ MD_NTSTATUS_WIN_STATUS_SMB1_NOT_AVAILABLE = 0xC0000513, ++ MD_NTSTATUS_WIN_STATUS_SMR_GARBAGE_COLLECTION_REQUIRED = 0xC0000514, ++ MD_NTSTATUS_WIN_STATUS_INTERRUPTED = 0xC0000515, ++ MD_NTSTATUS_WIN_STATUS_THREAD_NOT_RUNNING = 0xC0000516, + MD_NTSTATUS_WIN_STATUS_FAIL_FAST_EXCEPTION = 0xC0000602, + MD_NTSTATUS_WIN_STATUS_IMAGE_CERT_REVOKED = 0xC0000603, + MD_NTSTATUS_WIN_STATUS_DYNAMIC_CODE_BLOCKED = 0xC0000604, ++ MD_NTSTATUS_WIN_STATUS_IMAGE_CERT_EXPIRED = 0xC0000605, ++ MD_NTSTATUS_WIN_STATUS_STRICT_CFG_VIOLATION = 0xC0000606, ++ MD_NTSTATUS_WIN_STATUS_SET_CONTEXT_DENIED = 0xC000060A, ++ MD_NTSTATUS_WIN_STATUS_CROSS_PARTITION_VIOLATION = 0xC000060B, + MD_NTSTATUS_WIN_STATUS_PORT_CLOSED = 0xC0000700, + MD_NTSTATUS_WIN_STATUS_MESSAGE_LOST = 0xC0000701, + MD_NTSTATUS_WIN_STATUS_INVALID_MESSAGE = 0xC0000702, + MD_NTSTATUS_WIN_STATUS_REQUEST_CANCELED = 0xC0000703, + MD_NTSTATUS_WIN_STATUS_RECURSIVE_DISPATCH = 0xC0000704, + MD_NTSTATUS_WIN_STATUS_LPC_RECEIVE_BUFFER_EXPECTED = 0xC0000705, + MD_NTSTATUS_WIN_STATUS_LPC_INVALID_CONNECTION_USAGE = 0xC0000706, + MD_NTSTATUS_WIN_STATUS_LPC_REQUESTS_NOT_ALLOWED = 0xC0000707, +@@ -992,16 +1315,21 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_PORT_ALREADY_HAS_COMPLETION_LIST = 0xC000071A, + MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_THREAD_PRIORITY = 0xC000071B, + MD_NTSTATUS_WIN_STATUS_INVALID_THREAD = 0xC000071C, + MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_TRANSACTION = 0xC000071D, + MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_LDR_LOCK = 0xC000071E, + MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_LANG = 0xC000071F, + MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_PRI_BACK = 0xC0000720, + MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_THREAD_AFFINITY = 0xC0000721, ++ MD_NTSTATUS_WIN_STATUS_LPC_HANDLE_COUNT_EXCEEDED = 0xC0000722, ++ MD_NTSTATUS_WIN_STATUS_EXECUTABLE_MEMORY_WRITE = 0xC0000723, ++ MD_NTSTATUS_WIN_STATUS_KERNEL_EXECUTABLE_MEMORY_WRITE = 0xC0000724, ++ MD_NTSTATUS_WIN_STATUS_ATTACHED_EXECUTABLE_MEMORY_WRITE = 0xC0000725, ++ MD_NTSTATUS_WIN_STATUS_TRIGGERED_EXECUTABLE_MEMORY_WRITE = 0xC0000726, + MD_NTSTATUS_WIN_STATUS_DISK_REPAIR_DISABLED = 0xC0000800, + MD_NTSTATUS_WIN_STATUS_DS_DOMAIN_RENAME_IN_PROGRESS = 0xC0000801, + MD_NTSTATUS_WIN_STATUS_DISK_QUOTA_EXCEEDED = 0xC0000802, + MD_NTSTATUS_WIN_STATUS_CONTENT_BLOCKED = 0xC0000804, + MD_NTSTATUS_WIN_STATUS_BAD_CLUSTERS = 0xC0000805, + MD_NTSTATUS_WIN_STATUS_VOLUME_DIRTY = 0xC0000806, + MD_NTSTATUS_WIN_STATUS_DISK_REPAIR_UNSUCCESSFUL = 0xC0000808, + MD_NTSTATUS_WIN_STATUS_CORRUPT_LOG_OVERFULL = 0xC0000809, +@@ -1028,16 +1356,19 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_FILE_HANDLE_REVOKED = 0xC0000910, + MD_NTSTATUS_WIN_STATUS_WOW_ASSERTION = 0xC0009898, + MD_NTSTATUS_WIN_STATUS_INVALID_SIGNATURE = 0xC000A000, + MD_NTSTATUS_WIN_STATUS_HMAC_NOT_SUPPORTED = 0xC000A001, + MD_NTSTATUS_WIN_STATUS_AUTH_TAG_MISMATCH = 0xC000A002, + MD_NTSTATUS_WIN_STATUS_INVALID_STATE_TRANSITION = 0xC000A003, + MD_NTSTATUS_WIN_STATUS_INVALID_KERNEL_INFO_VERSION = 0xC000A004, + MD_NTSTATUS_WIN_STATUS_INVALID_PEP_INFO_VERSION = 0xC000A005, ++ MD_NTSTATUS_WIN_STATUS_HANDLE_REVOKED = 0xC000A006, ++ MD_NTSTATUS_WIN_STATUS_EOF_ON_GHOSTED_RANGE = 0xC000A007, ++ MD_NTSTATUS_WIN_STATUS_CC_NEEDS_CALLBACK_SECTION_DRAIN = 0xC000A008, + MD_NTSTATUS_WIN_STATUS_IPSEC_QUEUE_OVERFLOW = 0xC000A010, + MD_NTSTATUS_WIN_STATUS_ND_QUEUE_OVERFLOW = 0xC000A011, + MD_NTSTATUS_WIN_STATUS_HOPLIMIT_EXCEEDED = 0xC000A012, + MD_NTSTATUS_WIN_STATUS_PROTOCOL_NOT_SUPPORTED = 0xC000A013, + MD_NTSTATUS_WIN_STATUS_FASTPATH_REJECTED = 0xC000A014, + MD_NTSTATUS_WIN_STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED = 0xC000A080, + MD_NTSTATUS_WIN_STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR = 0xC000A081, + MD_NTSTATUS_WIN_STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR = 0xC000A082, +@@ -1059,25 +1390,72 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_CANNOT_SWITCH_RUNLEVEL = 0xC000A141, + MD_NTSTATUS_WIN_STATUS_INVALID_RUNLEVEL_SETTING = 0xC000A142, + MD_NTSTATUS_WIN_STATUS_RUNLEVEL_SWITCH_TIMEOUT = 0xC000A143, + MD_NTSTATUS_WIN_STATUS_RUNLEVEL_SWITCH_AGENT_TIMEOUT = 0xC000A145, + MD_NTSTATUS_WIN_STATUS_RUNLEVEL_SWITCH_IN_PROGRESS = 0xC000A146, + MD_NTSTATUS_WIN_STATUS_NOT_APPCONTAINER = 0xC000A200, + MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED_IN_APPCONTAINER = 0xC000A201, + MD_NTSTATUS_WIN_STATUS_INVALID_PACKAGE_SID_LENGTH = 0xC000A202, ++ MD_NTSTATUS_WIN_STATUS_LPAC_ACCESS_DENIED = 0xC000A203, ++ MD_NTSTATUS_WIN_STATUS_ADMINLESS_ACCESS_DENIED = 0xC000A204, + MD_NTSTATUS_WIN_STATUS_APP_DATA_NOT_FOUND = 0xC000A281, + MD_NTSTATUS_WIN_STATUS_APP_DATA_EXPIRED = 0xC000A282, + MD_NTSTATUS_WIN_STATUS_APP_DATA_CORRUPT = 0xC000A283, + MD_NTSTATUS_WIN_STATUS_APP_DATA_LIMIT_EXCEEDED = 0xC000A284, + MD_NTSTATUS_WIN_STATUS_APP_DATA_REBOOT_REQUIRED = 0xC000A285, + MD_NTSTATUS_WIN_STATUS_OFFLOAD_READ_FLT_NOT_SUPPORTED = 0xC000A2A1, + MD_NTSTATUS_WIN_STATUS_OFFLOAD_WRITE_FLT_NOT_SUPPORTED = 0xC000A2A2, + MD_NTSTATUS_WIN_STATUS_OFFLOAD_READ_FILE_NOT_SUPPORTED = 0xC000A2A3, + MD_NTSTATUS_WIN_STATUS_OFFLOAD_WRITE_FILE_NOT_SUPPORTED = 0xC000A2A4, ++ MD_NTSTATUS_WIN_STATUS_WOF_WIM_HEADER_CORRUPT = 0xC000A2A5, ++ MD_NTSTATUS_WIN_STATUS_WOF_WIM_RESOURCE_TABLE_CORRUPT = 0xC000A2A6, ++ MD_NTSTATUS_WIN_STATUS_WOF_FILE_RESOURCE_TABLE_CORRUPT = 0xC000A2A7, ++ MD_NTSTATUS_WIN_STATUS_CIMFS_IMAGE_CORRUPT = 0xC000C001, ++ MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_UNAVAILABLE = 0xC000CE01, ++ MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_METADATA_CORRUPT = 0xC000CE02, ++ MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_BUSY = 0xC000CE03, ++ MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_PROVIDER_UNKNOWN = 0xC000CE04, ++ MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_INVALID_OPERATION = 0xC000CE05, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_SYNC_ROOT_METADATA_CORRUPT = 0xC000CF00, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROVIDER_NOT_RUNNING = 0xC000CF01, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_METADATA_CORRUPT = 0xC000CF02, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_METADATA_TOO_LARGE = 0xC000CF03, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_VERSION_NOT_SUPPORTED = 0xC000CF06, ++ MD_NTSTATUS_WIN_STATUS_NOT_A_CLOUD_FILE = 0xC000CF07, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NOT_IN_SYNC = 0xC000CF08, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_ALREADY_CONNECTED = 0xC000CF09, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NOT_SUPPORTED = 0xC000CF0A, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_INVALID_REQUEST = 0xC000CF0B, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_READ_ONLY_VOLUME = 0xC000CF0C, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_CONNECTED_PROVIDER_ONLY = 0xC000CF0D, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_VALIDATION_FAILED = 0xC000CF0E, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_AUTHENTICATION_FAILED = 0xC000CF0F, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_INSUFFICIENT_RESOURCES = 0xC000CF10, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NETWORK_UNAVAILABLE = 0xC000CF11, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_UNSUCCESSFUL = 0xC000CF12, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NOT_UNDER_SYNC_ROOT = 0xC000CF13, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_IN_USE = 0xC000CF14, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PINNED = 0xC000CF15, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_REQUEST_ABORTED = 0xC000CF16, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_CORRUPT = 0xC000CF17, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_ACCESS_DENIED = 0xC000CF18, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_INCOMPATIBLE_HARDLINKS = 0xC000CF19, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_LOCK_CONFLICT = 0xC000CF1A, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_REQUEST_CANCELED = 0xC000CF1B, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROVIDER_TERMINATED = 0xC000CF1D, ++ MD_NTSTATUS_WIN_STATUS_NOT_A_CLOUD_SYNC_ROOT = 0xC000CF1E, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_REQUEST_TIMEOUT = 0xC000CF1F, ++ MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_DEHYDRATION_DISALLOWED = 0xC000CF20, ++ MD_NTSTATUS_WIN_STATUS_FILE_SNAP_IN_PROGRESS = 0xC000F500, ++ MD_NTSTATUS_WIN_STATUS_FILE_SNAP_USER_SECTION_NOT_SUPPORTED = 0xC000F501, ++ MD_NTSTATUS_WIN_STATUS_FILE_SNAP_MODIFY_NOT_SUPPORTED = 0xC000F502, ++ MD_NTSTATUS_WIN_STATUS_FILE_SNAP_IO_NOT_COORDINATED = 0xC000F503, ++ MD_NTSTATUS_WIN_STATUS_FILE_SNAP_UNEXPECTED_ERROR = 0xC000F504, ++ MD_NTSTATUS_WIN_STATUS_FILE_SNAP_INVALID_PARAMETER = 0xC000F505, + MD_NTSTATUS_WIN_DBG_NO_STATE_CHANGE = 0xC0010001, + MD_NTSTATUS_WIN_DBG_APP_NOT_IDLE = 0xC0010002, + MD_NTSTATUS_WIN_RPC_NT_INVALID_STRING_BINDING = 0xC0020001, + MD_NTSTATUS_WIN_RPC_NT_WRONG_KIND_OF_BINDING = 0xC0020002, + MD_NTSTATUS_WIN_RPC_NT_INVALID_BINDING = 0xC0020003, + MD_NTSTATUS_WIN_RPC_NT_PROTSEQ_NOT_SUPPORTED = 0xC0020004, + MD_NTSTATUS_WIN_RPC_NT_INVALID_RPC_PROTSEQ = 0xC0020005, + MD_NTSTATUS_WIN_RPC_NT_INVALID_STRING_UUID = 0xC0020006, +@@ -1263,16 +1641,21 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_VOLUME_NOT_LOCAL = 0xC0130019, + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_READ_OPLOCK_BREAK_IN_PROGRESS = 0xC0130020, + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_AUTO_PAUSE_ERROR = 0xC0130021, + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_REDIRECTED = 0xC0130022, + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_NOT_REDIRECTED = 0xC0130023, + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_VOLUME_DRAINING = 0xC0130024, + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_SNAPSHOT_CREATION_IN_PROGRESS = 0xC0130025, + MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_VOLUME_DRAINING_SUCCEEDED_DOWNLEVEL = 0xC0130026, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_NO_SNAPSHOTS = 0xC0130027, ++ MD_NTSTATUS_WIN_STATUS_CSV_IO_PAUSE_TIMEOUT = 0xC0130028, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_INVALID_HANDLE = 0xC0130029, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR = 0xC0130030, ++ MD_NTSTATUS_WIN_STATUS_CLUSTER_CAM_TICKET_REPLAY_DETECTED = 0xC0130031, + MD_NTSTATUS_WIN_STATUS_ACPI_INVALID_OPCODE = 0xC0140001, + MD_NTSTATUS_WIN_STATUS_ACPI_STACK_OVERFLOW = 0xC0140002, + MD_NTSTATUS_WIN_STATUS_ACPI_ASSERT_FAILED = 0xC0140003, + MD_NTSTATUS_WIN_STATUS_ACPI_INVALID_INDEX = 0xC0140004, + MD_NTSTATUS_WIN_STATUS_ACPI_INVALID_ARGUMENT = 0xC0140005, + MD_NTSTATUS_WIN_STATUS_ACPI_FATAL = 0xC0140006, + MD_NTSTATUS_WIN_STATUS_ACPI_INVALID_SUPERNAME = 0xC0140007, + MD_NTSTATUS_WIN_STATUS_ACPI_INVALID_ARGTYPE = 0xC0140008, +@@ -1504,16 +1887,21 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_OCCLUDED = 0xC01E0006, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_DENIED = 0xC01E0007, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_CANNOTCOLORCONVERT = 0xC01E0008, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_DRIVER_MISMATCH = 0xC01E0009, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_REDIRECTION_DISABLED = 0xC01E000B, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_UNOCCLUDED = 0xC01E000C, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE = 0xC01E000D, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED = 0xC01E000E, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_INVALID_WINDOW = 0xC01E000F, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_BUFFER_NOT_BOUND = 0xC01E0010, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_VAIL_STATE_CHANGED = 0xC01E0011, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN = 0xC01E0012, ++ MD_NTSTATUS_WIN_STATUS_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED = 0xC01E0013, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_NO_VIDEO_MEMORY = 0xC01E0100, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_CANT_LOCK_MEMORY = 0xC01E0101, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_ALLOCATION_BUSY = 0xC01E0102, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_TOO_MANY_REFERENCES = 0xC01E0103, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_TRY_AGAIN_LATER = 0xC01E0104, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_TRY_AGAIN_NOW = 0xC01E0105, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_ALLOCATION_INVALID = 0xC01E0106, + MD_NTSTATUS_WIN_STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE = 0xC01E0107, +@@ -1725,16 +2113,17 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_FVE_EDRIVE_DRY_RUN_FAILED = 0xC0210038, + MD_NTSTATUS_WIN_STATUS_FVE_SECUREBOOT_DISABLED = 0xC0210039, + MD_NTSTATUS_WIN_STATUS_FVE_SECUREBOOT_CONFIG_CHANGE = 0xC021003A, + MD_NTSTATUS_WIN_STATUS_FVE_DEVICE_LOCKEDOUT = 0xC021003B, + MD_NTSTATUS_WIN_STATUS_FVE_VOLUME_EXTEND_PREVENTS_EOW_DECRYPT = 0xC021003C, + MD_NTSTATUS_WIN_STATUS_FVE_NOT_DE_VOLUME = 0xC021003D, + MD_NTSTATUS_WIN_STATUS_FVE_PROTECTION_DISABLED = 0xC021003E, + MD_NTSTATUS_WIN_STATUS_FVE_PROTECTION_CANNOT_BE_DISABLED = 0xC021003F, ++ MD_NTSTATUS_WIN_STATUS_FVE_OSV_KSR_NOT_ALLOWED = 0xC0210040, + MD_NTSTATUS_WIN_STATUS_FWP_CALLOUT_NOT_FOUND = 0xC0220001, + MD_NTSTATUS_WIN_STATUS_FWP_CONDITION_NOT_FOUND = 0xC0220002, + MD_NTSTATUS_WIN_STATUS_FWP_FILTER_NOT_FOUND = 0xC0220003, + MD_NTSTATUS_WIN_STATUS_FWP_LAYER_NOT_FOUND = 0xC0220004, + MD_NTSTATUS_WIN_STATUS_FWP_PROVIDER_NOT_FOUND = 0xC0220005, + MD_NTSTATUS_WIN_STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND = 0xC0220006, + MD_NTSTATUS_WIN_STATUS_FWP_SUBLAYER_NOT_FOUND = 0xC0220007, + MD_NTSTATUS_WIN_STATUS_FWP_NOT_FOUND = 0xC0220008, +@@ -1832,25 +2221,32 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_NDIS_INVALID_ADDRESS = 0xC0230022, + MD_NTSTATUS_WIN_STATUS_NDIS_PAUSED = 0xC023002A, + MD_NTSTATUS_WIN_STATUS_NDIS_INTERFACE_NOT_FOUND = 0xC023002B, + MD_NTSTATUS_WIN_STATUS_NDIS_UNSUPPORTED_REVISION = 0xC023002C, + MD_NTSTATUS_WIN_STATUS_NDIS_INVALID_PORT = 0xC023002D, + MD_NTSTATUS_WIN_STATUS_NDIS_INVALID_PORT_STATE = 0xC023002E, + MD_NTSTATUS_WIN_STATUS_NDIS_LOW_POWER_STATE = 0xC023002F, + MD_NTSTATUS_WIN_STATUS_NDIS_REINIT_REQUIRED = 0xC0230030, ++ MD_NTSTATUS_WIN_STATUS_NDIS_NO_QUEUES = 0xC0230031, + MD_NTSTATUS_WIN_STATUS_NDIS_NOT_SUPPORTED = 0xC02300BB, + MD_NTSTATUS_WIN_STATUS_NDIS_OFFLOAD_POLICY = 0xC023100F, + MD_NTSTATUS_WIN_STATUS_NDIS_OFFLOAD_CONNECTION_REJECTED = 0xC0231012, + MD_NTSTATUS_WIN_STATUS_NDIS_OFFLOAD_PATH_REJECTED = 0xC0231013, + MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED = 0xC0232000, + MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_MEDIA_IN_USE = 0xC0232001, + MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_POWER_STATE_INVALID = 0xC0232002, + MD_NTSTATUS_WIN_STATUS_NDIS_PM_WOL_PATTERN_LIST_FULL = 0xC0232003, + MD_NTSTATUS_WIN_STATUS_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL = 0xC0232004, ++ MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE = 0xC0232005, ++ MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE = 0xC0232006, ++ MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_CHANNEL_NOT_ALLOWED = 0xC0232007, ++ MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_BAND_NOT_ALLOWED = 0xC0232008, ++ MD_NTSTATUS_WIN_STATUS_QUIC_HANDSHAKE_FAILURE = 0xC0240000, ++ MD_NTSTATUS_WIN_STATUS_QUIC_VER_NEG_FAILURE = 0xC0240001, + MD_NTSTATUS_WIN_STATUS_TPM_ERROR_MASK = 0xC0290000, + MD_NTSTATUS_WIN_STATUS_TPM_AUTHFAIL = 0xC0290001, + MD_NTSTATUS_WIN_STATUS_TPM_BADINDEX = 0xC0290002, + MD_NTSTATUS_WIN_STATUS_TPM_BAD_PARAMETER = 0xC0290003, + MD_NTSTATUS_WIN_STATUS_TPM_AUDITFAILURE = 0xC0290004, + MD_NTSTATUS_WIN_STATUS_TPM_CLEAR_DISABLED = 0xC0290005, + MD_NTSTATUS_WIN_STATUS_TPM_DEACTIVATED = 0xC0290006, + MD_NTSTATUS_WIN_STATUS_TPM_DISABLED = 0xC0290007, +@@ -1940,16 +2336,84 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_TPM_TOOMANYCONTEXTS = 0xC029005B, + MD_NTSTATUS_WIN_STATUS_TPM_MA_TICKET_SIGNATURE = 0xC029005C, + MD_NTSTATUS_WIN_STATUS_TPM_MA_DESTINATION = 0xC029005D, + MD_NTSTATUS_WIN_STATUS_TPM_MA_SOURCE = 0xC029005E, + MD_NTSTATUS_WIN_STATUS_TPM_MA_AUTHORITY = 0xC029005F, + MD_NTSTATUS_WIN_STATUS_TPM_PERMANENTEK = 0xC0290061, + MD_NTSTATUS_WIN_STATUS_TPM_BAD_SIGNATURE = 0xC0290062, + MD_NTSTATUS_WIN_STATUS_TPM_NOCONTEXTSPACE = 0xC0290063, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_ASYMMETRIC = 0xC0290081, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_ATTRIBUTES = 0xC0290082, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_HASH = 0xC0290083, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_VALUE = 0xC0290084, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_HIERARCHY = 0xC0290085, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_KEY_SIZE = 0xC0290087, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_MGF = 0xC0290088, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_MODE = 0xC0290089, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_TYPE = 0xC029008A, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_HANDLE = 0xC029008B, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_KDF = 0xC029008C, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_RANGE = 0xC029008D, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_FAIL = 0xC029008E, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NONCE = 0xC029008F, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_PP = 0xC0290090, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_SCHEME = 0xC0290092, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_SIZE = 0xC0290095, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_SYMMETRIC = 0xC0290096, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_TAG = 0xC0290097, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_SELECTOR = 0xC0290098, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_INSUFFICIENT = 0xC029009A, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_SIGNATURE = 0xC029009B, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_KEY = 0xC029009C, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_POLICY_FAIL = 0xC029009D, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_INTEGRITY = 0xC029009F, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_TICKET = 0xC02900A0, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_RESERVED_BITS = 0xC02900A1, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_BAD_AUTH = 0xC02900A2, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_EXPIRED = 0xC02900A3, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_POLICY_CC = 0xC02900A4, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_BINDING = 0xC02900A5, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_CURVE = 0xC02900A6, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_ECC_POINT = 0xC02900A7, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_INITIALIZE = 0xC0290100, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_FAILURE = 0xC0290101, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_SEQUENCE = 0xC0290103, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_PRIVATE = 0xC029010B, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_HMAC = 0xC0290119, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_DISABLED = 0xC0290120, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_EXCLUSIVE = 0xC0290121, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_ECC_CURVE = 0xC0290123, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_TYPE = 0xC0290124, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_MISSING = 0xC0290125, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_POLICY = 0xC0290126, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_PCR = 0xC0290127, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_PCR_CHANGED = 0xC0290128, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_UPGRADE = 0xC029012D, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_TOO_MANY_CONTEXTS = 0xC029012E, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_UNAVAILABLE = 0xC029012F, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_REBOOT = 0xC0290130, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_UNBALANCED = 0xC0290131, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_COMMAND_SIZE = 0xC0290142, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_COMMAND_CODE = 0xC0290143, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTHSIZE = 0xC0290144, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_CONTEXT = 0xC0290145, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_RANGE = 0xC0290146, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_SIZE = 0xC0290147, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_LOCKED = 0xC0290148, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_AUTHORIZATION = 0xC0290149, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_UNINITIALIZED = 0xC029014A, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_SPACE = 0xC029014B, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_DEFINED = 0xC029014C, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_BAD_CONTEXT = 0xC0290150, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_CPHASH = 0xC0290151, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_PARENT = 0xC0290152, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NEEDS_TEST = 0xC0290153, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_NO_RESULT = 0xC0290154, ++ MD_NTSTATUS_WIN_STATUS_TPM_20_E_SENSITIVE = 0xC0290155, + MD_NTSTATUS_WIN_STATUS_TPM_COMMAND_BLOCKED = 0xC0290400, + MD_NTSTATUS_WIN_STATUS_TPM_INVALID_HANDLE = 0xC0290401, + MD_NTSTATUS_WIN_STATUS_TPM_DUPLICATE_VHANDLE = 0xC0290402, + MD_NTSTATUS_WIN_STATUS_TPM_EMBEDDED_COMMAND_BLOCKED = 0xC0290403, + MD_NTSTATUS_WIN_STATUS_TPM_EMBEDDED_COMMAND_UNSUPPORTED = 0xC0290404, + MD_NTSTATUS_WIN_STATUS_TPM_RETRY = 0xC0290800, + MD_NTSTATUS_WIN_STATUS_TPM_NEEDS_SELFTEST = 0xC0290801, + MD_NTSTATUS_WIN_STATUS_TPM_DOING_SELFTEST = 0xC0290802, +@@ -1969,16 +2433,42 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_PCP_BUFFER_TOO_SMALL = 0xC0292006, + MD_NTSTATUS_WIN_STATUS_PCP_INTERNAL_ERROR = 0xC0292007, + MD_NTSTATUS_WIN_STATUS_PCP_AUTHENTICATION_FAILED = 0xC0292008, + MD_NTSTATUS_WIN_STATUS_PCP_AUTHENTICATION_IGNORED = 0xC0292009, + MD_NTSTATUS_WIN_STATUS_PCP_POLICY_NOT_FOUND = 0xC029200A, + MD_NTSTATUS_WIN_STATUS_PCP_PROFILE_NOT_FOUND = 0xC029200B, + MD_NTSTATUS_WIN_STATUS_PCP_VALIDATION_FAILED = 0xC029200C, + MD_NTSTATUS_WIN_STATUS_PCP_DEVICE_NOT_FOUND = 0xC029200D, ++ MD_NTSTATUS_WIN_STATUS_PCP_WRONG_PARENT = 0xC029200E, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_LOADED = 0xC029200F, ++ MD_NTSTATUS_WIN_STATUS_PCP_NO_KEY_CERTIFICATION = 0xC0292010, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_FINALIZED = 0xC0292011, ++ MD_NTSTATUS_WIN_STATUS_PCP_ATTESTATION_CHALLENGE_NOT_SET = 0xC0292012, ++ MD_NTSTATUS_WIN_STATUS_PCP_NOT_PCR_BOUND = 0xC0292013, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_ALREADY_FINALIZED = 0xC0292014, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_USAGE_POLICY_NOT_SUPPORTED = 0xC0292015, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_USAGE_POLICY_INVALID = 0xC0292016, ++ MD_NTSTATUS_WIN_STATUS_PCP_SOFT_KEY_ERROR = 0xC0292017, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_AUTHENTICATED = 0xC0292018, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_AIK = 0xC0292019, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_SIGNING_KEY = 0xC029201A, ++ MD_NTSTATUS_WIN_STATUS_PCP_LOCKED_OUT = 0xC029201B, ++ MD_NTSTATUS_WIN_STATUS_PCP_CLAIM_TYPE_NOT_SUPPORTED = 0xC029201C, ++ MD_NTSTATUS_WIN_STATUS_PCP_TPM_VERSION_NOT_SUPPORTED = 0xC029201D, ++ MD_NTSTATUS_WIN_STATUS_PCP_BUFFER_LENGTH_MISMATCH = 0xC029201E, ++ MD_NTSTATUS_WIN_STATUS_PCP_IFX_RSA_KEY_CREATION_BLOCKED = 0xC029201F, ++ MD_NTSTATUS_WIN_STATUS_PCP_TICKET_MISSING = 0xC0292020, ++ MD_NTSTATUS_WIN_STATUS_PCP_RAW_POLICY_NOT_SUPPORTED = 0xC0292021, ++ MD_NTSTATUS_WIN_STATUS_PCP_KEY_HANDLE_INVALIDATED = 0xC0292022, ++ MD_NTSTATUS_WIN_STATUS_RTPM_NO_RESULT = 0xC0293002, ++ MD_NTSTATUS_WIN_STATUS_RTPM_PCR_READ_INCOMPLETE = 0xC0293003, ++ MD_NTSTATUS_WIN_STATUS_RTPM_INVALID_CONTEXT = 0xC0293004, ++ MD_NTSTATUS_WIN_STATUS_RTPM_UNSUPPORTED_CMD = 0xC0293005, ++ MD_NTSTATUS_WIN_STATUS_TPM_ZERO_EXHAUST_ENABLED = 0xC0294000, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_HYPERCALL_CODE = 0xC0350002, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_HYPERCALL_INPUT = 0xC0350003, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_ALIGNMENT = 0xC0350004, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_PARAMETER = 0xC0350005, + MD_NTSTATUS_WIN_STATUS_HV_ACCESS_DENIED = 0xC0350006, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_PARTITION_STATE = 0xC0350007, + MD_NTSTATUS_WIN_STATUS_HV_OPERATION_DENIED = 0xC0350008, + MD_NTSTATUS_WIN_STATUS_HV_UNKNOWN_PROPERTY = 0xC0350009, +@@ -1986,28 +2476,46 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_MEMORY = 0xC035000B, + MD_NTSTATUS_WIN_STATUS_HV_PARTITION_TOO_DEEP = 0xC035000C, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_PARTITION_ID = 0xC035000D, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_VP_INDEX = 0xC035000E, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_PORT_ID = 0xC0350011, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_CONNECTION_ID = 0xC0350012, + MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_BUFFERS = 0xC0350013, + MD_NTSTATUS_WIN_STATUS_HV_NOT_ACKNOWLEDGED = 0xC0350014, ++ MD_NTSTATUS_WIN_STATUS_HV_INVALID_VP_STATE = 0xC0350015, + MD_NTSTATUS_WIN_STATUS_HV_ACKNOWLEDGED = 0xC0350016, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_SAVE_RESTORE_STATE = 0xC0350017, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_SYNIC_STATE = 0xC0350018, + MD_NTSTATUS_WIN_STATUS_HV_OBJECT_IN_USE = 0xC0350019, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_PROXIMITY_DOMAIN_INFO = 0xC035001A, + MD_NTSTATUS_WIN_STATUS_HV_NO_DATA = 0xC035001B, + MD_NTSTATUS_WIN_STATUS_HV_INACTIVE = 0xC035001C, + MD_NTSTATUS_WIN_STATUS_HV_NO_RESOURCES = 0xC035001D, + MD_NTSTATUS_WIN_STATUS_HV_FEATURE_UNAVAILABLE = 0xC035001E, + MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_BUFFER = 0xC0350033, + MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_DEVICE_DOMAINS = 0xC0350038, ++ MD_NTSTATUS_WIN_STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR = 0xC035003C, ++ MD_NTSTATUS_WIN_STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR = 0xC035003D, ++ MD_NTSTATUS_WIN_STATUS_HV_PROCESSOR_STARTUP_TIMEOUT = 0xC035003E, ++ MD_NTSTATUS_WIN_STATUS_HV_SMX_ENABLED = 0xC035003F, + MD_NTSTATUS_WIN_STATUS_HV_INVALID_LP_INDEX = 0xC0350041, ++ MD_NTSTATUS_WIN_STATUS_HV_INVALID_REGISTER_VALUE = 0xC0350050, ++ MD_NTSTATUS_WIN_STATUS_HV_INVALID_VTL_STATE = 0xC0350051, ++ MD_NTSTATUS_WIN_STATUS_HV_NX_NOT_DETECTED = 0xC0350055, ++ MD_NTSTATUS_WIN_STATUS_HV_INVALID_DEVICE_ID = 0xC0350057, ++ MD_NTSTATUS_WIN_STATUS_HV_INVALID_DEVICE_STATE = 0xC0350058, ++ MD_NTSTATUS_WIN_STATUS_HV_PAGE_REQUEST_INVALID = 0xC0350060, ++ MD_NTSTATUS_WIN_STATUS_HV_INVALID_CPU_GROUP_ID = 0xC035006F, ++ MD_NTSTATUS_WIN_STATUS_HV_INVALID_CPU_GROUP_STATE = 0xC0350070, ++ MD_NTSTATUS_WIN_STATUS_HV_OPERATION_FAILED = 0xC0350071, ++ MD_NTSTATUS_WIN_STATUS_HV_NOT_ALLOWED_WITH_NESTED_VIRT_ACTIVE = 0xC0350072, ++ MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_ROOT_MEMORY = 0xC0350073, ++ MD_NTSTATUS_WIN_STATUS_HV_EVENT_BUFFER_ALREADY_FREED = 0xC0350074, ++ MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_CONTIGUOUS_MEMORY = 0xC0350075, + MD_NTSTATUS_WIN_STATUS_HV_NOT_PRESENT = 0xC0351000, + MD_NTSTATUS_WIN_STATUS_IPSEC_BAD_SPI = 0xC0360001, + MD_NTSTATUS_WIN_STATUS_IPSEC_SA_LIFETIME_EXPIRED = 0xC0360002, + MD_NTSTATUS_WIN_STATUS_IPSEC_WRONG_SA = 0xC0360003, + MD_NTSTATUS_WIN_STATUS_IPSEC_REPLAY_CHECK_FAILED = 0xC0360004, + MD_NTSTATUS_WIN_STATUS_IPSEC_INVALID_PACKET = 0xC0360005, + MD_NTSTATUS_WIN_STATUS_IPSEC_INTEGRITY_CHECK_FAILED = 0xC0360006, + MD_NTSTATUS_WIN_STATUS_IPSEC_CLEAR_TEXT_DROP = 0xC0360007, +@@ -2056,16 +2564,17 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_VID_INVALID_CHILD_GPA_PAGE_SET = 0xC0370022, + MD_NTSTATUS_WIN_STATUS_VID_RESERVE_PAGE_SET_IS_BEING_USED = 0xC0370023, + MD_NTSTATUS_WIN_STATUS_VID_RESERVE_PAGE_SET_TOO_SMALL = 0xC0370024, + MD_NTSTATUS_WIN_STATUS_VID_MBP_ALREADY_LOCKED_USING_RESERVED_PAGE = 0xC0370025, + MD_NTSTATUS_WIN_STATUS_VID_MBP_COUNT_EXCEEDED_LIMIT = 0xC0370026, + MD_NTSTATUS_WIN_STATUS_VID_SAVED_STATE_CORRUPT = 0xC0370027, + MD_NTSTATUS_WIN_STATUS_VID_SAVED_STATE_UNRECOGNIZED_ITEM = 0xC0370028, + MD_NTSTATUS_WIN_STATUS_VID_SAVED_STATE_INCOMPATIBLE = 0xC0370029, ++ MD_NTSTATUS_WIN_STATUS_VID_VTL_ACCESS_DENIED = 0xC037002A, + MD_NTSTATUS_WIN_STATUS_VOLMGR_DATABASE_FULL = 0xC0380001, + MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_CONFIGURATION_CORRUPTED = 0xC0380002, + MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC = 0xC0380003, + MD_NTSTATUS_WIN_STATUS_VOLMGR_PACK_CONFIG_UPDATE_FAILED = 0xC0380004, + MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME = 0xC0380005, + MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_DUPLICATE = 0xC0380006, + MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_DYNAMIC = 0xC0380007, + MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_ID_INVALID = 0xC0380008, +@@ -2186,25 +2695,32 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_VIRTDISK_DISK_ALREADY_OWNED = 0xC03A001E, + MD_NTSTATUS_WIN_STATUS_VIRTDISK_DISK_ONLINE_AND_WRITABLE = 0xC03A001F, + MD_NTSTATUS_WIN_STATUS_CTLOG_TRACKING_NOT_INITIALIZED = 0xC03A0020, + MD_NTSTATUS_WIN_STATUS_CTLOG_LOGFILE_SIZE_EXCEEDED_MAXSIZE = 0xC03A0021, + MD_NTSTATUS_WIN_STATUS_CTLOG_VHD_CHANGED_OFFLINE = 0xC03A0022, + MD_NTSTATUS_WIN_STATUS_CTLOG_INVALID_TRACKING_STATE = 0xC03A0023, + MD_NTSTATUS_WIN_STATUS_CTLOG_INCONSISTENT_TRACKING_FILE = 0xC03A0024, + MD_NTSTATUS_WIN_STATUS_VHD_METADATA_FULL = 0xC03A0028, ++ MD_NTSTATUS_WIN_STATUS_VHD_INVALID_CHANGE_TRACKING_ID = 0xC03A0029, ++ MD_NTSTATUS_WIN_STATUS_VHD_CHANGE_TRACKING_DISABLED = 0xC03A002A, ++ MD_NTSTATUS_WIN_STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION = 0xC03A0030, ++ MD_NTSTATUS_WIN_STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA = 0xC03A0031, ++ MD_NTSTATUS_WIN_STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE = 0xC03A0032, ++ MD_NTSTATUS_WIN_STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE = 0xC03A0033, + MD_NTSTATUS_WIN_STATUS_RKF_KEY_NOT_FOUND = 0xC0400001, + MD_NTSTATUS_WIN_STATUS_RKF_DUPLICATE_KEY = 0xC0400002, + MD_NTSTATUS_WIN_STATUS_RKF_BLOB_FULL = 0xC0400003, + MD_NTSTATUS_WIN_STATUS_RKF_STORE_FULL = 0xC0400004, + MD_NTSTATUS_WIN_STATUS_RKF_FILE_BLOCKED = 0xC0400005, + MD_NTSTATUS_WIN_STATUS_RKF_ACTIVE_KEY = 0xC0400006, + MD_NTSTATUS_WIN_STATUS_RDBSS_RESTART_OPERATION = 0xC0410001, + MD_NTSTATUS_WIN_STATUS_RDBSS_CONTINUE_OPERATION = 0xC0410002, + MD_NTSTATUS_WIN_STATUS_RDBSS_POST_OPERATION = 0xC0410003, ++ MD_NTSTATUS_WIN_STATUS_RDBSS_RETRY_LOOKUP = 0xC0410004, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_INVALID_HANDLE = 0xC0420001, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_READ_NOT_PERMITTED = 0xC0420002, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_WRITE_NOT_PERMITTED = 0xC0420003, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_INVALID_PDU = 0xC0420004, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_INSUFFICIENT_AUTHENTICATION = 0xC0420005, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_REQUEST_NOT_SUPPORTED = 0xC0420006, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_INVALID_OFFSET = 0xC0420007, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_INSUFFICIENT_AUTHORIZATION = 0xC0420008, +@@ -2219,40 +2735,113 @@ typedef enum { + MD_NTSTATUS_WIN_STATUS_BTH_ATT_INSUFFICIENT_RESOURCES = 0xC0420011, + MD_NTSTATUS_WIN_STATUS_BTH_ATT_UNKNOWN_ERROR = 0xC0421000, + MD_NTSTATUS_WIN_STATUS_SECUREBOOT_ROLLBACK_DETECTED = 0xC0430001, + MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_VIOLATION = 0xC0430002, + MD_NTSTATUS_WIN_STATUS_SECUREBOOT_INVALID_POLICY = 0xC0430003, + MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND = 0xC0430004, + MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_NOT_SIGNED = 0xC0430005, + MD_NTSTATUS_WIN_STATUS_SECUREBOOT_FILE_REPLACED = 0xC0430007, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_NOT_AUTHORIZED = 0xC0430008, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_UNKNOWN = 0xC0430009, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_MISSING_ANTIROLLBACKVERSION = 0xC043000A, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_PLATFORM_ID_MISMATCH = 0xC043000B, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_ROLLBACK_DETECTED = 0xC043000C, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_UPGRADE_MISMATCH = 0xC043000D, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_REQUIRED_POLICY_FILE_MISSING = 0xC043000E, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_NOT_BASE_POLICY = 0xC043000F, ++ MD_NTSTATUS_WIN_STATUS_SECUREBOOT_NOT_SUPPLEMENTAL_POLICY = 0xC0430010, + MD_NTSTATUS_WIN_STATUS_AUDIO_ENGINE_NODE_NOT_FOUND = 0xC0440001, + MD_NTSTATUS_WIN_STATUS_HDAUDIO_EMPTY_CONNECTION_LIST = 0xC0440002, + MD_NTSTATUS_WIN_STATUS_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED = 0xC0440003, + MD_NTSTATUS_WIN_STATUS_HDAUDIO_NO_LOGICAL_DEVICES_CREATED = 0xC0440004, + MD_NTSTATUS_WIN_STATUS_HDAUDIO_NULL_LINKED_LIST_ENTRY = 0xC0440005, ++ MD_NTSTATUS_WIN_STATUS_VSM_NOT_INITIALIZED = 0xC0450000, ++ MD_NTSTATUS_WIN_STATUS_VSM_DMA_PROTECTION_NOT_IN_USE = 0xC0450001, + MD_NTSTATUS_WIN_STATUS_VOLSNAP_BOOTFILE_NOT_VALID = 0xC0500003, ++ MD_NTSTATUS_WIN_STATUS_VOLSNAP_ACTIVATION_TIMEOUT = 0xC0500004, + MD_NTSTATUS_WIN_STATUS_IO_PREEMPTED = 0xC0510001, + MD_NTSTATUS_WIN_STATUS_SVHDX_ERROR_STORED = 0xC05C0000, + MD_NTSTATUS_WIN_STATUS_SVHDX_ERROR_NOT_AVAILABLE = 0xC05CFF00, + MD_NTSTATUS_WIN_STATUS_SVHDX_UNIT_ATTENTION_AVAILABLE = 0xC05CFF01, + MD_NTSTATUS_WIN_STATUS_SVHDX_UNIT_ATTENTION_CAPACITY_DATA_CHANGED = 0xC05CFF02, + MD_NTSTATUS_WIN_STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_PREEMPTED = 0xC05CFF03, + MD_NTSTATUS_WIN_STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_RELEASED = 0xC05CFF04, + MD_NTSTATUS_WIN_STATUS_SVHDX_UNIT_ATTENTION_REGISTRATIONS_PREEMPTED = 0xC05CFF05, + MD_NTSTATUS_WIN_STATUS_SVHDX_UNIT_ATTENTION_OPERATING_DEFINITION_CHANGED = 0xC05CFF06, + MD_NTSTATUS_WIN_STATUS_SVHDX_RESERVATION_CONFLICT = 0xC05CFF07, + MD_NTSTATUS_WIN_STATUS_SVHDX_WRONG_FILE_TYPE = 0xC05CFF08, + MD_NTSTATUS_WIN_STATUS_SVHDX_VERSION_MISMATCH = 0xC05CFF09, + MD_NTSTATUS_WIN_STATUS_VHD_SHARED = 0xC05CFF0A, ++ MD_NTSTATUS_WIN_STATUS_SVHDX_NO_INITIATOR = 0xC05CFF0B, ++ MD_NTSTATUS_WIN_STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND = 0xC05CFF0C, ++ MD_NTSTATUS_WIN_STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP = 0xC05D0000, ++ MD_NTSTATUS_WIN_STATUS_SMB_BAD_CLUSTER_DIALECT = 0xC05D0001, ++ MD_NTSTATUS_WIN_STATUS_SMB_GUEST_LOGON_BLOCKED = 0xC05D0002, ++ MD_NTSTATUS_WIN_STATUS_SPACES_FAULT_DOMAIN_TYPE_INVALID = 0xC0E70001, + MD_NTSTATUS_WIN_STATUS_SPACES_RESILIENCY_TYPE_INVALID = 0xC0E70003, + MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_SECTOR_SIZE_INVALID = 0xC0E70004, ++ MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_REDUNDANCY_INVALID = 0xC0E70006, ++ MD_NTSTATUS_WIN_STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID = 0xC0E70007, + MD_NTSTATUS_WIN_STATUS_SPACES_INTERLEAVE_LENGTH_INVALID = 0xC0E70009, + MD_NTSTATUS_WIN_STATUS_SPACES_NUMBER_OF_COLUMNS_INVALID = 0xC0E7000A, +- MD_NTSTATUS_WIN_STATUS_SPACES_NOT_ENOUGH_DRIVES = 0xC0E7000B ++ MD_NTSTATUS_WIN_STATUS_SPACES_NOT_ENOUGH_DRIVES = 0xC0E7000B, ++ MD_NTSTATUS_WIN_STATUS_SPACES_EXTENDED_ERROR = 0xC0E7000C, ++ MD_NTSTATUS_WIN_STATUS_SPACES_PROVISIONING_TYPE_INVALID = 0xC0E7000D, ++ MD_NTSTATUS_WIN_STATUS_SPACES_ALLOCATION_SIZE_INVALID = 0xC0E7000E, ++ MD_NTSTATUS_WIN_STATUS_SPACES_ENCLOSURE_AWARE_INVALID = 0xC0E7000F, ++ MD_NTSTATUS_WIN_STATUS_SPACES_WRITE_CACHE_SIZE_INVALID = 0xC0E70010, ++ MD_NTSTATUS_WIN_STATUS_SPACES_NUMBER_OF_GROUPS_INVALID = 0xC0E70011, ++ MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID = 0xC0E70012, ++ MD_NTSTATUS_WIN_STATUS_SPACES_UPDATE_COLUMN_STATE = 0xC0E70013, ++ MD_NTSTATUS_WIN_STATUS_SPACES_MAP_REQUIRED = 0xC0E70014, ++ MD_NTSTATUS_WIN_STATUS_SPACES_UNSUPPORTED_VERSION = 0xC0E70015, ++ MD_NTSTATUS_WIN_STATUS_SPACES_CORRUPT_METADATA = 0xC0E70016, ++ MD_NTSTATUS_WIN_STATUS_SPACES_DRT_FULL = 0xC0E70017, ++ MD_NTSTATUS_WIN_STATUS_SPACES_INCONSISTENCY = 0xC0E70018, ++ MD_NTSTATUS_WIN_STATUS_SPACES_LOG_NOT_READY = 0xC0E70019, ++ MD_NTSTATUS_WIN_STATUS_SPACES_NO_REDUNDANCY = 0xC0E7001A, ++ MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_NOT_READY = 0xC0E7001B, ++ MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_SPLIT = 0xC0E7001C, ++ MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_LOST_DATA = 0xC0E7001D, ++ MD_NTSTATUS_WIN_STATUS_SPACES_ENTRY_INCOMPLETE = 0xC0E7001E, ++ MD_NTSTATUS_WIN_STATUS_SPACES_ENTRY_INVALID = 0xC0E7001F, ++ MD_NTSTATUS_WIN_STATUS_SPACES_MARK_DIRTY = 0xC0E70020, ++ MD_NTSTATUS_WIN_STATUS_SECCORE_INVALID_COMMAND = 0xC0E80000, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED = 0xC0E90001, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION = 0xC0E90002, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_INVALID_POLICY = 0xC0E90003, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED = 0xC0E90004, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_TOO_MANY_POLICIES = 0xC0E90005, ++ MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_SUPPLEMENTAL_POLICY_NOT_AUTHORIZED = 0xC0E90006, ++ MD_NTSTATUS_WIN_STATUS_NO_APPLICABLE_APP_LICENSES_FOUND = 0xC0EA0001, ++ MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_NOT_FOUND = 0xC0EA0002, ++ MD_NTSTATUS_WIN_STATUS_CLIP_DEVICE_LICENSE_MISSING = 0xC0EA0003, ++ MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_INVALID_SIGNATURE = 0xC0EA0004, ++ MD_NTSTATUS_WIN_STATUS_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID = 0xC0EA0005, ++ MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_EXPIRED = 0xC0EA0006, ++ MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE = 0xC0EA0007, ++ MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_NOT_SIGNED = 0xC0EA0008, ++ MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE = 0xC0EA0009, ++ MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_DEVICE_ID_MISMATCH = 0xC0EA000A, ++ MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_NOT_AUTHORIZED = 0xC0EB0001, ++ MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_INVALID = 0xC0EB0002, ++ MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_FILE_NOT_AUTHORIZED = 0xC0EB0003, ++ MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_CATALOG_NOT_AUTHORIZED = 0xC0EB0004, ++ MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_BINARY_ID_NOT_FOUND = 0xC0EB0005, ++ MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_NOT_ACTIVE = 0xC0EB0006, ++ MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_NOT_SIGNED = 0xC0EB0007, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_CONDITION_NOT_SATISFIED = 0xC0EC0000, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_HANDLE_INVALIDATED = 0xC0EC0001, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_INVALID_HOST_GENERATION = 0xC0EC0002, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_UNEXPECTED_PROCESS_REGISTRATION = 0xC0EC0003, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_INVALID_HOST_STATE = 0xC0EC0004, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_NO_DONOR = 0xC0EC0005, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_HOST_ID_MISMATCH = 0xC0EC0006, ++ MD_NTSTATUS_WIN_STATUS_APPEXEC_UNKNOWN_USER = 0xC0EC0007, + } MDNTStatusCodeWin; + + // These constants are defined in the MSDN documentation of + // the EXCEPTION_RECORD structure. + typedef enum { + MD_ACCESS_VIOLATION_WIN_READ = 0, + MD_ACCESS_VIOLATION_WIN_WRITE = 1, + MD_ACCESS_VIOLATION_WIN_EXEC = 8 +diff --git a/src/processor/exploitability_win.cc b/src/processor/exploitability_win.cc +--- a/src/processor/exploitability_win.cc ++++ b/src/processor/exploitability_win.cc +@@ -147,18 +147,18 @@ ExploitabilityRating ExploitabilityWin:: + break; + + // These represent bugs in exception handlers. + case MD_EXCEPTION_CODE_WIN_INVALID_DISPOSITION: + case MD_EXCEPTION_CODE_WIN_NONCONTINUABLE_EXCEPTION: + exploitability_weight += kSmallBump; + break; + +- case MD_EXCEPTION_CODE_WIN_HEAP_CORRUPTION: +- case MD_EXCEPTION_CODE_WIN_STACK_BUFFER_OVERRUN: ++ case MD_NTSTATUS_WIN_STATUS_HEAP_CORRUPTION: ++ case MD_NTSTATUS_WIN_STATUS_STACK_BUFFER_OVERRUN: + exploitability_weight += kHugeBump; + break; + + case MD_EXCEPTION_CODE_WIN_GUARD_PAGE_VIOLATION: + exploitability_weight += kLargeBump; + break; + + case MD_EXCEPTION_CODE_WIN_ACCESS_VIOLATION: +diff --git a/src/processor/minidump_processor.cc b/src/processor/minidump_processor.cc +--- a/src/processor/minidump_processor.cc ++++ b/src/processor/minidump_processor.cc +@@ -1138,19 +1138,16 @@ string MinidumpProcessor::GetCrashReason + break; + } + break; + } + + case MD_OS_WIN32_NT: + case MD_OS_WIN32_WINDOWS: { + switch (exception_code) { +- case MD_EXCEPTION_CODE_WIN_CONTROL_C: +- reason = "DBG_CONTROL_C"; +- break; + case MD_EXCEPTION_CODE_WIN_GUARD_PAGE_VIOLATION: + reason = "EXCEPTION_GUARD_PAGE"; + break; + case MD_EXCEPTION_CODE_WIN_DATATYPE_MISALIGNMENT: + reason = "EXCEPTION_DATATYPE_MISALIGNMENT"; + break; + case MD_EXCEPTION_CODE_WIN_BREAKPOINT: + reason = "EXCEPTION_BREAKPOINT"; +@@ -1245,17 +1242,17 @@ string MinidumpProcessor::GetCrashReason + break; + case MD_EXCEPTION_CODE_WIN_NONCONTINUABLE_EXCEPTION: + reason = "EXCEPTION_NONCONTINUABLE_EXCEPTION"; + break; + case MD_EXCEPTION_CODE_WIN_INVALID_DISPOSITION: + reason = "EXCEPTION_INVALID_DISPOSITION"; + break; + case MD_EXCEPTION_CODE_WIN_ARRAY_BOUNDS_EXCEEDED: +- reason = "EXCEPTION_BOUNDS_EXCEEDED"; ++ reason = "EXCEPTION_ARRAY_BOUNDS_EXCEEDED"; + break; + case MD_EXCEPTION_CODE_WIN_FLOAT_DENORMAL_OPERAND: + reason = "EXCEPTION_FLT_DENORMAL_OPERAND"; + break; + case MD_EXCEPTION_CODE_WIN_FLOAT_DIVIDE_BY_ZERO: + reason = "EXCEPTION_FLT_DIVIDE_BY_ZERO"; + break; + case MD_EXCEPTION_CODE_WIN_FLOAT_INEXACT_RESULT: +@@ -1286,41 +1283,41 @@ string MinidumpProcessor::GetCrashReason + reason = "EXCEPTION_STACK_OVERFLOW"; + break; + case MD_EXCEPTION_CODE_WIN_BAD_FUNCTION_TABLE: + reason = "EXCEPTION_BAD_FUNCTION_TABLE"; + break; + case MD_EXCEPTION_CODE_WIN_POSSIBLE_DEADLOCK: + reason = "EXCEPTION_POSSIBLE_DEADLOCK"; + break; +- case MD_EXCEPTION_CODE_WIN_STACK_BUFFER_OVERRUN: +- reason = "EXCEPTION_STACK_BUFFER_OVERRUN"; ++ case MD_NTSTATUS_WIN_STATUS_STACK_BUFFER_OVERRUN: ++ reason = "STATUS_STACK_BUFFER_OVERRUN"; + if (raw_exception->exception_record.number_parameters > 0) { + uint32_t fast_fail_code = + static_cast<uint32_t> + (raw_exception->exception_record.exception_information[0]); + reason.append(" / "); + reason.append(FastFailToString(fast_fail_code)); + } + + break; +- case MD_EXCEPTION_CODE_WIN_HEAP_CORRUPTION: +- reason = "EXCEPTION_HEAP_CORRUPTION"; +- break; + case MD_EXCEPTION_OUT_OF_MEMORY: + reason = "Out of Memory"; + break; + case MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION: + reason = "Unhandled C++ Exception"; + break; + case MD_EXCEPTION_CODE_WIN_SIMULATED: + reason = "Simulated Exception"; + break; + default: +- BPLOG(INFO) << "Unknown exception reason " << reason; ++ reason = NTStatusToString(exception_code); ++ if (reason.substr(0, 2) == "0x") { ++ BPLOG(INFO) << "Unknown exception reason " << reason; ++ } + break; + } + break; + } + + case MD_OS_ANDROID: + case MD_OS_LINUX: { + switch (exception_code) { +diff --git a/src/processor/symbolic_constants_win.cc b/src/processor/symbolic_constants_win.cc +--- a/src/processor/symbolic_constants_win.cc ++++ b/src/processor/symbolic_constants_win.cc +@@ -39,31 +39,761 @@ + #include "google_breakpad/common/breakpad_types.h" + #include "google_breakpad/common/minidump_exception_win32.h" + #include "processor/symbolic_constants_win.h" + + namespace google_breakpad { + + string NTStatusToString(uint32_t ntstatus) { + string reason; +- // The content of this switch was created from ntstatus.h in the 8.1 SDK with ++ // The content of this switch was created from ntstatus.h in the 10 SDK ++ // (version 10.0.19041.0) with + // +- // egrep '#define [A-Z_0-9]+\s+\(\(NTSTATUS\)0xC[0-9A-F]+L\)' ntstatus.h ++ // egrep '#define [A-Z_0-9]+\s+\(\(NTSTATUS\)0x[048C][0-9A-F]+L\)' ntstatus.h + // | tr -d '\r' +- // | sed -r 's@#define ([A-Z_0-9]+)\s+\(\(NTSTATUS\)(0xC[0-9A-F]+)L\).*@\2 \1@' ++ // | sed -r 's@#define ([A-Z_0-9]+)\s+\(\(NTSTATUS\)(0x[048C][0-9A-F]+)L\).*@\2 \1@' + // | sort +- // | sed -r 's@(0xC[0-9A-F]+) ([A-Z_0-9]+)@ case MD_NTSTATUS_WIN_\2:\n reason = "\2";\n break;@' ++ // | sed -r 's@(0x[048C][0-9A-F]+) ([A-Z_0-9]+)@ case MD_NTSTATUS_WIN_\2:\n reason = "\2";\n break;@' + // + // With easy copy to clipboard with + // | xclip -selection c # on linux + // | clip # on windows + // | pbcopy # on mac + // + // and then the default case added. + switch (ntstatus) { ++ case MD_NTSTATUS_WIN_STATUS_SUCCESS: ++ reason = "STATUS_SUCCESS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAIT_1: ++ reason = "STATUS_WAIT_1"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAIT_2: ++ reason = "STATUS_WAIT_2"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAIT_3: ++ reason = "STATUS_WAIT_3"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAIT_63: ++ reason = "STATUS_WAIT_63"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ABANDONED: ++ reason = "STATUS_ABANDONED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ABANDONED_WAIT_63: ++ reason = "STATUS_ABANDONED_WAIT_63"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_USER_APC: ++ reason = "STATUS_USER_APC"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ALREADY_COMPLETE: ++ reason = "STATUS_ALREADY_COMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_KERNEL_APC: ++ reason = "STATUS_KERNEL_APC"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ALERTED: ++ reason = "STATUS_ALERTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TIMEOUT: ++ reason = "STATUS_TIMEOUT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PENDING: ++ reason = "STATUS_PENDING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_REPARSE: ++ reason = "STATUS_REPARSE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_MORE_ENTRIES: ++ reason = "STATUS_MORE_ENTRIES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_ALL_ASSIGNED: ++ reason = "STATUS_NOT_ALL_ASSIGNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SOME_NOT_MAPPED: ++ reason = "STATUS_SOME_NOT_MAPPED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_OPLOCK_BREAK_IN_PROGRESS: ++ reason = "STATUS_OPLOCK_BREAK_IN_PROGRESS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VOLUME_MOUNTED: ++ reason = "STATUS_VOLUME_MOUNTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RXACT_COMMITTED: ++ reason = "STATUS_RXACT_COMMITTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOTIFY_CLEANUP: ++ reason = "STATUS_NOTIFY_CLEANUP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOTIFY_ENUM_DIR: ++ reason = "STATUS_NOTIFY_ENUM_DIR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_QUOTAS_FOR_ACCOUNT: ++ reason = "STATUS_NO_QUOTAS_FOR_ACCOUNT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED: ++ reason = "STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_TRANSITION: ++ reason = "STATUS_PAGE_FAULT_TRANSITION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_DEMAND_ZERO: ++ reason = "STATUS_PAGE_FAULT_DEMAND_ZERO"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_COPY_ON_WRITE: ++ reason = "STATUS_PAGE_FAULT_COPY_ON_WRITE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_GUARD_PAGE: ++ reason = "STATUS_PAGE_FAULT_GUARD_PAGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PAGE_FAULT_PAGING_FILE: ++ reason = "STATUS_PAGE_FAULT_PAGING_FILE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CACHE_PAGE_LOCKED: ++ reason = "STATUS_CACHE_PAGE_LOCKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CRASH_DUMP: ++ reason = "STATUS_CRASH_DUMP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BUFFER_ALL_ZEROS: ++ reason = "STATUS_BUFFER_ALL_ZEROS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_REPARSE_OBJECT: ++ reason = "STATUS_REPARSE_OBJECT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RESOURCE_REQUIREMENTS_CHANGED: ++ reason = "STATUS_RESOURCE_REQUIREMENTS_CHANGED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TRANSLATION_COMPLETE: ++ reason = "STATUS_TRANSLATION_COMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY: ++ reason = "STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOTHING_TO_TERMINATE: ++ reason = "STATUS_NOTHING_TO_TERMINATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PROCESS_NOT_IN_JOB: ++ reason = "STATUS_PROCESS_NOT_IN_JOB"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PROCESS_IN_JOB: ++ reason = "STATUS_PROCESS_IN_JOB"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VOLSNAP_HIBERNATE_READY: ++ reason = "STATUS_VOLSNAP_HIBERNATE_READY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY: ++ reason = "STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED: ++ reason = "STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_INTERRUPT_STILL_CONNECTED: ++ reason = "STATUS_INTERRUPT_STILL_CONNECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PROCESS_CLONED: ++ reason = "STATUS_PROCESS_CLONED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_LOCKED_WITH_ONLY_READERS: ++ reason = "STATUS_FILE_LOCKED_WITH_ONLY_READERS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_LOCKED_WITH_WRITERS: ++ reason = "STATUS_FILE_LOCKED_WITH_WRITERS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VALID_IMAGE_HASH: ++ reason = "STATUS_VALID_IMAGE_HASH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VALID_CATALOG_HASH: ++ reason = "STATUS_VALID_CATALOG_HASH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VALID_STRONG_CODE_HASH: ++ reason = "STATUS_VALID_STRONG_CODE_HASH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GHOSTED: ++ reason = "STATUS_GHOSTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DATA_OVERWRITTEN: ++ reason = "STATUS_DATA_OVERWRITTEN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RESOURCEMANAGER_READ_ONLY: ++ reason = "STATUS_RESOURCEMANAGER_READ_ONLY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RING_PREVIOUSLY_EMPTY: ++ reason = "STATUS_RING_PREVIOUSLY_EMPTY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RING_PREVIOUSLY_FULL: ++ reason = "STATUS_RING_PREVIOUSLY_FULL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RING_PREVIOUSLY_ABOVE_QUOTA: ++ reason = "STATUS_RING_PREVIOUSLY_ABOVE_QUOTA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RING_NEWLY_EMPTY: ++ reason = "STATUS_RING_NEWLY_EMPTY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT: ++ reason = "STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE: ++ reason = "STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_OPLOCK_HANDLE_CLOSED: ++ reason = "STATUS_OPLOCK_HANDLE_CLOSED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAIT_FOR_OPLOCK: ++ reason = "STATUS_WAIT_FOR_OPLOCK"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_REPARSE_GLOBAL: ++ reason = "STATUS_REPARSE_GLOBAL"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_EXCEPTION_HANDLED: ++ reason = "DBG_EXCEPTION_HANDLED"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_CONTINUE: ++ reason = "DBG_CONTINUE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FLT_IO_COMPLETE: ++ reason = "STATUS_FLT_IO_COMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RTPM_CONTEXT_CONTINUE: ++ reason = "STATUS_RTPM_CONTEXT_CONTINUE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RTPM_CONTEXT_COMPLETE: ++ reason = "STATUS_RTPM_CONTEXT_COMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_PENDING_PAGE_REQUESTS: ++ reason = "STATUS_HV_PENDING_PAGE_REQUESTS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_REPAIRED: ++ reason = "STATUS_SPACES_REPAIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_PAUSE: ++ reason = "STATUS_SPACES_PAUSE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_COMPLETE: ++ reason = "STATUS_SPACES_COMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_REDIRECT: ++ reason = "STATUS_SPACES_REDIRECT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_EXISTS: ++ reason = "STATUS_OBJECT_NAME_EXISTS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_THREAD_WAS_SUSPENDED: ++ reason = "STATUS_THREAD_WAS_SUSPENDED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WORKING_SET_LIMIT_RANGE: ++ reason = "STATUS_WORKING_SET_LIMIT_RANGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_IMAGE_NOT_AT_BASE: ++ reason = "STATUS_IMAGE_NOT_AT_BASE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RXACT_STATE_CREATED: ++ reason = "STATUS_RXACT_STATE_CREATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SEGMENT_NOTIFICATION: ++ reason = "STATUS_SEGMENT_NOTIFICATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_LOCAL_USER_SESSION_KEY: ++ reason = "STATUS_LOCAL_USER_SESSION_KEY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BAD_CURRENT_DIRECTORY: ++ reason = "STATUS_BAD_CURRENT_DIRECTORY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SERIAL_MORE_WRITES: ++ reason = "STATUS_SERIAL_MORE_WRITES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_REGISTRY_RECOVERED: ++ reason = "STATUS_REGISTRY_RECOVERED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FT_READ_RECOVERY_FROM_BACKUP: ++ reason = "STATUS_FT_READ_RECOVERY_FROM_BACKUP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FT_WRITE_RECOVERY: ++ reason = "STATUS_FT_WRITE_RECOVERY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SERIAL_COUNTER_TIMEOUT: ++ reason = "STATUS_SERIAL_COUNTER_TIMEOUT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NULL_LM_PASSWORD: ++ reason = "STATUS_NULL_LM_PASSWORD"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_IMAGE_MACHINE_TYPE_MISMATCH: ++ reason = "STATUS_IMAGE_MACHINE_TYPE_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RECEIVE_PARTIAL: ++ reason = "STATUS_RECEIVE_PARTIAL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RECEIVE_EXPEDITED: ++ reason = "STATUS_RECEIVE_EXPEDITED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RECEIVE_PARTIAL_EXPEDITED: ++ reason = "STATUS_RECEIVE_PARTIAL_EXPEDITED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_EVENT_DONE: ++ reason = "STATUS_EVENT_DONE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_EVENT_PENDING: ++ reason = "STATUS_EVENT_PENDING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CHECKING_FILE_SYSTEM: ++ reason = "STATUS_CHECKING_FILE_SYSTEM"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FATAL_APP_EXIT: ++ reason = "STATUS_FATAL_APP_EXIT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PREDEFINED_HANDLE: ++ reason = "STATUS_PREDEFINED_HANDLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAS_UNLOCKED: ++ reason = "STATUS_WAS_UNLOCKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SERVICE_NOTIFICATION: ++ reason = "STATUS_SERVICE_NOTIFICATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAS_LOCKED: ++ reason = "STATUS_WAS_LOCKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_LOG_HARD_ERROR: ++ reason = "STATUS_LOG_HARD_ERROR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ALREADY_WIN32: ++ reason = "STATUS_ALREADY_WIN32"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_UNSIMULATE: ++ reason = "STATUS_WX86_UNSIMULATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_CONTINUE: ++ reason = "STATUS_WX86_CONTINUE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_SINGLE_STEP: ++ reason = "STATUS_WX86_SINGLE_STEP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_BREAKPOINT: ++ reason = "STATUS_WX86_BREAKPOINT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_EXCEPTION_CONTINUE: ++ reason = "STATUS_WX86_EXCEPTION_CONTINUE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_EXCEPTION_LASTCHANCE: ++ reason = "STATUS_WX86_EXCEPTION_LASTCHANCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_EXCEPTION_CHAIN: ++ reason = "STATUS_WX86_EXCEPTION_CHAIN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE: ++ reason = "STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_YIELD_PERFORMED: ++ reason = "STATUS_NO_YIELD_PERFORMED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TIMER_RESUME_IGNORED: ++ reason = "STATUS_TIMER_RESUME_IGNORED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ARBITRATION_UNHANDLED: ++ reason = "STATUS_ARBITRATION_UNHANDLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CARDBUS_NOT_SUPPORTED: ++ reason = "STATUS_CARDBUS_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WX86_CREATEWX86TIB: ++ reason = "STATUS_WX86_CREATEWX86TIB"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_MP_PROCESSOR_MISMATCH: ++ reason = "STATUS_MP_PROCESSOR_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HIBERNATED: ++ reason = "STATUS_HIBERNATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RESUME_HIBERNATION: ++ reason = "STATUS_RESUME_HIBERNATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FIRMWARE_UPDATED: ++ reason = "STATUS_FIRMWARE_UPDATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DRIVERS_LEAKING_LOCKED_PAGES: ++ reason = "STATUS_DRIVERS_LEAKING_LOCKED_PAGES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_MESSAGE_RETRIEVED: ++ reason = "STATUS_MESSAGE_RETRIEVED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_POWERSTATE_TRANSITION: ++ reason = "STATUS_SYSTEM_POWERSTATE_TRANSITION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ALPC_CHECK_COMPLETION_LIST: ++ reason = "STATUS_ALPC_CHECK_COMPLETION_LIST"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION: ++ reason = "STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ACCESS_AUDIT_BY_POLICY: ++ reason = "STATUS_ACCESS_AUDIT_BY_POLICY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ABANDON_HIBERFILE: ++ reason = "STATUS_ABANDON_HIBERFILE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BIZRULES_NOT_ENABLED: ++ reason = "STATUS_BIZRULES_NOT_ENABLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FT_READ_FROM_COPY: ++ reason = "STATUS_FT_READ_FROM_COPY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_IMAGE_AT_DIFFERENT_BASE: ++ reason = "STATUS_IMAGE_AT_DIFFERENT_BASE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PATCH_DEFERRED: ++ reason = "STATUS_PATCH_DEFERRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAKE_SYSTEM: ++ reason = "STATUS_WAKE_SYSTEM"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DS_SHUTTING_DOWN: ++ reason = "STATUS_DS_SHUTTING_DOWN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DISK_REPAIR_REDIRECTED: ++ reason = "STATUS_DISK_REPAIR_REDIRECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SERVICES_FAILED_AUTOSTART: ++ reason = "STATUS_SERVICES_FAILED_AUTOSTART"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_REPLY_LATER: ++ reason = "DBG_REPLY_LATER"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_UNABLE_TO_PROVIDE_HANDLE: ++ reason = "DBG_UNABLE_TO_PROVIDE_HANDLE"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_TERMINATE_THREAD: ++ reason = "DBG_TERMINATE_THREAD"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_TERMINATE_PROCESS: ++ reason = "DBG_TERMINATE_PROCESS"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_CONTROL_C: ++ reason = "DBG_CONTROL_C"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_PRINTEXCEPTION_C: ++ reason = "DBG_PRINTEXCEPTION_C"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_RIPEXCEPTION: ++ reason = "DBG_RIPEXCEPTION"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_CONTROL_BREAK: ++ reason = "DBG_CONTROL_BREAK"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_COMMAND_EXCEPTION: ++ reason = "DBG_COMMAND_EXCEPTION"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_PRINTEXCEPTION_WIDE_C: ++ reason = "DBG_PRINTEXCEPTION_WIDE_C"; ++ break; ++ case MD_NTSTATUS_WIN_RPC_NT_UUID_LOCAL_ONLY: ++ reason = "RPC_NT_UUID_LOCAL_ONLY"; ++ break; ++ case MD_NTSTATUS_WIN_RPC_NT_SEND_INCOMPLETE: ++ reason = "RPC_NT_SEND_INCOMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CTX_CDM_CONNECT: ++ reason = "STATUS_CTX_CDM_CONNECT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CTX_CDM_DISCONNECT: ++ reason = "STATUS_CTX_CDM_DISCONNECT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SXS_RELEASE_ACTIVATION_CONTEXT: ++ reason = "STATUS_SXS_RELEASE_ACTIVATION_CONTEXT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HEURISTIC_DAMAGE_POSSIBLE: ++ reason = "STATUS_HEURISTIC_DAMAGE_POSSIBLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RECOVERY_NOT_NEEDED: ++ reason = "STATUS_RECOVERY_NOT_NEEDED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RM_ALREADY_STARTED: ++ reason = "STATUS_RM_ALREADY_STARTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_LOG_NO_RESTART: ++ reason = "STATUS_LOG_NO_RESTART"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST: ++ reason = "STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_PARTIAL_DATA_POPULATED: ++ reason = "STATUS_GRAPHICS_PARTIAL_DATA_POPULATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_SKIP_ALLOCATION_PREPARATION: ++ reason = "STATUS_GRAPHICS_SKIP_ALLOCATION_PREPARATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_MODE_NOT_PINNED: ++ reason = "STATUS_GRAPHICS_MODE_NOT_PINNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_NO_PREFERRED_MODE: ++ reason = "STATUS_GRAPHICS_NO_PREFERRED_MODE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_DATASET_IS_EMPTY: ++ reason = "STATUS_GRAPHICS_DATASET_IS_EMPTY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET: ++ reason = "STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED: ++ reason = "STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS: ++ reason = "STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_LEADLINK_START_DEFERRED: ++ reason = "STATUS_GRAPHICS_LEADLINK_START_DEFERRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY: ++ reason = "STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_START_DEFERRED: ++ reason = "STATUS_GRAPHICS_START_DEFERRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS: ++ reason = "STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NDIS_INDICATION_REQUIRED: ++ reason = "STATUS_NDIS_INDICATION_REQUIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_UNSUPPORTED_PSS_SALT: ++ reason = "STATUS_PCP_UNSUPPORTED_PSS_SALT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GUARD_PAGE_VIOLATION: ++ reason = "STATUS_GUARD_PAGE_VIOLATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DATATYPE_MISALIGNMENT: ++ reason = "STATUS_DATATYPE_MISALIGNMENT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BREAKPOINT: ++ reason = "STATUS_BREAKPOINT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SINGLE_STEP: ++ reason = "STATUS_SINGLE_STEP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BUFFER_OVERFLOW: ++ reason = "STATUS_BUFFER_OVERFLOW"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_MORE_FILES: ++ reason = "STATUS_NO_MORE_FILES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WAKE_SYSTEM_DEBUGGER: ++ reason = "STATUS_WAKE_SYSTEM_DEBUGGER"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HANDLES_CLOSED: ++ reason = "STATUS_HANDLES_CLOSED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_INHERITANCE: ++ reason = "STATUS_NO_INHERITANCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GUID_SUBSTITUTION_MADE: ++ reason = "STATUS_GUID_SUBSTITUTION_MADE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PARTIAL_COPY: ++ reason = "STATUS_PARTIAL_COPY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_PAPER_EMPTY: ++ reason = "STATUS_DEVICE_PAPER_EMPTY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_POWERED_OFF: ++ reason = "STATUS_DEVICE_POWERED_OFF"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_OFF_LINE: ++ reason = "STATUS_DEVICE_OFF_LINE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_BUSY: ++ reason = "STATUS_DEVICE_BUSY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_MORE_EAS: ++ reason = "STATUS_NO_MORE_EAS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_INVALID_EA_NAME: ++ reason = "STATUS_INVALID_EA_NAME"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_EA_LIST_INCONSISTENT: ++ reason = "STATUS_EA_LIST_INCONSISTENT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_INVALID_EA_FLAG: ++ reason = "STATUS_INVALID_EA_FLAG"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VERIFY_REQUIRED: ++ reason = "STATUS_VERIFY_REQUIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_EXTRANEOUS_INFORMATION: ++ reason = "STATUS_EXTRANEOUS_INFORMATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RXACT_COMMIT_NECESSARY: ++ reason = "STATUS_RXACT_COMMIT_NECESSARY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_MORE_ENTRIES: ++ reason = "STATUS_NO_MORE_ENTRIES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILEMARK_DETECTED: ++ reason = "STATUS_FILEMARK_DETECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_MEDIA_CHANGED: ++ reason = "STATUS_MEDIA_CHANGED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BUS_RESET: ++ reason = "STATUS_BUS_RESET"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_END_OF_MEDIA: ++ reason = "STATUS_END_OF_MEDIA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BEGINNING_OF_MEDIA: ++ reason = "STATUS_BEGINNING_OF_MEDIA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_MEDIA_CHECK: ++ reason = "STATUS_MEDIA_CHECK"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SETMARK_DETECTED: ++ reason = "STATUS_SETMARK_DETECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_DATA_DETECTED: ++ reason = "STATUS_NO_DATA_DETECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_REDIRECTOR_HAS_OPEN_HANDLES: ++ reason = "STATUS_REDIRECTOR_HAS_OPEN_HANDLES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SERVER_HAS_OPEN_HANDLES: ++ reason = "STATUS_SERVER_HAS_OPEN_HANDLES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ALREADY_DISCONNECTED: ++ reason = "STATUS_ALREADY_DISCONNECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_LONGJUMP: ++ reason = "STATUS_LONGJUMP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLEANER_CARTRIDGE_INSTALLED: ++ reason = "STATUS_CLEANER_CARTRIDGE_INSTALLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLUGPLAY_QUERY_VETOED: ++ reason = "STATUS_PLUGPLAY_QUERY_VETOED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_UNWIND_CONSOLIDATE: ++ reason = "STATUS_UNWIND_CONSOLIDATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_REGISTRY_HIVE_RECOVERED: ++ reason = "STATUS_REGISTRY_HIVE_RECOVERED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DLL_MIGHT_BE_INSECURE: ++ reason = "STATUS_DLL_MIGHT_BE_INSECURE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DLL_MIGHT_BE_INCOMPATIBLE: ++ reason = "STATUS_DLL_MIGHT_BE_INCOMPATIBLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STOPPED_ON_SYMLINK: ++ reason = "STATUS_STOPPED_ON_SYMLINK"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CANNOT_GRANT_REQUESTED_OPLOCK: ++ reason = "STATUS_CANNOT_GRANT_REQUESTED_OPLOCK"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_ACE_CONDITION: ++ reason = "STATUS_NO_ACE_CONDITION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_SUPPORT_IN_PROGRESS: ++ reason = "STATUS_DEVICE_SUPPORT_IN_PROGRESS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_POWER_CYCLE_REQUIRED: ++ reason = "STATUS_DEVICE_POWER_CYCLE_REQUIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_WORK_DONE: ++ reason = "STATUS_NO_WORK_DONE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RETURN_ADDRESS_HIJACK_ATTEMPT: ++ reason = "STATUS_RETURN_ADDRESS_HIJACK_ATTEMPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_REQUIRES_CLEANING: ++ reason = "STATUS_DEVICE_REQUIRES_CLEANING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_DOOR_OPEN: ++ reason = "STATUS_DEVICE_DOOR_OPEN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DATA_LOST_REPAIR: ++ reason = "STATUS_DATA_LOST_REPAIR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GPIO_INTERRUPT_ALREADY_UNMASKED: ++ reason = "STATUS_GPIO_INTERRUPT_ALREADY_UNMASKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_BLOB_CHECKSUM_MISMATCH: ++ reason = "STATUS_CLOUD_FILE_PROPERTY_BLOB_CHECKSUM_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_BLOB_TOO_LARGE: ++ reason = "STATUS_CLOUD_FILE_PROPERTY_BLOB_TOO_LARGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_TOO_MANY_PROPERTY_BLOBS: ++ reason = "STATUS_CLOUD_FILE_TOO_MANY_PROPERTY_BLOBS"; ++ break; ++ case MD_NTSTATUS_WIN_DBG_EXCEPTION_NOT_HANDLED: ++ reason = "DBG_EXCEPTION_NOT_HANDLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_NODE_ALREADY_UP: ++ reason = "STATUS_CLUSTER_NODE_ALREADY_UP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_NODE_ALREADY_DOWN: ++ reason = "STATUS_CLUSTER_NODE_ALREADY_DOWN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_NETWORK_ALREADY_ONLINE: ++ reason = "STATUS_CLUSTER_NETWORK_ALREADY_ONLINE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE: ++ reason = "STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_NODE_ALREADY_MEMBER: ++ reason = "STATUS_CLUSTER_NODE_ALREADY_MEMBER"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_COULD_NOT_RESIZE_LOG: ++ reason = "STATUS_COULD_NOT_RESIZE_LOG"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_TXF_METADATA: ++ reason = "STATUS_NO_TXF_METADATA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CANT_RECOVER_WITH_HANDLE_OPEN: ++ reason = "STATUS_CANT_RECOVER_WITH_HANDLE_OPEN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TXF_METADATA_ALREADY_PRESENT: ++ reason = "STATUS_TXF_METADATA_ALREADY_PRESENT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET: ++ reason = "STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED: ++ reason = "STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FLT_BUFFER_TOO_SMALL: ++ reason = "STATUS_FLT_BUFFER_TOO_SMALL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FVE_PARTIAL_METADATA: ++ reason = "STATUS_FVE_PARTIAL_METADATA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FVE_TRANSIENT_STATE: ++ reason = "STATUS_FVE_TRANSIENT_STATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VID_REMOTE_NODE_PARENT_GPA_PAGES_USED: ++ reason = "STATUS_VID_REMOTE_NODE_PARENT_GPA_PAGES_USED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VOLMGR_INCOMPLETE_REGENERATION: ++ reason = "STATUS_VOLMGR_INCOMPLETE_REGENERATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VOLMGR_INCOMPLETE_DISK_MIGRATION: ++ reason = "STATUS_VOLMGR_INCOMPLETE_DISK_MIGRATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BCD_NOT_ALL_ENTRIES_IMPORTED: ++ reason = "STATUS_BCD_NOT_ALL_ENTRIES_IMPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED: ++ reason = "STATUS_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_QUERY_STORAGE_ERROR: ++ reason = "STATUS_QUERY_STORAGE_ERROR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GDI_HANDLE_LEAK: ++ reason = "STATUS_GDI_HANDLE_LEAK"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_NOT_ENABLED: ++ reason = "STATUS_SECUREBOOT_NOT_ENABLED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_UNSUCCESSFUL: + reason = "STATUS_UNSUCCESSFUL"; + break; + case MD_NTSTATUS_WIN_STATUS_NOT_IMPLEMENTED: + reason = "STATUS_NOT_IMPLEMENTED"; + break; + case MD_NTSTATUS_WIN_STATUS_INVALID_INFO_CLASS: + reason = "STATUS_INVALID_INFO_CLASS"; +@@ -213,16 +943,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_OBJECT_NAME_INVALID"; + break; + case MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_NOT_FOUND: + reason = "STATUS_OBJECT_NAME_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_COLLISION: + reason = "STATUS_OBJECT_NAME_COLLISION"; + break; ++ case MD_NTSTATUS_WIN_STATUS_PORT_DO_NOT_DISTURB: ++ reason = "STATUS_PORT_DO_NOT_DISTURB"; ++ break; + case MD_NTSTATUS_WIN_STATUS_PORT_DISCONNECTED: + reason = "STATUS_PORT_DISCONNECTED"; + break; + case MD_NTSTATUS_WIN_STATUS_DEVICE_ALREADY_ATTACHED: + reason = "STATUS_DEVICE_ALREADY_ATTACHED"; + break; + case MD_NTSTATUS_WIN_STATUS_OBJECT_PATH_INVALID: + reason = "STATUS_OBJECT_PATH_INVALID"; +@@ -1317,16 +2050,40 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_REPAIR_NEEDED"; + break; + case MD_NTSTATUS_WIN_STATUS_QUOTA_NOT_ENABLED: + reason = "STATUS_QUOTA_NOT_ENABLED"; + break; + case MD_NTSTATUS_WIN_STATUS_NO_APPLICATION_PACKAGE: + reason = "STATUS_NO_APPLICATION_PACKAGE"; + break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_METADATA_OPTIMIZATION_IN_PROGRESS: ++ reason = "STATUS_FILE_METADATA_OPTIMIZATION_IN_PROGRESS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_SAME_OBJECT: ++ reason = "STATUS_NOT_SAME_OBJECT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FATAL_MEMORY_EXHAUSTION: ++ reason = "STATUS_FATAL_MEMORY_EXHAUSTION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ERROR_PROCESS_NOT_IN_JOB: ++ reason = "STATUS_ERROR_PROCESS_NOT_IN_JOB"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CPU_SET_INVALID: ++ reason = "STATUS_CPU_SET_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_IO_DEVICE_INVALID_DATA: ++ reason = "STATUS_IO_DEVICE_INVALID_DATA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_IO_UNALIGNED_WRITE: ++ reason = "STATUS_IO_UNALIGNED_WRITE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CONTROL_STACK_VIOLATION: ++ reason = "STATUS_CONTROL_STACK_VIOLATION"; ++ break; + case MD_NTSTATUS_WIN_STATUS_NETWORK_OPEN_RESTRICTION: + reason = "STATUS_NETWORK_OPEN_RESTRICTION"; + break; + case MD_NTSTATUS_WIN_STATUS_NO_USER_SESSION_KEY: + reason = "STATUS_NO_USER_SESSION_KEY"; + break; + case MD_NTSTATUS_WIN_STATUS_USER_SESSION_DELETED: + reason = "STATUS_USER_SESSION_DELETED"; +@@ -1662,16 +2419,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_IO_REPARSE_TAG_NOT_HANDLED"; + break; + case MD_NTSTATUS_WIN_STATUS_PWD_TOO_LONG: + reason = "STATUS_PWD_TOO_LONG"; + break; + case MD_NTSTATUS_WIN_STATUS_STOWED_EXCEPTION: + reason = "STATUS_STOWED_EXCEPTION"; + break; ++ case MD_NTSTATUS_WIN_STATUS_CONTEXT_STOWED_EXCEPTION: ++ reason = "STATUS_CONTEXT_STOWED_EXCEPTION"; ++ break; + case MD_NTSTATUS_WIN_STATUS_REPARSE_POINT_NOT_RESOLVED: + reason = "STATUS_REPARSE_POINT_NOT_RESOLVED"; + break; + case MD_NTSTATUS_WIN_STATUS_DIRECTORY_IS_A_REPARSE_POINT: + reason = "STATUS_DIRECTORY_IS_A_REPARSE_POINT"; + break; + case MD_NTSTATUS_WIN_STATUS_RANGE_LIST_CONFLICT: + reason = "STATUS_RANGE_LIST_CONFLICT"; +@@ -2058,16 +2818,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_CSS_REGION_MISMATCH"; + break; + case MD_NTSTATUS_WIN_STATUS_CSS_RESETS_EXHAUSTED: + reason = "STATUS_CSS_RESETS_EXHAUSTED"; + break; + case MD_NTSTATUS_WIN_STATUS_PASSWORD_CHANGE_REQUIRED: + reason = "STATUS_PASSWORD_CHANGE_REQUIRED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_LOST_MODE_LOGON_RESTRICTION: ++ reason = "STATUS_LOST_MODE_LOGON_RESTRICTION"; ++ break; + case MD_NTSTATUS_WIN_STATUS_PKINIT_FAILURE: + reason = "STATUS_PKINIT_FAILURE"; + break; + case MD_NTSTATUS_WIN_STATUS_SMARTCARD_SUBSYSTEM_FAILURE: + reason = "STATUS_SMARTCARD_SUBSYSTEM_FAILURE"; + break; + case MD_NTSTATUS_WIN_STATUS_NO_KERB_KEY: + reason = "STATUS_NO_KERB_KEY"; +@@ -2454,16 +3217,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_FT_DI_SCAN_REQUIRED"; + break; + case MD_NTSTATUS_WIN_STATUS_OBJECT_NOT_EXTERNALLY_BACKED: + reason = "STATUS_OBJECT_NOT_EXTERNALLY_BACKED"; + break; + case MD_NTSTATUS_WIN_STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN: + reason = "STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN"; + break; ++ case MD_NTSTATUS_WIN_STATUS_COMPRESSION_NOT_BENEFICIAL: ++ reason = "STATUS_COMPRESSION_NOT_BENEFICIAL"; ++ break; + case MD_NTSTATUS_WIN_STATUS_DATA_CHECKSUM_ERROR: + reason = "STATUS_DATA_CHECKSUM_ERROR"; + break; + case MD_NTSTATUS_WIN_STATUS_INTERMIXED_KERNEL_EA_OPERATION: + reason = "STATUS_INTERMIXED_KERNEL_EA_OPERATION"; + break; + case MD_NTSTATUS_WIN_STATUS_TRIM_READ_ZERO_NOT_SUPPORTED: + reason = "STATUS_TRIM_READ_ZERO_NOT_SUPPORTED"; +@@ -2514,16 +3280,181 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_APISET_NOT_HOSTED"; + break; + case MD_NTSTATUS_WIN_STATUS_APISET_NOT_PRESENT: + reason = "STATUS_APISET_NOT_PRESENT"; + break; + case MD_NTSTATUS_WIN_STATUS_DEVICE_HARDWARE_ERROR: + reason = "STATUS_DEVICE_HARDWARE_ERROR"; + break; ++ case MD_NTSTATUS_WIN_STATUS_FIRMWARE_SLOT_INVALID: ++ reason = "STATUS_FIRMWARE_SLOT_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FIRMWARE_IMAGE_INVALID: ++ reason = "STATUS_FIRMWARE_IMAGE_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STORAGE_TOPOLOGY_ID_MISMATCH: ++ reason = "STATUS_STORAGE_TOPOLOGY_ID_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WIM_NOT_BOOTABLE: ++ reason = "STATUS_WIM_NOT_BOOTABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BLOCKED_BY_PARENTAL_CONTROLS: ++ reason = "STATUS_BLOCKED_BY_PARENTAL_CONTROLS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NEEDS_REGISTRATION: ++ reason = "STATUS_NEEDS_REGISTRATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_QUOTA_ACTIVITY: ++ reason = "STATUS_QUOTA_ACTIVITY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CALLBACK_INVOKE_INLINE: ++ reason = "STATUS_CALLBACK_INVOKE_INLINE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_BLOCK_TOO_MANY_REFERENCES: ++ reason = "STATUS_BLOCK_TOO_MANY_REFERENCES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_MARKED_TO_DISALLOW_WRITES: ++ reason = "STATUS_MARKED_TO_DISALLOW_WRITES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NETWORK_ACCESS_DENIED_EDP: ++ reason = "STATUS_NETWORK_ACCESS_DENIED_EDP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ENCLAVE_FAILURE: ++ reason = "STATUS_ENCLAVE_FAILURE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PNP_NO_COMPAT_DRIVERS: ++ reason = "STATUS_PNP_NO_COMPAT_DRIVERS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PNP_DRIVER_PACKAGE_NOT_FOUND: ++ reason = "STATUS_PNP_DRIVER_PACKAGE_NOT_FOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PNP_DRIVER_CONFIGURATION_NOT_FOUND: ++ reason = "STATUS_PNP_DRIVER_CONFIGURATION_NOT_FOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PNP_DRIVER_CONFIGURATION_INCOMPLETE: ++ reason = "STATUS_PNP_DRIVER_CONFIGURATION_INCOMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PNP_FUNCTION_DRIVER_REQUIRED: ++ reason = "STATUS_PNP_FUNCTION_DRIVER_REQUIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PNP_DEVICE_CONFIGURATION_PENDING: ++ reason = "STATUS_PNP_DEVICE_CONFIGURATION_PENDING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_HINT_NAME_BUFFER_TOO_SMALL: ++ reason = "STATUS_DEVICE_HINT_NAME_BUFFER_TOO_SMALL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PACKAGE_NOT_AVAILABLE: ++ reason = "STATUS_PACKAGE_NOT_AVAILABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_IN_MAINTENANCE: ++ reason = "STATUS_DEVICE_IN_MAINTENANCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED_ON_DAX: ++ reason = "STATUS_NOT_SUPPORTED_ON_DAX"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FREE_SPACE_TOO_FRAGMENTED: ++ reason = "STATUS_FREE_SPACE_TOO_FRAGMENTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DAX_MAPPING_EXISTS: ++ reason = "STATUS_DAX_MAPPING_EXISTS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CHILD_PROCESS_BLOCKED: ++ reason = "STATUS_CHILD_PROCESS_BLOCKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STORAGE_LOST_DATA_PERSISTENCE: ++ reason = "STATUS_STORAGE_LOST_DATA_PERSISTENCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VRF_CFG_AND_IO_ENABLED: ++ reason = "STATUS_VRF_CFG_AND_IO_ENABLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PARTITION_TERMINATING: ++ reason = "STATUS_PARTITION_TERMINATING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED: ++ reason = "STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ENCLAVE_VIOLATION: ++ reason = "STATUS_ENCLAVE_VIOLATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_PROTECTED_UNDER_DPL: ++ reason = "STATUS_FILE_PROTECTED_UNDER_DPL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VOLUME_NOT_CLUSTER_ALIGNED: ++ reason = "STATUS_VOLUME_NOT_CLUSTER_ALIGNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_PHYSICALLY_ALIGNED_FREE_SPACE_FOUND: ++ reason = "STATUS_NO_PHYSICALLY_ALIGNED_FREE_SPACE_FOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPX_FILE_NOT_ENCRYPTED: ++ reason = "STATUS_APPX_FILE_NOT_ENCRYPTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_FILE_NOT_ENCRYPTED: ++ reason = "STATUS_RWRAW_ENCRYPTED_FILE_NOT_ENCRYPTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET: ++ reason = "STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILERANGE: ++ reason = "STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILERANGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_PARAMETER: ++ reason = "STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_PARAMETER"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FT_READ_FAILURE: ++ reason = "STATUS_FT_READ_FAILURE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PATCH_CONFLICT: ++ reason = "STATUS_PATCH_CONFLICT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_ID_INVALID: ++ reason = "STATUS_STORAGE_RESERVE_ID_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_DOES_NOT_EXIST: ++ reason = "STATUS_STORAGE_RESERVE_DOES_NOT_EXIST"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_ALREADY_EXISTS: ++ reason = "STATUS_STORAGE_RESERVE_ALREADY_EXISTS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STORAGE_RESERVE_NOT_EMPTY: ++ reason = "STATUS_STORAGE_RESERVE_NOT_EMPTY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_A_DAX_VOLUME: ++ reason = "STATUS_NOT_A_DAX_VOLUME"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_DAX_MAPPABLE: ++ reason = "STATUS_NOT_DAX_MAPPABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CASE_DIFFERING_NAMES_IN_DIR: ++ reason = "STATUS_CASE_DIFFERING_NAMES_IN_DIR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_NOT_SUPPORTED: ++ reason = "STATUS_FILE_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED_WITH_BTT: ++ reason = "STATUS_NOT_SUPPORTED_WITH_BTT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ENCRYPTION_DISABLED: ++ reason = "STATUS_ENCRYPTION_DISABLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ENCRYPTING_METADATA_DISALLOWED: ++ reason = "STATUS_ENCRYPTING_METADATA_DISALLOWED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CANT_CLEAR_ENCRYPTION_FLAG: ++ reason = "STATUS_CANT_CLEAR_ENCRYPTION_FLAG"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_UNSATISFIED_DEPENDENCIES: ++ reason = "STATUS_UNSATISFIED_DEPENDENCIES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CASE_SENSITIVE_PATH: ++ reason = "STATUS_CASE_SENSITIVE_PATH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HAS_SYSTEM_CRITICAL_FILES: ++ reason = "STATUS_HAS_SYSTEM_CRITICAL_FILES"; ++ break; + case MD_NTSTATUS_WIN_STATUS_INVALID_TASK_NAME: + reason = "STATUS_INVALID_TASK_NAME"; + break; + case MD_NTSTATUS_WIN_STATUS_INVALID_TASK_INDEX: + reason = "STATUS_INVALID_TASK_INDEX"; + break; + case MD_NTSTATUS_WIN_STATUS_THREAD_ALREADY_IN_TASK: + reason = "STATUS_THREAD_ALREADY_IN_TASK"; +@@ -2535,25 +3466,85 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_UNDEFINED_SCOPE"; + break; + case MD_NTSTATUS_WIN_STATUS_INVALID_CAP: + reason = "STATUS_INVALID_CAP"; + break; + case MD_NTSTATUS_WIN_STATUS_NOT_GUI_PROCESS: + reason = "STATUS_NOT_GUI_PROCESS"; + break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_HUNG: ++ reason = "STATUS_DEVICE_HUNG"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CONTAINER_ASSIGNED: ++ reason = "STATUS_CONTAINER_ASSIGNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_JOB_NO_CONTAINER: ++ reason = "STATUS_JOB_NO_CONTAINER"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_DEVICE_UNRESPONSIVE: ++ reason = "STATUS_DEVICE_UNRESPONSIVE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_REPARSE_POINT_ENCOUNTERED: ++ reason = "STATUS_REPARSE_POINT_ENCOUNTERED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ATTRIBUTE_NOT_PRESENT: ++ reason = "STATUS_ATTRIBUTE_NOT_PRESENT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_A_TIERED_VOLUME: ++ reason = "STATUS_NOT_A_TIERED_VOLUME"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ALREADY_HAS_STREAM_ID: ++ reason = "STATUS_ALREADY_HAS_STREAM_ID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_JOB_NOT_EMPTY: ++ reason = "STATUS_JOB_NOT_EMPTY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ALREADY_INITIALIZED: ++ reason = "STATUS_ALREADY_INITIALIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ENCLAVE_NOT_TERMINATED: ++ reason = "STATUS_ENCLAVE_NOT_TERMINATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ENCLAVE_IS_TERMINATING: ++ reason = "STATUS_ENCLAVE_IS_TERMINATING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SMB1_NOT_AVAILABLE: ++ reason = "STATUS_SMB1_NOT_AVAILABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SMR_GARBAGE_COLLECTION_REQUIRED: ++ reason = "STATUS_SMR_GARBAGE_COLLECTION_REQUIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_INTERRUPTED: ++ reason = "STATUS_INTERRUPTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_THREAD_NOT_RUNNING: ++ reason = "STATUS_THREAD_NOT_RUNNING"; ++ break; + case MD_NTSTATUS_WIN_STATUS_FAIL_FAST_EXCEPTION: + reason = "STATUS_FAIL_FAST_EXCEPTION"; + break; + case MD_NTSTATUS_WIN_STATUS_IMAGE_CERT_REVOKED: + reason = "STATUS_IMAGE_CERT_REVOKED"; + break; + case MD_NTSTATUS_WIN_STATUS_DYNAMIC_CODE_BLOCKED: + reason = "STATUS_DYNAMIC_CODE_BLOCKED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_IMAGE_CERT_EXPIRED: ++ reason = "STATUS_IMAGE_CERT_EXPIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_STRICT_CFG_VIOLATION: ++ reason = "STATUS_STRICT_CFG_VIOLATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SET_CONTEXT_DENIED: ++ reason = "STATUS_SET_CONTEXT_DENIED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CROSS_PARTITION_VIOLATION: ++ reason = "STATUS_CROSS_PARTITION_VIOLATION"; ++ break; + case MD_NTSTATUS_WIN_STATUS_PORT_CLOSED: + reason = "STATUS_PORT_CLOSED"; + break; + case MD_NTSTATUS_WIN_STATUS_MESSAGE_LOST: + reason = "STATUS_MESSAGE_LOST"; + break; + case MD_NTSTATUS_WIN_STATUS_INVALID_MESSAGE: + reason = "STATUS_INVALID_MESSAGE"; +@@ -2646,16 +3637,31 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_CALLBACK_RETURNED_LANG"; + break; + case MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_PRI_BACK: + reason = "STATUS_CALLBACK_RETURNED_PRI_BACK"; + break; + case MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_THREAD_AFFINITY: + reason = "STATUS_CALLBACK_RETURNED_THREAD_AFFINITY"; + break; ++ case MD_NTSTATUS_WIN_STATUS_LPC_HANDLE_COUNT_EXCEEDED: ++ reason = "STATUS_LPC_HANDLE_COUNT_EXCEEDED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_EXECUTABLE_MEMORY_WRITE: ++ reason = "STATUS_EXECUTABLE_MEMORY_WRITE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_KERNEL_EXECUTABLE_MEMORY_WRITE: ++ reason = "STATUS_KERNEL_EXECUTABLE_MEMORY_WRITE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ATTACHED_EXECUTABLE_MEMORY_WRITE: ++ reason = "STATUS_ATTACHED_EXECUTABLE_MEMORY_WRITE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TRIGGERED_EXECUTABLE_MEMORY_WRITE: ++ reason = "STATUS_TRIGGERED_EXECUTABLE_MEMORY_WRITE"; ++ break; + case MD_NTSTATUS_WIN_STATUS_DISK_REPAIR_DISABLED: + reason = "STATUS_DISK_REPAIR_DISABLED"; + break; + case MD_NTSTATUS_WIN_STATUS_DS_DOMAIN_RENAME_IN_PROGRESS: + reason = "STATUS_DS_DOMAIN_RENAME_IN_PROGRESS"; + break; + case MD_NTSTATUS_WIN_STATUS_DISK_QUOTA_EXCEEDED: + reason = "STATUS_DISK_QUOTA_EXCEEDED"; +@@ -2754,16 +3760,25 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_INVALID_STATE_TRANSITION"; + break; + case MD_NTSTATUS_WIN_STATUS_INVALID_KERNEL_INFO_VERSION: + reason = "STATUS_INVALID_KERNEL_INFO_VERSION"; + break; + case MD_NTSTATUS_WIN_STATUS_INVALID_PEP_INFO_VERSION: + reason = "STATUS_INVALID_PEP_INFO_VERSION"; + break; ++ case MD_NTSTATUS_WIN_STATUS_HANDLE_REVOKED: ++ reason = "STATUS_HANDLE_REVOKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_EOF_ON_GHOSTED_RANGE: ++ reason = "STATUS_EOF_ON_GHOSTED_RANGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CC_NEEDS_CALLBACK_SECTION_DRAIN: ++ reason = "STATUS_CC_NEEDS_CALLBACK_SECTION_DRAIN"; ++ break; + case MD_NTSTATUS_WIN_STATUS_IPSEC_QUEUE_OVERFLOW: + reason = "STATUS_IPSEC_QUEUE_OVERFLOW"; + break; + case MD_NTSTATUS_WIN_STATUS_ND_QUEUE_OVERFLOW: + reason = "STATUS_ND_QUEUE_OVERFLOW"; + break; + case MD_NTSTATUS_WIN_STATUS_HOPLIMIT_EXCEEDED: + reason = "STATUS_HOPLIMIT_EXCEEDED"; +@@ -2847,16 +3862,22 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_NOT_APPCONTAINER"; + break; + case MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED_IN_APPCONTAINER: + reason = "STATUS_NOT_SUPPORTED_IN_APPCONTAINER"; + break; + case MD_NTSTATUS_WIN_STATUS_INVALID_PACKAGE_SID_LENGTH: + reason = "STATUS_INVALID_PACKAGE_SID_LENGTH"; + break; ++ case MD_NTSTATUS_WIN_STATUS_LPAC_ACCESS_DENIED: ++ reason = "STATUS_LPAC_ACCESS_DENIED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_ADMINLESS_ACCESS_DENIED: ++ reason = "STATUS_ADMINLESS_ACCESS_DENIED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_APP_DATA_NOT_FOUND: + reason = "STATUS_APP_DATA_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_APP_DATA_EXPIRED: + reason = "STATUS_APP_DATA_EXPIRED"; + break; + case MD_NTSTATUS_WIN_STATUS_APP_DATA_CORRUPT: + reason = "STATUS_APP_DATA_CORRUPT"; +@@ -2874,16 +3895,151 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_OFFLOAD_WRITE_FLT_NOT_SUPPORTED"; + break; + case MD_NTSTATUS_WIN_STATUS_OFFLOAD_READ_FILE_NOT_SUPPORTED: + reason = "STATUS_OFFLOAD_READ_FILE_NOT_SUPPORTED"; + break; + case MD_NTSTATUS_WIN_STATUS_OFFLOAD_WRITE_FILE_NOT_SUPPORTED: + reason = "STATUS_OFFLOAD_WRITE_FILE_NOT_SUPPORTED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_WOF_WIM_HEADER_CORRUPT: ++ reason = "STATUS_WOF_WIM_HEADER_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WOF_WIM_RESOURCE_TABLE_CORRUPT: ++ reason = "STATUS_WOF_WIM_RESOURCE_TABLE_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_WOF_FILE_RESOURCE_TABLE_CORRUPT: ++ reason = "STATUS_WOF_FILE_RESOURCE_TABLE_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CIMFS_IMAGE_CORRUPT: ++ reason = "STATUS_CIMFS_IMAGE_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_UNAVAILABLE: ++ reason = "STATUS_FILE_SYSTEM_VIRTUALIZATION_UNAVAILABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_METADATA_CORRUPT: ++ reason = "STATUS_FILE_SYSTEM_VIRTUALIZATION_METADATA_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_BUSY: ++ reason = "STATUS_FILE_SYSTEM_VIRTUALIZATION_BUSY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_PROVIDER_UNKNOWN: ++ reason = "STATUS_FILE_SYSTEM_VIRTUALIZATION_PROVIDER_UNKNOWN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_VIRTUALIZATION_INVALID_OPERATION: ++ reason = "STATUS_FILE_SYSTEM_VIRTUALIZATION_INVALID_OPERATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_SYNC_ROOT_METADATA_CORRUPT: ++ reason = "STATUS_CLOUD_FILE_SYNC_ROOT_METADATA_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROVIDER_NOT_RUNNING: ++ reason = "STATUS_CLOUD_FILE_PROVIDER_NOT_RUNNING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_METADATA_CORRUPT: ++ reason = "STATUS_CLOUD_FILE_METADATA_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_METADATA_TOO_LARGE: ++ reason = "STATUS_CLOUD_FILE_METADATA_TOO_LARGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_VERSION_NOT_SUPPORTED: ++ reason = "STATUS_CLOUD_FILE_PROPERTY_VERSION_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_A_CLOUD_FILE: ++ reason = "STATUS_NOT_A_CLOUD_FILE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NOT_IN_SYNC: ++ reason = "STATUS_CLOUD_FILE_NOT_IN_SYNC"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_ALREADY_CONNECTED: ++ reason = "STATUS_CLOUD_FILE_ALREADY_CONNECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NOT_SUPPORTED: ++ reason = "STATUS_CLOUD_FILE_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_INVALID_REQUEST: ++ reason = "STATUS_CLOUD_FILE_INVALID_REQUEST"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_READ_ONLY_VOLUME: ++ reason = "STATUS_CLOUD_FILE_READ_ONLY_VOLUME"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_CONNECTED_PROVIDER_ONLY: ++ reason = "STATUS_CLOUD_FILE_CONNECTED_PROVIDER_ONLY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_VALIDATION_FAILED: ++ reason = "STATUS_CLOUD_FILE_VALIDATION_FAILED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_AUTHENTICATION_FAILED: ++ reason = "STATUS_CLOUD_FILE_AUTHENTICATION_FAILED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_INSUFFICIENT_RESOURCES: ++ reason = "STATUS_CLOUD_FILE_INSUFFICIENT_RESOURCES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NETWORK_UNAVAILABLE: ++ reason = "STATUS_CLOUD_FILE_NETWORK_UNAVAILABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_UNSUCCESSFUL: ++ reason = "STATUS_CLOUD_FILE_UNSUCCESSFUL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_NOT_UNDER_SYNC_ROOT: ++ reason = "STATUS_CLOUD_FILE_NOT_UNDER_SYNC_ROOT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_IN_USE: ++ reason = "STATUS_CLOUD_FILE_IN_USE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PINNED: ++ reason = "STATUS_CLOUD_FILE_PINNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_REQUEST_ABORTED: ++ reason = "STATUS_CLOUD_FILE_REQUEST_ABORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_CORRUPT: ++ reason = "STATUS_CLOUD_FILE_PROPERTY_CORRUPT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_ACCESS_DENIED: ++ reason = "STATUS_CLOUD_FILE_ACCESS_DENIED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_INCOMPATIBLE_HARDLINKS: ++ reason = "STATUS_CLOUD_FILE_INCOMPATIBLE_HARDLINKS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROPERTY_LOCK_CONFLICT: ++ reason = "STATUS_CLOUD_FILE_PROPERTY_LOCK_CONFLICT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_REQUEST_CANCELED: ++ reason = "STATUS_CLOUD_FILE_REQUEST_CANCELED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_PROVIDER_TERMINATED: ++ reason = "STATUS_CLOUD_FILE_PROVIDER_TERMINATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NOT_A_CLOUD_SYNC_ROOT: ++ reason = "STATUS_NOT_A_CLOUD_SYNC_ROOT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_REQUEST_TIMEOUT: ++ reason = "STATUS_CLOUD_FILE_REQUEST_TIMEOUT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLOUD_FILE_DEHYDRATION_DISALLOWED: ++ reason = "STATUS_CLOUD_FILE_DEHYDRATION_DISALLOWED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SNAP_IN_PROGRESS: ++ reason = "STATUS_FILE_SNAP_IN_PROGRESS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SNAP_USER_SECTION_NOT_SUPPORTED: ++ reason = "STATUS_FILE_SNAP_USER_SECTION_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SNAP_MODIFY_NOT_SUPPORTED: ++ reason = "STATUS_FILE_SNAP_MODIFY_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SNAP_IO_NOT_COORDINATED: ++ reason = "STATUS_FILE_SNAP_IO_NOT_COORDINATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SNAP_UNEXPECTED_ERROR: ++ reason = "STATUS_FILE_SNAP_UNEXPECTED_ERROR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_FILE_SNAP_INVALID_PARAMETER: ++ reason = "STATUS_FILE_SNAP_INVALID_PARAMETER"; ++ break; + case MD_NTSTATUS_WIN_DBG_NO_STATE_CHANGE: + reason = "DBG_NO_STATE_CHANGE"; + break; + case MD_NTSTATUS_WIN_DBG_APP_NOT_IDLE: + reason = "DBG_APP_NOT_IDLE"; + break; + case MD_NTSTATUS_WIN_RPC_NT_INVALID_STRING_BINDING: + reason = "RPC_NT_INVALID_STRING_BINDING"; +@@ -3459,16 +4615,31 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_CLUSTER_CSV_VOLUME_DRAINING"; + break; + case MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_SNAPSHOT_CREATION_IN_PROGRESS: + reason = "STATUS_CLUSTER_CSV_SNAPSHOT_CREATION_IN_PROGRESS"; + break; + case MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_VOLUME_DRAINING_SUCCEEDED_DOWNLEVEL: + reason = "STATUS_CLUSTER_CSV_VOLUME_DRAINING_SUCCEEDED_DOWNLEVEL"; + break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_NO_SNAPSHOTS: ++ reason = "STATUS_CLUSTER_CSV_NO_SNAPSHOTS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CSV_IO_PAUSE_TIMEOUT: ++ reason = "STATUS_CSV_IO_PAUSE_TIMEOUT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_INVALID_HANDLE: ++ reason = "STATUS_CLUSTER_CSV_INVALID_HANDLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR: ++ reason = "STATUS_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLUSTER_CAM_TICKET_REPLAY_DETECTED: ++ reason = "STATUS_CLUSTER_CAM_TICKET_REPLAY_DETECTED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_ACPI_INVALID_OPCODE: + reason = "STATUS_ACPI_INVALID_OPCODE"; + break; + case MD_NTSTATUS_WIN_STATUS_ACPI_STACK_OVERFLOW: + reason = "STATUS_ACPI_STACK_OVERFLOW"; + break; + case MD_NTSTATUS_WIN_STATUS_ACPI_ASSERT_FAILED: + reason = "STATUS_ACPI_ASSERT_FAILED"; +@@ -4182,16 +5353,31 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_GRAPHICS_PRESENT_UNOCCLUDED"; + break; + case MD_NTSTATUS_WIN_STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE: + reason = "STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE"; + break; + case MD_NTSTATUS_WIN_STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED: + reason = "STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_INVALID_WINDOW: ++ reason = "STATUS_GRAPHICS_PRESENT_INVALID_WINDOW"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_PRESENT_BUFFER_NOT_BOUND: ++ reason = "STATUS_GRAPHICS_PRESENT_BUFFER_NOT_BOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_VAIL_STATE_CHANGED: ++ reason = "STATUS_GRAPHICS_VAIL_STATE_CHANGED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN: ++ reason = "STATUS_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED: ++ reason = "STATUS_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_GRAPHICS_NO_VIDEO_MEMORY: + reason = "STATUS_GRAPHICS_NO_VIDEO_MEMORY"; + break; + case MD_NTSTATUS_WIN_STATUS_GRAPHICS_CANT_LOCK_MEMORY: + reason = "STATUS_GRAPHICS_CANT_LOCK_MEMORY"; + break; + case MD_NTSTATUS_WIN_STATUS_GRAPHICS_ALLOCATION_BUSY: + reason = "STATUS_GRAPHICS_ALLOCATION_BUSY"; +@@ -4845,16 +6031,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_FVE_NOT_DE_VOLUME"; + break; + case MD_NTSTATUS_WIN_STATUS_FVE_PROTECTION_DISABLED: + reason = "STATUS_FVE_PROTECTION_DISABLED"; + break; + case MD_NTSTATUS_WIN_STATUS_FVE_PROTECTION_CANNOT_BE_DISABLED: + reason = "STATUS_FVE_PROTECTION_CANNOT_BE_DISABLED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_FVE_OSV_KSR_NOT_ALLOWED: ++ reason = "STATUS_FVE_OSV_KSR_NOT_ALLOWED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_FWP_CALLOUT_NOT_FOUND: + reason = "STATUS_FWP_CALLOUT_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_FWP_CONDITION_NOT_FOUND: + reason = "STATUS_FWP_CONDITION_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_FWP_FILTER_NOT_FOUND: + reason = "STATUS_FWP_FILTER_NOT_FOUND"; +@@ -5166,16 +6355,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_NDIS_INVALID_PORT_STATE"; + break; + case MD_NTSTATUS_WIN_STATUS_NDIS_LOW_POWER_STATE: + reason = "STATUS_NDIS_LOW_POWER_STATE"; + break; + case MD_NTSTATUS_WIN_STATUS_NDIS_REINIT_REQUIRED: + reason = "STATUS_NDIS_REINIT_REQUIRED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_NDIS_NO_QUEUES: ++ reason = "STATUS_NDIS_NO_QUEUES"; ++ break; + case MD_NTSTATUS_WIN_STATUS_NDIS_NOT_SUPPORTED: + reason = "STATUS_NDIS_NOT_SUPPORTED"; + break; + case MD_NTSTATUS_WIN_STATUS_NDIS_OFFLOAD_POLICY: + reason = "STATUS_NDIS_OFFLOAD_POLICY"; + break; + case MD_NTSTATUS_WIN_STATUS_NDIS_OFFLOAD_CONNECTION_REJECTED: + reason = "STATUS_NDIS_OFFLOAD_CONNECTION_REJECTED"; +@@ -5193,16 +6385,34 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_NDIS_DOT11_POWER_STATE_INVALID"; + break; + case MD_NTSTATUS_WIN_STATUS_NDIS_PM_WOL_PATTERN_LIST_FULL: + reason = "STATUS_NDIS_PM_WOL_PATTERN_LIST_FULL"; + break; + case MD_NTSTATUS_WIN_STATUS_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL: + reason = "STATUS_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL"; + break; ++ case MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE: ++ reason = "STATUS_NDIS_DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE: ++ reason = "STATUS_NDIS_DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_CHANNEL_NOT_ALLOWED: ++ reason = "STATUS_NDIS_DOT11_AP_CHANNEL_NOT_ALLOWED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NDIS_DOT11_AP_BAND_NOT_ALLOWED: ++ reason = "STATUS_NDIS_DOT11_AP_BAND_NOT_ALLOWED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_QUIC_HANDSHAKE_FAILURE: ++ reason = "STATUS_QUIC_HANDSHAKE_FAILURE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_QUIC_VER_NEG_FAILURE: ++ reason = "STATUS_QUIC_VER_NEG_FAILURE"; ++ break; + case MD_NTSTATUS_WIN_STATUS_TPM_ERROR_MASK: + reason = "STATUS_TPM_ERROR_MASK"; + break; + case MD_NTSTATUS_WIN_STATUS_TPM_AUTHFAIL: + reason = "STATUS_TPM_AUTHFAIL"; + break; + case MD_NTSTATUS_WIN_STATUS_TPM_BADINDEX: + reason = "STATUS_TPM_BADINDEX"; +@@ -5490,16 +6700,220 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_TPM_PERMANENTEK"; + break; + case MD_NTSTATUS_WIN_STATUS_TPM_BAD_SIGNATURE: + reason = "STATUS_TPM_BAD_SIGNATURE"; + break; + case MD_NTSTATUS_WIN_STATUS_TPM_NOCONTEXTSPACE: + reason = "STATUS_TPM_NOCONTEXTSPACE"; + break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_ASYMMETRIC: ++ reason = "STATUS_TPM_20_E_ASYMMETRIC"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_ATTRIBUTES: ++ reason = "STATUS_TPM_20_E_ATTRIBUTES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_HASH: ++ reason = "STATUS_TPM_20_E_HASH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_VALUE: ++ reason = "STATUS_TPM_20_E_VALUE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_HIERARCHY: ++ reason = "STATUS_TPM_20_E_HIERARCHY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_KEY_SIZE: ++ reason = "STATUS_TPM_20_E_KEY_SIZE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_MGF: ++ reason = "STATUS_TPM_20_E_MGF"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_MODE: ++ reason = "STATUS_TPM_20_E_MODE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_TYPE: ++ reason = "STATUS_TPM_20_E_TYPE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_HANDLE: ++ reason = "STATUS_TPM_20_E_HANDLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_KDF: ++ reason = "STATUS_TPM_20_E_KDF"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_RANGE: ++ reason = "STATUS_TPM_20_E_RANGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_FAIL: ++ reason = "STATUS_TPM_20_E_AUTH_FAIL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NONCE: ++ reason = "STATUS_TPM_20_E_NONCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_PP: ++ reason = "STATUS_TPM_20_E_PP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_SCHEME: ++ reason = "STATUS_TPM_20_E_SCHEME"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_SIZE: ++ reason = "STATUS_TPM_20_E_SIZE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_SYMMETRIC: ++ reason = "STATUS_TPM_20_E_SYMMETRIC"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_TAG: ++ reason = "STATUS_TPM_20_E_TAG"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_SELECTOR: ++ reason = "STATUS_TPM_20_E_SELECTOR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_INSUFFICIENT: ++ reason = "STATUS_TPM_20_E_INSUFFICIENT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_SIGNATURE: ++ reason = "STATUS_TPM_20_E_SIGNATURE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_KEY: ++ reason = "STATUS_TPM_20_E_KEY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_POLICY_FAIL: ++ reason = "STATUS_TPM_20_E_POLICY_FAIL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_INTEGRITY: ++ reason = "STATUS_TPM_20_E_INTEGRITY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_TICKET: ++ reason = "STATUS_TPM_20_E_TICKET"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_RESERVED_BITS: ++ reason = "STATUS_TPM_20_E_RESERVED_BITS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_BAD_AUTH: ++ reason = "STATUS_TPM_20_E_BAD_AUTH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_EXPIRED: ++ reason = "STATUS_TPM_20_E_EXPIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_POLICY_CC: ++ reason = "STATUS_TPM_20_E_POLICY_CC"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_BINDING: ++ reason = "STATUS_TPM_20_E_BINDING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_CURVE: ++ reason = "STATUS_TPM_20_E_CURVE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_ECC_POINT: ++ reason = "STATUS_TPM_20_E_ECC_POINT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_INITIALIZE: ++ reason = "STATUS_TPM_20_E_INITIALIZE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_FAILURE: ++ reason = "STATUS_TPM_20_E_FAILURE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_SEQUENCE: ++ reason = "STATUS_TPM_20_E_SEQUENCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_PRIVATE: ++ reason = "STATUS_TPM_20_E_PRIVATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_HMAC: ++ reason = "STATUS_TPM_20_E_HMAC"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_DISABLED: ++ reason = "STATUS_TPM_20_E_DISABLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_EXCLUSIVE: ++ reason = "STATUS_TPM_20_E_EXCLUSIVE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_ECC_CURVE: ++ reason = "STATUS_TPM_20_E_ECC_CURVE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_TYPE: ++ reason = "STATUS_TPM_20_E_AUTH_TYPE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_MISSING: ++ reason = "STATUS_TPM_20_E_AUTH_MISSING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_POLICY: ++ reason = "STATUS_TPM_20_E_POLICY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_PCR: ++ reason = "STATUS_TPM_20_E_PCR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_PCR_CHANGED: ++ reason = "STATUS_TPM_20_E_PCR_CHANGED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_UPGRADE: ++ reason = "STATUS_TPM_20_E_UPGRADE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_TOO_MANY_CONTEXTS: ++ reason = "STATUS_TPM_20_E_TOO_MANY_CONTEXTS"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_UNAVAILABLE: ++ reason = "STATUS_TPM_20_E_AUTH_UNAVAILABLE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_REBOOT: ++ reason = "STATUS_TPM_20_E_REBOOT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_UNBALANCED: ++ reason = "STATUS_TPM_20_E_UNBALANCED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_COMMAND_SIZE: ++ reason = "STATUS_TPM_20_E_COMMAND_SIZE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_COMMAND_CODE: ++ reason = "STATUS_TPM_20_E_COMMAND_CODE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTHSIZE: ++ reason = "STATUS_TPM_20_E_AUTHSIZE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_AUTH_CONTEXT: ++ reason = "STATUS_TPM_20_E_AUTH_CONTEXT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_RANGE: ++ reason = "STATUS_TPM_20_E_NV_RANGE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_SIZE: ++ reason = "STATUS_TPM_20_E_NV_SIZE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_LOCKED: ++ reason = "STATUS_TPM_20_E_NV_LOCKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_AUTHORIZATION: ++ reason = "STATUS_TPM_20_E_NV_AUTHORIZATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_UNINITIALIZED: ++ reason = "STATUS_TPM_20_E_NV_UNINITIALIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_SPACE: ++ reason = "STATUS_TPM_20_E_NV_SPACE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NV_DEFINED: ++ reason = "STATUS_TPM_20_E_NV_DEFINED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_BAD_CONTEXT: ++ reason = "STATUS_TPM_20_E_BAD_CONTEXT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_CPHASH: ++ reason = "STATUS_TPM_20_E_CPHASH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_PARENT: ++ reason = "STATUS_TPM_20_E_PARENT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NEEDS_TEST: ++ reason = "STATUS_TPM_20_E_NEEDS_TEST"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_NO_RESULT: ++ reason = "STATUS_TPM_20_E_NO_RESULT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_20_E_SENSITIVE: ++ reason = "STATUS_TPM_20_E_SENSITIVE"; ++ break; + case MD_NTSTATUS_WIN_STATUS_TPM_COMMAND_BLOCKED: + reason = "STATUS_TPM_COMMAND_BLOCKED"; + break; + case MD_NTSTATUS_WIN_STATUS_TPM_INVALID_HANDLE: + reason = "STATUS_TPM_INVALID_HANDLE"; + break; + case MD_NTSTATUS_WIN_STATUS_TPM_DUPLICATE_VHANDLE: + reason = "STATUS_TPM_DUPLICATE_VHANDLE"; +@@ -5577,16 +6991,94 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_PCP_PROFILE_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_PCP_VALIDATION_FAILED: + reason = "STATUS_PCP_VALIDATION_FAILED"; + break; + case MD_NTSTATUS_WIN_STATUS_PCP_DEVICE_NOT_FOUND: + reason = "STATUS_PCP_DEVICE_NOT_FOUND"; + break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_WRONG_PARENT: ++ reason = "STATUS_PCP_WRONG_PARENT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_LOADED: ++ reason = "STATUS_PCP_KEY_NOT_LOADED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_NO_KEY_CERTIFICATION: ++ reason = "STATUS_PCP_NO_KEY_CERTIFICATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_FINALIZED: ++ reason = "STATUS_PCP_KEY_NOT_FINALIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_ATTESTATION_CHALLENGE_NOT_SET: ++ reason = "STATUS_PCP_ATTESTATION_CHALLENGE_NOT_SET"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_NOT_PCR_BOUND: ++ reason = "STATUS_PCP_NOT_PCR_BOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_ALREADY_FINALIZED: ++ reason = "STATUS_PCP_KEY_ALREADY_FINALIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_USAGE_POLICY_NOT_SUPPORTED: ++ reason = "STATUS_PCP_KEY_USAGE_POLICY_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_USAGE_POLICY_INVALID: ++ reason = "STATUS_PCP_KEY_USAGE_POLICY_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_SOFT_KEY_ERROR: ++ reason = "STATUS_PCP_SOFT_KEY_ERROR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_AUTHENTICATED: ++ reason = "STATUS_PCP_KEY_NOT_AUTHENTICATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_AIK: ++ reason = "STATUS_PCP_KEY_NOT_AIK"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_NOT_SIGNING_KEY: ++ reason = "STATUS_PCP_KEY_NOT_SIGNING_KEY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_LOCKED_OUT: ++ reason = "STATUS_PCP_LOCKED_OUT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_CLAIM_TYPE_NOT_SUPPORTED: ++ reason = "STATUS_PCP_CLAIM_TYPE_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_TPM_VERSION_NOT_SUPPORTED: ++ reason = "STATUS_PCP_TPM_VERSION_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_BUFFER_LENGTH_MISMATCH: ++ reason = "STATUS_PCP_BUFFER_LENGTH_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_IFX_RSA_KEY_CREATION_BLOCKED: ++ reason = "STATUS_PCP_IFX_RSA_KEY_CREATION_BLOCKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_TICKET_MISSING: ++ reason = "STATUS_PCP_TICKET_MISSING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_RAW_POLICY_NOT_SUPPORTED: ++ reason = "STATUS_PCP_RAW_POLICY_NOT_SUPPORTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PCP_KEY_HANDLE_INVALIDATED: ++ reason = "STATUS_PCP_KEY_HANDLE_INVALIDATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RTPM_NO_RESULT: ++ reason = "STATUS_RTPM_NO_RESULT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RTPM_PCR_READ_INCOMPLETE: ++ reason = "STATUS_RTPM_PCR_READ_INCOMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RTPM_INVALID_CONTEXT: ++ reason = "STATUS_RTPM_INVALID_CONTEXT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_RTPM_UNSUPPORTED_CMD: ++ reason = "STATUS_RTPM_UNSUPPORTED_CMD"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_TPM_ZERO_EXHAUST_ENABLED: ++ reason = "STATUS_TPM_ZERO_EXHAUST_ENABLED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_HV_INVALID_HYPERCALL_CODE: + reason = "STATUS_HV_INVALID_HYPERCALL_CODE"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_INVALID_HYPERCALL_INPUT: + reason = "STATUS_HV_INVALID_HYPERCALL_INPUT"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_INVALID_ALIGNMENT: + reason = "STATUS_HV_INVALID_ALIGNMENT"; +@@ -5628,16 +7120,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_HV_INVALID_CONNECTION_ID"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_BUFFERS: + reason = "STATUS_HV_INSUFFICIENT_BUFFERS"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_NOT_ACKNOWLEDGED: + reason = "STATUS_HV_NOT_ACKNOWLEDGED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INVALID_VP_STATE: ++ reason = "STATUS_HV_INVALID_VP_STATE"; ++ break; + case MD_NTSTATUS_WIN_STATUS_HV_ACKNOWLEDGED: + reason = "STATUS_HV_ACKNOWLEDGED"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_INVALID_SAVE_RESTORE_STATE: + reason = "STATUS_HV_INVALID_SAVE_RESTORE_STATE"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_INVALID_SYNIC_STATE: + reason = "STATUS_HV_INVALID_SYNIC_STATE"; +@@ -5661,19 +7156,70 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_HV_FEATURE_UNAVAILABLE"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_BUFFER: + reason = "STATUS_HV_INSUFFICIENT_BUFFER"; + break; + case MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_DEVICE_DOMAINS: + reason = "STATUS_HV_INSUFFICIENT_DEVICE_DOMAINS"; + break; ++ case MD_NTSTATUS_WIN_STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR: ++ reason = "STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR: ++ reason = "STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_PROCESSOR_STARTUP_TIMEOUT: ++ reason = "STATUS_HV_PROCESSOR_STARTUP_TIMEOUT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_SMX_ENABLED: ++ reason = "STATUS_HV_SMX_ENABLED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_HV_INVALID_LP_INDEX: + reason = "STATUS_HV_INVALID_LP_INDEX"; + break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INVALID_REGISTER_VALUE: ++ reason = "STATUS_HV_INVALID_REGISTER_VALUE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INVALID_VTL_STATE: ++ reason = "STATUS_HV_INVALID_VTL_STATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_NX_NOT_DETECTED: ++ reason = "STATUS_HV_NX_NOT_DETECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INVALID_DEVICE_ID: ++ reason = "STATUS_HV_INVALID_DEVICE_ID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INVALID_DEVICE_STATE: ++ reason = "STATUS_HV_INVALID_DEVICE_STATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_PAGE_REQUEST_INVALID: ++ reason = "STATUS_HV_PAGE_REQUEST_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INVALID_CPU_GROUP_ID: ++ reason = "STATUS_HV_INVALID_CPU_GROUP_ID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INVALID_CPU_GROUP_STATE: ++ reason = "STATUS_HV_INVALID_CPU_GROUP_STATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_OPERATION_FAILED: ++ reason = "STATUS_HV_OPERATION_FAILED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_NOT_ALLOWED_WITH_NESTED_VIRT_ACTIVE: ++ reason = "STATUS_HV_NOT_ALLOWED_WITH_NESTED_VIRT_ACTIVE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_ROOT_MEMORY: ++ reason = "STATUS_HV_INSUFFICIENT_ROOT_MEMORY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_EVENT_BUFFER_ALREADY_FREED: ++ reason = "STATUS_HV_EVENT_BUFFER_ALREADY_FREED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_HV_INSUFFICIENT_CONTIGUOUS_MEMORY: ++ reason = "STATUS_HV_INSUFFICIENT_CONTIGUOUS_MEMORY"; ++ break; + case MD_NTSTATUS_WIN_STATUS_HV_NOT_PRESENT: + reason = "STATUS_HV_NOT_PRESENT"; + break; + case MD_NTSTATUS_WIN_STATUS_IPSEC_BAD_SPI: + reason = "STATUS_IPSEC_BAD_SPI"; + break; + case MD_NTSTATUS_WIN_STATUS_IPSEC_SA_LIFETIME_EXPIRED: + reason = "STATUS_IPSEC_SA_LIFETIME_EXPIRED"; +@@ -5838,16 +7384,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_VID_SAVED_STATE_CORRUPT"; + break; + case MD_NTSTATUS_WIN_STATUS_VID_SAVED_STATE_UNRECOGNIZED_ITEM: + reason = "STATUS_VID_SAVED_STATE_UNRECOGNIZED_ITEM"; + break; + case MD_NTSTATUS_WIN_STATUS_VID_SAVED_STATE_INCOMPATIBLE: + reason = "STATUS_VID_SAVED_STATE_INCOMPATIBLE"; + break; ++ case MD_NTSTATUS_WIN_STATUS_VID_VTL_ACCESS_DENIED: ++ reason = "STATUS_VID_VTL_ACCESS_DENIED"; ++ break; + case MD_NTSTATUS_WIN_STATUS_VOLMGR_DATABASE_FULL: + reason = "STATUS_VOLMGR_DATABASE_FULL"; + break; + case MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_CONFIGURATION_CORRUPTED: + reason = "STATUS_VOLMGR_DISK_CONFIGURATION_CORRUPTED"; + break; + case MD_NTSTATUS_WIN_STATUS_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC: + reason = "STATUS_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC"; +@@ -6228,16 +7777,34 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_CTLOG_INVALID_TRACKING_STATE"; + break; + case MD_NTSTATUS_WIN_STATUS_CTLOG_INCONSISTENT_TRACKING_FILE: + reason = "STATUS_CTLOG_INCONSISTENT_TRACKING_FILE"; + break; + case MD_NTSTATUS_WIN_STATUS_VHD_METADATA_FULL: + reason = "STATUS_VHD_METADATA_FULL"; + break; ++ case MD_NTSTATUS_WIN_STATUS_VHD_INVALID_CHANGE_TRACKING_ID: ++ reason = "STATUS_VHD_INVALID_CHANGE_TRACKING_ID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VHD_CHANGE_TRACKING_DISABLED: ++ reason = "STATUS_VHD_CHANGE_TRACKING_DISABLED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION: ++ reason = "STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA: ++ reason = "STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE: ++ reason = "STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE: ++ reason = "STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE"; ++ break; + case MD_NTSTATUS_WIN_STATUS_RKF_KEY_NOT_FOUND: + reason = "STATUS_RKF_KEY_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_RKF_DUPLICATE_KEY: + reason = "STATUS_RKF_DUPLICATE_KEY"; + break; + case MD_NTSTATUS_WIN_STATUS_RKF_BLOB_FULL: + reason = "STATUS_RKF_BLOB_FULL"; +@@ -6255,16 +7822,19 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_RDBSS_RESTART_OPERATION"; + break; + case MD_NTSTATUS_WIN_STATUS_RDBSS_CONTINUE_OPERATION: + reason = "STATUS_RDBSS_CONTINUE_OPERATION"; + break; + case MD_NTSTATUS_WIN_STATUS_RDBSS_POST_OPERATION: + reason = "STATUS_RDBSS_POST_OPERATION"; + break; ++ case MD_NTSTATUS_WIN_STATUS_RDBSS_RETRY_LOOKUP: ++ reason = "STATUS_RDBSS_RETRY_LOOKUP"; ++ break; + case MD_NTSTATUS_WIN_STATUS_BTH_ATT_INVALID_HANDLE: + reason = "STATUS_BTH_ATT_INVALID_HANDLE"; + break; + case MD_NTSTATUS_WIN_STATUS_BTH_ATT_READ_NOT_PERMITTED: + reason = "STATUS_BTH_ATT_READ_NOT_PERMITTED"; + break; + case MD_NTSTATUS_WIN_STATUS_BTH_ATT_WRITE_NOT_PERMITTED: + reason = "STATUS_BTH_ATT_WRITE_NOT_PERMITTED"; +@@ -6327,34 +7897,70 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_NOT_SIGNED: + reason = "STATUS_SECUREBOOT_POLICY_NOT_SIGNED"; + break; + case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_FILE_REPLACED: + reason = "STATUS_SECUREBOOT_FILE_REPLACED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_NOT_AUTHORIZED: ++ reason = "STATUS_SECUREBOOT_POLICY_NOT_AUTHORIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_UNKNOWN: ++ reason = "STATUS_SECUREBOOT_POLICY_UNKNOWN"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_MISSING_ANTIROLLBACKVERSION: ++ reason = "STATUS_SECUREBOOT_POLICY_MISSING_ANTIROLLBACKVERSION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_PLATFORM_ID_MISMATCH: ++ reason = "STATUS_SECUREBOOT_PLATFORM_ID_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_ROLLBACK_DETECTED: ++ reason = "STATUS_SECUREBOOT_POLICY_ROLLBACK_DETECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_POLICY_UPGRADE_MISMATCH: ++ reason = "STATUS_SECUREBOOT_POLICY_UPGRADE_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_REQUIRED_POLICY_FILE_MISSING: ++ reason = "STATUS_SECUREBOOT_REQUIRED_POLICY_FILE_MISSING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_NOT_BASE_POLICY: ++ reason = "STATUS_SECUREBOOT_NOT_BASE_POLICY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECUREBOOT_NOT_SUPPLEMENTAL_POLICY: ++ reason = "STATUS_SECUREBOOT_NOT_SUPPLEMENTAL_POLICY"; ++ break; + case MD_NTSTATUS_WIN_STATUS_AUDIO_ENGINE_NODE_NOT_FOUND: + reason = "STATUS_AUDIO_ENGINE_NODE_NOT_FOUND"; + break; + case MD_NTSTATUS_WIN_STATUS_HDAUDIO_EMPTY_CONNECTION_LIST: + reason = "STATUS_HDAUDIO_EMPTY_CONNECTION_LIST"; + break; + case MD_NTSTATUS_WIN_STATUS_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED: + reason = "STATUS_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED"; + break; + case MD_NTSTATUS_WIN_STATUS_HDAUDIO_NO_LOGICAL_DEVICES_CREATED: + reason = "STATUS_HDAUDIO_NO_LOGICAL_DEVICES_CREATED"; + break; + case MD_NTSTATUS_WIN_STATUS_HDAUDIO_NULL_LINKED_LIST_ENTRY: + reason = "STATUS_HDAUDIO_NULL_LINKED_LIST_ENTRY"; + break; ++ case MD_NTSTATUS_WIN_STATUS_VSM_NOT_INITIALIZED: ++ reason = "STATUS_VSM_NOT_INITIALIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VSM_DMA_PROTECTION_NOT_IN_USE: ++ reason = "STATUS_VSM_DMA_PROTECTION_NOT_IN_USE"; ++ break; + case MD_NTSTATUS_WIN_STATUS_VOLSNAP_BOOTFILE_NOT_VALID: + reason = "STATUS_VOLSNAP_BOOTFILE_NOT_VALID"; + break; ++ case MD_NTSTATUS_WIN_STATUS_VOLSNAP_ACTIVATION_TIMEOUT: ++ reason = "STATUS_VOLSNAP_ACTIVATION_TIMEOUT"; ++ break; + case MD_NTSTATUS_WIN_STATUS_IO_PREEMPTED: + reason = "STATUS_IO_PREEMPTED"; + break; + case MD_NTSTATUS_WIN_STATUS_SVHDX_ERROR_STORED: + reason = "STATUS_SVHDX_ERROR_STORED"; + break; + case MD_NTSTATUS_WIN_STATUS_SVHDX_ERROR_NOT_AVAILABLE: + reason = "STATUS_SVHDX_ERROR_NOT_AVAILABLE"; +@@ -6384,31 +7990,214 @@ string NTStatusToString(uint32_t ntstatu + reason = "STATUS_SVHDX_WRONG_FILE_TYPE"; + break; + case MD_NTSTATUS_WIN_STATUS_SVHDX_VERSION_MISMATCH: + reason = "STATUS_SVHDX_VERSION_MISMATCH"; + break; + case MD_NTSTATUS_WIN_STATUS_VHD_SHARED: + reason = "STATUS_VHD_SHARED"; + break; ++ case MD_NTSTATUS_WIN_STATUS_SVHDX_NO_INITIATOR: ++ reason = "STATUS_SVHDX_NO_INITIATOR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND: ++ reason = "STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP: ++ reason = "STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SMB_BAD_CLUSTER_DIALECT: ++ reason = "STATUS_SMB_BAD_CLUSTER_DIALECT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SMB_GUEST_LOGON_BLOCKED: ++ reason = "STATUS_SMB_GUEST_LOGON_BLOCKED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_FAULT_DOMAIN_TYPE_INVALID: ++ reason = "STATUS_SPACES_FAULT_DOMAIN_TYPE_INVALID"; ++ break; + case MD_NTSTATUS_WIN_STATUS_SPACES_RESILIENCY_TYPE_INVALID: + reason = "STATUS_SPACES_RESILIENCY_TYPE_INVALID"; + break; + case MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_SECTOR_SIZE_INVALID: + reason = "STATUS_SPACES_DRIVE_SECTOR_SIZE_INVALID"; + break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_REDUNDANCY_INVALID: ++ reason = "STATUS_SPACES_DRIVE_REDUNDANCY_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID: ++ reason = "STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID"; ++ break; + case MD_NTSTATUS_WIN_STATUS_SPACES_INTERLEAVE_LENGTH_INVALID: + reason = "STATUS_SPACES_INTERLEAVE_LENGTH_INVALID"; + break; + case MD_NTSTATUS_WIN_STATUS_SPACES_NUMBER_OF_COLUMNS_INVALID: + reason = "STATUS_SPACES_NUMBER_OF_COLUMNS_INVALID"; + break; + case MD_NTSTATUS_WIN_STATUS_SPACES_NOT_ENOUGH_DRIVES: + reason = "STATUS_SPACES_NOT_ENOUGH_DRIVES"; + break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_EXTENDED_ERROR: ++ reason = "STATUS_SPACES_EXTENDED_ERROR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_PROVISIONING_TYPE_INVALID: ++ reason = "STATUS_SPACES_PROVISIONING_TYPE_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_ALLOCATION_SIZE_INVALID: ++ reason = "STATUS_SPACES_ALLOCATION_SIZE_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_ENCLOSURE_AWARE_INVALID: ++ reason = "STATUS_SPACES_ENCLOSURE_AWARE_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_WRITE_CACHE_SIZE_INVALID: ++ reason = "STATUS_SPACES_WRITE_CACHE_SIZE_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_NUMBER_OF_GROUPS_INVALID: ++ reason = "STATUS_SPACES_NUMBER_OF_GROUPS_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID: ++ reason = "STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_UPDATE_COLUMN_STATE: ++ reason = "STATUS_SPACES_UPDATE_COLUMN_STATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_MAP_REQUIRED: ++ reason = "STATUS_SPACES_MAP_REQUIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_UNSUPPORTED_VERSION: ++ reason = "STATUS_SPACES_UNSUPPORTED_VERSION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_CORRUPT_METADATA: ++ reason = "STATUS_SPACES_CORRUPT_METADATA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_DRT_FULL: ++ reason = "STATUS_SPACES_DRT_FULL"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_INCONSISTENCY: ++ reason = "STATUS_SPACES_INCONSISTENCY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_LOG_NOT_READY: ++ reason = "STATUS_SPACES_LOG_NOT_READY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_NO_REDUNDANCY: ++ reason = "STATUS_SPACES_NO_REDUNDANCY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_NOT_READY: ++ reason = "STATUS_SPACES_DRIVE_NOT_READY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_SPLIT: ++ reason = "STATUS_SPACES_DRIVE_SPLIT"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_DRIVE_LOST_DATA: ++ reason = "STATUS_SPACES_DRIVE_LOST_DATA"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_ENTRY_INCOMPLETE: ++ reason = "STATUS_SPACES_ENTRY_INCOMPLETE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_ENTRY_INVALID: ++ reason = "STATUS_SPACES_ENTRY_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SPACES_MARK_DIRTY: ++ reason = "STATUS_SPACES_MARK_DIRTY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SECCORE_INVALID_COMMAND: ++ reason = "STATUS_SECCORE_INVALID_COMMAND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED: ++ reason = "STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION: ++ reason = "STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_INVALID_POLICY: ++ reason = "STATUS_SYSTEM_INTEGRITY_INVALID_POLICY"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED: ++ reason = "STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_TOO_MANY_POLICIES: ++ reason = "STATUS_SYSTEM_INTEGRITY_TOO_MANY_POLICIES"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_SYSTEM_INTEGRITY_SUPPLEMENTAL_POLICY_NOT_AUTHORIZED: ++ reason = "STATUS_SYSTEM_INTEGRITY_SUPPLEMENTAL_POLICY_NOT_AUTHORIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_NO_APPLICABLE_APP_LICENSES_FOUND: ++ reason = "STATUS_NO_APPLICABLE_APP_LICENSES_FOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_NOT_FOUND: ++ reason = "STATUS_CLIP_LICENSE_NOT_FOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_DEVICE_LICENSE_MISSING: ++ reason = "STATUS_CLIP_DEVICE_LICENSE_MISSING"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_INVALID_SIGNATURE: ++ reason = "STATUS_CLIP_LICENSE_INVALID_SIGNATURE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID: ++ reason = "STATUS_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_EXPIRED: ++ reason = "STATUS_CLIP_LICENSE_EXPIRED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE: ++ reason = "STATUS_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_NOT_SIGNED: ++ reason = "STATUS_CLIP_LICENSE_NOT_SIGNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE: ++ reason = "STATUS_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_CLIP_LICENSE_DEVICE_ID_MISMATCH: ++ reason = "STATUS_CLIP_LICENSE_DEVICE_ID_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_NOT_AUTHORIZED: ++ reason = "STATUS_PLATFORM_MANIFEST_NOT_AUTHORIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_INVALID: ++ reason = "STATUS_PLATFORM_MANIFEST_INVALID"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_FILE_NOT_AUTHORIZED: ++ reason = "STATUS_PLATFORM_MANIFEST_FILE_NOT_AUTHORIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_CATALOG_NOT_AUTHORIZED: ++ reason = "STATUS_PLATFORM_MANIFEST_CATALOG_NOT_AUTHORIZED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_BINARY_ID_NOT_FOUND: ++ reason = "STATUS_PLATFORM_MANIFEST_BINARY_ID_NOT_FOUND"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_NOT_ACTIVE: ++ reason = "STATUS_PLATFORM_MANIFEST_NOT_ACTIVE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_PLATFORM_MANIFEST_NOT_SIGNED: ++ reason = "STATUS_PLATFORM_MANIFEST_NOT_SIGNED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_CONDITION_NOT_SATISFIED: ++ reason = "STATUS_APPEXEC_CONDITION_NOT_SATISFIED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_HANDLE_INVALIDATED: ++ reason = "STATUS_APPEXEC_HANDLE_INVALIDATED"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_INVALID_HOST_GENERATION: ++ reason = "STATUS_APPEXEC_INVALID_HOST_GENERATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_UNEXPECTED_PROCESS_REGISTRATION: ++ reason = "STATUS_APPEXEC_UNEXPECTED_PROCESS_REGISTRATION"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_INVALID_HOST_STATE: ++ reason = "STATUS_APPEXEC_INVALID_HOST_STATE"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_NO_DONOR: ++ reason = "STATUS_APPEXEC_NO_DONOR"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_HOST_ID_MISMATCH: ++ reason = "STATUS_APPEXEC_HOST_ID_MISMATCH"; ++ break; ++ case MD_NTSTATUS_WIN_STATUS_APPEXEC_UNKNOWN_USER: ++ reason = "STATUS_APPEXEC_UNKNOWN_USER"; ++ break; + default: { + char reason_string[11]; + snprintf(reason_string, sizeof(reason_string), "0x%08x", ntstatus); + reason = reason_string; + break; + } + } + return reason; + |