Bug 1704034 - Make the stackwalker print out the name of NTSTATUS error codes r=KrisWright

This patch changes a few things regarding how error codes are printed out.
First of all it updates the list of statuses defined in ntstatus.h, and makes
it up-to-date with the current Windows SDK. With this done we change how we
print out a minidump exception code so that if it's not among the known
EXCEPTION_* values we try to print it out as a STATUS_* one.

It's worth noting that the EXCEPTION_* definitions are just aliaeses for
STATUS_* ones and deprecated in Windows but since they're commonly used we
just keep them.

Last but not least we change how EXCEPTION_BOUNDS_EXCEEDED,
EXCEPTION_STACK_BUFFER_OVERRUN and EXCEPTION_HEAP_CORRUPTION are
printed because they are inconsistent with their Windows equivalents.
They're "breakpadisms" and they've caused confusion in the past.

Differential Revision: https://phabricator.services.mozilla.com/D111712
This commit is contained in:
Gabriele Svelto 2021-04-14 06:44:35 +00:00
Родитель da0bab966a
Коммит 4e0b5a6c3e
5 изменённых файлов: 5908 добавлений и 33 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -44,12 +44,8 @@
#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,
@ -98,10 +94,6 @@ typedef enum {
/* 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. */
@ -118,21 +110,265 @@ typedef enum {
* 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,
@ -186,6 +422,7 @@ typedef enum {
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,
@ -554,6 +791,14 @@ typedef enum {
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,
@ -669,6 +914,7 @@ typedef enum {
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,
@ -801,6 +1047,7 @@ typedef enum {
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,
@ -933,6 +1180,7 @@ typedef enum {
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,
@ -953,6 +1201,61 @@ typedef enum {
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,
@ -960,9 +1263,29 @@ typedef enum {
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,
@ -997,6 +1320,11 @@ typedef enum {
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,
@ -1033,6 +1361,9 @@ typedef enum {
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,
@ -1064,6 +1395,8 @@ typedef enum {
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,
@ -1073,6 +1406,51 @@ typedef enum {
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,
@ -1268,6 +1646,11 @@ typedef enum {
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,
@ -1509,6 +1892,11 @@ typedef enum {
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,
@ -1730,6 +2118,7 @@ typedef enum {
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,
@ -1837,6 +2226,7 @@ typedef enum {
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,
@ -1846,6 +2236,12 @@ typedef enum {
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,
@ -1945,6 +2341,74 @@ typedef enum {
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,
@ -1974,6 +2438,32 @@ typedef enum {
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,
@ -1991,6 +2481,7 @@ typedef enum {
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,
@ -2002,7 +2493,24 @@ typedef enum {
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,
@ -2061,6 +2569,7 @@ typedef enum {
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,
@ -2191,6 +2700,12 @@ typedef enum {
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,
@ -2200,6 +2715,7 @@ typedef enum {
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,
@ -2224,12 +2740,24 @@ typedef enum {
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,
@ -2243,11 +2771,72 @@ typedef enum {
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

Просмотреть файл

@ -152,8 +152,8 @@ ExploitabilityRating ExploitabilityWin::CheckPlatformExploitability() {
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;

Просмотреть файл

@ -1143,9 +1143,6 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
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;
@ -1250,7 +1247,7 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
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";
@ -1291,8 +1288,8 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
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>
@ -1301,9 +1298,6 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
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";
@ -1315,7 +1309,10 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
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;

Разница между файлами не показана из-за своего большого размера Загрузить разницу