blob: 333aa04174dab8319ba1e73d09c9b47d9ccdd5bb [file] [log] [blame]
// Copyright (c) 2015 Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// ntstatus_reason_win.h: Windows NTSTATUS code to string.
//
// Provides a means to convert NTSTATUS codes to strings.
//
// Author: Ben Wagner
#include <cstdio>
#include <string>
#include "google_breakpad/common/breakpad_types.h"
#include "google_breakpad/common/minidump_exception_win32.h"
#include "processor/symbolic_constants_win.h"
namespace google_breakpad {
std::string NTStatusToString(uint32_t ntstatus) {
std::string reason;
// The content of this switch was created from ntstatus.h in the 8.1 SDK with
//
// egrep '#define [A-Z_0-9]+\s+\(\(NTSTATUS\)0xC[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@'
// | sort
// | sed -r 's@(0xC[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_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";
break;
case MD_NTSTATUS_WIN_STATUS_INFO_LENGTH_MISMATCH:
reason = "STATUS_INFO_LENGTH_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_ACCESS_VIOLATION:
reason = "STATUS_ACCESS_VIOLATION";
break;
case MD_NTSTATUS_WIN_STATUS_IN_PAGE_ERROR:
reason = "STATUS_IN_PAGE_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_PAGEFILE_QUOTA:
reason = "STATUS_PAGEFILE_QUOTA";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_HANDLE:
reason = "STATUS_INVALID_HANDLE";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_INITIAL_STACK:
reason = "STATUS_BAD_INITIAL_STACK";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_INITIAL_PC:
reason = "STATUS_BAD_INITIAL_PC";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_CID:
reason = "STATUS_INVALID_CID";
break;
case MD_NTSTATUS_WIN_STATUS_TIMER_NOT_CANCELED:
reason = "STATUS_TIMER_NOT_CANCELED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER:
reason = "STATUS_INVALID_PARAMETER";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_DEVICE:
reason = "STATUS_NO_SUCH_DEVICE";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_FILE:
reason = "STATUS_NO_SUCH_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_DEVICE_REQUEST:
reason = "STATUS_INVALID_DEVICE_REQUEST";
break;
case MD_NTSTATUS_WIN_STATUS_END_OF_FILE:
reason = "STATUS_END_OF_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_WRONG_VOLUME:
reason = "STATUS_WRONG_VOLUME";
break;
case MD_NTSTATUS_WIN_STATUS_NO_MEDIA_IN_DEVICE:
reason = "STATUS_NO_MEDIA_IN_DEVICE";
break;
case MD_NTSTATUS_WIN_STATUS_UNRECOGNIZED_MEDIA:
reason = "STATUS_UNRECOGNIZED_MEDIA";
break;
case MD_NTSTATUS_WIN_STATUS_NONEXISTENT_SECTOR:
reason = "STATUS_NONEXISTENT_SECTOR";
break;
case MD_NTSTATUS_WIN_STATUS_MORE_PROCESSING_REQUIRED:
reason = "STATUS_MORE_PROCESSING_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_MEMORY:
reason = "STATUS_NO_MEMORY";
break;
case MD_NTSTATUS_WIN_STATUS_CONFLICTING_ADDRESSES:
reason = "STATUS_CONFLICTING_ADDRESSES";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_MAPPED_VIEW:
reason = "STATUS_NOT_MAPPED_VIEW";
break;
case MD_NTSTATUS_WIN_STATUS_UNABLE_TO_FREE_VM:
reason = "STATUS_UNABLE_TO_FREE_VM";
break;
case MD_NTSTATUS_WIN_STATUS_UNABLE_TO_DELETE_SECTION:
reason = "STATUS_UNABLE_TO_DELETE_SECTION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_SYSTEM_SERVICE:
reason = "STATUS_INVALID_SYSTEM_SERVICE";
break;
case MD_NTSTATUS_WIN_STATUS_ILLEGAL_INSTRUCTION:
reason = "STATUS_ILLEGAL_INSTRUCTION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LOCK_SEQUENCE:
reason = "STATUS_INVALID_LOCK_SEQUENCE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_VIEW_SIZE:
reason = "STATUS_INVALID_VIEW_SIZE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_FILE_FOR_SECTION:
reason = "STATUS_INVALID_FILE_FOR_SECTION";
break;
case MD_NTSTATUS_WIN_STATUS_ALREADY_COMMITTED:
reason = "STATUS_ALREADY_COMMITTED";
break;
case MD_NTSTATUS_WIN_STATUS_ACCESS_DENIED:
reason = "STATUS_ACCESS_DENIED";
break;
case MD_NTSTATUS_WIN_STATUS_BUFFER_TOO_SMALL:
reason = "STATUS_BUFFER_TOO_SMALL";
break;
case MD_NTSTATUS_WIN_STATUS_OBJECT_TYPE_MISMATCH:
reason = "STATUS_OBJECT_TYPE_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_NONCONTINUABLE_EXCEPTION:
reason = "STATUS_NONCONTINUABLE_EXCEPTION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_DISPOSITION:
reason = "STATUS_INVALID_DISPOSITION";
break;
case MD_NTSTATUS_WIN_STATUS_UNWIND:
reason = "STATUS_UNWIND";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_STACK:
reason = "STATUS_BAD_STACK";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_UNWIND_TARGET:
reason = "STATUS_INVALID_UNWIND_TARGET";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_LOCKED:
reason = "STATUS_NOT_LOCKED";
break;
case MD_NTSTATUS_WIN_STATUS_PARITY_ERROR:
reason = "STATUS_PARITY_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_UNABLE_TO_DECOMMIT_VM:
reason = "STATUS_UNABLE_TO_DECOMMIT_VM";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_COMMITTED:
reason = "STATUS_NOT_COMMITTED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PORT_ATTRIBUTES:
reason = "STATUS_INVALID_PORT_ATTRIBUTES";
break;
case MD_NTSTATUS_WIN_STATUS_PORT_MESSAGE_TOO_LONG:
reason = "STATUS_PORT_MESSAGE_TOO_LONG";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_MIX:
reason = "STATUS_INVALID_PARAMETER_MIX";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_QUOTA_LOWER:
reason = "STATUS_INVALID_QUOTA_LOWER";
break;
case MD_NTSTATUS_WIN_STATUS_DISK_CORRUPT_ERROR:
reason = "STATUS_DISK_CORRUPT_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_OBJECT_NAME_INVALID:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_OBJECT_PATH_NOT_FOUND:
reason = "STATUS_OBJECT_PATH_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_OBJECT_PATH_SYNTAX_BAD:
reason = "STATUS_OBJECT_PATH_SYNTAX_BAD";
break;
case MD_NTSTATUS_WIN_STATUS_DATA_OVERRUN:
reason = "STATUS_DATA_OVERRUN";
break;
case MD_NTSTATUS_WIN_STATUS_DATA_LATE_ERROR:
reason = "STATUS_DATA_LATE_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_DATA_ERROR:
reason = "STATUS_DATA_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_CRC_ERROR:
reason = "STATUS_CRC_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_SECTION_TOO_BIG:
reason = "STATUS_SECTION_TOO_BIG";
break;
case MD_NTSTATUS_WIN_STATUS_PORT_CONNECTION_REFUSED:
reason = "STATUS_PORT_CONNECTION_REFUSED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PORT_HANDLE:
reason = "STATUS_INVALID_PORT_HANDLE";
break;
case MD_NTSTATUS_WIN_STATUS_SHARING_VIOLATION:
reason = "STATUS_SHARING_VIOLATION";
break;
case MD_NTSTATUS_WIN_STATUS_QUOTA_EXCEEDED:
reason = "STATUS_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PAGE_PROTECTION:
reason = "STATUS_INVALID_PAGE_PROTECTION";
break;
case MD_NTSTATUS_WIN_STATUS_MUTANT_NOT_OWNED:
reason = "STATUS_MUTANT_NOT_OWNED";
break;
case MD_NTSTATUS_WIN_STATUS_SEMAPHORE_LIMIT_EXCEEDED:
reason = "STATUS_SEMAPHORE_LIMIT_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_PORT_ALREADY_SET:
reason = "STATUS_PORT_ALREADY_SET";
break;
case MD_NTSTATUS_WIN_STATUS_SECTION_NOT_IMAGE:
reason = "STATUS_SECTION_NOT_IMAGE";
break;
case MD_NTSTATUS_WIN_STATUS_SUSPEND_COUNT_EXCEEDED:
reason = "STATUS_SUSPEND_COUNT_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_THREAD_IS_TERMINATING:
reason = "STATUS_THREAD_IS_TERMINATING";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_WORKING_SET_LIMIT:
reason = "STATUS_BAD_WORKING_SET_LIMIT";
break;
case MD_NTSTATUS_WIN_STATUS_INCOMPATIBLE_FILE_MAP:
reason = "STATUS_INCOMPATIBLE_FILE_MAP";
break;
case MD_NTSTATUS_WIN_STATUS_SECTION_PROTECTION:
reason = "STATUS_SECTION_PROTECTION";
break;
case MD_NTSTATUS_WIN_STATUS_EAS_NOT_SUPPORTED:
reason = "STATUS_EAS_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_EA_TOO_LARGE:
reason = "STATUS_EA_TOO_LARGE";
break;
case MD_NTSTATUS_WIN_STATUS_NONEXISTENT_EA_ENTRY:
reason = "STATUS_NONEXISTENT_EA_ENTRY";
break;
case MD_NTSTATUS_WIN_STATUS_NO_EAS_ON_FILE:
reason = "STATUS_NO_EAS_ON_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_EA_CORRUPT_ERROR:
reason = "STATUS_EA_CORRUPT_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_LOCK_CONFLICT:
reason = "STATUS_FILE_LOCK_CONFLICT";
break;
case MD_NTSTATUS_WIN_STATUS_LOCK_NOT_GRANTED:
reason = "STATUS_LOCK_NOT_GRANTED";
break;
case MD_NTSTATUS_WIN_STATUS_DELETE_PENDING:
reason = "STATUS_DELETE_PENDING";
break;
case MD_NTSTATUS_WIN_STATUS_CTL_FILE_NOT_SUPPORTED:
reason = "STATUS_CTL_FILE_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_UNKNOWN_REVISION:
reason = "STATUS_UNKNOWN_REVISION";
break;
case MD_NTSTATUS_WIN_STATUS_REVISION_MISMATCH:
reason = "STATUS_REVISION_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_OWNER:
reason = "STATUS_INVALID_OWNER";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PRIMARY_GROUP:
reason = "STATUS_INVALID_PRIMARY_GROUP";
break;
case MD_NTSTATUS_WIN_STATUS_NO_IMPERSONATION_TOKEN:
reason = "STATUS_NO_IMPERSONATION_TOKEN";
break;
case MD_NTSTATUS_WIN_STATUS_CANT_DISABLE_MANDATORY:
reason = "STATUS_CANT_DISABLE_MANDATORY";
break;
case MD_NTSTATUS_WIN_STATUS_NO_LOGON_SERVERS:
reason = "STATUS_NO_LOGON_SERVERS";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_LOGON_SESSION:
reason = "STATUS_NO_SUCH_LOGON_SESSION";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_PRIVILEGE:
reason = "STATUS_NO_SUCH_PRIVILEGE";
break;
case MD_NTSTATUS_WIN_STATUS_PRIVILEGE_NOT_HELD:
reason = "STATUS_PRIVILEGE_NOT_HELD";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_ACCOUNT_NAME:
reason = "STATUS_INVALID_ACCOUNT_NAME";
break;
case MD_NTSTATUS_WIN_STATUS_USER_EXISTS:
reason = "STATUS_USER_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_USER:
reason = "STATUS_NO_SUCH_USER";
break;
case MD_NTSTATUS_WIN_STATUS_GROUP_EXISTS:
reason = "STATUS_GROUP_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_GROUP:
reason = "STATUS_NO_SUCH_GROUP";
break;
case MD_NTSTATUS_WIN_STATUS_MEMBER_IN_GROUP:
reason = "STATUS_MEMBER_IN_GROUP";
break;
case MD_NTSTATUS_WIN_STATUS_MEMBER_NOT_IN_GROUP:
reason = "STATUS_MEMBER_NOT_IN_GROUP";
break;
case MD_NTSTATUS_WIN_STATUS_LAST_ADMIN:
reason = "STATUS_LAST_ADMIN";
break;
case MD_NTSTATUS_WIN_STATUS_WRONG_PASSWORD:
reason = "STATUS_WRONG_PASSWORD";
break;
case MD_NTSTATUS_WIN_STATUS_ILL_FORMED_PASSWORD:
reason = "STATUS_ILL_FORMED_PASSWORD";
break;
case MD_NTSTATUS_WIN_STATUS_PASSWORD_RESTRICTION:
reason = "STATUS_PASSWORD_RESTRICTION";
break;
case MD_NTSTATUS_WIN_STATUS_LOGON_FAILURE:
reason = "STATUS_LOGON_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_ACCOUNT_RESTRICTION:
reason = "STATUS_ACCOUNT_RESTRICTION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LOGON_HOURS:
reason = "STATUS_INVALID_LOGON_HOURS";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_WORKSTATION:
reason = "STATUS_INVALID_WORKSTATION";
break;
case MD_NTSTATUS_WIN_STATUS_PASSWORD_EXPIRED:
reason = "STATUS_PASSWORD_EXPIRED";
break;
case MD_NTSTATUS_WIN_STATUS_ACCOUNT_DISABLED:
reason = "STATUS_ACCOUNT_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_NONE_MAPPED:
reason = "STATUS_NONE_MAPPED";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_LUIDS_REQUESTED:
reason = "STATUS_TOO_MANY_LUIDS_REQUESTED";
break;
case MD_NTSTATUS_WIN_STATUS_LUIDS_EXHAUSTED:
reason = "STATUS_LUIDS_EXHAUSTED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_SUB_AUTHORITY:
reason = "STATUS_INVALID_SUB_AUTHORITY";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_ACL:
reason = "STATUS_INVALID_ACL";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_SID:
reason = "STATUS_INVALID_SID";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_SECURITY_DESCR:
reason = "STATUS_INVALID_SECURITY_DESCR";
break;
case MD_NTSTATUS_WIN_STATUS_PROCEDURE_NOT_FOUND:
reason = "STATUS_PROCEDURE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_FORMAT:
reason = "STATUS_INVALID_IMAGE_FORMAT";
break;
case MD_NTSTATUS_WIN_STATUS_NO_TOKEN:
reason = "STATUS_NO_TOKEN";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_INHERITANCE_ACL:
reason = "STATUS_BAD_INHERITANCE_ACL";
break;
case MD_NTSTATUS_WIN_STATUS_RANGE_NOT_LOCKED:
reason = "STATUS_RANGE_NOT_LOCKED";
break;
case MD_NTSTATUS_WIN_STATUS_DISK_FULL:
reason = "STATUS_DISK_FULL";
break;
case MD_NTSTATUS_WIN_STATUS_SERVER_DISABLED:
reason = "STATUS_SERVER_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_SERVER_NOT_DISABLED:
reason = "STATUS_SERVER_NOT_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_GUIDS_REQUESTED:
reason = "STATUS_TOO_MANY_GUIDS_REQUESTED";
break;
case MD_NTSTATUS_WIN_STATUS_GUIDS_EXHAUSTED:
reason = "STATUS_GUIDS_EXHAUSTED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_ID_AUTHORITY:
reason = "STATUS_INVALID_ID_AUTHORITY";
break;
case MD_NTSTATUS_WIN_STATUS_AGENTS_EXHAUSTED:
reason = "STATUS_AGENTS_EXHAUSTED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_VOLUME_LABEL:
reason = "STATUS_INVALID_VOLUME_LABEL";
break;
case MD_NTSTATUS_WIN_STATUS_SECTION_NOT_EXTENDED:
reason = "STATUS_SECTION_NOT_EXTENDED";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_MAPPED_DATA:
reason = "STATUS_NOT_MAPPED_DATA";
break;
case MD_NTSTATUS_WIN_STATUS_RESOURCE_DATA_NOT_FOUND:
reason = "STATUS_RESOURCE_DATA_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_RESOURCE_TYPE_NOT_FOUND:
reason = "STATUS_RESOURCE_TYPE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_RESOURCE_NAME_NOT_FOUND:
reason = "STATUS_RESOURCE_NAME_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_ARRAY_BOUNDS_EXCEEDED:
reason = "STATUS_ARRAY_BOUNDS_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_DENORMAL_OPERAND:
reason = "STATUS_FLOAT_DENORMAL_OPERAND";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_DIVIDE_BY_ZERO:
reason = "STATUS_FLOAT_DIVIDE_BY_ZERO";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_INEXACT_RESULT:
reason = "STATUS_FLOAT_INEXACT_RESULT";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_INVALID_OPERATION:
reason = "STATUS_FLOAT_INVALID_OPERATION";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_OVERFLOW:
reason = "STATUS_FLOAT_OVERFLOW";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_STACK_CHECK:
reason = "STATUS_FLOAT_STACK_CHECK";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_UNDERFLOW:
reason = "STATUS_FLOAT_UNDERFLOW";
break;
case MD_NTSTATUS_WIN_STATUS_INTEGER_DIVIDE_BY_ZERO:
reason = "STATUS_INTEGER_DIVIDE_BY_ZERO";
break;
case MD_NTSTATUS_WIN_STATUS_INTEGER_OVERFLOW:
reason = "STATUS_INTEGER_OVERFLOW";
break;
case MD_NTSTATUS_WIN_STATUS_PRIVILEGED_INSTRUCTION:
reason = "STATUS_PRIVILEGED_INSTRUCTION";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_PAGING_FILES:
reason = "STATUS_TOO_MANY_PAGING_FILES";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_INVALID:
reason = "STATUS_FILE_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_ALLOTTED_SPACE_EXCEEDED:
reason = "STATUS_ALLOTTED_SPACE_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_INSUFFICIENT_RESOURCES:
reason = "STATUS_INSUFFICIENT_RESOURCES";
break;
case MD_NTSTATUS_WIN_STATUS_DFS_EXIT_PATH_FOUND:
reason = "STATUS_DFS_EXIT_PATH_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_DATA_ERROR:
reason = "STATUS_DEVICE_DATA_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_NOT_CONNECTED:
reason = "STATUS_DEVICE_NOT_CONNECTED";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_POWER_FAILURE:
reason = "STATUS_DEVICE_POWER_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_FREE_VM_NOT_AT_BASE:
reason = "STATUS_FREE_VM_NOT_AT_BASE";
break;
case MD_NTSTATUS_WIN_STATUS_MEMORY_NOT_ALLOCATED:
reason = "STATUS_MEMORY_NOT_ALLOCATED";
break;
case MD_NTSTATUS_WIN_STATUS_WORKING_SET_QUOTA:
reason = "STATUS_WORKING_SET_QUOTA";
break;
case MD_NTSTATUS_WIN_STATUS_MEDIA_WRITE_PROTECTED:
reason = "STATUS_MEDIA_WRITE_PROTECTED";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_NOT_READY:
reason = "STATUS_DEVICE_NOT_READY";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_GROUP_ATTRIBUTES:
reason = "STATUS_INVALID_GROUP_ATTRIBUTES";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_IMPERSONATION_LEVEL:
reason = "STATUS_BAD_IMPERSONATION_LEVEL";
break;
case MD_NTSTATUS_WIN_STATUS_CANT_OPEN_ANONYMOUS:
reason = "STATUS_CANT_OPEN_ANONYMOUS";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_VALIDATION_CLASS:
reason = "STATUS_BAD_VALIDATION_CLASS";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_TOKEN_TYPE:
reason = "STATUS_BAD_TOKEN_TYPE";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_MASTER_BOOT_RECORD:
reason = "STATUS_BAD_MASTER_BOOT_RECORD";
break;
case MD_NTSTATUS_WIN_STATUS_INSTRUCTION_MISALIGNMENT:
reason = "STATUS_INSTRUCTION_MISALIGNMENT";
break;
case MD_NTSTATUS_WIN_STATUS_INSTANCE_NOT_AVAILABLE:
reason = "STATUS_INSTANCE_NOT_AVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_NOT_AVAILABLE:
reason = "STATUS_PIPE_NOT_AVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PIPE_STATE:
reason = "STATUS_INVALID_PIPE_STATE";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_BUSY:
reason = "STATUS_PIPE_BUSY";
break;
case MD_NTSTATUS_WIN_STATUS_ILLEGAL_FUNCTION:
reason = "STATUS_ILLEGAL_FUNCTION";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_DISCONNECTED:
reason = "STATUS_PIPE_DISCONNECTED";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_CLOSING:
reason = "STATUS_PIPE_CLOSING";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_CONNECTED:
reason = "STATUS_PIPE_CONNECTED";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_LISTENING:
reason = "STATUS_PIPE_LISTENING";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_READ_MODE:
reason = "STATUS_INVALID_READ_MODE";
break;
case MD_NTSTATUS_WIN_STATUS_IO_TIMEOUT:
reason = "STATUS_IO_TIMEOUT";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_FORCED_CLOSED:
reason = "STATUS_FILE_FORCED_CLOSED";
break;
case MD_NTSTATUS_WIN_STATUS_PROFILING_NOT_STARTED:
reason = "STATUS_PROFILING_NOT_STARTED";
break;
case MD_NTSTATUS_WIN_STATUS_PROFILING_NOT_STOPPED:
reason = "STATUS_PROFILING_NOT_STOPPED";
break;
case MD_NTSTATUS_WIN_STATUS_COULD_NOT_INTERPRET:
reason = "STATUS_COULD_NOT_INTERPRET";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_IS_A_DIRECTORY:
reason = "STATUS_FILE_IS_A_DIRECTORY";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED:
reason = "STATUS_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_REMOTE_NOT_LISTENING:
reason = "STATUS_REMOTE_NOT_LISTENING";
break;
case MD_NTSTATUS_WIN_STATUS_DUPLICATE_NAME:
reason = "STATUS_DUPLICATE_NAME";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_NETWORK_PATH:
reason = "STATUS_BAD_NETWORK_PATH";
break;
case MD_NTSTATUS_WIN_STATUS_NETWORK_BUSY:
reason = "STATUS_NETWORK_BUSY";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_DOES_NOT_EXIST:
reason = "STATUS_DEVICE_DOES_NOT_EXIST";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_COMMANDS:
reason = "STATUS_TOO_MANY_COMMANDS";
break;
case MD_NTSTATUS_WIN_STATUS_ADAPTER_HARDWARE_ERROR:
reason = "STATUS_ADAPTER_HARDWARE_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_NETWORK_RESPONSE:
reason = "STATUS_INVALID_NETWORK_RESPONSE";
break;
case MD_NTSTATUS_WIN_STATUS_UNEXPECTED_NETWORK_ERROR:
reason = "STATUS_UNEXPECTED_NETWORK_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_REMOTE_ADAPTER:
reason = "STATUS_BAD_REMOTE_ADAPTER";
break;
case MD_NTSTATUS_WIN_STATUS_PRINT_QUEUE_FULL:
reason = "STATUS_PRINT_QUEUE_FULL";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SPOOL_SPACE:
reason = "STATUS_NO_SPOOL_SPACE";
break;
case MD_NTSTATUS_WIN_STATUS_PRINT_CANCELLED:
reason = "STATUS_PRINT_CANCELLED";
break;
case MD_NTSTATUS_WIN_STATUS_NETWORK_NAME_DELETED:
reason = "STATUS_NETWORK_NAME_DELETED";
break;
case MD_NTSTATUS_WIN_STATUS_NETWORK_ACCESS_DENIED:
reason = "STATUS_NETWORK_ACCESS_DENIED";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_DEVICE_TYPE:
reason = "STATUS_BAD_DEVICE_TYPE";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_NETWORK_NAME:
reason = "STATUS_BAD_NETWORK_NAME";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_NAMES:
reason = "STATUS_TOO_MANY_NAMES";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_SESSIONS:
reason = "STATUS_TOO_MANY_SESSIONS";
break;
case MD_NTSTATUS_WIN_STATUS_SHARING_PAUSED:
reason = "STATUS_SHARING_PAUSED";
break;
case MD_NTSTATUS_WIN_STATUS_REQUEST_NOT_ACCEPTED:
reason = "STATUS_REQUEST_NOT_ACCEPTED";
break;
case MD_NTSTATUS_WIN_STATUS_REDIRECTOR_PAUSED:
reason = "STATUS_REDIRECTOR_PAUSED";
break;
case MD_NTSTATUS_WIN_STATUS_NET_WRITE_FAULT:
reason = "STATUS_NET_WRITE_FAULT";
break;
case MD_NTSTATUS_WIN_STATUS_PROFILING_AT_LIMIT:
reason = "STATUS_PROFILING_AT_LIMIT";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_SAME_DEVICE:
reason = "STATUS_NOT_SAME_DEVICE";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_RENAMED:
reason = "STATUS_FILE_RENAMED";
break;
case MD_NTSTATUS_WIN_STATUS_VIRTUAL_CIRCUIT_CLOSED:
reason = "STATUS_VIRTUAL_CIRCUIT_CLOSED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SECURITY_ON_OBJECT:
reason = "STATUS_NO_SECURITY_ON_OBJECT";
break;
case MD_NTSTATUS_WIN_STATUS_CANT_WAIT:
reason = "STATUS_CANT_WAIT";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_EMPTY:
reason = "STATUS_PIPE_EMPTY";
break;
case MD_NTSTATUS_WIN_STATUS_CANT_ACCESS_DOMAIN_INFO:
reason = "STATUS_CANT_ACCESS_DOMAIN_INFO";
break;
case MD_NTSTATUS_WIN_STATUS_CANT_TERMINATE_SELF:
reason = "STATUS_CANT_TERMINATE_SELF";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_SERVER_STATE:
reason = "STATUS_INVALID_SERVER_STATE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_DOMAIN_STATE:
reason = "STATUS_INVALID_DOMAIN_STATE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_DOMAIN_ROLE:
reason = "STATUS_INVALID_DOMAIN_ROLE";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_DOMAIN:
reason = "STATUS_NO_SUCH_DOMAIN";
break;
case MD_NTSTATUS_WIN_STATUS_DOMAIN_EXISTS:
reason = "STATUS_DOMAIN_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_DOMAIN_LIMIT_EXCEEDED:
reason = "STATUS_DOMAIN_LIMIT_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_OPLOCK_NOT_GRANTED:
reason = "STATUS_OPLOCK_NOT_GRANTED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_OPLOCK_PROTOCOL:
reason = "STATUS_INVALID_OPLOCK_PROTOCOL";
break;
case MD_NTSTATUS_WIN_STATUS_INTERNAL_DB_CORRUPTION:
reason = "STATUS_INTERNAL_DB_CORRUPTION";
break;
case MD_NTSTATUS_WIN_STATUS_INTERNAL_ERROR:
reason = "STATUS_INTERNAL_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_GENERIC_NOT_MAPPED:
reason = "STATUS_GENERIC_NOT_MAPPED";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_DESCRIPTOR_FORMAT:
reason = "STATUS_BAD_DESCRIPTOR_FORMAT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_USER_BUFFER:
reason = "STATUS_INVALID_USER_BUFFER";
break;
case MD_NTSTATUS_WIN_STATUS_UNEXPECTED_IO_ERROR:
reason = "STATUS_UNEXPECTED_IO_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_UNEXPECTED_MM_CREATE_ERR:
reason = "STATUS_UNEXPECTED_MM_CREATE_ERR";
break;
case MD_NTSTATUS_WIN_STATUS_UNEXPECTED_MM_MAP_ERROR:
reason = "STATUS_UNEXPECTED_MM_MAP_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_UNEXPECTED_MM_EXTEND_ERR:
reason = "STATUS_UNEXPECTED_MM_EXTEND_ERR";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_LOGON_PROCESS:
reason = "STATUS_NOT_LOGON_PROCESS";
break;
case MD_NTSTATUS_WIN_STATUS_LOGON_SESSION_EXISTS:
reason = "STATUS_LOGON_SESSION_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_1:
reason = "STATUS_INVALID_PARAMETER_1";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_2:
reason = "STATUS_INVALID_PARAMETER_2";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_3:
reason = "STATUS_INVALID_PARAMETER_3";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_4:
reason = "STATUS_INVALID_PARAMETER_4";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_5:
reason = "STATUS_INVALID_PARAMETER_5";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_6:
reason = "STATUS_INVALID_PARAMETER_6";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_7:
reason = "STATUS_INVALID_PARAMETER_7";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_8:
reason = "STATUS_INVALID_PARAMETER_8";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_9:
reason = "STATUS_INVALID_PARAMETER_9";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_10:
reason = "STATUS_INVALID_PARAMETER_10";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_11:
reason = "STATUS_INVALID_PARAMETER_11";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PARAMETER_12:
reason = "STATUS_INVALID_PARAMETER_12";
break;
case MD_NTSTATUS_WIN_STATUS_REDIRECTOR_NOT_STARTED:
reason = "STATUS_REDIRECTOR_NOT_STARTED";
break;
case MD_NTSTATUS_WIN_STATUS_REDIRECTOR_STARTED:
reason = "STATUS_REDIRECTOR_STARTED";
break;
case MD_NTSTATUS_WIN_STATUS_STACK_OVERFLOW:
reason = "STATUS_STACK_OVERFLOW";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_PACKAGE:
reason = "STATUS_NO_SUCH_PACKAGE";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_FUNCTION_TABLE:
reason = "STATUS_BAD_FUNCTION_TABLE";
break;
case MD_NTSTATUS_WIN_STATUS_VARIABLE_NOT_FOUND:
reason = "STATUS_VARIABLE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_DIRECTORY_NOT_EMPTY:
reason = "STATUS_DIRECTORY_NOT_EMPTY";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_CORRUPT_ERROR:
reason = "STATUS_FILE_CORRUPT_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_A_DIRECTORY:
reason = "STATUS_NOT_A_DIRECTORY";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_LOGON_SESSION_STATE:
reason = "STATUS_BAD_LOGON_SESSION_STATE";
break;
case MD_NTSTATUS_WIN_STATUS_LOGON_SESSION_COLLISION:
reason = "STATUS_LOGON_SESSION_COLLISION";
break;
case MD_NTSTATUS_WIN_STATUS_NAME_TOO_LONG:
reason = "STATUS_NAME_TOO_LONG";
break;
case MD_NTSTATUS_WIN_STATUS_FILES_OPEN:
reason = "STATUS_FILES_OPEN";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_IN_USE:
reason = "STATUS_CONNECTION_IN_USE";
break;
case MD_NTSTATUS_WIN_STATUS_MESSAGE_NOT_FOUND:
reason = "STATUS_MESSAGE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_PROCESS_IS_TERMINATING:
reason = "STATUS_PROCESS_IS_TERMINATING";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LOGON_TYPE:
reason = "STATUS_INVALID_LOGON_TYPE";
break;
case MD_NTSTATUS_WIN_STATUS_NO_GUID_TRANSLATION:
reason = "STATUS_NO_GUID_TRANSLATION";
break;
case MD_NTSTATUS_WIN_STATUS_CANNOT_IMPERSONATE:
reason = "STATUS_CANNOT_IMPERSONATE";
break;
case MD_NTSTATUS_WIN_STATUS_IMAGE_ALREADY_LOADED:
reason = "STATUS_IMAGE_ALREADY_LOADED";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_NOT_PRESENT:
reason = "STATUS_ABIOS_NOT_PRESENT";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_LID_NOT_EXIST:
reason = "STATUS_ABIOS_LID_NOT_EXIST";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_LID_ALREADY_OWNED:
reason = "STATUS_ABIOS_LID_ALREADY_OWNED";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_NOT_LID_OWNER:
reason = "STATUS_ABIOS_NOT_LID_OWNER";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_INVALID_COMMAND:
reason = "STATUS_ABIOS_INVALID_COMMAND";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_INVALID_LID:
reason = "STATUS_ABIOS_INVALID_LID";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_SELECTOR_NOT_AVAILABLE:
reason = "STATUS_ABIOS_SELECTOR_NOT_AVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_ABIOS_INVALID_SELECTOR:
reason = "STATUS_ABIOS_INVALID_SELECTOR";
break;
case MD_NTSTATUS_WIN_STATUS_NO_LDT:
reason = "STATUS_NO_LDT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LDT_SIZE:
reason = "STATUS_INVALID_LDT_SIZE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LDT_OFFSET:
reason = "STATUS_INVALID_LDT_OFFSET";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LDT_DESCRIPTOR:
reason = "STATUS_INVALID_LDT_DESCRIPTOR";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_NE_FORMAT:
reason = "STATUS_INVALID_IMAGE_NE_FORMAT";
break;
case MD_NTSTATUS_WIN_STATUS_RXACT_INVALID_STATE:
reason = "STATUS_RXACT_INVALID_STATE";
break;
case MD_NTSTATUS_WIN_STATUS_RXACT_COMMIT_FAILURE:
reason = "STATUS_RXACT_COMMIT_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_MAPPED_FILE_SIZE_ZERO:
reason = "STATUS_MAPPED_FILE_SIZE_ZERO";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_OPENED_FILES:
reason = "STATUS_TOO_MANY_OPENED_FILES";
break;
case MD_NTSTATUS_WIN_STATUS_CANCELLED:
reason = "STATUS_CANCELLED";
break;
case MD_NTSTATUS_WIN_STATUS_CANNOT_DELETE:
reason = "STATUS_CANNOT_DELETE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_COMPUTER_NAME:
reason = "STATUS_INVALID_COMPUTER_NAME";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_DELETED:
reason = "STATUS_FILE_DELETED";
break;
case MD_NTSTATUS_WIN_STATUS_SPECIAL_ACCOUNT:
reason = "STATUS_SPECIAL_ACCOUNT";
break;
case MD_NTSTATUS_WIN_STATUS_SPECIAL_GROUP:
reason = "STATUS_SPECIAL_GROUP";
break;
case MD_NTSTATUS_WIN_STATUS_SPECIAL_USER:
reason = "STATUS_SPECIAL_USER";
break;
case MD_NTSTATUS_WIN_STATUS_MEMBERS_PRIMARY_GROUP:
reason = "STATUS_MEMBERS_PRIMARY_GROUP";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_CLOSED:
reason = "STATUS_FILE_CLOSED";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_THREADS:
reason = "STATUS_TOO_MANY_THREADS";
break;
case MD_NTSTATUS_WIN_STATUS_THREAD_NOT_IN_PROCESS:
reason = "STATUS_THREAD_NOT_IN_PROCESS";
break;
case MD_NTSTATUS_WIN_STATUS_TOKEN_ALREADY_IN_USE:
reason = "STATUS_TOKEN_ALREADY_IN_USE";
break;
case MD_NTSTATUS_WIN_STATUS_PAGEFILE_QUOTA_EXCEEDED:
reason = "STATUS_PAGEFILE_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_COMMITMENT_LIMIT:
reason = "STATUS_COMMITMENT_LIMIT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_LE_FORMAT:
reason = "STATUS_INVALID_IMAGE_LE_FORMAT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_NOT_MZ:
reason = "STATUS_INVALID_IMAGE_NOT_MZ";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_PROTECT:
reason = "STATUS_INVALID_IMAGE_PROTECT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_WIN_16:
reason = "STATUS_INVALID_IMAGE_WIN_16";
break;
case MD_NTSTATUS_WIN_STATUS_LOGON_SERVER_CONFLICT:
reason = "STATUS_LOGON_SERVER_CONFLICT";
break;
case MD_NTSTATUS_WIN_STATUS_TIME_DIFFERENCE_AT_DC:
reason = "STATUS_TIME_DIFFERENCE_AT_DC";
break;
case MD_NTSTATUS_WIN_STATUS_SYNCHRONIZATION_REQUIRED:
reason = "STATUS_SYNCHRONIZATION_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_DLL_NOT_FOUND:
reason = "STATUS_DLL_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_OPEN_FAILED:
reason = "STATUS_OPEN_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_IO_PRIVILEGE_FAILED:
reason = "STATUS_IO_PRIVILEGE_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_ORDINAL_NOT_FOUND:
reason = "STATUS_ORDINAL_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_ENTRYPOINT_NOT_FOUND:
reason = "STATUS_ENTRYPOINT_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_CONTROL_C_EXIT:
reason = "STATUS_CONTROL_C_EXIT";
break;
case MD_NTSTATUS_WIN_STATUS_LOCAL_DISCONNECT:
reason = "STATUS_LOCAL_DISCONNECT";
break;
case MD_NTSTATUS_WIN_STATUS_REMOTE_DISCONNECT:
reason = "STATUS_REMOTE_DISCONNECT";
break;
case MD_NTSTATUS_WIN_STATUS_REMOTE_RESOURCES:
reason = "STATUS_REMOTE_RESOURCES";
break;
case MD_NTSTATUS_WIN_STATUS_LINK_FAILED:
reason = "STATUS_LINK_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_LINK_TIMEOUT:
reason = "STATUS_LINK_TIMEOUT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_CONNECTION:
reason = "STATUS_INVALID_CONNECTION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_ADDRESS:
reason = "STATUS_INVALID_ADDRESS";
break;
case MD_NTSTATUS_WIN_STATUS_DLL_INIT_FAILED:
reason = "STATUS_DLL_INIT_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_MISSING_SYSTEMFILE:
reason = "STATUS_MISSING_SYSTEMFILE";
break;
case MD_NTSTATUS_WIN_STATUS_UNHANDLED_EXCEPTION:
reason = "STATUS_UNHANDLED_EXCEPTION";
break;
case MD_NTSTATUS_WIN_STATUS_APP_INIT_FAILURE:
reason = "STATUS_APP_INIT_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_PAGEFILE_CREATE_FAILED:
reason = "STATUS_PAGEFILE_CREATE_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_PAGEFILE:
reason = "STATUS_NO_PAGEFILE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LEVEL:
reason = "STATUS_INVALID_LEVEL";
break;
case MD_NTSTATUS_WIN_STATUS_WRONG_PASSWORD_CORE:
reason = "STATUS_WRONG_PASSWORD_CORE";
break;
case MD_NTSTATUS_WIN_STATUS_ILLEGAL_FLOAT_CONTEXT:
reason = "STATUS_ILLEGAL_FLOAT_CONTEXT";
break;
case MD_NTSTATUS_WIN_STATUS_PIPE_BROKEN:
reason = "STATUS_PIPE_BROKEN";
break;
case MD_NTSTATUS_WIN_STATUS_REGISTRY_CORRUPT:
reason = "STATUS_REGISTRY_CORRUPT";
break;
case MD_NTSTATUS_WIN_STATUS_REGISTRY_IO_FAILED:
reason = "STATUS_REGISTRY_IO_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_EVENT_PAIR:
reason = "STATUS_NO_EVENT_PAIR";
break;
case MD_NTSTATUS_WIN_STATUS_UNRECOGNIZED_VOLUME:
reason = "STATUS_UNRECOGNIZED_VOLUME";
break;
case MD_NTSTATUS_WIN_STATUS_SERIAL_NO_DEVICE_INITED:
reason = "STATUS_SERIAL_NO_DEVICE_INITED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_ALIAS:
reason = "STATUS_NO_SUCH_ALIAS";
break;
case MD_NTSTATUS_WIN_STATUS_MEMBER_NOT_IN_ALIAS:
reason = "STATUS_MEMBER_NOT_IN_ALIAS";
break;
case MD_NTSTATUS_WIN_STATUS_MEMBER_IN_ALIAS:
reason = "STATUS_MEMBER_IN_ALIAS";
break;
case MD_NTSTATUS_WIN_STATUS_ALIAS_EXISTS:
reason = "STATUS_ALIAS_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_LOGON_NOT_GRANTED:
reason = "STATUS_LOGON_NOT_GRANTED";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_SECRETS:
reason = "STATUS_TOO_MANY_SECRETS";
break;
case MD_NTSTATUS_WIN_STATUS_SECRET_TOO_LONG:
reason = "STATUS_SECRET_TOO_LONG";
break;
case MD_NTSTATUS_WIN_STATUS_INTERNAL_DB_ERROR:
reason = "STATUS_INTERNAL_DB_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_FULLSCREEN_MODE:
reason = "STATUS_FULLSCREEN_MODE";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_CONTEXT_IDS:
reason = "STATUS_TOO_MANY_CONTEXT_IDS";
break;
case MD_NTSTATUS_WIN_STATUS_LOGON_TYPE_NOT_GRANTED:
reason = "STATUS_LOGON_TYPE_NOT_GRANTED";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_REGISTRY_FILE:
reason = "STATUS_NOT_REGISTRY_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_NT_CROSS_ENCRYPTION_REQUIRED:
reason = "STATUS_NT_CROSS_ENCRYPTION_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_DOMAIN_CTRLR_CONFIG_ERROR:
reason = "STATUS_DOMAIN_CTRLR_CONFIG_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_FT_MISSING_MEMBER:
reason = "STATUS_FT_MISSING_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_ILL_FORMED_SERVICE_ENTRY:
reason = "STATUS_ILL_FORMED_SERVICE_ENTRY";
break;
case MD_NTSTATUS_WIN_STATUS_ILLEGAL_CHARACTER:
reason = "STATUS_ILLEGAL_CHARACTER";
break;
case MD_NTSTATUS_WIN_STATUS_UNMAPPABLE_CHARACTER:
reason = "STATUS_UNMAPPABLE_CHARACTER";
break;
case MD_NTSTATUS_WIN_STATUS_UNDEFINED_CHARACTER:
reason = "STATUS_UNDEFINED_CHARACTER";
break;
case MD_NTSTATUS_WIN_STATUS_FLOPPY_VOLUME:
reason = "STATUS_FLOPPY_VOLUME";
break;
case MD_NTSTATUS_WIN_STATUS_FLOPPY_ID_MARK_NOT_FOUND:
reason = "STATUS_FLOPPY_ID_MARK_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_FLOPPY_WRONG_CYLINDER:
reason = "STATUS_FLOPPY_WRONG_CYLINDER";
break;
case MD_NTSTATUS_WIN_STATUS_FLOPPY_UNKNOWN_ERROR:
reason = "STATUS_FLOPPY_UNKNOWN_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_FLOPPY_BAD_REGISTERS:
reason = "STATUS_FLOPPY_BAD_REGISTERS";
break;
case MD_NTSTATUS_WIN_STATUS_DISK_RECALIBRATE_FAILED:
reason = "STATUS_DISK_RECALIBRATE_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_DISK_OPERATION_FAILED:
reason = "STATUS_DISK_OPERATION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_DISK_RESET_FAILED:
reason = "STATUS_DISK_RESET_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_SHARED_IRQ_BUSY:
reason = "STATUS_SHARED_IRQ_BUSY";
break;
case MD_NTSTATUS_WIN_STATUS_FT_ORPHANING:
reason = "STATUS_FT_ORPHANING";
break;
case MD_NTSTATUS_WIN_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT:
reason = "STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT";
break;
case MD_NTSTATUS_WIN_STATUS_PARTITION_FAILURE:
reason = "STATUS_PARTITION_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_BLOCK_LENGTH:
reason = "STATUS_INVALID_BLOCK_LENGTH";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_NOT_PARTITIONED:
reason = "STATUS_DEVICE_NOT_PARTITIONED";
break;
case MD_NTSTATUS_WIN_STATUS_UNABLE_TO_LOCK_MEDIA:
reason = "STATUS_UNABLE_TO_LOCK_MEDIA";
break;
case MD_NTSTATUS_WIN_STATUS_UNABLE_TO_UNLOAD_MEDIA:
reason = "STATUS_UNABLE_TO_UNLOAD_MEDIA";
break;
case MD_NTSTATUS_WIN_STATUS_EOM_OVERFLOW:
reason = "STATUS_EOM_OVERFLOW";
break;
case MD_NTSTATUS_WIN_STATUS_NO_MEDIA:
reason = "STATUS_NO_MEDIA";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SUCH_MEMBER:
reason = "STATUS_NO_SUCH_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_MEMBER:
reason = "STATUS_INVALID_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_KEY_DELETED:
reason = "STATUS_KEY_DELETED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_LOG_SPACE:
reason = "STATUS_NO_LOG_SPACE";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_SIDS:
reason = "STATUS_TOO_MANY_SIDS";
break;
case MD_NTSTATUS_WIN_STATUS_LM_CROSS_ENCRYPTION_REQUIRED:
reason = "STATUS_LM_CROSS_ENCRYPTION_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_KEY_HAS_CHILDREN:
reason = "STATUS_KEY_HAS_CHILDREN";
break;
case MD_NTSTATUS_WIN_STATUS_CHILD_MUST_BE_VOLATILE:
reason = "STATUS_CHILD_MUST_BE_VOLATILE";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_CONFIGURATION_ERROR:
reason = "STATUS_DEVICE_CONFIGURATION_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_INTERNAL_ERROR:
reason = "STATUS_DRIVER_INTERNAL_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_DEVICE_STATE:
reason = "STATUS_INVALID_DEVICE_STATE";
break;
case MD_NTSTATUS_WIN_STATUS_IO_DEVICE_ERROR:
reason = "STATUS_IO_DEVICE_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_PROTOCOL_ERROR:
reason = "STATUS_DEVICE_PROTOCOL_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_BACKUP_CONTROLLER:
reason = "STATUS_BACKUP_CONTROLLER";
break;
case MD_NTSTATUS_WIN_STATUS_LOG_FILE_FULL:
reason = "STATUS_LOG_FILE_FULL";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_LATE:
reason = "STATUS_TOO_LATE";
break;
case MD_NTSTATUS_WIN_STATUS_NO_TRUST_LSA_SECRET:
reason = "STATUS_NO_TRUST_LSA_SECRET";
break;
case MD_NTSTATUS_WIN_STATUS_NO_TRUST_SAM_ACCOUNT:
reason = "STATUS_NO_TRUST_SAM_ACCOUNT";
break;
case MD_NTSTATUS_WIN_STATUS_TRUSTED_DOMAIN_FAILURE:
reason = "STATUS_TRUSTED_DOMAIN_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_TRUSTED_RELATIONSHIP_FAILURE:
reason = "STATUS_TRUSTED_RELATIONSHIP_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_EVENTLOG_FILE_CORRUPT:
reason = "STATUS_EVENTLOG_FILE_CORRUPT";
break;
case MD_NTSTATUS_WIN_STATUS_EVENTLOG_CANT_START:
reason = "STATUS_EVENTLOG_CANT_START";
break;
case MD_NTSTATUS_WIN_STATUS_TRUST_FAILURE:
reason = "STATUS_TRUST_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_MUTANT_LIMIT_EXCEEDED:
reason = "STATUS_MUTANT_LIMIT_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_NETLOGON_NOT_STARTED:
reason = "STATUS_NETLOGON_NOT_STARTED";
break;
case MD_NTSTATUS_WIN_STATUS_ACCOUNT_EXPIRED:
reason = "STATUS_ACCOUNT_EXPIRED";
break;
case MD_NTSTATUS_WIN_STATUS_POSSIBLE_DEADLOCK:
reason = "STATUS_POSSIBLE_DEADLOCK";
break;
case MD_NTSTATUS_WIN_STATUS_NETWORK_CREDENTIAL_CONFLICT:
reason = "STATUS_NETWORK_CREDENTIAL_CONFLICT";
break;
case MD_NTSTATUS_WIN_STATUS_REMOTE_SESSION_LIMIT:
reason = "STATUS_REMOTE_SESSION_LIMIT";
break;
case MD_NTSTATUS_WIN_STATUS_EVENTLOG_FILE_CHANGED:
reason = "STATUS_EVENTLOG_FILE_CHANGED";
break;
case MD_NTSTATUS_WIN_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT:
reason = "STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT";
break;
case MD_NTSTATUS_WIN_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT:
reason = "STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT";
break;
case MD_NTSTATUS_WIN_STATUS_NOLOGON_SERVER_TRUST_ACCOUNT:
reason = "STATUS_NOLOGON_SERVER_TRUST_ACCOUNT";
break;
case MD_NTSTATUS_WIN_STATUS_DOMAIN_TRUST_INCONSISTENT:
reason = "STATUS_DOMAIN_TRUST_INCONSISTENT";
break;
case MD_NTSTATUS_WIN_STATUS_FS_DRIVER_REQUIRED:
reason = "STATUS_FS_DRIVER_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_IMAGE_ALREADY_LOADED_AS_DLL:
reason = "STATUS_IMAGE_ALREADY_LOADED_AS_DLL";
break;
case MD_NTSTATUS_WIN_STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING:
reason = "STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING";
break;
case MD_NTSTATUS_WIN_STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME:
reason = "STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME";
break;
case MD_NTSTATUS_WIN_STATUS_SECURITY_STREAM_IS_INCONSISTENT:
reason = "STATUS_SECURITY_STREAM_IS_INCONSISTENT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LOCK_RANGE:
reason = "STATUS_INVALID_LOCK_RANGE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_ACE_CONDITION:
reason = "STATUS_INVALID_ACE_CONDITION";
break;
case MD_NTSTATUS_WIN_STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT:
reason = "STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT";
break;
case MD_NTSTATUS_WIN_STATUS_NOTIFICATION_GUID_ALREADY_DEFINED:
reason = "STATUS_NOTIFICATION_GUID_ALREADY_DEFINED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_EXCEPTION_HANDLER:
reason = "STATUS_INVALID_EXCEPTION_HANDLER";
break;
case MD_NTSTATUS_WIN_STATUS_DUPLICATE_PRIVILEGES:
reason = "STATUS_DUPLICATE_PRIVILEGES";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_ALLOWED_ON_SYSTEM_FILE:
reason = "STATUS_NOT_ALLOWED_ON_SYSTEM_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_REPAIR_NEEDED:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_RESOURCE_LANG_NOT_FOUND:
reason = "STATUS_RESOURCE_LANG_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_INSUFF_SERVER_RESOURCES:
reason = "STATUS_INSUFF_SERVER_RESOURCES";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_BUFFER_SIZE:
reason = "STATUS_INVALID_BUFFER_SIZE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_ADDRESS_COMPONENT:
reason = "STATUS_INVALID_ADDRESS_COMPONENT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_ADDRESS_WILDCARD:
reason = "STATUS_INVALID_ADDRESS_WILDCARD";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_ADDRESSES:
reason = "STATUS_TOO_MANY_ADDRESSES";
break;
case MD_NTSTATUS_WIN_STATUS_ADDRESS_ALREADY_EXISTS:
reason = "STATUS_ADDRESS_ALREADY_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_ADDRESS_CLOSED:
reason = "STATUS_ADDRESS_CLOSED";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_DISCONNECTED:
reason = "STATUS_CONNECTION_DISCONNECTED";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_RESET:
reason = "STATUS_CONNECTION_RESET";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_NODES:
reason = "STATUS_TOO_MANY_NODES";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSACTION_ABORTED:
reason = "STATUS_TRANSACTION_ABORTED";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSACTION_TIMED_OUT:
reason = "STATUS_TRANSACTION_TIMED_OUT";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSACTION_NO_RELEASE:
reason = "STATUS_TRANSACTION_NO_RELEASE";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSACTION_NO_MATCH:
reason = "STATUS_TRANSACTION_NO_MATCH";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSACTION_RESPONDED:
reason = "STATUS_TRANSACTION_RESPONDED";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSACTION_INVALID_ID:
reason = "STATUS_TRANSACTION_INVALID_ID";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSACTION_INVALID_TYPE:
reason = "STATUS_TRANSACTION_INVALID_TYPE";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_SERVER_SESSION:
reason = "STATUS_NOT_SERVER_SESSION";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_CLIENT_SESSION:
reason = "STATUS_NOT_CLIENT_SESSION";
break;
case MD_NTSTATUS_WIN_STATUS_CANNOT_LOAD_REGISTRY_FILE:
reason = "STATUS_CANNOT_LOAD_REGISTRY_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_DEBUG_ATTACH_FAILED:
reason = "STATUS_DEBUG_ATTACH_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_SYSTEM_PROCESS_TERMINATED:
reason = "STATUS_SYSTEM_PROCESS_TERMINATED";
break;
case MD_NTSTATUS_WIN_STATUS_DATA_NOT_ACCEPTED:
reason = "STATUS_DATA_NOT_ACCEPTED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_BROWSER_SERVERS_FOUND:
reason = "STATUS_NO_BROWSER_SERVERS_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_VDM_HARD_ERROR:
reason = "STATUS_VDM_HARD_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_CANCEL_TIMEOUT:
reason = "STATUS_DRIVER_CANCEL_TIMEOUT";
break;
case MD_NTSTATUS_WIN_STATUS_REPLY_MESSAGE_MISMATCH:
reason = "STATUS_REPLY_MESSAGE_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_MAPPED_ALIGNMENT:
reason = "STATUS_MAPPED_ALIGNMENT";
break;
case MD_NTSTATUS_WIN_STATUS_IMAGE_CHECKSUM_MISMATCH:
reason = "STATUS_IMAGE_CHECKSUM_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_LOST_WRITEBEHIND_DATA:
reason = "STATUS_LOST_WRITEBEHIND_DATA";
break;
case MD_NTSTATUS_WIN_STATUS_CLIENT_SERVER_PARAMETERS_INVALID:
reason = "STATUS_CLIENT_SERVER_PARAMETERS_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_PASSWORD_MUST_CHANGE:
reason = "STATUS_PASSWORD_MUST_CHANGE";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_FOUND:
reason = "STATUS_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_TINY_STREAM:
reason = "STATUS_NOT_TINY_STREAM";
break;
case MD_NTSTATUS_WIN_STATUS_RECOVERY_FAILURE:
reason = "STATUS_RECOVERY_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_STACK_OVERFLOW_READ:
reason = "STATUS_STACK_OVERFLOW_READ";
break;
case MD_NTSTATUS_WIN_STATUS_FAIL_CHECK:
reason = "STATUS_FAIL_CHECK";
break;
case MD_NTSTATUS_WIN_STATUS_DUPLICATE_OBJECTID:
reason = "STATUS_DUPLICATE_OBJECTID";
break;
case MD_NTSTATUS_WIN_STATUS_OBJECTID_EXISTS:
reason = "STATUS_OBJECTID_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_CONVERT_TO_LARGE:
reason = "STATUS_CONVERT_TO_LARGE";
break;
case MD_NTSTATUS_WIN_STATUS_RETRY:
reason = "STATUS_RETRY";
break;
case MD_NTSTATUS_WIN_STATUS_FOUND_OUT_OF_SCOPE:
reason = "STATUS_FOUND_OUT_OF_SCOPE";
break;
case MD_NTSTATUS_WIN_STATUS_ALLOCATE_BUCKET:
reason = "STATUS_ALLOCATE_BUCKET";
break;
case MD_NTSTATUS_WIN_STATUS_PROPSET_NOT_FOUND:
reason = "STATUS_PROPSET_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_MARSHALL_OVERFLOW:
reason = "STATUS_MARSHALL_OVERFLOW";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_VARIANT:
reason = "STATUS_INVALID_VARIANT";
break;
case MD_NTSTATUS_WIN_STATUS_DOMAIN_CONTROLLER_NOT_FOUND:
reason = "STATUS_DOMAIN_CONTROLLER_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_ACCOUNT_LOCKED_OUT:
reason = "STATUS_ACCOUNT_LOCKED_OUT";
break;
case MD_NTSTATUS_WIN_STATUS_HANDLE_NOT_CLOSABLE:
reason = "STATUS_HANDLE_NOT_CLOSABLE";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_REFUSED:
reason = "STATUS_CONNECTION_REFUSED";
break;
case MD_NTSTATUS_WIN_STATUS_GRACEFUL_DISCONNECT:
reason = "STATUS_GRACEFUL_DISCONNECT";
break;
case MD_NTSTATUS_WIN_STATUS_ADDRESS_ALREADY_ASSOCIATED:
reason = "STATUS_ADDRESS_ALREADY_ASSOCIATED";
break;
case MD_NTSTATUS_WIN_STATUS_ADDRESS_NOT_ASSOCIATED:
reason = "STATUS_ADDRESS_NOT_ASSOCIATED";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_INVALID:
reason = "STATUS_CONNECTION_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_ACTIVE:
reason = "STATUS_CONNECTION_ACTIVE";
break;
case MD_NTSTATUS_WIN_STATUS_NETWORK_UNREACHABLE:
reason = "STATUS_NETWORK_UNREACHABLE";
break;
case MD_NTSTATUS_WIN_STATUS_HOST_UNREACHABLE:
reason = "STATUS_HOST_UNREACHABLE";
break;
case MD_NTSTATUS_WIN_STATUS_PROTOCOL_UNREACHABLE:
reason = "STATUS_PROTOCOL_UNREACHABLE";
break;
case MD_NTSTATUS_WIN_STATUS_PORT_UNREACHABLE:
reason = "STATUS_PORT_UNREACHABLE";
break;
case MD_NTSTATUS_WIN_STATUS_REQUEST_ABORTED:
reason = "STATUS_REQUEST_ABORTED";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_ABORTED:
reason = "STATUS_CONNECTION_ABORTED";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_COMPRESSION_BUFFER:
reason = "STATUS_BAD_COMPRESSION_BUFFER";
break;
case MD_NTSTATUS_WIN_STATUS_USER_MAPPED_FILE:
reason = "STATUS_USER_MAPPED_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_AUDIT_FAILED:
reason = "STATUS_AUDIT_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_TIMER_RESOLUTION_NOT_SET:
reason = "STATUS_TIMER_RESOLUTION_NOT_SET";
break;
case MD_NTSTATUS_WIN_STATUS_CONNECTION_COUNT_LIMIT:
reason = "STATUS_CONNECTION_COUNT_LIMIT";
break;
case MD_NTSTATUS_WIN_STATUS_LOGIN_TIME_RESTRICTION:
reason = "STATUS_LOGIN_TIME_RESTRICTION";
break;
case MD_NTSTATUS_WIN_STATUS_LOGIN_WKSTA_RESTRICTION:
reason = "STATUS_LOGIN_WKSTA_RESTRICTION";
break;
case MD_NTSTATUS_WIN_STATUS_IMAGE_MP_UP_MISMATCH:
reason = "STATUS_IMAGE_MP_UP_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_INSUFFICIENT_LOGON_INFO:
reason = "STATUS_INSUFFICIENT_LOGON_INFO";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_DLL_ENTRYPOINT:
reason = "STATUS_BAD_DLL_ENTRYPOINT";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_SERVICE_ENTRYPOINT:
reason = "STATUS_BAD_SERVICE_ENTRYPOINT";
break;
case MD_NTSTATUS_WIN_STATUS_LPC_REPLY_LOST:
reason = "STATUS_LPC_REPLY_LOST";
break;
case MD_NTSTATUS_WIN_STATUS_IP_ADDRESS_CONFLICT1:
reason = "STATUS_IP_ADDRESS_CONFLICT1";
break;
case MD_NTSTATUS_WIN_STATUS_IP_ADDRESS_CONFLICT2:
reason = "STATUS_IP_ADDRESS_CONFLICT2";
break;
case MD_NTSTATUS_WIN_STATUS_REGISTRY_QUOTA_LIMIT:
reason = "STATUS_REGISTRY_QUOTA_LIMIT";
break;
case MD_NTSTATUS_WIN_STATUS_PATH_NOT_COVERED:
reason = "STATUS_PATH_NOT_COVERED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_CALLBACK_ACTIVE:
reason = "STATUS_NO_CALLBACK_ACTIVE";
break;
case MD_NTSTATUS_WIN_STATUS_LICENSE_QUOTA_EXCEEDED:
reason = "STATUS_LICENSE_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_PWD_TOO_SHORT:
reason = "STATUS_PWD_TOO_SHORT";
break;
case MD_NTSTATUS_WIN_STATUS_PWD_TOO_RECENT:
reason = "STATUS_PWD_TOO_RECENT";
break;
case MD_NTSTATUS_WIN_STATUS_PWD_HISTORY_CONFLICT:
reason = "STATUS_PWD_HISTORY_CONFLICT";
break;
case MD_NTSTATUS_WIN_STATUS_PLUGPLAY_NO_DEVICE:
reason = "STATUS_PLUGPLAY_NO_DEVICE";
break;
case MD_NTSTATUS_WIN_STATUS_UNSUPPORTED_COMPRESSION:
reason = "STATUS_UNSUPPORTED_COMPRESSION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_HW_PROFILE:
reason = "STATUS_INVALID_HW_PROFILE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_PLUGPLAY_DEVICE_PATH:
reason = "STATUS_INVALID_PLUGPLAY_DEVICE_PATH";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_ORDINAL_NOT_FOUND:
reason = "STATUS_DRIVER_ORDINAL_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_ENTRYPOINT_NOT_FOUND:
reason = "STATUS_DRIVER_ENTRYPOINT_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_RESOURCE_NOT_OWNED:
reason = "STATUS_RESOURCE_NOT_OWNED";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_LINKS:
reason = "STATUS_TOO_MANY_LINKS";
break;
case MD_NTSTATUS_WIN_STATUS_QUOTA_LIST_INCONSISTENT:
reason = "STATUS_QUOTA_LIST_INCONSISTENT";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_IS_OFFLINE:
reason = "STATUS_FILE_IS_OFFLINE";
break;
case MD_NTSTATUS_WIN_STATUS_EVALUATION_EXPIRATION:
reason = "STATUS_EVALUATION_EXPIRATION";
break;
case MD_NTSTATUS_WIN_STATUS_ILLEGAL_DLL_RELOCATION:
reason = "STATUS_ILLEGAL_DLL_RELOCATION";
break;
case MD_NTSTATUS_WIN_STATUS_LICENSE_VIOLATION:
reason = "STATUS_LICENSE_VIOLATION";
break;
case MD_NTSTATUS_WIN_STATUS_DLL_INIT_FAILED_LOGOFF:
reason = "STATUS_DLL_INIT_FAILED_LOGOFF";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_UNABLE_TO_LOAD:
reason = "STATUS_DRIVER_UNABLE_TO_LOAD";
break;
case MD_NTSTATUS_WIN_STATUS_DFS_UNAVAILABLE:
reason = "STATUS_DFS_UNAVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_VOLUME_DISMOUNTED:
reason = "STATUS_VOLUME_DISMOUNTED";
break;
case MD_NTSTATUS_WIN_STATUS_WX86_INTERNAL_ERROR:
reason = "STATUS_WX86_INTERNAL_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_WX86_FLOAT_STACK_CHECK:
reason = "STATUS_WX86_FLOAT_STACK_CHECK";
break;
case MD_NTSTATUS_WIN_STATUS_VALIDATE_CONTINUE:
reason = "STATUS_VALIDATE_CONTINUE";
break;
case MD_NTSTATUS_WIN_STATUS_NO_MATCH:
reason = "STATUS_NO_MATCH";
break;
case MD_NTSTATUS_WIN_STATUS_NO_MORE_MATCHES:
reason = "STATUS_NO_MORE_MATCHES";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_A_REPARSE_POINT:
reason = "STATUS_NOT_A_REPARSE_POINT";
break;
case MD_NTSTATUS_WIN_STATUS_IO_REPARSE_TAG_INVALID:
reason = "STATUS_IO_REPARSE_TAG_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_IO_REPARSE_TAG_MISMATCH:
reason = "STATUS_IO_REPARSE_TAG_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_IO_REPARSE_DATA_INVALID:
reason = "STATUS_IO_REPARSE_DATA_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_IO_REPARSE_TAG_NOT_HANDLED:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_SOURCE_ELEMENT_EMPTY:
reason = "STATUS_SOURCE_ELEMENT_EMPTY";
break;
case MD_NTSTATUS_WIN_STATUS_DESTINATION_ELEMENT_FULL:
reason = "STATUS_DESTINATION_ELEMENT_FULL";
break;
case MD_NTSTATUS_WIN_STATUS_ILLEGAL_ELEMENT_ADDRESS:
reason = "STATUS_ILLEGAL_ELEMENT_ADDRESS";
break;
case MD_NTSTATUS_WIN_STATUS_MAGAZINE_NOT_PRESENT:
reason = "STATUS_MAGAZINE_NOT_PRESENT";
break;
case MD_NTSTATUS_WIN_STATUS_REINITIALIZATION_NEEDED:
reason = "STATUS_REINITIALIZATION_NEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_ENCRYPTION_FAILED:
reason = "STATUS_ENCRYPTION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_DECRYPTION_FAILED:
reason = "STATUS_DECRYPTION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_RANGE_NOT_FOUND:
reason = "STATUS_RANGE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_NO_RECOVERY_POLICY:
reason = "STATUS_NO_RECOVERY_POLICY";
break;
case MD_NTSTATUS_WIN_STATUS_NO_EFS:
reason = "STATUS_NO_EFS";
break;
case MD_NTSTATUS_WIN_STATUS_WRONG_EFS:
reason = "STATUS_WRONG_EFS";
break;
case MD_NTSTATUS_WIN_STATUS_NO_USER_KEYS:
reason = "STATUS_NO_USER_KEYS";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_NOT_ENCRYPTED:
reason = "STATUS_FILE_NOT_ENCRYPTED";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_EXPORT_FORMAT:
reason = "STATUS_NOT_EXPORT_FORMAT";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_ENCRYPTED:
reason = "STATUS_FILE_ENCRYPTED";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_GUID_NOT_FOUND:
reason = "STATUS_WMI_GUID_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_INSTANCE_NOT_FOUND:
reason = "STATUS_WMI_INSTANCE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_ITEMID_NOT_FOUND:
reason = "STATUS_WMI_ITEMID_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_TRY_AGAIN:
reason = "STATUS_WMI_TRY_AGAIN";
break;
case MD_NTSTATUS_WIN_STATUS_SHARED_POLICY:
reason = "STATUS_SHARED_POLICY";
break;
case MD_NTSTATUS_WIN_STATUS_POLICY_OBJECT_NOT_FOUND:
reason = "STATUS_POLICY_OBJECT_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_POLICY_ONLY_IN_DS:
reason = "STATUS_POLICY_ONLY_IN_DS";
break;
case MD_NTSTATUS_WIN_STATUS_VOLUME_NOT_UPGRADED:
reason = "STATUS_VOLUME_NOT_UPGRADED";
break;
case MD_NTSTATUS_WIN_STATUS_REMOTE_STORAGE_NOT_ACTIVE:
reason = "STATUS_REMOTE_STORAGE_NOT_ACTIVE";
break;
case MD_NTSTATUS_WIN_STATUS_REMOTE_STORAGE_MEDIA_ERROR:
reason = "STATUS_REMOTE_STORAGE_MEDIA_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_NO_TRACKING_SERVICE:
reason = "STATUS_NO_TRACKING_SERVICE";
break;
case MD_NTSTATUS_WIN_STATUS_SERVER_SID_MISMATCH:
reason = "STATUS_SERVER_SID_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_DS_NO_ATTRIBUTE_OR_VALUE:
reason = "STATUS_DS_NO_ATTRIBUTE_OR_VALUE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_INVALID_ATTRIBUTE_SYNTAX:
reason = "STATUS_DS_INVALID_ATTRIBUTE_SYNTAX";
break;
case MD_NTSTATUS_WIN_STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED:
reason = "STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS:
reason = "STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS";
break;
case MD_NTSTATUS_WIN_STATUS_DS_BUSY:
reason = "STATUS_DS_BUSY";
break;
case MD_NTSTATUS_WIN_STATUS_DS_UNAVAILABLE:
reason = "STATUS_DS_UNAVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_NO_RIDS_ALLOCATED:
reason = "STATUS_DS_NO_RIDS_ALLOCATED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_NO_MORE_RIDS:
reason = "STATUS_DS_NO_MORE_RIDS";
break;
case MD_NTSTATUS_WIN_STATUS_DS_INCORRECT_ROLE_OWNER:
reason = "STATUS_DS_INCORRECT_ROLE_OWNER";
break;
case MD_NTSTATUS_WIN_STATUS_DS_RIDMGR_INIT_ERROR:
reason = "STATUS_DS_RIDMGR_INIT_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_DS_OBJ_CLASS_VIOLATION:
reason = "STATUS_DS_OBJ_CLASS_VIOLATION";
break;
case MD_NTSTATUS_WIN_STATUS_DS_CANT_ON_NON_LEAF:
reason = "STATUS_DS_CANT_ON_NON_LEAF";
break;
case MD_NTSTATUS_WIN_STATUS_DS_CANT_ON_RDN:
reason = "STATUS_DS_CANT_ON_RDN";
break;
case MD_NTSTATUS_WIN_STATUS_DS_CANT_MOD_OBJ_CLASS:
reason = "STATUS_DS_CANT_MOD_OBJ_CLASS";
break;
case MD_NTSTATUS_WIN_STATUS_DS_CROSS_DOM_MOVE_FAILED:
reason = "STATUS_DS_CROSS_DOM_MOVE_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_GC_NOT_AVAILABLE:
reason = "STATUS_DS_GC_NOT_AVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_DIRECTORY_SERVICE_REQUIRED:
reason = "STATUS_DIRECTORY_SERVICE_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_REPARSE_ATTRIBUTE_CONFLICT:
reason = "STATUS_REPARSE_ATTRIBUTE_CONFLICT";
break;
case MD_NTSTATUS_WIN_STATUS_CANT_ENABLE_DENY_ONLY:
reason = "STATUS_CANT_ENABLE_DENY_ONLY";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_MULTIPLE_FAULTS:
reason = "STATUS_FLOAT_MULTIPLE_FAULTS";
break;
case MD_NTSTATUS_WIN_STATUS_FLOAT_MULTIPLE_TRAPS:
reason = "STATUS_FLOAT_MULTIPLE_TRAPS";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_REMOVED:
reason = "STATUS_DEVICE_REMOVED";
break;
case MD_NTSTATUS_WIN_STATUS_JOURNAL_DELETE_IN_PROGRESS:
reason = "STATUS_JOURNAL_DELETE_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_STATUS_JOURNAL_NOT_ACTIVE:
reason = "STATUS_JOURNAL_NOT_ACTIVE";
break;
case MD_NTSTATUS_WIN_STATUS_NOINTERFACE:
reason = "STATUS_NOINTERFACE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_RIDMGR_DISABLED:
reason = "STATUS_DS_RIDMGR_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_ADMIN_LIMIT_EXCEEDED:
reason = "STATUS_DS_ADMIN_LIMIT_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_FAILED_SLEEP:
reason = "STATUS_DRIVER_FAILED_SLEEP";
break;
case MD_NTSTATUS_WIN_STATUS_MUTUAL_AUTHENTICATION_FAILED:
reason = "STATUS_MUTUAL_AUTHENTICATION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_CORRUPT_SYSTEM_FILE:
reason = "STATUS_CORRUPT_SYSTEM_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_DATATYPE_MISALIGNMENT_ERROR:
reason = "STATUS_DATATYPE_MISALIGNMENT_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_READ_ONLY:
reason = "STATUS_WMI_READ_ONLY";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_SET_FAILURE:
reason = "STATUS_WMI_SET_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_COMMITMENT_MINIMUM:
reason = "STATUS_COMMITMENT_MINIMUM";
break;
case MD_NTSTATUS_WIN_STATUS_REG_NAT_CONSUMPTION:
reason = "STATUS_REG_NAT_CONSUMPTION";
break;
case MD_NTSTATUS_WIN_STATUS_TRANSPORT_FULL:
reason = "STATUS_TRANSPORT_FULL";
break;
case MD_NTSTATUS_WIN_STATUS_DS_SAM_INIT_FAILURE:
reason = "STATUS_DS_SAM_INIT_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_ONLY_IF_CONNECTED:
reason = "STATUS_ONLY_IF_CONNECTED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_SENSITIVE_GROUP_VIOLATION:
reason = "STATUS_DS_SENSITIVE_GROUP_VIOLATION";
break;
case MD_NTSTATUS_WIN_STATUS_PNP_RESTART_ENUMERATION:
reason = "STATUS_PNP_RESTART_ENUMERATION";
break;
case MD_NTSTATUS_WIN_STATUS_JOURNAL_ENTRY_DELETED:
reason = "STATUS_JOURNAL_ENTRY_DELETED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_CANT_MOD_PRIMARYGROUPID:
reason = "STATUS_DS_CANT_MOD_PRIMARYGROUPID";
break;
case MD_NTSTATUS_WIN_STATUS_SYSTEM_IMAGE_BAD_SIGNATURE:
reason = "STATUS_SYSTEM_IMAGE_BAD_SIGNATURE";
break;
case MD_NTSTATUS_WIN_STATUS_PNP_REBOOT_REQUIRED:
reason = "STATUS_PNP_REBOOT_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_POWER_STATE_INVALID:
reason = "STATUS_POWER_STATE_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_DS_INVALID_GROUP_TYPE:
reason = "STATUS_DS_INVALID_GROUP_TYPE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN:
reason = "STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN";
break;
case MD_NTSTATUS_WIN_STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN:
reason = "STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN";
break;
case MD_NTSTATUS_WIN_STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER:
reason = "STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER:
reason = "STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER:
reason = "STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER:
reason = "STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER:
reason = "STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_DS_HAVE_PRIMARY_MEMBERS:
reason = "STATUS_DS_HAVE_PRIMARY_MEMBERS";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_NOT_SUPPORTED:
reason = "STATUS_WMI_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_INSUFFICIENT_POWER:
reason = "STATUS_INSUFFICIENT_POWER";
break;
case MD_NTSTATUS_WIN_STATUS_SAM_NEED_BOOTKEY_PASSWORD:
reason = "STATUS_SAM_NEED_BOOTKEY_PASSWORD";
break;
case MD_NTSTATUS_WIN_STATUS_SAM_NEED_BOOTKEY_FLOPPY:
reason = "STATUS_SAM_NEED_BOOTKEY_FLOPPY";
break;
case MD_NTSTATUS_WIN_STATUS_DS_CANT_START:
reason = "STATUS_DS_CANT_START";
break;
case MD_NTSTATUS_WIN_STATUS_DS_INIT_FAILURE:
reason = "STATUS_DS_INIT_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_SAM_INIT_FAILURE:
reason = "STATUS_SAM_INIT_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_GC_REQUIRED:
reason = "STATUS_DS_GC_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY:
reason = "STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY";
break;
case MD_NTSTATUS_WIN_STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS:
reason = "STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS";
break;
case MD_NTSTATUS_WIN_STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED:
reason = "STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_MULTIPLE_FAULT_VIOLATION:
reason = "STATUS_MULTIPLE_FAULT_VIOLATION";
break;
case MD_NTSTATUS_WIN_STATUS_CURRENT_DOMAIN_NOT_ALLOWED:
reason = "STATUS_CURRENT_DOMAIN_NOT_ALLOWED";
break;
case MD_NTSTATUS_WIN_STATUS_CANNOT_MAKE:
reason = "STATUS_CANNOT_MAKE";
break;
case MD_NTSTATUS_WIN_STATUS_SYSTEM_SHUTDOWN:
reason = "STATUS_SYSTEM_SHUTDOWN";
break;
case MD_NTSTATUS_WIN_STATUS_DS_INIT_FAILURE_CONSOLE:
reason = "STATUS_DS_INIT_FAILURE_CONSOLE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_SAM_INIT_FAILURE_CONSOLE:
reason = "STATUS_DS_SAM_INIT_FAILURE_CONSOLE";
break;
case MD_NTSTATUS_WIN_STATUS_UNFINISHED_CONTEXT_DELETED:
reason = "STATUS_UNFINISHED_CONTEXT_DELETED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_TGT_REPLY:
reason = "STATUS_NO_TGT_REPLY";
break;
case MD_NTSTATUS_WIN_STATUS_OBJECTID_NOT_FOUND:
reason = "STATUS_OBJECTID_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_NO_IP_ADDRESSES:
reason = "STATUS_NO_IP_ADDRESSES";
break;
case MD_NTSTATUS_WIN_STATUS_WRONG_CREDENTIAL_HANDLE:
reason = "STATUS_WRONG_CREDENTIAL_HANDLE";
break;
case MD_NTSTATUS_WIN_STATUS_CRYPTO_SYSTEM_INVALID:
reason = "STATUS_CRYPTO_SYSTEM_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_MAX_REFERRALS_EXCEEDED:
reason = "STATUS_MAX_REFERRALS_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_MUST_BE_KDC:
reason = "STATUS_MUST_BE_KDC";
break;
case MD_NTSTATUS_WIN_STATUS_STRONG_CRYPTO_NOT_SUPPORTED:
reason = "STATUS_STRONG_CRYPTO_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_PRINCIPALS:
reason = "STATUS_TOO_MANY_PRINCIPALS";
break;
case MD_NTSTATUS_WIN_STATUS_NO_PA_DATA:
reason = "STATUS_NO_PA_DATA";
break;
case MD_NTSTATUS_WIN_STATUS_PKINIT_NAME_MISMATCH:
reason = "STATUS_PKINIT_NAME_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_LOGON_REQUIRED:
reason = "STATUS_SMARTCARD_LOGON_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_KDC_INVALID_REQUEST:
reason = "STATUS_KDC_INVALID_REQUEST";
break;
case MD_NTSTATUS_WIN_STATUS_KDC_UNABLE_TO_REFER:
reason = "STATUS_KDC_UNABLE_TO_REFER";
break;
case MD_NTSTATUS_WIN_STATUS_KDC_UNKNOWN_ETYPE:
reason = "STATUS_KDC_UNKNOWN_ETYPE";
break;
case MD_NTSTATUS_WIN_STATUS_SHUTDOWN_IN_PROGRESS:
reason = "STATUS_SHUTDOWN_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_STATUS_SERVER_SHUTDOWN_IN_PROGRESS:
reason = "STATUS_SERVER_SHUTDOWN_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_SUPPORTED_ON_SBS:
reason = "STATUS_NOT_SUPPORTED_ON_SBS";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_GUID_DISCONNECTED:
reason = "STATUS_WMI_GUID_DISCONNECTED";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_ALREADY_DISABLED:
reason = "STATUS_WMI_ALREADY_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_WMI_ALREADY_ENABLED:
reason = "STATUS_WMI_ALREADY_ENABLED";
break;
case MD_NTSTATUS_WIN_STATUS_MFT_TOO_FRAGMENTED:
reason = "STATUS_MFT_TOO_FRAGMENTED";
break;
case MD_NTSTATUS_WIN_STATUS_COPY_PROTECTION_FAILURE:
reason = "STATUS_COPY_PROTECTION_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_CSS_AUTHENTICATION_FAILURE:
reason = "STATUS_CSS_AUTHENTICATION_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_CSS_KEY_NOT_PRESENT:
reason = "STATUS_CSS_KEY_NOT_PRESENT";
break;
case MD_NTSTATUS_WIN_STATUS_CSS_KEY_NOT_ESTABLISHED:
reason = "STATUS_CSS_KEY_NOT_ESTABLISHED";
break;
case MD_NTSTATUS_WIN_STATUS_CSS_SCRAMBLED_SECTOR:
reason = "STATUS_CSS_SCRAMBLED_SECTOR";
break;
case MD_NTSTATUS_WIN_STATUS_CSS_REGION_MISMATCH:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_HOST_DOWN:
reason = "STATUS_HOST_DOWN";
break;
case MD_NTSTATUS_WIN_STATUS_UNSUPPORTED_PREAUTH:
reason = "STATUS_UNSUPPORTED_PREAUTH";
break;
case MD_NTSTATUS_WIN_STATUS_EFS_ALG_BLOB_TOO_BIG:
reason = "STATUS_EFS_ALG_BLOB_TOO_BIG";
break;
case MD_NTSTATUS_WIN_STATUS_PORT_NOT_SET:
reason = "STATUS_PORT_NOT_SET";
break;
case MD_NTSTATUS_WIN_STATUS_DEBUGGER_INACTIVE:
reason = "STATUS_DEBUGGER_INACTIVE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_VERSION_CHECK_FAILURE:
reason = "STATUS_DS_VERSION_CHECK_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_AUDITING_DISABLED:
reason = "STATUS_AUDITING_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_PRENT4_MACHINE_ACCOUNT:
reason = "STATUS_PRENT4_MACHINE_ACCOUNT";
break;
case MD_NTSTATUS_WIN_STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER:
reason = "STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_WIN_32:
reason = "STATUS_INVALID_IMAGE_WIN_32";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_WIN_64:
reason = "STATUS_INVALID_IMAGE_WIN_64";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_BINDINGS:
reason = "STATUS_BAD_BINDINGS";
break;
case MD_NTSTATUS_WIN_STATUS_NETWORK_SESSION_EXPIRED:
reason = "STATUS_NETWORK_SESSION_EXPIRED";
break;
case MD_NTSTATUS_WIN_STATUS_APPHELP_BLOCK:
reason = "STATUS_APPHELP_BLOCK";
break;
case MD_NTSTATUS_WIN_STATUS_ALL_SIDS_FILTERED:
reason = "STATUS_ALL_SIDS_FILTERED";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_SAFE_MODE_DRIVER:
reason = "STATUS_NOT_SAFE_MODE_DRIVER";
break;
case MD_NTSTATUS_WIN_STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT:
reason = "STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT";
break;
case MD_NTSTATUS_WIN_STATUS_ACCESS_DISABLED_BY_POLICY_PATH:
reason = "STATUS_ACCESS_DISABLED_BY_POLICY_PATH";
break;
case MD_NTSTATUS_WIN_STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER:
reason = "STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER";
break;
case MD_NTSTATUS_WIN_STATUS_ACCESS_DISABLED_BY_POLICY_OTHER:
reason = "STATUS_ACCESS_DISABLED_BY_POLICY_OTHER";
break;
case MD_NTSTATUS_WIN_STATUS_FAILED_DRIVER_ENTRY:
reason = "STATUS_FAILED_DRIVER_ENTRY";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_ENUMERATION_ERROR:
reason = "STATUS_DEVICE_ENUMERATION_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_MOUNT_POINT_NOT_RESOLVED:
reason = "STATUS_MOUNT_POINT_NOT_RESOLVED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_DEVICE_OBJECT_PARAMETER:
reason = "STATUS_INVALID_DEVICE_OBJECT_PARAMETER";
break;
case MD_NTSTATUS_WIN_STATUS_MCA_OCCURED:
reason = "STATUS_MCA_OCCURED";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_BLOCKED_CRITICAL:
reason = "STATUS_DRIVER_BLOCKED_CRITICAL";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_BLOCKED:
reason = "STATUS_DRIVER_BLOCKED";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_DATABASE_ERROR:
reason = "STATUS_DRIVER_DATABASE_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_SYSTEM_HIVE_TOO_LARGE:
reason = "STATUS_SYSTEM_HIVE_TOO_LARGE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMPORT_OF_NON_DLL:
reason = "STATUS_INVALID_IMPORT_OF_NON_DLL";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SECRETS:
reason = "STATUS_NO_SECRETS";
break;
case MD_NTSTATUS_WIN_STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY:
reason = "STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY";
break;
case MD_NTSTATUS_WIN_STATUS_FAILED_STACK_SWITCH:
reason = "STATUS_FAILED_STACK_SWITCH";
break;
case MD_NTSTATUS_WIN_STATUS_HEAP_CORRUPTION:
reason = "STATUS_HEAP_CORRUPTION";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_WRONG_PIN:
reason = "STATUS_SMARTCARD_WRONG_PIN";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_CARD_BLOCKED:
reason = "STATUS_SMARTCARD_CARD_BLOCKED";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED:
reason = "STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_NO_CARD:
reason = "STATUS_SMARTCARD_NO_CARD";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_NO_KEY_CONTAINER:
reason = "STATUS_SMARTCARD_NO_KEY_CONTAINER";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_NO_CERTIFICATE:
reason = "STATUS_SMARTCARD_NO_CERTIFICATE";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_NO_KEYSET:
reason = "STATUS_SMARTCARD_NO_KEYSET";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_IO_ERROR:
reason = "STATUS_SMARTCARD_IO_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_DOWNGRADE_DETECTED:
reason = "STATUS_DOWNGRADE_DETECTED";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_CERT_REVOKED:
reason = "STATUS_SMARTCARD_CERT_REVOKED";
break;
case MD_NTSTATUS_WIN_STATUS_ISSUING_CA_UNTRUSTED:
reason = "STATUS_ISSUING_CA_UNTRUSTED";
break;
case MD_NTSTATUS_WIN_STATUS_REVOCATION_OFFLINE_C:
reason = "STATUS_REVOCATION_OFFLINE_C";
break;
case MD_NTSTATUS_WIN_STATUS_PKINIT_CLIENT_FAILURE:
reason = "STATUS_PKINIT_CLIENT_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_CERT_EXPIRED:
reason = "STATUS_SMARTCARD_CERT_EXPIRED";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_FAILED_PRIOR_UNLOAD:
reason = "STATUS_DRIVER_FAILED_PRIOR_UNLOAD";
break;
case MD_NTSTATUS_WIN_STATUS_SMARTCARD_SILENT_CONTEXT:
reason = "STATUS_SMARTCARD_SILENT_CONTEXT";
break;
case MD_NTSTATUS_WIN_STATUS_PER_USER_TRUST_QUOTA_EXCEEDED:
reason = "STATUS_PER_USER_TRUST_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED:
reason = "STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED:
reason = "STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_NAME_NOT_UNIQUE:
reason = "STATUS_DS_NAME_NOT_UNIQUE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_DUPLICATE_ID_FOUND:
reason = "STATUS_DS_DUPLICATE_ID_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_DS_GROUP_CONVERSION_ERROR:
reason = "STATUS_DS_GROUP_CONVERSION_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_VOLSNAP_PREPARE_HIBERNATE:
reason = "STATUS_VOLSNAP_PREPARE_HIBERNATE";
break;
case MD_NTSTATUS_WIN_STATUS_USER2USER_REQUIRED:
reason = "STATUS_USER2USER_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_STACK_BUFFER_OVERRUN:
reason = "STATUS_STACK_BUFFER_OVERRUN";
break;
case MD_NTSTATUS_WIN_STATUS_NO_S4U_PROT_SUPPORT:
reason = "STATUS_NO_S4U_PROT_SUPPORT";
break;
case MD_NTSTATUS_WIN_STATUS_CROSSREALM_DELEGATION_FAILURE:
reason = "STATUS_CROSSREALM_DELEGATION_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_REVOCATION_OFFLINE_KDC:
reason = "STATUS_REVOCATION_OFFLINE_KDC";
break;
case MD_NTSTATUS_WIN_STATUS_ISSUING_CA_UNTRUSTED_KDC:
reason = "STATUS_ISSUING_CA_UNTRUSTED_KDC";
break;
case MD_NTSTATUS_WIN_STATUS_KDC_CERT_EXPIRED:
reason = "STATUS_KDC_CERT_EXPIRED";
break;
case MD_NTSTATUS_WIN_STATUS_KDC_CERT_REVOKED:
reason = "STATUS_KDC_CERT_REVOKED";
break;
case MD_NTSTATUS_WIN_STATUS_PARAMETER_QUOTA_EXCEEDED:
reason = "STATUS_PARAMETER_QUOTA_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_HIBERNATION_FAILURE:
reason = "STATUS_HIBERNATION_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_DELAY_LOAD_FAILED:
reason = "STATUS_DELAY_LOAD_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_AUTHENTICATION_FIREWALL_FAILED:
reason = "STATUS_AUTHENTICATION_FIREWALL_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_VDM_DISALLOWED:
reason = "STATUS_VDM_DISALLOWED";
break;
case MD_NTSTATUS_WIN_STATUS_HUNG_DISPLAY_DRIVER_THREAD:
reason = "STATUS_HUNG_DISPLAY_DRIVER_THREAD";
break;
case MD_NTSTATUS_WIN_STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE:
reason = "STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_CRUNTIME_PARAMETER:
reason = "STATUS_INVALID_CRUNTIME_PARAMETER";
break;
case MD_NTSTATUS_WIN_STATUS_NTLM_BLOCKED:
reason = "STATUS_NTLM_BLOCKED";
break;
case MD_NTSTATUS_WIN_STATUS_DS_SRC_SID_EXISTS_IN_FOREST:
reason = "STATUS_DS_SRC_SID_EXISTS_IN_FOREST";
break;
case MD_NTSTATUS_WIN_STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST:
reason = "STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST";
break;
case MD_NTSTATUS_WIN_STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST:
reason = "STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_USER_PRINCIPAL_NAME:
reason = "STATUS_INVALID_USER_PRINCIPAL_NAME";
break;
case MD_NTSTATUS_WIN_STATUS_FATAL_USER_CALLBACK_EXCEPTION:
reason = "STATUS_FATAL_USER_CALLBACK_EXCEPTION";
break;
case MD_NTSTATUS_WIN_STATUS_ASSERTION_FAILURE:
reason = "STATUS_ASSERTION_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_VERIFIER_STOP:
reason = "STATUS_VERIFIER_STOP";
break;
case MD_NTSTATUS_WIN_STATUS_CALLBACK_POP_STACK:
reason = "STATUS_CALLBACK_POP_STACK";
break;
case MD_NTSTATUS_WIN_STATUS_INCOMPATIBLE_DRIVER_BLOCKED:
reason = "STATUS_INCOMPATIBLE_DRIVER_BLOCKED";
break;
case MD_NTSTATUS_WIN_STATUS_HIVE_UNLOADED:
reason = "STATUS_HIVE_UNLOADED";
break;
case MD_NTSTATUS_WIN_STATUS_COMPRESSION_DISABLED:
reason = "STATUS_COMPRESSION_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_SYSTEM_LIMITATION:
reason = "STATUS_FILE_SYSTEM_LIMITATION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IMAGE_HASH:
reason = "STATUS_INVALID_IMAGE_HASH";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_CAPABLE:
reason = "STATUS_NOT_CAPABLE";
break;
case MD_NTSTATUS_WIN_STATUS_REQUEST_OUT_OF_SEQUENCE:
reason = "STATUS_REQUEST_OUT_OF_SEQUENCE";
break;
case MD_NTSTATUS_WIN_STATUS_IMPLEMENTATION_LIMIT:
reason = "STATUS_IMPLEMENTATION_LIMIT";
break;
case MD_NTSTATUS_WIN_STATUS_ELEVATION_REQUIRED:
reason = "STATUS_ELEVATION_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_SECURITY_CONTEXT:
reason = "STATUS_NO_SECURITY_CONTEXT";
break;
case MD_NTSTATUS_WIN_STATUS_PKU2U_CERT_FAILURE:
reason = "STATUS_PKU2U_CERT_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_BEYOND_VDL:
reason = "STATUS_BEYOND_VDL";
break;
case MD_NTSTATUS_WIN_STATUS_ENCOUNTERED_WRITE_IN_PROGRESS:
reason = "STATUS_ENCOUNTERED_WRITE_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_STATUS_PTE_CHANGED:
reason = "STATUS_PTE_CHANGED";
break;
case MD_NTSTATUS_WIN_STATUS_PURGE_FAILED:
reason = "STATUS_PURGE_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_CRED_REQUIRES_CONFIRMATION:
reason = "STATUS_CRED_REQUIRES_CONFIRMATION";
break;
case MD_NTSTATUS_WIN_STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE:
reason = "STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE";
break;
case MD_NTSTATUS_WIN_STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER:
reason = "STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER";
break;
case MD_NTSTATUS_WIN_STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE:
reason = "STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE:
reason = "STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE";
break;
case MD_NTSTATUS_WIN_STATUS_CS_ENCRYPTION_FILE_NOT_CSE:
reason = "STATUS_CS_ENCRYPTION_FILE_NOT_CSE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_LABEL:
reason = "STATUS_INVALID_LABEL";
break;
case MD_NTSTATUS_WIN_STATUS_DRIVER_PROCESS_TERMINATED:
reason = "STATUS_DRIVER_PROCESS_TERMINATED";
break;
case MD_NTSTATUS_WIN_STATUS_AMBIGUOUS_SYSTEM_DEVICE:
reason = "STATUS_AMBIGUOUS_SYSTEM_DEVICE";
break;
case MD_NTSTATUS_WIN_STATUS_SYSTEM_DEVICE_NOT_FOUND:
reason = "STATUS_SYSTEM_DEVICE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_RESTART_BOOT_APPLICATION:
reason = "STATUS_RESTART_BOOT_APPLICATION";
break;
case MD_NTSTATUS_WIN_STATUS_INSUFFICIENT_NVRAM_RESOURCES:
reason = "STATUS_INSUFFICIENT_NVRAM_RESOURCES";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_SESSION:
reason = "STATUS_INVALID_SESSION";
break;
case MD_NTSTATUS_WIN_STATUS_THREAD_ALREADY_IN_SESSION:
reason = "STATUS_THREAD_ALREADY_IN_SESSION";
break;
case MD_NTSTATUS_WIN_STATUS_THREAD_NOT_IN_SESSION:
reason = "STATUS_THREAD_NOT_IN_SESSION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_WEIGHT:
reason = "STATUS_INVALID_WEIGHT";
break;
case MD_NTSTATUS_WIN_STATUS_REQUEST_PAUSED:
reason = "STATUS_REQUEST_PAUSED";
break;
case MD_NTSTATUS_WIN_STATUS_NO_RANGES_PROCESSED:
reason = "STATUS_NO_RANGES_PROCESSED";
break;
case MD_NTSTATUS_WIN_STATUS_DISK_RESOURCES_EXHAUSTED:
reason = "STATUS_DISK_RESOURCES_EXHAUSTED";
break;
case MD_NTSTATUS_WIN_STATUS_NEEDS_REMEDIATION:
reason = "STATUS_NEEDS_REMEDIATION";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_FEATURE_NOT_SUPPORTED:
reason = "STATUS_DEVICE_FEATURE_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_UNREACHABLE:
reason = "STATUS_DEVICE_UNREACHABLE";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_TOKEN:
reason = "STATUS_INVALID_TOKEN";
break;
case MD_NTSTATUS_WIN_STATUS_SERVER_UNAVAILABLE:
reason = "STATUS_SERVER_UNAVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_NOT_AVAILABLE:
reason = "STATUS_FILE_NOT_AVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_DEVICE_INSUFFICIENT_RESOURCES:
reason = "STATUS_DEVICE_INSUFFICIENT_RESOURCES";
break;
case MD_NTSTATUS_WIN_STATUS_PACKAGE_UPDATING:
reason = "STATUS_PACKAGE_UPDATING";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_READ_FROM_COPY:
reason = "STATUS_NOT_READ_FROM_COPY";
break;
case MD_NTSTATUS_WIN_STATUS_FT_WRITE_FAILURE:
reason = "STATUS_FT_WRITE_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_FT_DI_SCAN_REQUIRED:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_TOO_MANY_SEGMENT_DESCRIPTORS:
reason = "STATUS_TOO_MANY_SEGMENT_DESCRIPTORS";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_OFFSET_ALIGNMENT:
reason = "STATUS_INVALID_OFFSET_ALIGNMENT";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_FIELD_IN_PARAMETER_LIST:
reason = "STATUS_INVALID_FIELD_IN_PARAMETER_LIST";
break;
case MD_NTSTATUS_WIN_STATUS_OPERATION_IN_PROGRESS:
reason = "STATUS_OPERATION_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_INITIATOR_TARGET_PATH:
reason = "STATUS_INVALID_INITIATOR_TARGET_PATH";
break;
case MD_NTSTATUS_WIN_STATUS_SCRUB_DATA_DISABLED:
reason = "STATUS_SCRUB_DATA_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_REDUNDANT_STORAGE:
reason = "STATUS_NOT_REDUNDANT_STORAGE";
break;
case MD_NTSTATUS_WIN_STATUS_RESIDENT_FILE_NOT_SUPPORTED:
reason = "STATUS_RESIDENT_FILE_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_COMPRESSED_FILE_NOT_SUPPORTED:
reason = "STATUS_COMPRESSED_FILE_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_DIRECTORY_NOT_SUPPORTED:
reason = "STATUS_DIRECTORY_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_IO_OPERATION_TIMEOUT:
reason = "STATUS_IO_OPERATION_TIMEOUT";
break;
case MD_NTSTATUS_WIN_STATUS_SYSTEM_NEEDS_REMEDIATION:
reason = "STATUS_SYSTEM_NEEDS_REMEDIATION";
break;
case MD_NTSTATUS_WIN_STATUS_APPX_INTEGRITY_FAILURE_CLR_NGEN:
reason = "STATUS_APPX_INTEGRITY_FAILURE_CLR_NGEN";
break;
case MD_NTSTATUS_WIN_STATUS_SHARE_UNAVAILABLE:
reason = "STATUS_SHARE_UNAVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_APISET_NOT_HOSTED:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_CALLBACK_BYPASS:
reason = "STATUS_CALLBACK_BYPASS";
break;
case MD_NTSTATUS_WIN_STATUS_UNDEFINED_SCOPE:
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_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_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";
break;
case MD_NTSTATUS_WIN_STATUS_REQUEST_CANCELED:
reason = "STATUS_REQUEST_CANCELED";
break;
case MD_NTSTATUS_WIN_STATUS_RECURSIVE_DISPATCH:
reason = "STATUS_RECURSIVE_DISPATCH";
break;
case MD_NTSTATUS_WIN_STATUS_LPC_RECEIVE_BUFFER_EXPECTED:
reason = "STATUS_LPC_RECEIVE_BUFFER_EXPECTED";
break;
case MD_NTSTATUS_WIN_STATUS_LPC_INVALID_CONNECTION_USAGE:
reason = "STATUS_LPC_INVALID_CONNECTION_USAGE";
break;
case MD_NTSTATUS_WIN_STATUS_LPC_REQUESTS_NOT_ALLOWED:
reason = "STATUS_LPC_REQUESTS_NOT_ALLOWED";
break;
case MD_NTSTATUS_WIN_STATUS_RESOURCE_IN_USE:
reason = "STATUS_RESOURCE_IN_USE";
break;
case MD_NTSTATUS_WIN_STATUS_HARDWARE_MEMORY_ERROR:
reason = "STATUS_HARDWARE_MEMORY_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_THREADPOOL_HANDLE_EXCEPTION:
reason = "STATUS_THREADPOOL_HANDLE_EXCEPTION";
break;
case MD_NTSTATUS_WIN_STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED:
reason = "STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED:
reason = "STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED:
reason = "STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED:
reason = "STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED";
break;
case MD_NTSTATUS_WIN_STATUS_THREADPOOL_RELEASED_DURING_OPERATION:
reason = "STATUS_THREADPOOL_RELEASED_DURING_OPERATION";
break;
case MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING:
reason = "STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING";
break;
case MD_NTSTATUS_WIN_STATUS_APC_RETURNED_WHILE_IMPERSONATING:
reason = "STATUS_APC_RETURNED_WHILE_IMPERSONATING";
break;
case MD_NTSTATUS_WIN_STATUS_PROCESS_IS_PROTECTED:
reason = "STATUS_PROCESS_IS_PROTECTED";
break;
case MD_NTSTATUS_WIN_STATUS_MCA_EXCEPTION:
reason = "STATUS_MCA_EXCEPTION";
break;
case MD_NTSTATUS_WIN_STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE:
reason = "STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE";
break;
case MD_NTSTATUS_WIN_STATUS_SYMLINK_CLASS_DISABLED:
reason = "STATUS_SYMLINK_CLASS_DISABLED";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_IDN_NORMALIZATION:
reason = "STATUS_INVALID_IDN_NORMALIZATION";
break;
case MD_NTSTATUS_WIN_STATUS_NO_UNICODE_TRANSLATION:
reason = "STATUS_NO_UNICODE_TRANSLATION";
break;
case MD_NTSTATUS_WIN_STATUS_ALREADY_REGISTERED:
reason = "STATUS_ALREADY_REGISTERED";
break;
case MD_NTSTATUS_WIN_STATUS_CONTEXT_MISMATCH:
reason = "STATUS_CONTEXT_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_PORT_ALREADY_HAS_COMPLETION_LIST:
reason = "STATUS_PORT_ALREADY_HAS_COMPLETION_LIST";
break;
case MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_THREAD_PRIORITY:
reason = "STATUS_CALLBACK_RETURNED_THREAD_PRIORITY";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_THREAD:
reason = "STATUS_INVALID_THREAD";
break;
case MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_TRANSACTION:
reason = "STATUS_CALLBACK_RETURNED_TRANSACTION";
break;
case MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_LDR_LOCK:
reason = "STATUS_CALLBACK_RETURNED_LDR_LOCK";
break;
case MD_NTSTATUS_WIN_STATUS_CALLBACK_RETURNED_LANG:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_CONTENT_BLOCKED:
reason = "STATUS_CONTENT_BLOCKED";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_CLUSTERS:
reason = "STATUS_BAD_CLUSTERS";
break;
case MD_NTSTATUS_WIN_STATUS_VOLUME_DIRTY:
reason = "STATUS_VOLUME_DIRTY";
break;
case MD_NTSTATUS_WIN_STATUS_DISK_REPAIR_UNSUCCESSFUL:
reason = "STATUS_DISK_REPAIR_UNSUCCESSFUL";
break;
case MD_NTSTATUS_WIN_STATUS_CORRUPT_LOG_OVERFULL:
reason = "STATUS_CORRUPT_LOG_OVERFULL";
break;
case MD_NTSTATUS_WIN_STATUS_CORRUPT_LOG_CORRUPTED:
reason = "STATUS_CORRUPT_LOG_CORRUPTED";
break;
case MD_NTSTATUS_WIN_STATUS_CORRUPT_LOG_UNAVAILABLE:
reason = "STATUS_CORRUPT_LOG_UNAVAILABLE";
break;
case MD_NTSTATUS_WIN_STATUS_CORRUPT_LOG_DELETED_FULL:
reason = "STATUS_CORRUPT_LOG_DELETED_FULL";
break;
case MD_NTSTATUS_WIN_STATUS_CORRUPT_LOG_CLEARED:
reason = "STATUS_CORRUPT_LOG_CLEARED";
break;
case MD_NTSTATUS_WIN_STATUS_ORPHAN_NAME_EXHAUSTED:
reason = "STATUS_ORPHAN_NAME_EXHAUSTED";
break;
case MD_NTSTATUS_WIN_STATUS_PROACTIVE_SCAN_IN_PROGRESS:
reason = "STATUS_PROACTIVE_SCAN_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_STATUS_ENCRYPTED_IO_NOT_POSSIBLE:
reason = "STATUS_ENCRYPTED_IO_NOT_POSSIBLE";
break;
case MD_NTSTATUS_WIN_STATUS_CORRUPT_LOG_UPLEVEL_RECORDS:
reason = "STATUS_CORRUPT_LOG_UPLEVEL_RECORDS";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_CHECKED_OUT:
reason = "STATUS_FILE_CHECKED_OUT";
break;
case MD_NTSTATUS_WIN_STATUS_CHECKOUT_REQUIRED:
reason = "STATUS_CHECKOUT_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_FILE_TYPE:
reason = "STATUS_BAD_FILE_TYPE";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_TOO_LARGE:
reason = "STATUS_FILE_TOO_LARGE";
break;
case MD_NTSTATUS_WIN_STATUS_FORMS_AUTH_REQUIRED:
reason = "STATUS_FORMS_AUTH_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_VIRUS_INFECTED:
reason = "STATUS_VIRUS_INFECTED";
break;
case MD_NTSTATUS_WIN_STATUS_VIRUS_DELETED:
reason = "STATUS_VIRUS_DELETED";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_MCFG_TABLE:
reason = "STATUS_BAD_MCFG_TABLE";
break;
case MD_NTSTATUS_WIN_STATUS_CANNOT_BREAK_OPLOCK:
reason = "STATUS_CANNOT_BREAK_OPLOCK";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_KEY:
reason = "STATUS_BAD_KEY";
break;
case MD_NTSTATUS_WIN_STATUS_BAD_DATA:
reason = "STATUS_BAD_DATA";
break;
case MD_NTSTATUS_WIN_STATUS_NO_KEY:
reason = "STATUS_NO_KEY";
break;
case MD_NTSTATUS_WIN_STATUS_FILE_HANDLE_REVOKED:
reason = "STATUS_FILE_HANDLE_REVOKED";
break;
case MD_NTSTATUS_WIN_STATUS_WOW_ASSERTION:
reason = "STATUS_WOW_ASSERTION";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_SIGNATURE:
reason = "STATUS_INVALID_SIGNATURE";
break;
case MD_NTSTATUS_WIN_STATUS_HMAC_NOT_SUPPORTED:
reason = "STATUS_HMAC_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_AUTH_TAG_MISMATCH:
reason = "STATUS_AUTH_TAG_MISMATCH";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_STATE_TRANSITION:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_PROTOCOL_NOT_SUPPORTED:
reason = "STATUS_PROTOCOL_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_FASTPATH_REJECTED:
reason = "STATUS_FASTPATH_REJECTED";
break;
case MD_NTSTATUS_WIN_STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED:
reason = "STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED";
break;
case MD_NTSTATUS_WIN_STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR:
reason = "STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR:
reason = "STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_XML_PARSE_ERROR:
reason = "STATUS_XML_PARSE_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_XMLDSIG_ERROR:
reason = "STATUS_XMLDSIG_ERROR";
break;
case MD_NTSTATUS_WIN_STATUS_WRONG_COMPARTMENT:
reason = "STATUS_WRONG_COMPARTMENT";
break;
case MD_NTSTATUS_WIN_STATUS_AUTHIP_FAILURE:
reason = "STATUS_AUTHIP_FAILURE";
break;
case MD_NTSTATUS_WIN_STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS:
reason = "STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS";
break;
case MD_NTSTATUS_WIN_STATUS_DS_OID_NOT_FOUND:
reason = "STATUS_DS_OID_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_STATUS_INCORRECT_ACCOUNT_TYPE:
reason = "STATUS_INCORRECT_ACCOUNT_TYPE";
break;
case MD_NTSTATUS_WIN_STATUS_HASH_NOT_SUPPORTED:
reason = "STATUS_HASH_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_HASH_NOT_PRESENT:
reason = "STATUS_HASH_NOT_PRESENT";
break;
case MD_NTSTATUS_WIN_STATUS_SECONDARY_IC_PROVIDER_NOT_REGISTERED:
reason = "STATUS_SECONDARY_IC_PROVIDER_NOT_REGISTERED";
break;
case MD_NTSTATUS_WIN_STATUS_GPIO_CLIENT_INFORMATION_INVALID:
reason = "STATUS_GPIO_CLIENT_INFORMATION_INVALID";
break;
case MD_NTSTATUS_WIN_STATUS_GPIO_VERSION_NOT_SUPPORTED:
reason = "STATUS_GPIO_VERSION_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_GPIO_INVALID_REGISTRATION_PACKET:
reason = "STATUS_GPIO_INVALID_REGISTRATION_PACKET";
break;
case MD_NTSTATUS_WIN_STATUS_GPIO_OPERATION_DENIED:
reason = "STATUS_GPIO_OPERATION_DENIED";
break;
case MD_NTSTATUS_WIN_STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE:
reason = "STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE";
break;
case MD_NTSTATUS_WIN_STATUS_CANNOT_SWITCH_RUNLEVEL:
reason = "STATUS_CANNOT_SWITCH_RUNLEVEL";
break;
case MD_NTSTATUS_WIN_STATUS_INVALID_RUNLEVEL_SETTING:
reason = "STATUS_INVALID_RUNLEVEL_SETTING";
break;
case MD_NTSTATUS_WIN_STATUS_RUNLEVEL_SWITCH_TIMEOUT:
reason = "STATUS_RUNLEVEL_SWITCH_TIMEOUT";
break;
case MD_NTSTATUS_WIN_STATUS_RUNLEVEL_SWITCH_AGENT_TIMEOUT:
reason = "STATUS_RUNLEVEL_SWITCH_AGENT_TIMEOUT";
break;
case MD_NTSTATUS_WIN_STATUS_RUNLEVEL_SWITCH_IN_PROGRESS:
reason = "STATUS_RUNLEVEL_SWITCH_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_STATUS_NOT_APPCONTAINER:
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_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";
break;
case MD_NTSTATUS_WIN_STATUS_APP_DATA_LIMIT_EXCEEDED:
reason = "STATUS_APP_DATA_LIMIT_EXCEEDED";
break;
case MD_NTSTATUS_WIN_STATUS_APP_DATA_REBOOT_REQUIRED:
reason = "STATUS_APP_DATA_REBOOT_REQUIRED";
break;
case MD_NTSTATUS_WIN_STATUS_OFFLOAD_READ_FLT_NOT_SUPPORTED:
reason = "STATUS_OFFLOAD_READ_FLT_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_STATUS_OFFLOAD_WRITE_FLT_NOT_SUPPORTED:
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_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";
break;
case MD_NTSTATUS_WIN_RPC_NT_WRONG_KIND_OF_BINDING:
reason = "RPC_NT_WRONG_KIND_OF_BINDING";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_BINDING:
reason = "RPC_NT_INVALID_BINDING";
break;
case MD_NTSTATUS_WIN_RPC_NT_PROTSEQ_NOT_SUPPORTED:
reason = "RPC_NT_PROTSEQ_NOT_SUPPORTED";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_RPC_PROTSEQ:
reason = "RPC_NT_INVALID_RPC_PROTSEQ";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_STRING_UUID:
reason = "RPC_NT_INVALID_STRING_UUID";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_ENDPOINT_FORMAT:
reason = "RPC_NT_INVALID_ENDPOINT_FORMAT";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_NET_ADDR:
reason = "RPC_NT_INVALID_NET_ADDR";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_ENDPOINT_FOUND:
reason = "RPC_NT_NO_ENDPOINT_FOUND";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_TIMEOUT:
reason = "RPC_NT_INVALID_TIMEOUT";
break;
case MD_NTSTATUS_WIN_RPC_NT_OBJECT_NOT_FOUND:
reason = "RPC_NT_OBJECT_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_RPC_NT_ALREADY_REGISTERED:
reason = "RPC_NT_ALREADY_REGISTERED";
break;
case MD_NTSTATUS_WIN_RPC_NT_TYPE_ALREADY_REGISTERED:
reason = "RPC_NT_TYPE_ALREADY_REGISTERED";
break;
case MD_NTSTATUS_WIN_RPC_NT_ALREADY_LISTENING:
reason = "RPC_NT_ALREADY_LISTENING";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_PROTSEQS_REGISTERED:
reason = "RPC_NT_NO_PROTSEQS_REGISTERED";
break;
case MD_NTSTATUS_WIN_RPC_NT_NOT_LISTENING:
reason = "RPC_NT_NOT_LISTENING";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNKNOWN_MGR_TYPE:
reason = "RPC_NT_UNKNOWN_MGR_TYPE";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNKNOWN_IF:
reason = "RPC_NT_UNKNOWN_IF";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_BINDINGS:
reason = "RPC_NT_NO_BINDINGS";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_PROTSEQS:
reason = "RPC_NT_NO_PROTSEQS";
break;
case MD_NTSTATUS_WIN_RPC_NT_CANT_CREATE_ENDPOINT:
reason = "RPC_NT_CANT_CREATE_ENDPOINT";
break;
case MD_NTSTATUS_WIN_RPC_NT_OUT_OF_RESOURCES:
reason = "RPC_NT_OUT_OF_RESOURCES";
break;
case MD_NTSTATUS_WIN_RPC_NT_SERVER_UNAVAILABLE:
reason = "RPC_NT_SERVER_UNAVAILABLE";
break;
case MD_NTSTATUS_WIN_RPC_NT_SERVER_TOO_BUSY:
reason = "RPC_NT_SERVER_TOO_BUSY";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_NETWORK_OPTIONS:
reason = "RPC_NT_INVALID_NETWORK_OPTIONS";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_CALL_ACTIVE:
reason = "RPC_NT_NO_CALL_ACTIVE";
break;
case MD_NTSTATUS_WIN_RPC_NT_CALL_FAILED:
reason = "RPC_NT_CALL_FAILED";
break;
case MD_NTSTATUS_WIN_RPC_NT_CALL_FAILED_DNE:
reason = "RPC_NT_CALL_FAILED_DNE";
break;
case MD_NTSTATUS_WIN_RPC_NT_PROTOCOL_ERROR:
reason = "RPC_NT_PROTOCOL_ERROR";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNSUPPORTED_TRANS_SYN:
reason = "RPC_NT_UNSUPPORTED_TRANS_SYN";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNSUPPORTED_TYPE:
reason = "RPC_NT_UNSUPPORTED_TYPE";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_TAG:
reason = "RPC_NT_INVALID_TAG";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_BOUND:
reason = "RPC_NT_INVALID_BOUND";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_ENTRY_NAME:
reason = "RPC_NT_NO_ENTRY_NAME";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_NAME_SYNTAX:
reason = "RPC_NT_INVALID_NAME_SYNTAX";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNSUPPORTED_NAME_SYNTAX:
reason = "RPC_NT_UNSUPPORTED_NAME_SYNTAX";
break;
case MD_NTSTATUS_WIN_RPC_NT_UUID_NO_ADDRESS:
reason = "RPC_NT_UUID_NO_ADDRESS";
break;
case MD_NTSTATUS_WIN_RPC_NT_DUPLICATE_ENDPOINT:
reason = "RPC_NT_DUPLICATE_ENDPOINT";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNKNOWN_AUTHN_TYPE:
reason = "RPC_NT_UNKNOWN_AUTHN_TYPE";
break;
case MD_NTSTATUS_WIN_RPC_NT_MAX_CALLS_TOO_SMALL:
reason = "RPC_NT_MAX_CALLS_TOO_SMALL";
break;
case MD_NTSTATUS_WIN_RPC_NT_STRING_TOO_LONG:
reason = "RPC_NT_STRING_TOO_LONG";
break;
case MD_NTSTATUS_WIN_RPC_NT_PROTSEQ_NOT_FOUND:
reason = "RPC_NT_PROTSEQ_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_RPC_NT_PROCNUM_OUT_OF_RANGE:
reason = "RPC_NT_PROCNUM_OUT_OF_RANGE";
break;
case MD_NTSTATUS_WIN_RPC_NT_BINDING_HAS_NO_AUTH:
reason = "RPC_NT_BINDING_HAS_NO_AUTH";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNKNOWN_AUTHN_SERVICE:
reason = "RPC_NT_UNKNOWN_AUTHN_SERVICE";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNKNOWN_AUTHN_LEVEL:
reason = "RPC_NT_UNKNOWN_AUTHN_LEVEL";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_AUTH_IDENTITY:
reason = "RPC_NT_INVALID_AUTH_IDENTITY";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNKNOWN_AUTHZ_SERVICE:
reason = "RPC_NT_UNKNOWN_AUTHZ_SERVICE";
break;
case MD_NTSTATUS_WIN_EPT_NT_INVALID_ENTRY:
reason = "EPT_NT_INVALID_ENTRY";
break;
case MD_NTSTATUS_WIN_EPT_NT_CANT_PERFORM_OP:
reason = "EPT_NT_CANT_PERFORM_OP";
break;
case MD_NTSTATUS_WIN_EPT_NT_NOT_REGISTERED:
reason = "EPT_NT_NOT_REGISTERED";
break;
case MD_NTSTATUS_WIN_RPC_NT_NOTHING_TO_EXPORT:
reason = "RPC_NT_NOTHING_TO_EXPORT";
break;
case MD_NTSTATUS_WIN_RPC_NT_INCOMPLETE_NAME:
reason = "RPC_NT_INCOMPLETE_NAME";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_VERS_OPTION:
reason = "RPC_NT_INVALID_VERS_OPTION";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_MORE_MEMBERS:
reason = "RPC_NT_NO_MORE_MEMBERS";
break;
case MD_NTSTATUS_WIN_RPC_NT_NOT_ALL_OBJS_UNEXPORTED:
reason = "RPC_NT_NOT_ALL_OBJS_UNEXPORTED";
break;
case MD_NTSTATUS_WIN_RPC_NT_INTERFACE_NOT_FOUND:
reason = "RPC_NT_INTERFACE_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_RPC_NT_ENTRY_ALREADY_EXISTS:
reason = "RPC_NT_ENTRY_ALREADY_EXISTS";
break;
case MD_NTSTATUS_WIN_RPC_NT_ENTRY_NOT_FOUND:
reason = "RPC_NT_ENTRY_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_RPC_NT_NAME_SERVICE_UNAVAILABLE:
reason = "RPC_NT_NAME_SERVICE_UNAVAILABLE";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_NAF_ID:
reason = "RPC_NT_INVALID_NAF_ID";
break;
case MD_NTSTATUS_WIN_RPC_NT_CANNOT_SUPPORT:
reason = "RPC_NT_CANNOT_SUPPORT";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_CONTEXT_AVAILABLE:
reason = "RPC_NT_NO_CONTEXT_AVAILABLE";
break;
case MD_NTSTATUS_WIN_RPC_NT_INTERNAL_ERROR:
reason = "RPC_NT_INTERNAL_ERROR";
break;
case MD_NTSTATUS_WIN_RPC_NT_ZERO_DIVIDE:
reason = "RPC_NT_ZERO_DIVIDE";
break;
case MD_NTSTATUS_WIN_RPC_NT_ADDRESS_ERROR:
reason = "RPC_NT_ADDRESS_ERROR";
break;
case MD_NTSTATUS_WIN_RPC_NT_FP_DIV_ZERO:
reason = "RPC_NT_FP_DIV_ZERO";
break;
case MD_NTSTATUS_WIN_RPC_NT_FP_UNDERFLOW:
reason = "RPC_NT_FP_UNDERFLOW";
break;
case MD_NTSTATUS_WIN_RPC_NT_FP_OVERFLOW:
reason = "RPC_NT_FP_OVERFLOW";
break;
case MD_NTSTATUS_WIN_RPC_NT_CALL_IN_PROGRESS:
reason = "RPC_NT_CALL_IN_PROGRESS";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_MORE_BINDINGS:
reason = "RPC_NT_NO_MORE_BINDINGS";
break;
case MD_NTSTATUS_WIN_RPC_NT_GROUP_MEMBER_NOT_FOUND:
reason = "RPC_NT_GROUP_MEMBER_NOT_FOUND";
break;
case MD_NTSTATUS_WIN_EPT_NT_CANT_CREATE:
reason = "EPT_NT_CANT_CREATE";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_OBJECT:
reason = "RPC_NT_INVALID_OBJECT";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_INTERFACES:
reason = "RPC_NT_NO_INTERFACES";
break;
case MD_NTSTATUS_WIN_RPC_NT_CALL_CANCELLED:
reason = "RPC_NT_CALL_CANCELLED";
break;
case MD_NTSTATUS_WIN_RPC_NT_BINDING_INCOMPLETE:
reason = "RPC_NT_BINDING_INCOMPLETE";
break;
case MD_NTSTATUS_WIN_RPC_NT_COMM_FAILURE:
reason = "RPC_NT_COMM_FAILURE";
break;
case MD_NTSTATUS_WIN_RPC_NT_UNSUPPORTED_AUTHN_LEVEL:
reason = "RPC_NT_UNSUPPORTED_AUTHN_LEVEL";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_PRINC_NAME:
reason = "RPC_NT_NO_PRINC_NAME";
break;
case MD_NTSTATUS_WIN_RPC_NT_NOT_RPC_ERROR:
reason = "RPC_NT_NOT_RPC_ERROR";
break;
case MD_NTSTATUS_WIN_RPC_NT_SEC_PKG_ERROR:
reason = "RPC_NT_SEC_PKG_ERROR";
break;
case MD_NTSTATUS_WIN_RPC_NT_NOT_CANCELLED:
reason = "RPC_NT_NOT_CANCELLED";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_ASYNC_HANDLE:
reason = "RPC_NT_INVALID_ASYNC_HANDLE";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_ASYNC_CALL:
reason = "RPC_NT_INVALID_ASYNC_CALL";
break;
case MD_NTSTATUS_WIN_RPC_NT_PROXY_ACCESS_DENIED:
reason = "RPC_NT_PROXY_ACCESS_DENIED";
break;
case MD_NTSTATUS_WIN_RPC_NT_COOKIE_AUTH_FAILED:
reason = "RPC_NT_COOKIE_AUTH_FAILED";
break;
case MD_NTSTATUS_WIN_RPC_NT_NO_MORE_ENTRIES:
reason = "RPC_NT_NO_MORE_ENTRIES";
break;
case MD_NTSTATUS_WIN_RPC_NT_SS_CHAR_TRANS_OPEN_FAIL:
reason = "RPC_NT_SS_CHAR_TRANS_OPEN_FAIL";
break;
case MD_NTSTATUS_WIN_RPC_NT_SS_CHAR_TRANS_SHORT_FILE:
reason = "RPC_NT_SS_CHAR_TRANS_SHORT_FILE";
break;
case MD_NTSTATUS_WIN_RPC_NT_SS_IN_NULL_CONTEXT:
reason = "RPC_NT_SS_IN_NULL_CONTEXT";
break;
case MD_NTSTATUS_WIN_RPC_NT_SS_CONTEXT_MISMATCH:
reason = "RPC_NT_SS_CONTEXT_MISMATCH";
break;
case MD_NTSTATUS_WIN_RPC_NT_SS_CONTEXT_DAMAGED:
reason = "RPC_NT_SS_CONTEXT_DAMAGED";
break;
case MD_NTSTATUS_WIN_RPC_NT_SS_HANDLES_MISMATCH:
reason = "RPC_NT_SS_HANDLES_MISMATCH";
break;
case MD_NTSTATUS_WIN_RPC_NT_SS_CANNOT_GET_CALL_HANDLE:
reason = "RPC_NT_SS_CANNOT_GET_CALL_HANDLE";
break;
case MD_NTSTATUS_WIN_RPC_NT_NULL_REF_POINTER:
reason = "RPC_NT_NULL_REF_POINTER";
break;
case MD_NTSTATUS_WIN_RPC_NT_ENUM_VALUE_OUT_OF_RANGE:
reason = "RPC_NT_ENUM_VALUE_OUT_OF_RANGE";
break;
case MD_NTSTATUS_WIN_RPC_NT_BYTE_COUNT_TOO_SMALL:
reason = "RPC_NT_BYTE_COUNT_TOO_SMALL";
break;
case MD_NTSTATUS_WIN_RPC_NT_BAD_STUB_DATA:
reason = "RPC_NT_BAD_STUB_DATA";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_ES_ACTION:
reason = "RPC_NT_INVALID_ES_ACTION";
break;
case MD_NTSTATUS_WIN_RPC_NT_WRONG_ES_VERSION:
reason = "RPC_NT_WRONG_ES_VERSION";
break;
case MD_NTSTATUS_WIN_RPC_NT_WRONG_STUB_VERSION:
reason = "RPC_NT_WRONG_STUB_VERSION";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_PIPE_OBJECT:
reason = "RPC_NT_INVALID_PIPE_OBJECT";
break;
case MD_NTSTATUS_WIN_RPC_NT_INVALID_PIPE_OPERATION:
reason = "RPC_NT_INVALID_PIPE_OPERATION";