Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts


  20  * The table below was generated from the above KB data
  21  * using a simple awk program.
  22  */
  23 
  24 #include <sys/errno.h>
  25 #include <smb/ntstatus.h>
  26 #include <smb/nterror.h>
  27 
  28 #include "smb_status2winerr.h"
  29 
  30 
  31 const struct status2winerr
  32 smb_status2winerr_map[] = {
  33 
  34         /* As this was generated, don't really want cstyle noise. */
  35         /* BEGIN CSTYLED */
  36 
  37         /*
  38          * WINDOWS NT STATUS CODE                       WIN32 ERROR CODE
  39          */
  40         NT_STATUS_ACCESS_DENIED,                        ERROR_ACCESS_DENIED,
  41         NT_STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT,    ERROR_ACCESS_DISABLED_BY_POLICY,
  42         NT_STATUS_ACCESS_DISABLED_BY_POLICY_OTHER,      ERROR_ACCESS_DISABLED_BY_POLICY,
  43         NT_STATUS_ACCESS_DISABLED_BY_POLICY_PATH,       ERROR_ACCESS_DISABLED_BY_POLICY,
  44         NT_STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER,  ERROR_ACCESS_DISABLED_BY_POLICY,
  45         NT_STATUS_ACCESS_VIOLATION,                     ERROR_NOACCESS,
  46         NT_STATUS_ACCOUNT_DISABLED,                     ERROR_ACCOUNT_DISABLED,
  47         NT_STATUS_ACCOUNT_EXPIRED,                      ERROR_ACCOUNT_EXPIRED,
  48         NT_STATUS_ACCOUNT_LOCKED_OUT,                   ERROR_ACCOUNT_LOCKED_OUT,
  49         NT_STATUS_ACCOUNT_RESTRICTION,                  ERROR_ACCOUNT_RESTRICTION,
  50         NT_STATUS_ADAPTER_HARDWARE_ERROR,               ERROR_ADAP_HDW_ERR,
  51         NT_STATUS_ADDRESS_ALREADY_ASSOCIATED,           ERROR_ADDRESS_ALREADY_ASSOCIATED,
  52         NT_STATUS_ADDRESS_ALREADY_EXISTS,               ERROR_DUP_NAME,
  53         NT_STATUS_ADDRESS_CLOSED,                       ERROR_NETNAME_DELETED,
  54         NT_STATUS_ADDRESS_NOT_ASSOCIATED,               ERROR_ADDRESS_NOT_ASSOCIATED,
  55         NT_STATUS_AGENTS_EXHAUSTED,                     ERROR_NO_MORE_ITEMS,
  56         NT_STATUS_ALIAS_EXISTS,                         ERROR_ALIAS_EXISTS,
  57         NT_STATUS_ALLOTTED_SPACE_EXCEEDED,              ERROR_ALLOTTED_SPACE_EXCEEDED,
  58         NT_STATUS_ALREADY_COMMITTED,                    ERROR_ACCESS_DENIED,
  59         NT_STATUS_ALREADY_DISCONNECTED,                 ERROR_ACTIVE_CONNECTIONS,
  60         /* NT_STATUS_AUDITING_DISABLED,                 ERROR_AUDITING_DISABLED, */
  61         /* NT_STATUS_BAD_BINDINGS,                      SEC_E_BAD_BINDINGS, */
  62         NT_STATUS_BAD_DESCRIPTOR_FORMAT,                ERROR_BAD_DESCRIPTOR_FORMAT,
  63         NT_STATUS_BAD_DEVICE_TYPE,                      ERROR_BAD_DEV_TYPE,
  64         NT_STATUS_BAD_IMPERSONATION_LEVEL,              ERROR_BAD_IMPERSONATION_LEVEL,
  65         NT_STATUS_BAD_INHERITANCE_ACL,                  ERROR_BAD_INHERITANCE_ACL,
  66         NT_STATUS_BAD_INITIAL_PC,                       ERROR_BAD_EXE_FORMAT,
  67         NT_STATUS_BAD_INITIAL_STACK,                    ERROR_STACK_OVERFLOW,
  68         NT_STATUS_BAD_LOGON_SESSION_STATE,              ERROR_BAD_LOGON_SESSION_STATE,
  69         NT_STATUS_BAD_MASTER_BOOT_RECORD,               ERROR_INVALID_PARAMETER,
  70         NT_STATUS_BAD_NETWORK_NAME,                     ERROR_BAD_NET_NAME,
  71         NT_STATUS_BAD_NETWORK_PATH,                     ERROR_BAD_NETPATH,
  72         NT_STATUS_BAD_REMOTE_ADAPTER,                   ERROR_BAD_REM_ADAP,
  73         NT_STATUS_BAD_TOKEN_TYPE,                       ERROR_BAD_TOKEN_TYPE,
  74         NT_STATUS_BAD_VALIDATION_CLASS,                 ERROR_BAD_VALIDATION_CLASS,
  75         NT_STATUS_BAD_WORKING_SET_LIMIT,                ERROR_INVALID_PARAMETER,
  76         NT_STATUS_BEGINNING_OF_MEDIA,                   ERROR_BEGINNING_OF_MEDIA,
  77         NT_STATUS_BUFFER_OVERFLOW,                      ERROR_MORE_DATA,
  78         NT_STATUS_BUFFER_TOO_SMALL,                     ERROR_INSUFFICIENT_BUFFER,
  79         NT_STATUS_BUS_RESET,                            ERROR_BUS_RESET,
  80         NT_STATUS_CANCELLED,                            ERROR_OPERATION_ABORTED,
  81         NT_STATUS_CANNOT_DELETE,                        ERROR_ACCESS_DENIED,
  82         NT_STATUS_CANNOT_IMPERSONATE,                   ERROR_CANNOT_IMPERSONATE,
  83         NT_STATUS_CANNOT_MAKE,                          ERROR_CANNOT_MAKE,
  84         NT_STATUS_CANT_ACCESS_DOMAIN_INFO,              ERROR_CANT_ACCESS_DOMAIN_INFO,
  85         NT_STATUS_CANT_DISABLE_MANDATORY,               ERROR_CANT_DISABLE_MANDATORY,
  86         NT_STATUS_CANT_OPEN_ANONYMOUS,                  ERROR_CANT_OPEN_ANONYMOUS,
  87         NT_STATUS_CHILD_MUST_BE_VOLATILE,               ERROR_CHILD_MUST_BE_VOLATILE,
  88         /* NT_STATUS_CLEANER_CARTRIDGE_INSTALLED,       ERROR_CLEANER_CARTRIDGE_INSTALLED, */
  89         /* NT_STATUS_CLUSTER_... */
  90         NT_STATUS_COMMITMENT_LIMIT,                     ERROR_COMMITMENT_LIMIT,
  91         NT_STATUS_CONFLICTING_ADDRESSES,                ERROR_INVALID_ADDRESS,
  92         NT_STATUS_CONNECTION_ABORTED,                   ERROR_CONNECTION_ABORTED,
  93         NT_STATUS_CONNECTION_ACTIVE,                    ERROR_CONNECTION_ACTIVE,
  94         NT_STATUS_CONNECTION_COUNT_LIMIT,               ERROR_CONNECTION_COUNT_LIMIT,
  95         NT_STATUS_CONNECTION_DISCONNECTED,              ERROR_NETNAME_DELETED,
  96         NT_STATUS_CONNECTION_INVALID,                   ERROR_CONNECTION_INVALID,
  97         NT_STATUS_CONNECTION_IN_USE,                    ERROR_DEVICE_IN_USE,
  98         NT_STATUS_CONNECTION_REFUSED,                   ERROR_CONNECTION_REFUSED,
  99         NT_STATUS_CONNECTION_RESET,                     ERROR_NETNAME_DELETED,
 100         /* NT_STATUS_COPY_PROTECTION_FAILURE,           STG_E_STATUS_COPY_PROTECTION_FAILURE, */
 101         NT_STATUS_CRC_ERROR,                            ERROR_CRC,
 102         /* NT_STATUS_CRYPTO_SYSTEM_INVALID,             SEC_E_CRYPTO_SYSTEM_INVALID, */
 103         /* NT_STATUS_CSS_... */
 104         NT_STATUS_CTL_FILE_NOT_SUPPORTED,               ERROR_NOT_SUPPORTED,
 105         /* NT_STATUS_CTX_BAD_VIDEO_MODE,                ERROR_CTX_BAD_VIDEO_MODE, */
 106         /* NT_STATUS_CTX_... */
 107         NT_STATUS_CURRENT_DOMAIN_NOT_ALLOWED,           ERROR_CURRENT_DOMAIN_NOT_ALLOWED,
 108         NT_STATUS_DATATYPE_MISALIGNMENT,                ERROR_NOACCESS,
 109         NT_STATUS_DATATYPE_MISALIGNMENT_ERROR,          ERROR_NOACCESS,
 110         NT_STATUS_DATA_ERROR,                           ERROR_CRC,
 111         NT_STATUS_DATA_LATE_ERROR,                      ERROR_IO_DEVICE,
 112         NT_STATUS_DATA_OVERRUN,                         ERROR_IO_DEVICE,
 113         NT_STATUS_DECRYPTION_FAILED,                    ERROR_ACCESS_DENIED,
 114         NT_STATUS_DELETE_PENDING,                       ERROR_ACCESS_DENIED,
 115         NT_STATUS_DESTINATION_ELEMENT_FULL,             ERROR_DESTINATION_ELEMENT_FULL,
 116         NT_STATUS_DEVICE_BUSY,                          ERROR_BUSY,
 117         NT_STATUS_DEVICE_CONFIGURATION_ERROR,           ERROR_INVALID_PARAMETER,
 118         NT_STATUS_DEVICE_DATA_ERROR,                    ERROR_CRC,
 119         NT_STATUS_DEVICE_DOES_NOT_EXIST,                ERROR_DEV_NOT_EXIST,
 120         NT_STATUS_DEVICE_DOOR_OPEN,                     ERROR_DEVICE_DOOR_OPEN,
 121         NT_STATUS_DEVICE_NOT_CONNECTED,                 ERROR_DEVICE_NOT_CONNECTED,
 122         NT_STATUS_DEVICE_NOT_PARTITIONED,               ERROR_DEVICE_NOT_PARTITIONED,
 123         NT_STATUS_DEVICE_NOT_READY,                     ERROR_NOT_READY,
 124         NT_STATUS_DEVICE_OFF_LINE,                      ERROR_NOT_READY,
 125         NT_STATUS_DEVICE_PAPER_EMPTY,                   ERROR_OUT_OF_PAPER,
 126         NT_STATUS_DEVICE_POWERED_OFF,                   ERROR_NOT_READY,
 127         NT_STATUS_DEVICE_POWER_FAILURE,                 ERROR_NOT_READY,
 128         NT_STATUS_DEVICE_PROTOCOL_ERROR,                ERROR_IO_DEVICE,
 129         NT_STATUS_DEVICE_REMOVED,                       ERROR_DEVICE_REMOVED,
 130         NT_STATUS_DEVICE_REQUIRES_CLEANING,             ERROR_DEVICE_REQUIRES_CLEANING,
 131         NT_STATUS_DFS_EXIT_PATH_FOUND,                  ERROR_PATH_NOT_FOUND,
 132         NT_STATUS_DFS_UNAVAILABLE,                      ERROR_CONNECTION_UNAVAIL,
 133         NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT,         ERROR_BAD_PATHNAME,
 134         NT_STATUS_DIRECTORY_NOT_EMPTY,                  ERROR_DIR_NOT_EMPTY,
 135         NT_STATUS_DIRECTORY_SERVICE_REQUIRED,           ERROR_DS_DS_REQUIRED,
 136         /* NT_STATUS_DISCONNECTED,                      ERROR_DEV_NOT_EXIST, */
 137         NT_STATUS_DISK_CORRUPT_ERROR,                   ERROR_DISK_CORRUPT,
 138         NT_STATUS_DISK_FULL,                            ERROR_DISK_FULL,
 139         NT_STATUS_DISK_OPERATION_FAILED,                ERROR_DISK_OPERATION_FAILED,
 140         NT_STATUS_DISK_RECALIBRATE_FAILED,              ERROR_DISK_RECALIBRATE_FAILED,
 141         NT_STATUS_DISK_RESET_FAILED,                    ERROR_DISK_RESET_FAILED,
 142         NT_STATUS_DLL_INIT_FAILED,                      ERROR_DLL_INIT_FAILED,
 143         NT_STATUS_DLL_NOT_FOUND,                        ERROR_MOD_NOT_FOUND,
 144         NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND,          ERROR_DOMAIN_CONTROLLER_NOT_FOUND,
 145         NT_STATUS_DOMAIN_EXISTS,                        ERROR_DOMAIN_EXISTS,
 146         NT_STATUS_DOMAIN_LIMIT_EXCEEDED,                ERROR_DOMAIN_LIMIT_EXCEEDED,
 147         NT_STATUS_DOMAIN_TRUST_INCONSISTENT,            ERROR_DOMAIN_TRUST_INCONSISTENT,
 148         NT_STATUS_DOWNGRADE_DETECTED,                   ERROR_DOWNGRADE_DETECTED,
 149         NT_STATUS_DRIVER_BLOCKED,                       ERROR_DRIVER_BLOCKED,
 150         NT_STATUS_DRIVER_BLOCKED_CRITICAL,              ERROR_DRIVER_BLOCKED,
 151         NT_STATUS_DRIVER_ENTRYPOINT_NOT_FOUND,          ERROR_PROC_NOT_FOUND,
 152         NT_STATUS_DRIVER_INTERNAL_ERROR,                ERROR_IO_DEVICE,
 153         NT_STATUS_DRIVER_ORDINAL_NOT_FOUND,             ERROR_INVALID_ORDINAL,
 154         NT_STATUS_DRIVER_UNABLE_TO_LOAD,                ERROR_BAD_DRIVER,
 155         NT_STATUS_DS_ADMIN_LIMIT_EXCEEDED,              ERROR_DS_ADMIN_LIMIT_EXCEEDED,
 156         NT_STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER,     ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER,
 157         NT_STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS,         ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS,
 158         NT_STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED,          ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED,
 159         NT_STATUS_DS_BUSY,                              ERROR_DS_BUSY,
 160         NT_STATUS_DS_CANT_MOD_OBJ_CLASS,                ERROR_DS_CANT_MOD_OBJ_CLASS,
 161         NT_STATUS_DS_CANT_MOD_PRIMARYGROUPID,           ERROR_DS_CANT_MOD_PRIMARYGROUPID,
 162         NT_STATUS_DS_CANT_ON_NON_LEAF,                  ERROR_DS_CANT_ON_NON_LEAF,
 163         NT_STATUS_DS_CANT_ON_RDN,                       ERROR_DS_CANT_ON_RDN,
 164         NT_STATUS_DS_CANT_START,                        ERROR_DS_CANT_START,
 165         NT_STATUS_DS_CROSS_DOM_MOVE_FAILED,             ERROR_DS_CROSS_DOM_MOVE_ERROR,
 166         NT_STATUS_DS_GC_NOT_AVAILABLE,                  ERROR_DS_GC_NOT_AVAILABLE,
 167         NT_STATUS_DS_GC_REQUIRED,                       ERROR_DS_GC_REQUIRED,
 168         NT_STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER,
 169         NT_STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER,     ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER,
 170         NT_STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER,
 171         NT_STATUS_DS_HAVE_PRIMARY_MEMBERS,              ERROR_DS_HAVE_PRIMARY_MEMBERS,
 172         NT_STATUS_DS_INCORRECT_ROLE_OWNER,              ERROR_DS_INCORRECT_ROLE_OWNER,
 173         NT_STATUS_DS_INIT_FAILURE,                      ERROR_DS_INIT_FAILURE,
 174         NT_STATUS_DS_INIT_FAILURE_CONSOLE,              ERROR_DS_INIT_FAILURE_CONSOLE,
 175         NT_STATUS_DS_INVALID_ATTRIBUTE_SYNTAX,          ERROR_DS_INVALID_ATTRIBUTE_SYNTAX,
 176         NT_STATUS_DS_INVALID_GROUP_TYPE,                ERROR_DS_INVALID_GROUP_TYPE,
 177         NT_STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER, ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER,
 178         NT_STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY,        ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY,
 179         NT_STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED,    ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED,
 180         NT_STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY,      ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY,
 181         NT_STATUS_DS_NO_ATTRIBUTE_OR_VALUE,             ERROR_DS_NO_ATTRIBUTE_OR_VALUE,
 182         NT_STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS,        ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS,
 183         NT_STATUS_DS_NO_MORE_RIDS,                      ERROR_DS_NO_MORE_RIDS,
 184         NT_STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN, ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN,
 185         NT_STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN, ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN,
 186         NT_STATUS_DS_NO_RIDS_ALLOCATED,                 ERROR_DS_NO_RIDS_ALLOCATED,
 187         NT_STATUS_DS_OBJ_CLASS_VIOLATION,               ERROR_DS_OBJ_CLASS_VIOLATION,
 188         NT_STATUS_DS_RIDMGR_INIT_ERROR,                 ERROR_DS_RIDMGR_INIT_ERROR,
 189         NT_STATUS_DS_SAM_INIT_FAILURE,                  ERROR_DS_SAM_INIT_FAILURE,
 190         NT_STATUS_DS_SAM_INIT_FAILURE_CONSOLE,          ERROR_DS_SAM_INIT_FAILURE_CONSOLE,
 191         NT_STATUS_DS_SENSITIVE_GROUP_VIOLATION,         ERROR_DS_SENSITIVE_GROUP_VIOLATION,
 192         NT_STATUS_DS_SHUTTING_DOWN,                     ERROR_DS_SHUTTING_DOWN,
 193         NT_STATUS_DS_UNAVAILABLE,                       ERROR_DS_UNAVAILABLE,
 194         NT_STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER,  ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER,
 195         NT_STATUS_DUPLICATE_NAME,                       ERROR_DUP_NAME,
 196         /* NT_STATUS_DUPLICATE_OBJECTID,                STATUS_DUPLICATE_OBJECTID, */
 197         NT_STATUS_EAS_NOT_SUPPORTED,                    ERROR_EAS_NOT_SUPPORTED,
 198         NT_STATUS_EA_CORRUPT_ERROR,                     ERROR_FILE_CORRUPT,
 199         NT_STATUS_EA_LIST_INCONSISTENT,                 ERROR_EA_LIST_INCONSISTENT,
 200         NT_STATUS_EA_TOO_LARGE,                         ERROR_EA_LIST_INCONSISTENT,
 201         NT_STATUS_EFS_ALG_BLOB_TOO_BIG,                 ERROR_EFS_ALG_BLOB_TOO_BIG,
 202         NT_STATUS_ENCRYPTION_FAILED,                    ERROR_ACCESS_DENIED,
 203         /* NT_STATUS_ENDPOINT_CLOSED,                   ERROR_DEV_NOT_EXIST, */
 204         NT_STATUS_END_OF_FILE,                          ERROR_HANDLE_EOF,
 205         NT_STATUS_END_OF_MEDIA,                         ERROR_END_OF_MEDIA,
 206         NT_STATUS_ENTRYPOINT_NOT_FOUND,                 ERROR_PROC_NOT_FOUND,
 207         NT_STATUS_EOM_OVERFLOW,                         ERROR_EOM_OVERFLOW,
 208         NT_STATUS_EVENTLOG_CANT_START,                  ERROR_EVENTLOG_CANT_START,
 209         NT_STATUS_EVENTLOG_FILE_CHANGED,                ERROR_EVENTLOG_FILE_CHANGED,
 210         NT_STATUS_EVENTLOG_FILE_CORRUPT,                ERROR_EVENTLOG_FILE_CORRUPT,
 211         NT_STATUS_FAIL_CHECK,                           ERROR_INVALID_PARAMETER,
 212         NT_STATUS_FILEMARK_DETECTED,                    ERROR_FILEMARK_DETECTED,
 213         NT_STATUS_FILES_OPEN,                           ERROR_OPEN_FILES,
 214         NT_STATUS_FILE_CLOSED,                          ERROR_INVALID_HANDLE,
 215         NT_STATUS_FILE_CORRUPT_ERROR,                   ERROR_FILE_CORRUPT,
 216         NT_STATUS_FILE_DELETED,                         ERROR_ACCESS_DENIED,
 217         NT_STATUS_FILE_ENCRYPTED,                       ERROR_FILE_ENCRYPTED,
 218         NT_STATUS_FILE_FORCED_CLOSED,                   ERROR_HANDLE_EOF,
 219         NT_STATUS_FILE_INVALID,                         ERROR_FILE_INVALID,
 220         NT_STATUS_FILE_IS_A_DIRECTORY,                  ERROR_ACCESS_DENIED,
 221         NT_STATUS_FILE_IS_OFFLINE,                      ERROR_FILE_OFFLINE,
 222         NT_STATUS_FILE_LOCK_CONFLICT,                   ERROR_LOCK_VIOLATION,
 223         NT_STATUS_FILE_NOT_ENCRYPTED,                   ERROR_FILE_NOT_ENCRYPTED,
 224         NT_STATUS_FILE_RENAMED,                         ERROR_ACCESS_DENIED,
 225         NT_STATUS_FLOPPY_BAD_REGISTERS,                 ERROR_FLOPPY_BAD_REGISTERS,
 226         NT_STATUS_FLOPPY_ID_MARK_NOT_FOUND,             ERROR_FLOPPY_ID_MARK_NOT_FOUND,
 227         NT_STATUS_FLOPPY_UNKNOWN_ERROR,                 ERROR_FLOPPY_UNKNOWN_ERROR,
 228         NT_STATUS_FLOPPY_WRONG_CYLINDER,                ERROR_FLOPPY_WRONG_CYLINDER,
 229         NT_STATUS_FREE_VM_NOT_AT_BASE,                  ERROR_INVALID_ADDRESS,
 230         NT_STATUS_FT_MISSING_MEMBER,                    ERROR_IO_DEVICE,
 231         NT_STATUS_FT_ORPHANING,                         ERROR_IO_DEVICE,
 232         NT_STATUS_FULLSCREEN_MODE,                      ERROR_FULLSCREEN_MODE,
 233         NT_STATUS_GENERIC_NOT_MAPPED,                   ERROR_GENERIC_NOT_MAPPED,
 234         NT_STATUS_GRACEFUL_DISCONNECT,                  ERROR_GRACEFUL_DISCONNECT,
 235         NT_STATUS_GROUP_EXISTS,                         ERROR_GROUP_EXISTS,
 236         NT_STATUS_GUIDS_EXHAUSTED,                      ERROR_NO_MORE_ITEMS,
 237         NT_STATUS_HANDLE_NOT_CLOSABLE,                  ERROR_INVALID_HANDLE,
 238         NT_STATUS_HOST_DOWN,                            ERROR_HOST_DOWN,
 239         NT_STATUS_HOST_UNREACHABLE,                     ERROR_HOST_UNREACHABLE,
 240         NT_STATUS_ILLEGAL_CHARACTER,                    ERROR_NO_UNICODE_TRANSLATION,
 241         NT_STATUS_ILLEGAL_ELEMENT_ADDRESS,              ERROR_ILLEGAL_ELEMENT_ADDRESS,
 242         NT_STATUS_ILLEGAL_FUNCTION,                     ERROR_INVALID_FUNCTION,
 243         NT_STATUS_ILL_FORMED_PASSWORD,                  ERROR_ILL_FORMED_PASSWORD,
 244         NT_STATUS_IMAGE_ALREADY_LOADED,                 ERROR_SERVICE_ALREADY_RUNNING,
 245         NT_STATUS_IMAGE_CHECKSUM_MISMATCH,              ERROR_BAD_EXE_FORMAT,
 246         NT_STATUS_IMAGE_MP_UP_MISMATCH,                 ERROR_BAD_EXE_FORMAT,
 247         NT_STATUS_INCOMPATIBLE_FILE_MAP,                ERROR_INVALID_PARAMETER,
 248         NT_STATUS_INFO_LENGTH_MISMATCH,                 ERROR_BAD_LENGTH,
 249         NT_STATUS_INSTANCE_NOT_AVAILABLE,               ERROR_PIPE_BUSY,
 250         NT_STATUS_INSUFFICIENT_RESOURCES,               ERROR_NO_SYSTEM_RESOURCES,
 251         NT_STATUS_INSUFF_SERVER_RESOURCES,              ERROR_NOT_ENOUGH_SERVER_MEMORY,
 252         NT_STATUS_INTEGER_OVERFLOW,                     ERROR_ARITHMETIC_OVERFLOW,
 253         NT_STATUS_INTERNAL_DB_CORRUPTION,               ERROR_INTERNAL_DB_CORRUPTION,
 254         NT_STATUS_INTERNAL_DB_ERROR,                    ERROR_INTERNAL_DB_ERROR,
 255         NT_STATUS_INTERNAL_ERROR,                       ERROR_INTERNAL_ERROR,
 256         NT_STATUS_INVALID_ACCOUNT_NAME,                 ERROR_INVALID_ACCOUNT_NAME,
 257         NT_STATUS_INVALID_ACL,                          ERROR_INVALID_ACL,
 258         NT_STATUS_INVALID_ADDRESS,                      ERROR_UNEXP_NET_ERR,
 259         NT_STATUS_INVALID_ADDRESS_COMPONENT,            ERROR_INVALID_NETNAME,
 260         NT_STATUS_INVALID_ADDRESS_WILDCARD,             ERROR_INVALID_NETNAME,
 261         NT_STATUS_INVALID_BLOCK_LENGTH,                 ERROR_INVALID_BLOCK_LENGTH,
 262         NT_STATUS_INVALID_BUFFER_SIZE,                  ERROR_INVALID_USER_BUFFER,
 263         NT_STATUS_INVALID_CID,                          ERROR_INVALID_PARAMETER,
 264         NT_STATUS_INVALID_COMPUTER_NAME,                ERROR_INVALID_COMPUTERNAME,
 265         NT_STATUS_INVALID_CONNECTION,                   ERROR_UNEXP_NET_ERR,
 266         NT_STATUS_INVALID_DEVICE_REQUEST,               ERROR_INVALID_FUNCTION,
 267         NT_STATUS_INVALID_DEVICE_STATE,                 ERROR_BAD_COMMAND,
 268         NT_STATUS_INVALID_DOMAIN_ROLE,                  ERROR_INVALID_DOMAIN_ROLE,
 269         NT_STATUS_INVALID_DOMAIN_STATE,                 ERROR_INVALID_DOMAIN_STATE,
 270         NT_STATUS_INVALID_EA_FLAG,                      ERROR_EA_LIST_INCONSISTENT,
 271         NT_STATUS_INVALID_EA_NAME,                      ERROR_INVALID_EA_NAME,
 272         NT_STATUS_INVALID_FILE_FOR_SECTION,             ERROR_BAD_EXE_FORMAT,
 273         NT_STATUS_INVALID_GROUP_ATTRIBUTES,             ERROR_INVALID_GROUP_ATTRIBUTES,
 274         NT_STATUS_INVALID_HANDLE,                       ERROR_INVALID_HANDLE,
 275         NT_STATUS_INVALID_ID_AUTHORITY,                 ERROR_INVALID_ID_AUTHORITY,
 276         NT_STATUS_INVALID_IMAGE_FORMAT,                 ERROR_BAD_EXE_FORMAT,
 277         NT_STATUS_INVALID_IMAGE_LE_FORMAT,              ERROR_BAD_EXE_FORMAT,
 278         NT_STATUS_INVALID_IMAGE_NE_FORMAT,              ERROR_BAD_EXE_FORMAT,
 279         NT_STATUS_INVALID_IMAGE_NOT_MZ,                 ERROR_BAD_EXE_FORMAT,
 280         NT_STATUS_INVALID_IMAGE_PROTECT,                ERROR_BAD_EXE_FORMAT,
 281         NT_STATUS_INVALID_IMAGE_WIN_16,                 ERROR_BAD_EXE_FORMAT,
 282         NT_STATUS_INVALID_IMAGE_WIN_32,                 ERROR_BAD_EXE_FORMAT,
 283         NT_STATUS_INVALID_IMAGE_WIN_64,                 ERROR_BAD_EXE_FORMAT,
 284         NT_STATUS_INVALID_IMPORT_OF_NON_DLL,            ERROR_INVALID_IMPORT_OF_NON_DLL,
 285         NT_STATUS_INVALID_INFO_CLASS,                   ERROR_INVALID_PARAMETER,
 286         NT_STATUS_INVALID_LEVEL,                        ERROR_INVALID_LEVEL,
 287         NT_STATUS_INVALID_LOCK_SEQUENCE,                ERROR_ACCESS_DENIED,
 288         NT_STATUS_INVALID_LOGON_HOURS,                  ERROR_INVALID_LOGON_HOURS,
 289         NT_STATUS_INVALID_LOGON_TYPE,                   ERROR_INVALID_LOGON_TYPE,
 290         NT_STATUS_INVALID_MEMBER,                       ERROR_INVALID_MEMBER,
 291         NT_STATUS_INVALID_NETWORK_RESPONSE,             ERROR_BAD_NET_RESP,
 292         NT_STATUS_INVALID_OPLOCK_PROTOCOL,              ERROR_INVALID_OPLOCK_PROTOCOL,
 293         NT_STATUS_INVALID_OWNER,                        ERROR_INVALID_OWNER,
 294         NT_STATUS_INVALID_PAGE_PROTECTION,              ERROR_INVALID_PARAMETER,
 295         NT_STATUS_INVALID_PARAMETER,                    ERROR_INVALID_PARAMETER,
 296         NT_STATUS_INVALID_PARAMETER_1,                  ERROR_INVALID_PARAMETER,
 297         NT_STATUS_INVALID_PARAMETER_2,                  ERROR_INVALID_PARAMETER,
 298         NT_STATUS_INVALID_PARAMETER_3,                  ERROR_INVALID_PARAMETER,
 299         NT_STATUS_INVALID_PARAMETER_4,                  ERROR_INVALID_PARAMETER,
 300         NT_STATUS_INVALID_PARAMETER_5,                  ERROR_INVALID_PARAMETER,
 301         NT_STATUS_INVALID_PARAMETER_6,                  ERROR_INVALID_PARAMETER,
 302         NT_STATUS_INVALID_PARAMETER_7,                  ERROR_INVALID_PARAMETER,
 303         NT_STATUS_INVALID_PARAMETER_8,                  ERROR_INVALID_PARAMETER,
 304         NT_STATUS_INVALID_PARAMETER_9,                  ERROR_INVALID_PARAMETER,
 305         NT_STATUS_INVALID_PARAMETER_10,                 ERROR_INVALID_PARAMETER,
 306         NT_STATUS_INVALID_PARAMETER_11,                 ERROR_INVALID_PARAMETER,
 307         NT_STATUS_INVALID_PARAMETER_12,                 ERROR_INVALID_PARAMETER,
 308         NT_STATUS_INVALID_PARAMETER_MIX,                ERROR_INVALID_PARAMETER,
 309         NT_STATUS_INVALID_PIPE_STATE,                   ERROR_BAD_PIPE,
 310         NT_STATUS_INVALID_PORT_HANDLE,                  ERROR_INVALID_HANDLE,
 311         NT_STATUS_INVALID_PRIMARY_GROUP,                ERROR_INVALID_PRIMARY_GROUP,
 312         NT_STATUS_INVALID_READ_MODE,                    ERROR_BAD_PIPE,
 313         NT_STATUS_INVALID_SECURITY_DESCR,               ERROR_INVALID_SECURITY_DESCR,
 314         NT_STATUS_INVALID_SERVER_STATE,                 ERROR_INVALID_SERVER_STATE,
 315         NT_STATUS_INVALID_SID,                          ERROR_INVALID_SID,
 316         NT_STATUS_INVALID_SUB_AUTHORITY,                ERROR_INVALID_SUB_AUTHORITY,
 317         NT_STATUS_INVALID_SYSTEM_SERVICE,               ERROR_INVALID_FUNCTION,
 318         NT_STATUS_INVALID_USER_BUFFER,                  ERROR_INVALID_USER_BUFFER,
 319         NT_STATUS_INVALID_VIEW_SIZE,                    ERROR_ACCESS_DENIED,
 320         NT_STATUS_INVALID_VOLUME_LABEL,                 ERROR_LABEL_TOO_LONG,
 321         NT_STATUS_INVALID_WORKSTATION,                  ERROR_INVALID_WORKSTATION,
 322         NT_STATUS_IN_PAGE_ERROR,                        ERROR_SWAPERROR,
 323         NT_STATUS_IO_DEVICE_ERROR,                      ERROR_IO_DEVICE,
 324         NT_STATUS_IO_REPARSE_DATA_INVALID,              ERROR_INVALID_REPARSE_DATA,
 325         NT_STATUS_IO_REPARSE_TAG_INVALID,               ERROR_REPARSE_TAG_INVALID,
 326         NT_STATUS_IO_REPARSE_TAG_MISMATCH,              ERROR_REPARSE_TAG_MISMATCH,
 327         NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED,           ERROR_CANT_ACCESS_FILE,
 328         NT_STATUS_IO_TIMEOUT,                           ERROR_SEM_TIMEOUT,
 329         NT_STATUS_ISSUING_CA_UNTRUSTED,                 SEC_E_ISSUING_CA_UNTRUSTED,
 330         NT_STATUS_JOURNAL_DELETE_IN_PROGRESS,           ERROR_JOURNAL_DELETE_IN_PROGRESS,
 331         NT_STATUS_JOURNAL_ENTRY_DELETED,                ERROR_JOURNAL_ENTRY_DELETED,
 332         NT_STATUS_JOURNAL_NOT_ACTIVE,                   ERROR_JOURNAL_NOT_ACTIVE,
 333         /* NT_STATUS_KDC_INVALID_REQUEST,               SEC_E_KDC_INVALID_REQUEST, */
 334         /* NT_STATUS_KDC_UNABLE_TO_REFER,               SEC_E_KDC_UNABLE_TO_REFER, */
 335         /* NT_STATUS_KDC_UNKNOWN_ETYPE,                 SEC_E_KDC_UNKNOWN_ETYPE, */
 336         NT_STATUS_KEY_DELETED,                          ERROR_KEY_DELETED,
 337         NT_STATUS_KEY_HAS_CHILDREN,                     ERROR_KEY_HAS_CHILDREN,
 338         NT_STATUS_LAST_ADMIN,                           ERROR_LAST_ADMIN,
 339         NT_STATUS_LICENSE_QUOTA_EXCEEDED,               ERROR_LICENSE_QUOTA_EXCEEDED,
 340         /* NT_STATUS_LICENSE_VIOLATION,                 ERROR_CTX_LICENSE_NOT_AVAILABLE, */
 341         NT_STATUS_LINK_FAILED,                          ERROR_UNEXP_NET_ERR,
 342         NT_STATUS_LINK_TIMEOUT,                         ERROR_UNEXP_NET_ERR,
 343         NT_STATUS_LM_CROSS_ENCRYPTION_REQUIRED,         ERROR_LM_CROSS_ENCRYPTION_REQUIRED,
 344         NT_STATUS_LOCAL_DISCONNECT,                     ERROR_NETNAME_DELETED,
 345         NT_STATUS_LOCAL_USER_SESSION_KEY,               ERROR_LOCAL_USER_SESSION_KEY,
 346         NT_STATUS_LOCK_NOT_GRANTED,                     ERROR_LOCK_VIOLATION,
 347         NT_STATUS_LOGIN_TIME_RESTRICTION,               ERROR_LOGIN_TIME_RESTRICTION,
 348         NT_STATUS_LOGIN_WKSTA_RESTRICTION,              ERROR_LOGIN_WKSTA_RESTRICTION,
 349         NT_STATUS_LOGON_FAILURE,                        ERROR_LOGON_FAILURE,
 350         NT_STATUS_LOGON_NOT_GRANTED,                    ERROR_LOGON_NOT_GRANTED,
 351         NT_STATUS_LOGON_SESSION_COLLISION,              ERROR_LOGON_SESSION_COLLISION,
 352         NT_STATUS_LOGON_SESSION_EXISTS,                 ERROR_LOGON_SESSION_EXISTS,
 353         NT_STATUS_LOGON_TYPE_NOT_GRANTED,               ERROR_LOGON_TYPE_NOT_GRANTED,
 354         NT_STATUS_LOG_FILE_FULL,                        ERROR_LOG_FILE_FULL,
 355         NT_STATUS_LPC_REPLY_LOST,                       ERROR_CONNECTION_ABORTED,
 356         NT_STATUS_LPC_REPLY_LOST,                       ERROR_INTERNAL_ERROR,
 357         NT_STATUS_LUIDS_EXHAUSTED,                      ERROR_LUIDS_EXHAUSTED,
 358         NT_STATUS_MAGAZINE_NOT_PRESENT,                 ERROR_MAGAZINE_NOT_PRESENT,
 359         NT_STATUS_MAPPED_ALIGNMENT,                     ERROR_MAPPED_ALIGNMENT,
 360         NT_STATUS_MAPPED_FILE_SIZE_ZERO,                ERROR_FILE_INVALID,
 361         /* NT_STATUS_MAX_REFERRALS_EXCEEDED,            SEC_E_MAX_REFERRALS_EXCEEDED, */
 362         NT_STATUS_MEDIA_CHANGED,                        ERROR_MEDIA_CHANGED,
 363         NT_STATUS_MEDIA_WRITE_PROTECTED,                ERROR_WRITE_PROTECT,
 364         NT_STATUS_MEMBERS_PRIMARY_GROUP,                ERROR_MEMBERS_PRIMARY_GROUP,
 365         NT_STATUS_MEMBER_IN_ALIAS,                      ERROR_MEMBER_IN_ALIAS,
 366         NT_STATUS_MEMBER_IN_GROUP,                      ERROR_MEMBER_IN_GROUP,
 367         NT_STATUS_MEMBER_NOT_IN_ALIAS,                  ERROR_MEMBER_NOT_IN_ALIAS,
 368         NT_STATUS_MEMBER_NOT_IN_GROUP,                  ERROR_MEMBER_NOT_IN_GROUP,
 369         NT_STATUS_MEMORY_NOT_ALLOCATED,                 ERROR_INVALID_ADDRESS,
 370         NT_STATUS_MESSAGE_NOT_FOUND,                    ERROR_MR_MID_NOT_FOUND,
 371         NT_STATUS_MFT_TOO_FRAGMENTED,                   ERROR_DISK_TOO_FRAGMENTED,
 372         NT_STATUS_MORE_ENTRIES,                         ERROR_MORE_DATA,
 373         NT_STATUS_MORE_PROCESSING_REQUIRED,             ERROR_MORE_DATA,
 374         /* NT_STATUS_MUST_BE_KDC,                       SEC_E_MUST_BE_KDC, */
 375         NT_STATUS_MUTANT_NOT_OWNED,                     ERROR_NOT_OWNER,
 376         NT_STATUS_MUTUAL_AUTHENTICATION_FAILED,         ERROR_MUTUAL_AUTH_FAILED,
 377         NT_STATUS_NAME_TOO_LONG,                        ERROR_FILENAME_EXCED_RANGE,
 378         NT_STATUS_NETLOGON_NOT_STARTED,                 ERROR_NETLOGON_NOT_STARTED,
 379         NT_STATUS_NETWORK_ACCESS_DENIED,                ERROR_NETWORK_ACCESS_DENIED,
 380         NT_STATUS_NETWORK_BUSY,                         ERROR_NETWORK_BUSY,
 381         NT_STATUS_NETWORK_CREDENTIAL_CONFLICT,          ERROR_SESSION_CREDENTIAL_CONFLICT,
 382         NT_STATUS_NETWORK_NAME_DELETED,                 ERROR_NETNAME_DELETED,
 383         NT_STATUS_NETWORK_SESSION_EXPIRED,              ERROR_NO_USER_SESSION_KEY,
 384         NT_STATUS_NETWORK_UNREACHABLE,                  ERROR_NETWORK_UNREACHABLE,
 385         NT_STATUS_NET_WRITE_FAULT,                      ERROR_NET_WRITE_FAULT,
 386         NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT,    ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT,
 387         NT_STATUS_NOLOGON_SERVER_TRUST_ACCOUNT,         ERROR_NOLOGON_SERVER_TRUST_ACCOUNT,
 388         NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT,    ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT,
 389         NT_STATUS_NONEXISTENT_EA_ENTRY,                 ERROR_FILE_CORRUPT,
 390         /* NT_STATUS_NONEXISTENT_NET_NAME,              ERROR_DEV_NOT_EXIST, */
 391         NT_STATUS_NONEXISTENT_SECTOR,                   ERROR_SECTOR_NOT_FOUND,
 392         NT_STATUS_NONE_MAPPED,                          ERROR_NONE_MAPPED,
 393         NT_STATUS_NOTIFY_ENUM_DIR,                      ERROR_NOTIFY_ENUM_DIR,
 394         NT_STATUS_NOT_ALL_ASSIGNED,                     ERROR_NOT_ALL_ASSIGNED,
 395         NT_STATUS_NOT_A_DIRECTORY,                      ERROR_DIRECTORY,
 396         NT_STATUS_NOT_A_REPARSE_POINT,                  ERROR_NOT_A_REPARSE_POINT,
 397         NT_STATUS_NOT_CLIENT_SESSION,                   ERROR_NOT_SUPPORTED,
 398         NT_STATUS_NOT_COMMITTED,                        ERROR_INVALID_ADDRESS,
 399         NT_STATUS_NOT_EXPORT_FORMAT,                    ERROR_NOT_EXPORT_FORMAT,
 400         NT_STATUS_NOT_FOUND,                            ERROR_NOT_FOUND,
 401         NT_STATUS_NOT_IMPLEMENTED,                      ERROR_INVALID_FUNCTION,
 402         NT_STATUS_NOT_LOCKED,                           ERROR_NOT_LOCKED,
 403         NT_STATUS_NOT_LOGON_PROCESS,                    ERROR_NOT_LOGON_PROCESS,
 404         NT_STATUS_NOT_MAPPED_DATA,                      ERROR_INVALID_ADDRESS,
 405         NT_STATUS_NOT_MAPPED_VIEW,                      ERROR_INVALID_ADDRESS,
 406         NT_STATUS_NOT_REGISTRY_FILE,                    ERROR_NOT_REGISTRY_FILE,
 407         NT_STATUS_NOT_SAME_DEVICE,                      ERROR_NOT_SAME_DEVICE,
 408         NT_STATUS_NOT_SERVER_SESSION,                   ERROR_NOT_SUPPORTED,
 409         NT_STATUS_NOT_SUPPORTED,                        ERROR_NOT_SUPPORTED,
 410         NT_STATUS_NOT_SUPPORTED_ON_SBS,                 ERROR_NOT_SUPPORTED_ON_SBS,
 411         NT_STATUS_NO_BROWSER_SERVERS_FOUND,             ERROR_NO_BROWSER_SERVERS_FOUND,
 412         NT_STATUS_NO_DATA_DETECTED,                     ERROR_NO_DATA_DETECTED,
 413         NT_STATUS_NO_EAS_ON_FILE,                       ERROR_FILE_CORRUPT,
 414         NT_STATUS_NO_EFS,                               ERROR_ACCESS_DENIED,
 415         NT_STATUS_NO_IMPERSONATION_TOKEN,               ERROR_NO_IMPERSONATION_TOKEN,
 416         NT_STATUS_NO_INHERITANCE,                       ERROR_NO_INHERITANCE,
 417         /* NT_STATUS_NO_IP_ADDRESSES,                   SEC_E_NO_IP_ADDRESSES, */
 418         /* NT_STATUS_NO_KERB_KEY,                       SEC_E_NO_KERB_KEY, */
 419         NT_STATUS_NO_LDT,                               ERROR_INVALID_THREAD_ID,
 420         NT_STATUS_NO_LOGON_SERVERS,                     ERROR_NO_LOGON_SERVERS,
 421         NT_STATUS_NO_LOG_SPACE,                         ERROR_NO_LOG_SPACE,
 422         NT_STATUS_NO_MATCH,                             ERROR_NO_MATCH,
 423         NT_STATUS_NO_MEDIA,                             ERROR_NO_MEDIA_IN_DRIVE,
 424         NT_STATUS_NO_MEDIA_IN_DEVICE,                   ERROR_NOT_READY,
 425         NT_STATUS_NO_MEMORY,                            ERROR_NOT_ENOUGH_MEMORY,
 426         NT_STATUS_NO_MORE_EAS,                          ERROR_NO_MORE_ITEMS,
 427         NT_STATUS_NO_MORE_ENTRIES,                      ERROR_NO_MORE_ITEMS,
 428         NT_STATUS_NO_MORE_FILES,                        ERROR_NO_MORE_FILES,
 429         /* NT_STATUS_NO_PA_DATA,                        SEC_E_NO_PA_DATA, */
 430         NT_STATUS_NO_QUOTAS_FOR_ACCOUNT,                ERROR_NO_QUOTAS_FOR_ACCOUNT,
 431         NT_STATUS_NO_RECOVERY_POLICY,                   ERROR_ACCESS_DENIED,
 432         NT_STATUS_NO_SECURITY_ON_OBJECT,                ERROR_NO_SECURITY_ON_OBJECT,
 433         NT_STATUS_NO_SPOOL_SPACE,                       ERROR_NO_SPOOL_SPACE,
 434         NT_STATUS_NO_SUCH_ALIAS,                        ERROR_NO_SUCH_ALIAS,
 435         NT_STATUS_NO_SUCH_DEVICE,                       ERROR_FILE_NOT_FOUND,
 436         NT_STATUS_NO_SUCH_DOMAIN,                       ERROR_NO_SUCH_DOMAIN,
 437         NT_STATUS_NO_SUCH_FILE,                         ERROR_FILE_NOT_FOUND,
 438         NT_STATUS_NO_SUCH_GROUP,                        ERROR_NO_SUCH_GROUP,
 439         NT_STATUS_NO_SUCH_LOGON_SESSION,                ERROR_NO_SUCH_LOGON_SESSION,
 440         NT_STATUS_NO_SUCH_MEMBER,                       ERROR_NO_SUCH_MEMBER,
 441         NT_STATUS_NO_SUCH_PACKAGE,                      ERROR_NO_SUCH_PACKAGE,
 442         NT_STATUS_NO_SUCH_PRIVILEGE,                    ERROR_NO_SUCH_PRIVILEGE,
 443         NT_STATUS_NO_SUCH_USER,                         ERROR_NO_SUCH_USER,
 444         /* NT_STATUS_NO_TGT_REPLY,                      SEC_E_NO_TGT_REPLY, */
 445         NT_STATUS_NO_TOKEN,                             ERROR_NO_TOKEN,
 446         NT_STATUS_NO_TRACKING_SERVICE,                  ERROR_NO_TRACKING_SERVICE,
 447         NT_STATUS_NO_TRUST_LSA_SECRET,                  ERROR_NO_TRUST_LSA_SECRET,
 448         NT_STATUS_NO_TRUST_SAM_ACCOUNT,                 ERROR_NO_TRUST_SAM_ACCOUNT,
 449         NT_STATUS_NO_USER_KEYS,                         ERROR_ACCESS_DENIED,
 450         NT_STATUS_NO_USER_SESSION_KEY,                  ERROR_NO_USER_SESSION_KEY,
 451         NT_STATUS_NT_CROSS_ENCRYPTION_REQUIRED,         ERROR_NT_CROSS_ENCRYPTION_REQUIRED,
 452         NT_STATUS_NULL_LM_PASSWORD,                     ERROR_NULL_LM_PASSWORD,
 453         /* NT_STATUS_OBJECTID_EXISTS,                   STATUS_OBJECTID_EXISTS, */
 454         NT_STATUS_OBJECTID_NOT_FOUND,                   ERROR_FILE_NOT_FOUND,
 455         NT_STATUS_OBJECT_NAME_COLLISION,                ERROR_ALREADY_EXISTS,
 456         NT_STATUS_OBJECT_NAME_INVALID,                  ERROR_INVALID_NAME,
 457         NT_STATUS_OBJECT_NAME_NOT_FOUND,                ERROR_FILE_NOT_FOUND,
 458         NT_STATUS_OBJECT_PATH_INVALID,                  ERROR_BAD_PATHNAME,
 459         NT_STATUS_OBJECT_PATH_NOT_FOUND,                ERROR_PATH_NOT_FOUND,
 460         NT_STATUS_OBJECT_PATH_SYNTAX_BAD,               ERROR_BAD_PATHNAME,
 461         NT_STATUS_OBJECT_TYPE_MISMATCH,                 ERROR_INVALID_HANDLE,
 462         NT_STATUS_ONLY_IF_CONNECTED,                    ERROR_ONLY_IF_CONNECTED,
 463         NT_STATUS_OPEN_FAILED,                          ERROR_OPEN_FAILED,
 464         NT_STATUS_OPLOCK_NOT_GRANTED,                   ERROR_OPLOCK_NOT_GRANTED,
 465         NT_STATUS_ORDINAL_NOT_FOUND,                    ERROR_INVALID_ORDINAL,
 466         NT_STATUS_PAGEFILE_QUOTA,                       ERROR_PAGEFILE_QUOTA,
 467         NT_STATUS_PARTIAL_COPY,                         ERROR_PARTIAL_COPY,
 468         NT_STATUS_PARTITION_FAILURE,                    ERROR_PARTITION_FAILURE,
 469         NT_STATUS_PASSWORD_EXPIRED,                     ERROR_PASSWORD_EXPIRED,
 470         NT_STATUS_PASSWORD_MUST_CHANGE,                 ERROR_PASSWORD_MUST_CHANGE,
 471         NT_STATUS_PASSWORD_RESTRICTION,                 ERROR_PASSWORD_RESTRICTION,
 472         NT_STATUS_PATH_NOT_COVERED,                     ERROR_HOST_UNREACHABLE,
 473         NT_STATUS_PENDING,                              ERROR_IO_PENDING,
 474         NT_STATUS_PIPE_BROKEN,                          ERROR_BROKEN_PIPE,
 475         NT_STATUS_PIPE_BUSY,                            ERROR_PIPE_BUSY,
 476         NT_STATUS_PIPE_CLOSING,                         ERROR_NO_DATA,
 477         NT_STATUS_PIPE_CONNECTED,                       ERROR_PIPE_CONNECTED,
 478         NT_STATUS_PIPE_DISCONNECTED,                    ERROR_PIPE_NOT_CONNECTED,
 479         NT_STATUS_PIPE_EMPTY,                           ERROR_NO_DATA,
 480         NT_STATUS_PIPE_LISTENING,                       ERROR_PIPE_LISTENING,
 481         NT_STATUS_PIPE_NOT_AVAILABLE,                   ERROR_PIPE_BUSY,
 482         NT_STATUS_PKINIT_CLIENT_FAILURE,                SEC_E_PKINIT_CLIENT_FAILURE,
 483         NT_STATUS_PKINIT_FAILURE,                       ERROR_PKINIT_FAILURE,
 484         /* NT_STATUS_PKINIT_NAME_MISMATCH,              SEC_E_PKINIT_NAME_MISMATCH, */
 485         NT_STATUS_PLUGPLAY_NO_DEVICE,                   ERROR_SERVICE_DISABLED,
 486         NT_STATUS_POLICY_OBJECT_NOT_FOUND,              ERROR_POLICY_OBJECT_NOT_FOUND,
 487         NT_STATUS_POLICY_ONLY_IN_DS,                    ERROR_POLICY_ONLY_IN_DS,
 488         NT_STATUS_PORT_ALREADY_SET,                     ERROR_INVALID_PARAMETER,
 489         NT_STATUS_PORT_CONNECTION_REFUSED,              ERROR_ACCESS_DENIED,
 490         NT_STATUS_PORT_DISCONNECTED,                    ERROR_INVALID_HANDLE,
 491         NT_STATUS_PORT_UNREACHABLE,                     ERROR_PORT_UNREACHABLE,
 492         NT_STATUS_POSSIBLE_DEADLOCK,                    ERROR_POSSIBLE_DEADLOCK,
 493         NT_STATUS_PRENT4_MACHINE_ACCOUNT,               ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4,
 494         NT_STATUS_PRINT_CANCELLED,                      ERROR_PRINT_CANCELLED,
 495         NT_STATUS_PRINT_QUEUE_FULL,                     ERROR_PRINTQ_FULL,
 496         NT_STATUS_PRIVILEGE_NOT_HELD,                   ERROR_PRIVILEGE_NOT_HELD,
 497         NT_STATUS_PROCEDURE_NOT_FOUND,                  ERROR_PROC_NOT_FOUND,
 498         NT_STATUS_PROCESS_IS_TERMINATING,               ERROR_ACCESS_DENIED,
 499         NT_STATUS_PROPSET_NOT_FOUND,                    ERROR_SET_NOT_FOUND,
 500         NT_STATUS_PROTOCOL_UNREACHABLE,                 ERROR_PROTOCOL_UNREACHABLE,
 501         NT_STATUS_QUOTA_EXCEEDED,                       ERROR_NOT_ENOUGH_QUOTA,
 502         NT_STATUS_RANGE_NOT_FOUND,                      ERROR_NOT_LOCKED,
 503         NT_STATUS_RANGE_NOT_LOCKED,                     ERROR_NOT_LOCKED,
 504         NT_STATUS_REDIRECTOR_NOT_STARTED,               ERROR_PATH_NOT_FOUND,
 505         NT_STATUS_REDIRECTOR_PAUSED,                    ERROR_REDIR_PAUSED,
 506         NT_STATUS_REDIRECTOR_STARTED,                   ERROR_SERVICE_ALREADY_RUNNING,
 507         NT_STATUS_REGISTRY_CORRUPT,                     ERROR_BADDB,
 508         NT_STATUS_REGISTRY_IO_FAILED,                   ERROR_REGISTRY_IO_FAILED,
 509         NT_STATUS_REGISTRY_RECOVERED,                   ERROR_REGISTRY_RECOVERED,
 510         NT_STATUS_REG_NAT_CONSUMPTION,                  ERROR_REG_NAT_CONSUMPTION,
 511         NT_STATUS_REINITIALIZATION_NEEDED,              ERROR_DEVICE_REINITIALIZATION_NEEDED,
 512         NT_STATUS_REMOTE_DISCONNECT,                    ERROR_NETNAME_DELETED,
 513         NT_STATUS_REMOTE_NOT_LISTENING,                 ERROR_REM_NOT_LIST,
 514         NT_STATUS_REMOTE_RESOURCES,                     ERROR_REM_NOT_LIST,
 515         NT_STATUS_REMOTE_SESSION_LIMIT,                 ERROR_REMOTE_SESSION_LIMIT_EXCEEDED,
 516         NT_STATUS_REMOTE_STORAGE_MEDIA_ERROR,           ERROR_REMOTE_STORAGE_MEDIA_ERROR,
 517         NT_STATUS_REMOTE_STORAGE_NOT_ACTIVE,            ERROR_REMOTE_STORAGE_NOT_ACTIVE,
 518         NT_STATUS_REPARSE_ATTRIBUTE_CONFLICT,           ERROR_REPARSE_ATTRIBUTE_CONFLICT,
 519         NT_STATUS_REPARSE_POINT_NOT_RESOLVED,           ERROR_CANT_RESOLVE_FILENAME,
 520         NT_STATUS_REQUEST_ABORTED,                      ERROR_REQUEST_ABORTED,
 521         NT_STATUS_REQUEST_NOT_ACCEPTED,                 ERROR_REQ_NOT_ACCEP,
 522         NT_STATUS_RESOURCE_DATA_NOT_FOUND,              ERROR_RESOURCE_DATA_NOT_FOUND,
 523         NT_STATUS_RESOURCE_LANG_NOT_FOUND,              ERROR_RESOURCE_LANG_NOT_FOUND,
 524         NT_STATUS_RESOURCE_NAME_NOT_FOUND,              ERROR_RESOURCE_NAME_NOT_FOUND,
 525         NT_STATUS_RESOURCE_NOT_OWNED,                   ERROR_NOT_OWNER,
 526         NT_STATUS_RESOURCE_TYPE_NOT_FOUND,              ERROR_RESOURCE_TYPE_NOT_FOUND,
 527         NT_STATUS_RETRY,                                ERROR_RETRY,
 528         NT_STATUS_REVISION_MISMATCH,                    ERROR_REVISION_MISMATCH,
 529         NT_STATUS_REVOCATION_OFFLINE_C,                 SEC_E_REVOCATION_OFFLINE_C,
 530         NT_STATUS_RXACT_COMMIT_FAILURE,                 ERROR_RXACT_COMMIT_FAILURE,
 531         NT_STATUS_RXACT_INVALID_STATE,                  ERROR_RXACT_INVALID_STATE,
 532         NT_STATUS_SAM_INIT_FAILURE,                     ERROR_SAM_INIT_FAILURE,
 533         NT_STATUS_SAM_NEED_BOOTKEY_FLOPPY,              ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY,
 534         NT_STATUS_SAM_NEED_BOOTKEY_PASSWORD,            ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD,
 535         NT_STATUS_SECRET_TOO_LONG,                      ERROR_SECRET_TOO_LONG,
 536         NT_STATUS_SECTION_NOT_EXTENDED,                 ERROR_OUTOFMEMORY,
 537         NT_STATUS_SECTION_NOT_IMAGE,                    ERROR_INVALID_PARAMETER,
 538         NT_STATUS_SECTION_PROTECTION,                   ERROR_INVALID_PARAMETER,
 539         NT_STATUS_SECTION_TOO_BIG,                      ERROR_NOT_ENOUGH_MEMORY,
 540         NT_STATUS_SEMAPHORE_LIMIT_EXCEEDED,             ERROR_TOO_MANY_POSTS,
 541         NT_STATUS_SERIAL_COUNTER_TIMEOUT,               ERROR_COUNTER_TIMEOUT,
 542         NT_STATUS_SERIAL_MORE_WRITES,                   ERROR_MORE_WRITES,
 543         NT_STATUS_SERIAL_NO_DEVICE_INITED,              ERROR_SERIAL_NO_DEVICE,
 544         NT_STATUS_SERVER_DISABLED,                      ERROR_SERVER_DISABLED,
 545         NT_STATUS_SERVER_NOT_DISABLED,                  ERROR_SERVER_NOT_DISABLED,
 546         NT_STATUS_SERVER_SHUTDOWN_IN_PROGRESS,          ERROR_SERVER_SHUTDOWN_IN_PROGRESS,
 547         NT_STATUS_SETMARK_DETECTED,                     ERROR_SETMARK_DETECTED,
 548         NT_STATUS_SHARED_IRQ_BUSY,                      ERROR_IRQ_BUSY,
 549         NT_STATUS_SHARED_POLICY,                        ERROR_SHARED_POLICY,
 550         NT_STATUS_SHARING_PAUSED,                       ERROR_SHARING_PAUSED,
 551         NT_STATUS_SHARING_VIOLATION,                    ERROR_SHARING_VIOLATION,
 552         NT_STATUS_SHUTDOWN_IN_PROGRESS,                 ERROR_SHUTDOWN_IN_PROGRESS,
 553         /* NT_STATUS_SMARTCARD_... */
 554         NT_STATUS_SOME_NOT_MAPPED,                      ERROR_SOME_NOT_MAPPED,
 555         NT_STATUS_SOURCE_ELEMENT_EMPTY,                 ERROR_SOURCE_ELEMENT_EMPTY,
 556         NT_STATUS_SPECIAL_ACCOUNT,                      ERROR_SPECIAL_ACCOUNT,
 557         NT_STATUS_SPECIAL_GROUP,                        ERROR_SPECIAL_GROUP,
 558         NT_STATUS_SPECIAL_USER,                         ERROR_SPECIAL_USER,
 559         NT_STATUS_STACK_OVERFLOW,                       ERROR_STACK_OVERFLOW,
 560         /* NT_STATUS_STRONG_CRYPTO_NOT_SUPPORTED,       SEC_E_STRONG_CRYPTO_NOT_SUPPORTED, */
 561         NT_STATUS_SUSPEND_COUNT_EXCEEDED,               ERROR_SIGNAL_REFUSED,
 562         /* NT_STATUS_SXS_... */
 563         NT_STATUS_THREAD_IS_TERMINATING,                ERROR_ACCESS_DENIED,
 564         NT_STATUS_TIME_DIFFERENCE_AT_DC,                ERROR_TIME_SKEW,
 565         NT_STATUS_TOKEN_ALREADY_IN_USE,                 ERROR_TOKEN_ALREADY_IN_USE,
 566         NT_STATUS_TOO_LATE,                             ERROR_WRITE_PROTECT,
 567         NT_STATUS_TOO_MANY_ADDRESSES,                   ERROR_TOO_MANY_NAMES,
 568         NT_STATUS_TOO_MANY_COMMANDS,                    ERROR_TOO_MANY_CMDS,
 569         NT_STATUS_TOO_MANY_CONTEXT_IDS,                 ERROR_TOO_MANY_CONTEXT_IDS,
 570         NT_STATUS_TOO_MANY_GUIDS_REQUESTED,             ERROR_TOO_MANY_NAMES,
 571         NT_STATUS_TOO_MANY_LINKS,                       ERROR_TOO_MANY_LINKS,
 572         NT_STATUS_TOO_MANY_LUIDS_REQUESTED,             ERROR_TOO_MANY_LUIDS_REQUESTED,
 573         NT_STATUS_TOO_MANY_NAMES,                       ERROR_TOO_MANY_NAMES,
 574         NT_STATUS_TOO_MANY_NODES,                       ERROR_TOO_MANY_NAMES,
 575         NT_STATUS_TOO_MANY_OPENED_FILES,                ERROR_TOO_MANY_OPEN_FILES,
 576         NT_STATUS_TOO_MANY_PAGING_FILES,                ERROR_NOT_ENOUGH_MEMORY,
 577         /* NT_STATUS_TOO_MANY_PRINCIPALS,               SEC_E_TOO_MANY_PRINCIPALS, */
 578         NT_STATUS_TOO_MANY_SECRETS,                     ERROR_TOO_MANY_SECRETS,
 579         NT_STATUS_TOO_MANY_SESSIONS,                    ERROR_TOO_MANY_SESS,
 580         NT_STATUS_TOO_MANY_SIDS,                        ERROR_TOO_MANY_SIDS,
 581         NT_STATUS_TRANSACTION_ABORTED,                  ERROR_UNEXP_NET_ERR,
 582         NT_STATUS_TRANSACTION_INVALID_ID,               ERROR_UNEXP_NET_ERR,
 583         NT_STATUS_TRANSACTION_INVALID_TYPE,             ERROR_UNEXP_NET_ERR,
 584         NT_STATUS_TRANSACTION_NO_MATCH,                 ERROR_UNEXP_NET_ERR,
 585         NT_STATUS_TRANSACTION_NO_RELEASE,               ERROR_UNEXP_NET_ERR,
 586         NT_STATUS_TRANSACTION_RESPONDED,                ERROR_UNEXP_NET_ERR,
 587         NT_STATUS_TRANSACTION_TIMED_OUT,                ERROR_UNEXP_NET_ERR,
 588         NT_STATUS_TRANSPORT_FULL,                       ERROR_TRANSPORT_FULL,
 589         NT_STATUS_TRUSTED_DOMAIN_FAILURE,               ERROR_TRUSTED_DOMAIN_FAILURE,
 590         NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE,         ERROR_TRUSTED_RELATIONSHIP_FAILURE,
 591         NT_STATUS_TRUST_FAILURE,                        ERROR_TRUST_FAILURE,
 592         NT_STATUS_UNABLE_TO_DECOMMIT_VM,                ERROR_INVALID_ADDRESS,
 593         NT_STATUS_UNABLE_TO_DELETE_SECTION,             ERROR_INVALID_PARAMETER,
 594         NT_STATUS_UNABLE_TO_FREE_VM,                    ERROR_INVALID_PARAMETER,
 595         NT_STATUS_UNABLE_TO_LOCK_MEDIA,                 ERROR_UNABLE_TO_LOCK_MEDIA,
 596         NT_STATUS_UNABLE_TO_UNLOAD_MEDIA,               ERROR_UNABLE_TO_UNLOAD_MEDIA,
 597         NT_STATUS_UNDEFINED_CHARACTER,                  ERROR_NO_UNICODE_TRANSLATION,
 598         NT_STATUS_UNEXPECTED_NETWORK_ERROR,             ERROR_UNEXP_NET_ERR,
 599         /* NT_STATUS_UNFINISHED_CONTEXT_DELETED,        SEC_E_UNFINISHED_CONTEXT_DELETED, */
 600         NT_STATUS_UNKNOWN_REVISION,                     ERROR_UNKNOWN_REVISION,
 601         NT_STATUS_UNMAPPABLE_CHARACTER,                 ERROR_NO_UNICODE_TRANSLATION,
 602         NT_STATUS_UNRECOGNIZED_MEDIA,                   ERROR_UNRECOGNIZED_MEDIA,
 603         NT_STATUS_UNRECOGNIZED_VOLUME,                  ERROR_UNRECOGNIZED_VOLUME,
 604         NT_STATUS_UNSUCCESSFUL,                         ERROR_GEN_FAILURE,
 605         /* NT_STATUS_UNSUPPORTED_PREAUTH,               SEC_E_UNSUPPORTED_PREAUTH, */
 606         NT_STATUS_USER_EXISTS,                          ERROR_USER_EXISTS,
 607         NT_STATUS_USER_MAPPED_FILE,                     ERROR_USER_MAPPED_FILE,
 608         NT_STATUS_USER_SESSION_DELETED,                 ERROR_UNEXP_NET_ERR,
 609         NT_STATUS_VARIABLE_NOT_FOUND,                   ERROR_ENVVAR_NOT_FOUND,
 610         NT_STATUS_VERIFY_REQUIRED,                      ERROR_MEDIA_CHANGED,
 611         NT_STATUS_VIRTUAL_CIRCUIT_CLOSED,               ERROR_VC_DISCONNECTED,
 612         NT_STATUS_VOLUME_DISMOUNTED,                    ERROR_NOT_READY,
 613         NT_STATUS_VOLUME_NOT_UPGRADED,                  ERROR_INVALID_FUNCTION,
 614         NT_STATUS_WMI_ALREADY_DISABLED,                 ERROR_WMI_ALREADY_DISABLED,
 615         NT_STATUS_WMI_ALREADY_ENABLED,                  ERROR_WMI_ALREADY_ENABLED,
 616         NT_STATUS_WMI_GUID_DISCONNECTED,                ERROR_WMI_GUID_DISCONNECTED,
 617         NT_STATUS_WMI_GUID_NOT_FOUND,                   ERROR_WMI_GUID_NOT_FOUND,
 618         NT_STATUS_WMI_INSTANCE_NOT_FOUND,               ERROR_WMI_INSTANCE_NOT_FOUND,
 619         NT_STATUS_WMI_ITEMID_NOT_FOUND,                 ERROR_WMI_ITEMID_NOT_FOUND,
 620         NT_STATUS_WMI_NOT_SUPPORTED,                    ERROR_NOT_SUPPORTED,
 621         NT_STATUS_WMI_READ_ONLY,                        ERROR_WMI_READ_ONLY,
 622         NT_STATUS_WMI_SET_FAILURE,                      ERROR_WMI_SET_FAILURE,
 623         NT_STATUS_WMI_TRY_AGAIN,                        ERROR_WMI_TRY_AGAIN,
 624         NT_STATUS_WORKING_SET_LIMIT_RANGE,              ERROR_INVALID_PARAMETER,
 625         NT_STATUS_WORKING_SET_QUOTA,                    ERROR_WORKING_SET_QUOTA,
 626         /* NT_STATUS_WRONG_CREDENTIAL_HANDLE,           SEC_E_WRONG_CREDENTIAL_HANDLE, */
 627         NT_STATUS_WRONG_EFS,                            ERROR_ACCESS_DENIED,
 628         NT_STATUS_WRONG_PASSWORD,                       ERROR_INVALID_PASSWORD,
 629         NT_STATUS_WRONG_PASSWORD_CORE,                  ERROR_INVALID_PASSWORD,
 630         NT_STATUS_WRONG_VOLUME,                         ERROR_WRONG_DISK,
 631 
 632         EPT_NT_CANT_CREATE,                             EPT_S_CANT_CREATE,
 633         EPT_NT_CANT_PERFORM_OP,                         EPT_S_CANT_PERFORM_OP,
 634         EPT_NT_INVALID_ENTRY,                           EPT_S_INVALID_ENTRY,
 635         EPT_NT_NOT_REGISTERED,                          EPT_S_NOT_REGISTERED,
 636 
 637         RPC_NT_ADDRESS_ERROR,                           RPC_S_ADDRESS_ERROR,
 638         RPC_NT_ALREADY_LISTENING,                       RPC_S_ALREADY_LISTENING,
 639         RPC_NT_ALREADY_REGISTERED,                      RPC_S_ALREADY_REGISTERED,
 640         RPC_NT_BAD_STUB_DATA,                           RPC_X_BAD_STUB_DATA,
 641         RPC_NT_BINDING_HAS_NO_AUTH,                     RPC_S_BINDING_HAS_NO_AUTH,
 642         RPC_NT_BINDING_INCOMPLETE,                      RPC_S_BINDING_INCOMPLETE,
 643         RPC_NT_BYTE_COUNT_TOO_SMALL,                    RPC_X_BYTE_COUNT_TOO_SMALL,
 644         RPC_NT_CALL_CANCELLED,                          RPC_S_CALL_CANCELLED,
 645         RPC_NT_CALL_FAILED,                             RPC_S_CALL_FAILED,
 646         RPC_NT_CALL_FAILED_DNE,                         RPC_S_CALL_FAILED_DNE,
 647         RPC_NT_CALL_IN_PROGRESS,                        RPC_S_CALL_IN_PROGRESS,
 648         RPC_NT_CANNOT_SUPPORT,                          RPC_S_CANNOT_SUPPORT,
 649         RPC_NT_CANT_CREATE_ENDPOINT,                    RPC_S_CANT_CREATE_ENDPOINT,
 650         RPC_NT_COMM_FAILURE,                            RPC_S_COMM_FAILURE,
 651         RPC_NT_DUPLICATE_ENDPOINT,                      RPC_S_DUPLICATE_ENDPOINT,
 652         RPC_NT_ENTRY_ALREADY_EXISTS,                    RPC_S_ENTRY_ALREADY_EXISTS,
 653         RPC_NT_ENTRY_NOT_FOUND,                         RPC_S_ENTRY_NOT_FOUND,
 654         RPC_NT_ENUM_VALUE_OUT_OF_RANGE,                 RPC_X_ENUM_VALUE_OUT_OF_RANGE,
 655         RPC_NT_FP_DIV_ZERO,                             RPC_S_FP_DIV_ZERO,
 656         RPC_NT_FP_OVERFLOW,                             RPC_S_FP_OVERFLOW,
 657         RPC_NT_FP_UNDERFLOW,                            RPC_S_FP_UNDERFLOW,
 658         RPC_NT_GROUP_MEMBER_NOT_FOUND,                  RPC_S_GROUP_MEMBER_NOT_FOUND,
 659         RPC_NT_INCOMPLETE_NAME,                         RPC_S_INCOMPLETE_NAME,
 660         RPC_NT_INTERFACE_NOT_FOUND,                     RPC_S_INTERFACE_NOT_FOUND,
 661         RPC_NT_INTERNAL_ERROR,                          RPC_S_INTERNAL_ERROR,
 662         RPC_NT_INVALID_ASYNC_CALL,                      RPC_S_INVALID_ASYNC_CALL,
 663         RPC_NT_INVALID_ASYNC_HANDLE,                    RPC_S_INVALID_ASYNC_HANDLE,
 664         RPC_NT_INVALID_AUTH_IDENTITY,                   RPC_S_INVALID_AUTH_IDENTITY,
 665         RPC_NT_INVALID_BINDING,                         ERROR_INVALID_HANDLE,
 666         RPC_NT_INVALID_BOUND,                           RPC_S_INVALID_BOUND,
 667         RPC_NT_INVALID_ENDPOINT_FORMAT,                 RPC_S_INVALID_ENDPOINT_FORMAT,
 668         RPC_NT_INVALID_ES_ACTION,                       RPC_X_INVALID_ES_ACTION,
 669         RPC_NT_INVALID_NAF_ID,                          RPC_S_INVALID_NAF_ID,
 670         RPC_NT_INVALID_NAME_SYNTAX,                     RPC_S_INVALID_NAME_SYNTAX,
 671         RPC_NT_INVALID_NETWORK_OPTIONS,                 RPC_S_INVALID_NETWORK_OPTIONS,
 672         RPC_NT_INVALID_NET_ADDR,                        RPC_S_INVALID_NET_ADDR,
 673         RPC_NT_INVALID_OBJECT,                          RPC_S_INVALID_OBJECT,
 674         RPC_NT_INVALID_PIPE_OBJECT,                     RPC_X_INVALID_PIPE_OBJECT,
 675         RPC_NT_INVALID_PIPE_OPERATION,                  RPC_X_WRONG_PIPE_ORDER,
 676         RPC_NT_INVALID_RPC_PROTSEQ,                     RPC_S_INVALID_RPC_PROTSEQ,
 677         RPC_NT_INVALID_STRING_BINDING,                  RPC_S_INVALID_STRING_BINDING,
 678         RPC_NT_INVALID_STRING_UUID,                     RPC_S_INVALID_STRING_UUID,
 679         RPC_NT_INVALID_TAG,                             RPC_S_INVALID_TAG,
 680         RPC_NT_INVALID_TIMEOUT,                         RPC_S_INVALID_TIMEOUT,
 681         RPC_NT_INVALID_VERS_OPTION,                     RPC_S_INVALID_VERS_OPTION,
 682         RPC_NT_MAX_CALLS_TOO_SMALL,                     RPC_S_MAX_CALLS_TOO_SMALL,
 683         RPC_NT_NAME_SERVICE_UNAVAILABLE,                RPC_S_NAME_SERVICE_UNAVAILABLE,
 684         RPC_NT_NOTHING_TO_EXPORT,                       RPC_S_NOTHING_TO_EXPORT,
 685         RPC_NT_NOT_ALL_OBJS_UNEXPORTED,                 RPC_S_NOT_ALL_OBJS_UNEXPORTED,
 686         RPC_NT_NOT_CANCELLED,                           RPC_S_NOT_CANCELLED,
 687         RPC_NT_NOT_LISTENING,                           RPC_S_NOT_LISTENING,
 688         RPC_NT_NOT_RPC_ERROR,                           RPC_S_NOT_RPC_ERROR,
 689         RPC_NT_NO_BINDINGS,                             RPC_S_NO_BINDINGS,
 690         RPC_NT_NO_CALL_ACTIVE,                          RPC_S_NO_CALL_ACTIVE,
 691         RPC_NT_NO_CONTEXT_AVAILABLE,                    RPC_S_NO_CONTEXT_AVAILABLE,
 692         RPC_NT_NO_ENDPOINT_FOUND,                       RPC_S_NO_ENDPOINT_FOUND,
 693         RPC_NT_NO_ENTRY_NAME,                           RPC_S_NO_ENTRY_NAME,
 694         RPC_NT_NO_INTERFACES,                           RPC_S_NO_INTERFACES,
 695         RPC_NT_NO_MORE_BINDINGS,                        RPC_S_NO_MORE_BINDINGS,
 696         RPC_NT_NO_MORE_ENTRIES,                         RPC_X_NO_MORE_ENTRIES,
 697         RPC_NT_NO_MORE_MEMBERS,                         RPC_S_NO_MORE_MEMBERS,
 698         RPC_NT_NO_PRINC_NAME,                           RPC_S_NO_PRINC_NAME,
 699         RPC_NT_NO_PROTSEQS,                             RPC_S_NO_PROTSEQS,
 700         RPC_NT_NO_PROTSEQS_REGISTERED,                  RPC_S_NO_PROTSEQS_REGISTERED,
 701         RPC_NT_NULL_REF_POINTER,                        RPC_X_NULL_REF_POINTER,
 702         RPC_NT_OBJECT_NOT_FOUND,                        RPC_S_OBJECT_NOT_FOUND,
 703         RPC_NT_OUT_OF_RESOURCES,                        RPC_S_OUT_OF_RESOURCES,
 704         RPC_NT_PIPE_CLOSED,                             RPC_X_PIPE_CLOSED,
 705         RPC_NT_PIPE_DISCIPLINE_ERROR,                   RPC_X_PIPE_DISCIPLINE_ERROR,
 706         RPC_NT_PIPE_EMPTY,                              RPC_X_PIPE_EMPTY,
 707         RPC_NT_PROCNUM_OUT_OF_RANGE,                    RPC_S_PROCNUM_OUT_OF_RANGE,
 708         RPC_NT_PROTOCOL_ERROR,                          RPC_S_PROTOCOL_ERROR,
 709         RPC_NT_PROTSEQ_NOT_FOUND,                       RPC_S_PROTSEQ_NOT_FOUND,
 710         RPC_NT_PROTSEQ_NOT_SUPPORTED,                   RPC_S_PROTSEQ_NOT_SUPPORTED,
 711         RPC_NT_SEC_PKG_ERROR,                           RPC_S_SEC_PKG_ERROR,
 712         RPC_NT_SEND_INCOMPLETE,                         RPC_S_SEND_INCOMPLETE,
 713         RPC_NT_SERVER_TOO_BUSY,                         RPC_S_SERVER_TOO_BUSY,
 714         RPC_NT_SERVER_UNAVAILABLE,                      RPC_S_SERVER_UNAVAILABLE,
 715         RPC_NT_SS_CANNOT_GET_CALL_HANDLE,               RPC_X_SS_CANNOT_GET_CALL_HANDLE,
 716         RPC_NT_SS_CHAR_TRANS_OPEN_FAIL,                 RPC_X_SS_CHAR_TRANS_OPEN_FAIL,
 717         RPC_NT_SS_CHAR_TRANS_SHORT_FILE,                RPC_X_SS_CHAR_TRANS_SHORT_FILE,
 718         RPC_NT_SS_CONTEXT_DAMAGED,                      RPC_X_SS_CONTEXT_DAMAGED,
 719         RPC_NT_SS_CONTEXT_MISMATCH,                     ERROR_INVALID_HANDLE,
 720         RPC_NT_SS_HANDLES_MISMATCH,                     RPC_X_SS_HANDLES_MISMATCH,
 721         RPC_NT_SS_IN_NULL_CONTEXT,                      ERROR_INVALID_HANDLE,
 722         RPC_NT_STRING_TOO_LONG,                         RPC_S_STRING_TOO_LONG,
 723         RPC_NT_TYPE_ALREADY_REGISTERED,                 RPC_S_TYPE_ALREADY_REGISTERED,
 724         RPC_NT_UNKNOWN_AUTHN_LEVEL,                     RPC_S_UNKNOWN_AUTHN_LEVEL,
 725         RPC_NT_UNKNOWN_AUTHN_SERVICE,                   RPC_S_UNKNOWN_AUTHN_SERVICE,
 726         RPC_NT_UNKNOWN_AUTHN_TYPE,                      RPC_S_UNKNOWN_AUTHN_TYPE,
 727         RPC_NT_UNKNOWN_AUTHZ_SERVICE,                   RPC_S_UNKNOWN_AUTHZ_SERVICE,
 728         RPC_NT_UNKNOWN_IF,                              RPC_S_UNKNOWN_IF,
 729         RPC_NT_UNKNOWN_MGR_TYPE,                        RPC_S_UNKNOWN_MGR_TYPE,
 730         RPC_NT_UNSUPPORTED_AUTHN_LEVEL,                 RPC_S_UNSUPPORTED_AUTHN_LEVEL,
 731         RPC_NT_UNSUPPORTED_NAME_SYNTAX,                 RPC_S_UNSUPPORTED_NAME_SYNTAX,
 732         RPC_NT_UNSUPPORTED_TRANS_SYN,                   RPC_S_UNSUPPORTED_TRANS_SYN,
 733         RPC_NT_UNSUPPORTED_TYPE,                        RPC_S_UNSUPPORTED_TYPE,
 734         RPC_NT_UUID_LOCAL_ONLY,                         RPC_S_UUID_LOCAL_ONLY,
 735         RPC_NT_UUID_NO_ADDRESS,                         RPC_S_UUID_NO_ADDRESS,
 736         RPC_NT_WRONG_ES_VERSION,                        RPC_X_WRONG_ES_VERSION,
 737         RPC_NT_WRONG_KIND_OF_BINDING,                   RPC_S_WRONG_KIND_OF_BINDING,
 738         RPC_NT_WRONG_PIPE_VERSION,                      RPC_X_WRONG_PIPE_VERSION,
 739         RPC_NT_WRONG_STUB_VERSION,                      RPC_X_WRONG_STUB_VERSION,
 740         RPC_NT_ZERO_DIVIDE,                             RPC_S_ZERO_DIVIDE,
 741 
 742         /* END CSTYLED */
 743         0, 0
 744 };


  20  * The table below was generated from the above KB data
  21  * using a simple awk program.
  22  */
  23 
  24 #include <sys/errno.h>
  25 #include <smb/ntstatus.h>
  26 #include <smb/nterror.h>
  27 
  28 #include "smb_status2winerr.h"
  29 
  30 
  31 const struct status2winerr
  32 smb_status2winerr_map[] = {
  33 
  34         /* As this was generated, don't really want cstyle noise. */
  35         /* BEGIN CSTYLED */
  36 
  37         /*
  38          * WINDOWS NT STATUS CODE                       WIN32 ERROR CODE
  39          */
  40         { NT_STATUS_ACCESS_DENIED,                      ERROR_ACCESS_DENIED },
  41         { NT_STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT,  ERROR_ACCESS_DISABLED_BY_POLICY },
  42         { NT_STATUS_ACCESS_DISABLED_BY_POLICY_OTHER,    ERROR_ACCESS_DISABLED_BY_POLICY },
  43         { NT_STATUS_ACCESS_DISABLED_BY_POLICY_PATH,     ERROR_ACCESS_DISABLED_BY_POLICY },
  44         { NT_STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER,        ERROR_ACCESS_DISABLED_BY_POLICY },
  45         { NT_STATUS_ACCESS_VIOLATION,                   ERROR_NOACCESS },
  46         { NT_STATUS_ACCOUNT_DISABLED,                   ERROR_ACCOUNT_DISABLED },
  47         { NT_STATUS_ACCOUNT_EXPIRED,                    ERROR_ACCOUNT_EXPIRED },
  48         { NT_STATUS_ACCOUNT_LOCKED_OUT,                 ERROR_ACCOUNT_LOCKED_OUT },
  49         { NT_STATUS_ACCOUNT_RESTRICTION,                ERROR_ACCOUNT_RESTRICTION },
  50         { NT_STATUS_ADAPTER_HARDWARE_ERROR,             ERROR_ADAP_HDW_ERR },
  51         { NT_STATUS_ADDRESS_ALREADY_ASSOCIATED,         ERROR_ADDRESS_ALREADY_ASSOCIATED },
  52         { NT_STATUS_ADDRESS_ALREADY_EXISTS,             ERROR_DUP_NAME },
  53         { NT_STATUS_ADDRESS_CLOSED,                     ERROR_NETNAME_DELETED },
  54         { NT_STATUS_ADDRESS_NOT_ASSOCIATED,             ERROR_ADDRESS_NOT_ASSOCIATED },
  55         { NT_STATUS_AGENTS_EXHAUSTED,                   ERROR_NO_MORE_ITEMS },
  56         { NT_STATUS_ALIAS_EXISTS,                       ERROR_ALIAS_EXISTS },
  57         { NT_STATUS_ALLOTTED_SPACE_EXCEEDED,            ERROR_ALLOTTED_SPACE_EXCEEDED },
  58         { NT_STATUS_ALREADY_COMMITTED,                  ERROR_ACCESS_DENIED },
  59         { NT_STATUS_ALREADY_DISCONNECTED,               ERROR_ACTIVE_CONNECTIONS },
  60         /* { NT_STATUS_AUDITING_DISABLED,               ERROR_AUDITING_DISABLED }, */
  61         /* { NT_STATUS_BAD_BINDINGS,                    SEC_E_BAD_BINDINGS }, */
  62         { NT_STATUS_BAD_DESCRIPTOR_FORMAT,              ERROR_BAD_DESCRIPTOR_FORMAT },
  63         { NT_STATUS_BAD_DEVICE_TYPE,                    ERROR_BAD_DEV_TYPE },
  64         { NT_STATUS_BAD_IMPERSONATION_LEVEL,            ERROR_BAD_IMPERSONATION_LEVEL },
  65         { NT_STATUS_BAD_INHERITANCE_ACL,                ERROR_BAD_INHERITANCE_ACL },
  66         { NT_STATUS_BAD_INITIAL_PC,                     ERROR_BAD_EXE_FORMAT },
  67         { NT_STATUS_BAD_INITIAL_STACK,                  ERROR_STACK_OVERFLOW },
  68         { NT_STATUS_BAD_LOGON_SESSION_STATE,            ERROR_BAD_LOGON_SESSION_STATE },
  69         { NT_STATUS_BAD_MASTER_BOOT_RECORD,             ERROR_INVALID_PARAMETER },
  70         { NT_STATUS_BAD_NETWORK_NAME,                   ERROR_BAD_NET_NAME },
  71         { NT_STATUS_BAD_NETWORK_PATH,                   ERROR_BAD_NETPATH },
  72         { NT_STATUS_BAD_REMOTE_ADAPTER,                 ERROR_BAD_REM_ADAP },
  73         { NT_STATUS_BAD_TOKEN_TYPE,                     ERROR_BAD_TOKEN_TYPE },
  74         { NT_STATUS_BAD_VALIDATION_CLASS,               ERROR_BAD_VALIDATION_CLASS },
  75         { NT_STATUS_BAD_WORKING_SET_LIMIT,              ERROR_INVALID_PARAMETER },
  76         { NT_STATUS_BEGINNING_OF_MEDIA,                 ERROR_BEGINNING_OF_MEDIA },
  77         { NT_STATUS_BUFFER_OVERFLOW,                    ERROR_MORE_DATA },
  78         { NT_STATUS_BUFFER_TOO_SMALL,                   ERROR_INSUFFICIENT_BUFFER },
  79         { NT_STATUS_BUS_RESET,                          ERROR_BUS_RESET },
  80         { NT_STATUS_CANCELLED,                          ERROR_OPERATION_ABORTED },
  81         { NT_STATUS_CANNOT_DELETE,                      ERROR_ACCESS_DENIED },
  82         { NT_STATUS_CANNOT_IMPERSONATE,                 ERROR_CANNOT_IMPERSONATE },
  83         { NT_STATUS_CANNOT_MAKE,                        ERROR_CANNOT_MAKE },
  84         { NT_STATUS_CANT_ACCESS_DOMAIN_INFO,            ERROR_CANT_ACCESS_DOMAIN_INFO },
  85         { NT_STATUS_CANT_DISABLE_MANDATORY,             ERROR_CANT_DISABLE_MANDATORY },
  86         { NT_STATUS_CANT_OPEN_ANONYMOUS,                ERROR_CANT_OPEN_ANONYMOUS },
  87         { NT_STATUS_CHILD_MUST_BE_VOLATILE,             ERROR_CHILD_MUST_BE_VOLATILE },
  88         /* { NT_STATUS_CLEANER_CARTRIDGE_INSTALLED,     ERROR_CLEANER_CARTRIDGE_INSTALLED }, */
  89         /* { NT_STATUS_CLUSTER_...} */
  90         { NT_STATUS_COMMITMENT_LIMIT,                   ERROR_COMMITMENT_LIMIT },
  91         { NT_STATUS_CONFLICTING_ADDRESSES,              ERROR_INVALID_ADDRESS },
  92         { NT_STATUS_CONNECTION_ABORTED,                 ERROR_CONNECTION_ABORTED },
  93         { NT_STATUS_CONNECTION_ACTIVE,                  ERROR_CONNECTION_ACTIVE },
  94         { NT_STATUS_CONNECTION_COUNT_LIMIT,             ERROR_CONNECTION_COUNT_LIMIT },
  95         { NT_STATUS_CONNECTION_DISCONNECTED,            ERROR_NETNAME_DELETED },
  96         { NT_STATUS_CONNECTION_INVALID,                 ERROR_CONNECTION_INVALID },
  97         { NT_STATUS_CONNECTION_IN_USE,                  ERROR_DEVICE_IN_USE },
  98         { NT_STATUS_CONNECTION_REFUSED,                 ERROR_CONNECTION_REFUSED },
  99         { NT_STATUS_CONNECTION_RESET,                   ERROR_NETNAME_DELETED },
 100         /* { NT_STATUS_COPY_PROTECTION_FAILURE,         STG_E_STATUS_COPY_PROTECTION_FAILURE }, */
 101         { NT_STATUS_CRC_ERROR,                          ERROR_CRC },
 102         /* { NT_STATUS_CRYPTO_SYSTEM_INVALID,           SEC_E_CRYPTO_SYSTEM_INVALID }, */
 103         /* { NT_STATUS_CSS_... */
 104         { NT_STATUS_CTL_FILE_NOT_SUPPORTED,             ERROR_NOT_SUPPORTED },
 105         /* { NT_STATUS_CTX_BAD_VIDEO_MODE,              ERROR_CTX_BAD_VIDEO_MODE }, */
 106         /* { NT_STATUS_CTX_... */
 107         { NT_STATUS_CURRENT_DOMAIN_NOT_ALLOWED,         ERROR_CURRENT_DOMAIN_NOT_ALLOWED },
 108         { NT_STATUS_DATATYPE_MISALIGNMENT,              ERROR_NOACCESS },
 109         { NT_STATUS_DATATYPE_MISALIGNMENT_ERROR,        ERROR_NOACCESS },
 110         { NT_STATUS_DATA_ERROR,                         ERROR_CRC },
 111         { NT_STATUS_DATA_LATE_ERROR,                    ERROR_IO_DEVICE },
 112         { NT_STATUS_DATA_OVERRUN,                       ERROR_IO_DEVICE },
 113         { NT_STATUS_DECRYPTION_FAILED,                  ERROR_ACCESS_DENIED },
 114         { NT_STATUS_DELETE_PENDING,                     ERROR_ACCESS_DENIED },
 115         { NT_STATUS_DESTINATION_ELEMENT_FULL,           ERROR_DESTINATION_ELEMENT_FULL },
 116         { NT_STATUS_DEVICE_BUSY,                        ERROR_BUSY },
 117         { NT_STATUS_DEVICE_CONFIGURATION_ERROR,         ERROR_INVALID_PARAMETER },
 118         { NT_STATUS_DEVICE_DATA_ERROR,                  ERROR_CRC },
 119         { NT_STATUS_DEVICE_DOES_NOT_EXIST,              ERROR_DEV_NOT_EXIST },
 120         { NT_STATUS_DEVICE_DOOR_OPEN,                   ERROR_DEVICE_DOOR_OPEN },
 121         { NT_STATUS_DEVICE_NOT_CONNECTED,               ERROR_DEVICE_NOT_CONNECTED },
 122         { NT_STATUS_DEVICE_NOT_PARTITIONED,             ERROR_DEVICE_NOT_PARTITIONED },
 123         { NT_STATUS_DEVICE_NOT_READY,                   ERROR_NOT_READY },
 124         { NT_STATUS_DEVICE_OFF_LINE,                    ERROR_NOT_READY },
 125         { NT_STATUS_DEVICE_PAPER_EMPTY,                 ERROR_OUT_OF_PAPER },
 126         { NT_STATUS_DEVICE_POWERED_OFF,                 ERROR_NOT_READY },
 127         { NT_STATUS_DEVICE_POWER_FAILURE,               ERROR_NOT_READY },
 128         { NT_STATUS_DEVICE_PROTOCOL_ERROR,              ERROR_IO_DEVICE },
 129         { NT_STATUS_DEVICE_REMOVED,                     ERROR_DEVICE_REMOVED },
 130         { NT_STATUS_DEVICE_REQUIRES_CLEANING,           ERROR_DEVICE_REQUIRES_CLEANING },
 131         { NT_STATUS_DFS_EXIT_PATH_FOUND,                ERROR_PATH_NOT_FOUND },
 132         { NT_STATUS_DFS_UNAVAILABLE,                    ERROR_CONNECTION_UNAVAIL },
 133         { NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT,       ERROR_BAD_PATHNAME },
 134         { NT_STATUS_DIRECTORY_NOT_EMPTY,                ERROR_DIR_NOT_EMPTY },
 135         { NT_STATUS_DIRECTORY_SERVICE_REQUIRED,         ERROR_DS_DS_REQUIRED },
 136         /* { NT_STATUS_DISCONNECTED,                    ERROR_DEV_NOT_EXIST }, */
 137         { NT_STATUS_DISK_CORRUPT_ERROR,                 ERROR_DISK_CORRUPT },
 138         { NT_STATUS_DISK_FULL,                          ERROR_DISK_FULL },
 139         { NT_STATUS_DISK_OPERATION_FAILED,              ERROR_DISK_OPERATION_FAILED },
 140         { NT_STATUS_DISK_RECALIBRATE_FAILED,            ERROR_DISK_RECALIBRATE_FAILED },
 141         { NT_STATUS_DISK_RESET_FAILED,                  ERROR_DISK_RESET_FAILED },
 142         { NT_STATUS_DLL_INIT_FAILED,                    ERROR_DLL_INIT_FAILED },
 143         { NT_STATUS_DLL_NOT_FOUND,                      ERROR_MOD_NOT_FOUND },
 144         { NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND,        ERROR_DOMAIN_CONTROLLER_NOT_FOUND },
 145         { NT_STATUS_DOMAIN_EXISTS,                      ERROR_DOMAIN_EXISTS },
 146         { NT_STATUS_DOMAIN_LIMIT_EXCEEDED,              ERROR_DOMAIN_LIMIT_EXCEEDED },
 147         { NT_STATUS_DOMAIN_TRUST_INCONSISTENT,          ERROR_DOMAIN_TRUST_INCONSISTENT },
 148         { NT_STATUS_DOWNGRADE_DETECTED,                 ERROR_DOWNGRADE_DETECTED },
 149         { NT_STATUS_DRIVER_BLOCKED,                     ERROR_DRIVER_BLOCKED },
 150         { NT_STATUS_DRIVER_BLOCKED_CRITICAL,            ERROR_DRIVER_BLOCKED },
 151         { NT_STATUS_DRIVER_ENTRYPOINT_NOT_FOUND,        ERROR_PROC_NOT_FOUND },
 152         { NT_STATUS_DRIVER_INTERNAL_ERROR,              ERROR_IO_DEVICE },
 153         { NT_STATUS_DRIVER_ORDINAL_NOT_FOUND,           ERROR_INVALID_ORDINAL },
 154         { NT_STATUS_DRIVER_UNABLE_TO_LOAD,              ERROR_BAD_DRIVER },
 155         { NT_STATUS_DS_ADMIN_LIMIT_EXCEEDED,            ERROR_DS_ADMIN_LIMIT_EXCEEDED },
 156         { NT_STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER,   ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER },
 157         { NT_STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS,       ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS },
 158         { NT_STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED,        ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED },
 159         { NT_STATUS_DS_BUSY,                            ERROR_DS_BUSY },
 160         { NT_STATUS_DS_CANT_MOD_OBJ_CLASS,              ERROR_DS_CANT_MOD_OBJ_CLASS },
 161         { NT_STATUS_DS_CANT_MOD_PRIMARYGROUPID,         ERROR_DS_CANT_MOD_PRIMARYGROUPID },
 162         { NT_STATUS_DS_CANT_ON_NON_LEAF,                ERROR_DS_CANT_ON_NON_LEAF },
 163         { NT_STATUS_DS_CANT_ON_RDN,                     ERROR_DS_CANT_ON_RDN },
 164         { NT_STATUS_DS_CANT_START,                      ERROR_DS_CANT_START },
 165         { NT_STATUS_DS_CROSS_DOM_MOVE_FAILED,           ERROR_DS_CROSS_DOM_MOVE_ERROR },
 166         { NT_STATUS_DS_GC_NOT_AVAILABLE,                ERROR_DS_GC_NOT_AVAILABLE },
 167         { NT_STATUS_DS_GC_REQUIRED,                     ERROR_DS_GC_REQUIRED },
 168         { NT_STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER },
 169         { NT_STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER,   ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER },
 170         { NT_STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER,       ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER },
 171         { NT_STATUS_DS_HAVE_PRIMARY_MEMBERS,            ERROR_DS_HAVE_PRIMARY_MEMBERS },
 172         { NT_STATUS_DS_INCORRECT_ROLE_OWNER,            ERROR_DS_INCORRECT_ROLE_OWNER },
 173         { NT_STATUS_DS_INIT_FAILURE,                    ERROR_DS_INIT_FAILURE },
 174         { NT_STATUS_DS_INIT_FAILURE_CONSOLE,            ERROR_DS_INIT_FAILURE_CONSOLE },
 175         { NT_STATUS_DS_INVALID_ATTRIBUTE_SYNTAX,        ERROR_DS_INVALID_ATTRIBUTE_SYNTAX },
 176         { NT_STATUS_DS_INVALID_GROUP_TYPE,              ERROR_DS_INVALID_GROUP_TYPE },
 177         { NT_STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER, ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER },
 178         { NT_STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY,      ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY },
 179         { NT_STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED,  ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED },
 180         { NT_STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY,    ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY },
 181         { NT_STATUS_DS_NO_ATTRIBUTE_OR_VALUE,           ERROR_DS_NO_ATTRIBUTE_OR_VALUE },
 182         { NT_STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS,      ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS },
 183         { NT_STATUS_DS_NO_MORE_RIDS,                    ERROR_DS_NO_MORE_RIDS },
 184         { NT_STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN, ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN },
 185         { NT_STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN,       ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN },
 186         { NT_STATUS_DS_NO_RIDS_ALLOCATED,               ERROR_DS_NO_RIDS_ALLOCATED },
 187         { NT_STATUS_DS_OBJ_CLASS_VIOLATION,             ERROR_DS_OBJ_CLASS_VIOLATION },
 188         { NT_STATUS_DS_RIDMGR_INIT_ERROR,               ERROR_DS_RIDMGR_INIT_ERROR },
 189         { NT_STATUS_DS_SAM_INIT_FAILURE,                ERROR_DS_SAM_INIT_FAILURE },
 190         { NT_STATUS_DS_SAM_INIT_FAILURE_CONSOLE,        ERROR_DS_SAM_INIT_FAILURE_CONSOLE },
 191         { NT_STATUS_DS_SENSITIVE_GROUP_VIOLATION,       ERROR_DS_SENSITIVE_GROUP_VIOLATION },
 192         { NT_STATUS_DS_SHUTTING_DOWN,                   ERROR_DS_SHUTTING_DOWN },
 193         { NT_STATUS_DS_UNAVAILABLE,                     ERROR_DS_UNAVAILABLE },
 194         { NT_STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER,        ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER },
 195         { NT_STATUS_DUPLICATE_NAME,                     ERROR_DUP_NAME },
 196         /* { NT_STATUS_DUPLICATE_OBJECTID,              STATUS_DUPLICATE_OBJECTID }, */
 197         { NT_STATUS_EAS_NOT_SUPPORTED,                  ERROR_EAS_NOT_SUPPORTED },
 198         { NT_STATUS_EA_CORRUPT_ERROR,                   ERROR_FILE_CORRUPT },
 199         { NT_STATUS_EA_LIST_INCONSISTENT,               ERROR_EA_LIST_INCONSISTENT },
 200         { NT_STATUS_EA_TOO_LARGE,                       ERROR_EA_LIST_INCONSISTENT },
 201         { NT_STATUS_EFS_ALG_BLOB_TOO_BIG,               ERROR_EFS_ALG_BLOB_TOO_BIG },
 202         { NT_STATUS_ENCRYPTION_FAILED,                  ERROR_ACCESS_DENIED },
 203         /* { NT_STATUS_ENDPOINT_CLOSED,                 ERROR_DEV_NOT_EXIST }, */
 204         { NT_STATUS_END_OF_FILE,                        ERROR_HANDLE_EOF },
 205         { NT_STATUS_END_OF_MEDIA,                       ERROR_END_OF_MEDIA },
 206         { NT_STATUS_ENTRYPOINT_NOT_FOUND,               ERROR_PROC_NOT_FOUND },
 207         { NT_STATUS_EOM_OVERFLOW,                       ERROR_EOM_OVERFLOW },
 208         { NT_STATUS_EVENTLOG_CANT_START,                ERROR_EVENTLOG_CANT_START },
 209         { NT_STATUS_EVENTLOG_FILE_CHANGED,              ERROR_EVENTLOG_FILE_CHANGED },
 210         { NT_STATUS_EVENTLOG_FILE_CORRUPT,              ERROR_EVENTLOG_FILE_CORRUPT },
 211         { NT_STATUS_FAIL_CHECK,                         ERROR_INVALID_PARAMETER },
 212         { NT_STATUS_FILEMARK_DETECTED,                  ERROR_FILEMARK_DETECTED },
 213         { NT_STATUS_FILES_OPEN,                         ERROR_OPEN_FILES },
 214         { NT_STATUS_FILE_CLOSED,                        ERROR_INVALID_HANDLE },
 215         { NT_STATUS_FILE_CORRUPT_ERROR,                 ERROR_FILE_CORRUPT },
 216         { NT_STATUS_FILE_DELETED,                       ERROR_ACCESS_DENIED },
 217         { NT_STATUS_FILE_ENCRYPTED,                     ERROR_FILE_ENCRYPTED },
 218         { NT_STATUS_FILE_FORCED_CLOSED,                 ERROR_HANDLE_EOF },
 219         { NT_STATUS_FILE_INVALID,                       ERROR_FILE_INVALID },
 220         { NT_STATUS_FILE_IS_A_DIRECTORY,                ERROR_ACCESS_DENIED },
 221         { NT_STATUS_FILE_IS_OFFLINE,                    ERROR_FILE_OFFLINE },
 222         { NT_STATUS_FILE_LOCK_CONFLICT,                 ERROR_LOCK_VIOLATION },
 223         { NT_STATUS_FILE_NOT_ENCRYPTED,                 ERROR_FILE_NOT_ENCRYPTED },
 224         { NT_STATUS_FILE_RENAMED,                       ERROR_ACCESS_DENIED },
 225         { NT_STATUS_FLOPPY_BAD_REGISTERS,               ERROR_FLOPPY_BAD_REGISTERS },
 226         { NT_STATUS_FLOPPY_ID_MARK_NOT_FOUND,           ERROR_FLOPPY_ID_MARK_NOT_FOUND },
 227         { NT_STATUS_FLOPPY_UNKNOWN_ERROR,               ERROR_FLOPPY_UNKNOWN_ERROR },
 228         { NT_STATUS_FLOPPY_WRONG_CYLINDER,              ERROR_FLOPPY_WRONG_CYLINDER },
 229         { NT_STATUS_FREE_VM_NOT_AT_BASE,                ERROR_INVALID_ADDRESS },
 230         { NT_STATUS_FT_MISSING_MEMBER,                  ERROR_IO_DEVICE },
 231         { NT_STATUS_FT_ORPHANING,                       ERROR_IO_DEVICE },
 232         { NT_STATUS_FULLSCREEN_MODE,                    ERROR_FULLSCREEN_MODE },
 233         { NT_STATUS_GENERIC_NOT_MAPPED,                 ERROR_GENERIC_NOT_MAPPED },
 234         { NT_STATUS_GRACEFUL_DISCONNECT,                ERROR_GRACEFUL_DISCONNECT },
 235         { NT_STATUS_GROUP_EXISTS,                       ERROR_GROUP_EXISTS },
 236         { NT_STATUS_GUIDS_EXHAUSTED,                    ERROR_NO_MORE_ITEMS },
 237         { NT_STATUS_HANDLE_NOT_CLOSABLE,                ERROR_INVALID_HANDLE },
 238         { NT_STATUS_HOST_DOWN,                          ERROR_HOST_DOWN },
 239         { NT_STATUS_HOST_UNREACHABLE,                   ERROR_HOST_UNREACHABLE },
 240         { NT_STATUS_ILLEGAL_CHARACTER,                  ERROR_NO_UNICODE_TRANSLATION },
 241         { NT_STATUS_ILLEGAL_ELEMENT_ADDRESS,            ERROR_ILLEGAL_ELEMENT_ADDRESS },
 242         { NT_STATUS_ILLEGAL_FUNCTION,                   ERROR_INVALID_FUNCTION },
 243         { NT_STATUS_ILL_FORMED_PASSWORD,                ERROR_ILL_FORMED_PASSWORD },
 244         { NT_STATUS_IMAGE_ALREADY_LOADED,               ERROR_SERVICE_ALREADY_RUNNING },
 245         { NT_STATUS_IMAGE_CHECKSUM_MISMATCH,            ERROR_BAD_EXE_FORMAT },
 246         { NT_STATUS_IMAGE_MP_UP_MISMATCH,               ERROR_BAD_EXE_FORMAT },
 247         { NT_STATUS_INCOMPATIBLE_FILE_MAP,              ERROR_INVALID_PARAMETER },
 248         { NT_STATUS_INFO_LENGTH_MISMATCH,               ERROR_BAD_LENGTH },
 249         { NT_STATUS_INSTANCE_NOT_AVAILABLE,             ERROR_PIPE_BUSY },
 250         { NT_STATUS_INSUFFICIENT_RESOURCES,             ERROR_NO_SYSTEM_RESOURCES },
 251         { NT_STATUS_INSUFF_SERVER_RESOURCES,            ERROR_NOT_ENOUGH_SERVER_MEMORY },
 252         { NT_STATUS_INTEGER_OVERFLOW,                   ERROR_ARITHMETIC_OVERFLOW },
 253         { NT_STATUS_INTERNAL_DB_CORRUPTION,             ERROR_INTERNAL_DB_CORRUPTION },
 254         { NT_STATUS_INTERNAL_DB_ERROR,                  ERROR_INTERNAL_DB_ERROR },
 255         { NT_STATUS_INTERNAL_ERROR,                     ERROR_INTERNAL_ERROR },
 256         { NT_STATUS_INVALID_ACCOUNT_NAME,               ERROR_INVALID_ACCOUNT_NAME },
 257         { NT_STATUS_INVALID_ACL,                        ERROR_INVALID_ACL },
 258         { NT_STATUS_INVALID_ADDRESS,                    ERROR_UNEXP_NET_ERR },
 259         { NT_STATUS_INVALID_ADDRESS_COMPONENT,          ERROR_INVALID_NETNAME },
 260         { NT_STATUS_INVALID_ADDRESS_WILDCARD,           ERROR_INVALID_NETNAME },
 261         { NT_STATUS_INVALID_BLOCK_LENGTH,               ERROR_INVALID_BLOCK_LENGTH },
 262         { NT_STATUS_INVALID_BUFFER_SIZE,                ERROR_INVALID_USER_BUFFER },
 263         { NT_STATUS_INVALID_CID,                        ERROR_INVALID_PARAMETER },
 264         { NT_STATUS_INVALID_COMPUTER_NAME,              ERROR_INVALID_COMPUTERNAME },
 265         { NT_STATUS_INVALID_CONNECTION,                 ERROR_UNEXP_NET_ERR },
 266         { NT_STATUS_INVALID_DEVICE_REQUEST,             ERROR_INVALID_FUNCTION },
 267         { NT_STATUS_INVALID_DEVICE_STATE,               ERROR_BAD_COMMAND },
 268         { NT_STATUS_INVALID_DOMAIN_ROLE,                ERROR_INVALID_DOMAIN_ROLE },
 269         { NT_STATUS_INVALID_DOMAIN_STATE,               ERROR_INVALID_DOMAIN_STATE },
 270         { NT_STATUS_INVALID_EA_FLAG,                    ERROR_EA_LIST_INCONSISTENT },
 271         { NT_STATUS_INVALID_EA_NAME,                    ERROR_INVALID_EA_NAME },
 272         { NT_STATUS_INVALID_FILE_FOR_SECTION,           ERROR_BAD_EXE_FORMAT },
 273         { NT_STATUS_INVALID_GROUP_ATTRIBUTES,           ERROR_INVALID_GROUP_ATTRIBUTES },
 274         { NT_STATUS_INVALID_HANDLE,                     ERROR_INVALID_HANDLE },
 275         { NT_STATUS_INVALID_ID_AUTHORITY,               ERROR_INVALID_ID_AUTHORITY },
 276         { NT_STATUS_INVALID_IMAGE_FORMAT,               ERROR_BAD_EXE_FORMAT },
 277         { NT_STATUS_INVALID_IMAGE_LE_FORMAT,            ERROR_BAD_EXE_FORMAT },
 278         { NT_STATUS_INVALID_IMAGE_NE_FORMAT,            ERROR_BAD_EXE_FORMAT },
 279         { NT_STATUS_INVALID_IMAGE_NOT_MZ,               ERROR_BAD_EXE_FORMAT },
 280         { NT_STATUS_INVALID_IMAGE_PROTECT,              ERROR_BAD_EXE_FORMAT },
 281         { NT_STATUS_INVALID_IMAGE_WIN_16,               ERROR_BAD_EXE_FORMAT },
 282         { NT_STATUS_INVALID_IMAGE_WIN_32,               ERROR_BAD_EXE_FORMAT },
 283         { NT_STATUS_INVALID_IMAGE_WIN_64,               ERROR_BAD_EXE_FORMAT },
 284         { NT_STATUS_INVALID_IMPORT_OF_NON_DLL,          ERROR_INVALID_IMPORT_OF_NON_DLL },
 285         { NT_STATUS_INVALID_INFO_CLASS,                 ERROR_INVALID_PARAMETER },
 286         { NT_STATUS_INVALID_LEVEL,                      ERROR_INVALID_LEVEL },
 287         { NT_STATUS_INVALID_LOCK_SEQUENCE,              ERROR_ACCESS_DENIED },
 288         { NT_STATUS_INVALID_LOGON_HOURS,                ERROR_INVALID_LOGON_HOURS },
 289         { NT_STATUS_INVALID_LOGON_TYPE,                 ERROR_INVALID_LOGON_TYPE },
 290         { NT_STATUS_INVALID_MEMBER,                     ERROR_INVALID_MEMBER },
 291         { NT_STATUS_INVALID_NETWORK_RESPONSE,           ERROR_BAD_NET_RESP },
 292         { NT_STATUS_INVALID_OPLOCK_PROTOCOL,            ERROR_INVALID_OPLOCK_PROTOCOL },
 293         { NT_STATUS_INVALID_OWNER,                      ERROR_INVALID_OWNER },
 294         { NT_STATUS_INVALID_PAGE_PROTECTION,            ERROR_INVALID_PARAMETER },
 295         { NT_STATUS_INVALID_PARAMETER,                  ERROR_INVALID_PARAMETER },
 296         { NT_STATUS_INVALID_PARAMETER_1,                ERROR_INVALID_PARAMETER },
 297         { NT_STATUS_INVALID_PARAMETER_2,                ERROR_INVALID_PARAMETER },
 298         { NT_STATUS_INVALID_PARAMETER_3,                ERROR_INVALID_PARAMETER },
 299         { NT_STATUS_INVALID_PARAMETER_4,                ERROR_INVALID_PARAMETER },
 300         { NT_STATUS_INVALID_PARAMETER_5,                ERROR_INVALID_PARAMETER },
 301         { NT_STATUS_INVALID_PARAMETER_6,                ERROR_INVALID_PARAMETER },
 302         { NT_STATUS_INVALID_PARAMETER_7,                ERROR_INVALID_PARAMETER },
 303         { NT_STATUS_INVALID_PARAMETER_8,                ERROR_INVALID_PARAMETER },
 304         { NT_STATUS_INVALID_PARAMETER_9,                ERROR_INVALID_PARAMETER },
 305         { NT_STATUS_INVALID_PARAMETER_10,               ERROR_INVALID_PARAMETER },
 306         { NT_STATUS_INVALID_PARAMETER_11,               ERROR_INVALID_PARAMETER },
 307         { NT_STATUS_INVALID_PARAMETER_12,               ERROR_INVALID_PARAMETER },
 308         { NT_STATUS_INVALID_PARAMETER_MIX,              ERROR_INVALID_PARAMETER },
 309         { NT_STATUS_INVALID_PIPE_STATE,                 ERROR_BAD_PIPE },
 310         { NT_STATUS_INVALID_PORT_HANDLE,                ERROR_INVALID_HANDLE },
 311         { NT_STATUS_INVALID_PRIMARY_GROUP,              ERROR_INVALID_PRIMARY_GROUP },
 312         { NT_STATUS_INVALID_READ_MODE,                  ERROR_BAD_PIPE },
 313         { NT_STATUS_INVALID_SECURITY_DESCR,             ERROR_INVALID_SECURITY_DESCR },
 314         { NT_STATUS_INVALID_SERVER_STATE,               ERROR_INVALID_SERVER_STATE },
 315         { NT_STATUS_INVALID_SID,                        ERROR_INVALID_SID },
 316         { NT_STATUS_INVALID_SUB_AUTHORITY,              ERROR_INVALID_SUB_AUTHORITY },
 317         { NT_STATUS_INVALID_SYSTEM_SERVICE,             ERROR_INVALID_FUNCTION },
 318         { NT_STATUS_INVALID_USER_BUFFER,                ERROR_INVALID_USER_BUFFER },
 319         { NT_STATUS_INVALID_VIEW_SIZE,                  ERROR_ACCESS_DENIED },
 320         { NT_STATUS_INVALID_VOLUME_LABEL,               ERROR_LABEL_TOO_LONG },
 321         { NT_STATUS_INVALID_WORKSTATION,                ERROR_INVALID_WORKSTATION },
 322         { NT_STATUS_IN_PAGE_ERROR,                      ERROR_SWAPERROR },
 323         { NT_STATUS_IO_DEVICE_ERROR,                    ERROR_IO_DEVICE },
 324         { NT_STATUS_IO_REPARSE_DATA_INVALID,            ERROR_INVALID_REPARSE_DATA },
 325         { NT_STATUS_IO_REPARSE_TAG_INVALID,             ERROR_REPARSE_TAG_INVALID },
 326         { NT_STATUS_IO_REPARSE_TAG_MISMATCH,            ERROR_REPARSE_TAG_MISMATCH },
 327         { NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED,         ERROR_CANT_ACCESS_FILE },
 328         { NT_STATUS_IO_TIMEOUT,                         ERROR_SEM_TIMEOUT },
 329         { NT_STATUS_ISSUING_CA_UNTRUSTED,               SEC_E_ISSUING_CA_UNTRUSTED },
 330         { NT_STATUS_JOURNAL_DELETE_IN_PROGRESS,         ERROR_JOURNAL_DELETE_IN_PROGRESS },
 331         { NT_STATUS_JOURNAL_ENTRY_DELETED,              ERROR_JOURNAL_ENTRY_DELETED },
 332         { NT_STATUS_JOURNAL_NOT_ACTIVE,                 ERROR_JOURNAL_NOT_ACTIVE },
 333         /* { NT_STATUS_KDC_INVALID_REQUEST,             SEC_E_KDC_INVALID_REQUEST }, */
 334         /* { NT_STATUS_KDC_UNABLE_TO_REFER,             SEC_E_KDC_UNABLE_TO_REFER }, */
 335         /* { NT_STATUS_KDC_UNKNOWN_ETYPE,               SEC_E_KDC_UNKNOWN_ETYPE }, */
 336         { NT_STATUS_KEY_DELETED,                        ERROR_KEY_DELETED },
 337         { NT_STATUS_KEY_HAS_CHILDREN,                   ERROR_KEY_HAS_CHILDREN },
 338         { NT_STATUS_LAST_ADMIN,                         ERROR_LAST_ADMIN },
 339         { NT_STATUS_LICENSE_QUOTA_EXCEEDED,             ERROR_LICENSE_QUOTA_EXCEEDED },
 340         /* { NT_STATUS_LICENSE_VIOLATION,               ERROR_CTX_LICENSE_NOT_AVAILABLE }, */
 341         { NT_STATUS_LINK_FAILED,                        ERROR_UNEXP_NET_ERR },
 342         { NT_STATUS_LINK_TIMEOUT,                       ERROR_UNEXP_NET_ERR },
 343         { NT_STATUS_LM_CROSS_ENCRYPTION_REQUIRED,       ERROR_LM_CROSS_ENCRYPTION_REQUIRED },
 344         { NT_STATUS_LOCAL_DISCONNECT,                   ERROR_NETNAME_DELETED },
 345         { NT_STATUS_LOCAL_USER_SESSION_KEY,             ERROR_LOCAL_USER_SESSION_KEY },
 346         { NT_STATUS_LOCK_NOT_GRANTED,                   ERROR_LOCK_VIOLATION },
 347         { NT_STATUS_LOGIN_TIME_RESTRICTION,             ERROR_LOGIN_TIME_RESTRICTION },
 348         { NT_STATUS_LOGIN_WKSTA_RESTRICTION,            ERROR_LOGIN_WKSTA_RESTRICTION },
 349         { NT_STATUS_LOGON_FAILURE,                      ERROR_LOGON_FAILURE },
 350         { NT_STATUS_LOGON_NOT_GRANTED,                  ERROR_LOGON_NOT_GRANTED },
 351         { NT_STATUS_LOGON_SESSION_COLLISION,            ERROR_LOGON_SESSION_COLLISION },
 352         { NT_STATUS_LOGON_SESSION_EXISTS,               ERROR_LOGON_SESSION_EXISTS },
 353         { NT_STATUS_LOGON_TYPE_NOT_GRANTED,             ERROR_LOGON_TYPE_NOT_GRANTED },
 354         { NT_STATUS_LOG_FILE_FULL,                      ERROR_LOG_FILE_FULL },
 355         { NT_STATUS_LPC_REPLY_LOST,                     ERROR_CONNECTION_ABORTED },
 356         { NT_STATUS_LPC_REPLY_LOST,                     ERROR_INTERNAL_ERROR },
 357         { NT_STATUS_LUIDS_EXHAUSTED,                    ERROR_LUIDS_EXHAUSTED },
 358         { NT_STATUS_MAGAZINE_NOT_PRESENT,               ERROR_MAGAZINE_NOT_PRESENT },
 359         { NT_STATUS_MAPPED_ALIGNMENT,                   ERROR_MAPPED_ALIGNMENT },
 360         { NT_STATUS_MAPPED_FILE_SIZE_ZERO,              ERROR_FILE_INVALID },
 361         /* { NT_STATUS_MAX_REFERRALS_EXCEEDED,          SEC_E_MAX_REFERRALS_EXCEEDED }, */
 362         { NT_STATUS_MEDIA_CHANGED,                      ERROR_MEDIA_CHANGED },
 363         { NT_STATUS_MEDIA_WRITE_PROTECTED,              ERROR_WRITE_PROTECT },
 364         { NT_STATUS_MEMBERS_PRIMARY_GROUP,              ERROR_MEMBERS_PRIMARY_GROUP },
 365         { NT_STATUS_MEMBER_IN_ALIAS,                    ERROR_MEMBER_IN_ALIAS },
 366         { NT_STATUS_MEMBER_IN_GROUP,                    ERROR_MEMBER_IN_GROUP },
 367         { NT_STATUS_MEMBER_NOT_IN_ALIAS,                ERROR_MEMBER_NOT_IN_ALIAS },
 368         { NT_STATUS_MEMBER_NOT_IN_GROUP,                ERROR_MEMBER_NOT_IN_GROUP },
 369         { NT_STATUS_MEMORY_NOT_ALLOCATED,               ERROR_INVALID_ADDRESS },
 370         { NT_STATUS_MESSAGE_NOT_FOUND,                  ERROR_MR_MID_NOT_FOUND },
 371         { NT_STATUS_MFT_TOO_FRAGMENTED,                 ERROR_DISK_TOO_FRAGMENTED },
 372         { NT_STATUS_MORE_ENTRIES,                       ERROR_MORE_DATA },
 373         { NT_STATUS_MORE_PROCESSING_REQUIRED,           ERROR_MORE_DATA },
 374         /* { NT_STATUS_MUST_BE_KDC,                     SEC_E_MUST_BE_KDC }, */
 375         { NT_STATUS_MUTANT_NOT_OWNED,                   ERROR_NOT_OWNER },
 376         { NT_STATUS_MUTUAL_AUTHENTICATION_FAILED,       ERROR_MUTUAL_AUTH_FAILED },
 377         { NT_STATUS_NAME_TOO_LONG,                      ERROR_FILENAME_EXCED_RANGE },
 378         { NT_STATUS_NETLOGON_NOT_STARTED,               ERROR_NETLOGON_NOT_STARTED },
 379         { NT_STATUS_NETWORK_ACCESS_DENIED,              ERROR_NETWORK_ACCESS_DENIED },
 380         { NT_STATUS_NETWORK_BUSY,                       ERROR_NETWORK_BUSY },
 381         { NT_STATUS_NETWORK_CREDENTIAL_CONFLICT,        ERROR_SESSION_CREDENTIAL_CONFLICT },
 382         { NT_STATUS_NETWORK_NAME_DELETED,               ERROR_NETNAME_DELETED },
 383         { NT_STATUS_NETWORK_SESSION_EXPIRED,            ERROR_NO_USER_SESSION_KEY },
 384         { NT_STATUS_NETWORK_UNREACHABLE,                ERROR_NETWORK_UNREACHABLE },
 385         { NT_STATUS_NET_WRITE_FAULT,                    ERROR_NET_WRITE_FAULT },
 386         { NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT,  ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT },
 387         { NT_STATUS_NOLOGON_SERVER_TRUST_ACCOUNT,       ERROR_NOLOGON_SERVER_TRUST_ACCOUNT },
 388         { NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT,  ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT },
 389         { NT_STATUS_NONEXISTENT_EA_ENTRY,               ERROR_FILE_CORRUPT },
 390         /* { NT_STATUS_NONEXISTENT_NET_NAME,            ERROR_DEV_NOT_EXIST }, */
 391         { NT_STATUS_NONEXISTENT_SECTOR,                 ERROR_SECTOR_NOT_FOUND },
 392         { NT_STATUS_NONE_MAPPED,                        ERROR_NONE_MAPPED },
 393         { NT_STATUS_NOTIFY_ENUM_DIR,                    ERROR_NOTIFY_ENUM_DIR },
 394         { NT_STATUS_NOT_ALL_ASSIGNED,                   ERROR_NOT_ALL_ASSIGNED },
 395         { NT_STATUS_NOT_A_DIRECTORY,                    ERROR_DIRECTORY },
 396         { NT_STATUS_NOT_A_REPARSE_POINT,                ERROR_NOT_A_REPARSE_POINT },
 397         { NT_STATUS_NOT_CLIENT_SESSION,                 ERROR_NOT_SUPPORTED },
 398         { NT_STATUS_NOT_COMMITTED,                      ERROR_INVALID_ADDRESS },
 399         { NT_STATUS_NOT_EXPORT_FORMAT,                  ERROR_NOT_EXPORT_FORMAT },
 400         { NT_STATUS_NOT_FOUND,                          ERROR_NOT_FOUND },
 401         { NT_STATUS_NOT_IMPLEMENTED,                    ERROR_INVALID_FUNCTION },
 402         { NT_STATUS_NOT_LOCKED,                         ERROR_NOT_LOCKED },
 403         { NT_STATUS_NOT_LOGON_PROCESS,                  ERROR_NOT_LOGON_PROCESS },
 404         { NT_STATUS_NOT_MAPPED_DATA,                    ERROR_INVALID_ADDRESS },
 405         { NT_STATUS_NOT_MAPPED_VIEW,                    ERROR_INVALID_ADDRESS },
 406         { NT_STATUS_NOT_REGISTRY_FILE,                  ERROR_NOT_REGISTRY_FILE },
 407         { NT_STATUS_NOT_SAME_DEVICE,                    ERROR_NOT_SAME_DEVICE },
 408         { NT_STATUS_NOT_SERVER_SESSION,                 ERROR_NOT_SUPPORTED },
 409         { NT_STATUS_NOT_SUPPORTED,                      ERROR_NOT_SUPPORTED },
 410         { NT_STATUS_NOT_SUPPORTED_ON_SBS,               ERROR_NOT_SUPPORTED_ON_SBS },
 411         { NT_STATUS_NO_BROWSER_SERVERS_FOUND,           ERROR_NO_BROWSER_SERVERS_FOUND },
 412         { NT_STATUS_NO_DATA_DETECTED,                   ERROR_NO_DATA_DETECTED },
 413         { NT_STATUS_NO_EAS_ON_FILE,                     ERROR_FILE_CORRUPT },
 414         { NT_STATUS_NO_EFS,                             ERROR_ACCESS_DENIED },
 415         { NT_STATUS_NO_IMPERSONATION_TOKEN,             ERROR_NO_IMPERSONATION_TOKEN },
 416         { NT_STATUS_NO_INHERITANCE,                     ERROR_NO_INHERITANCE },
 417         /* { NT_STATUS_NO_IP_ADDRESSES,                 SEC_E_NO_IP_ADDRESSES }, */
 418         /* { NT_STATUS_NO_KERB_KEY,                     SEC_E_NO_KERB_KEY }, */
 419         { NT_STATUS_NO_LDT,                             ERROR_INVALID_THREAD_ID },
 420         { NT_STATUS_NO_LOGON_SERVERS,                   ERROR_NO_LOGON_SERVERS },
 421         { NT_STATUS_NO_LOG_SPACE,                       ERROR_NO_LOG_SPACE },
 422         { NT_STATUS_NO_MATCH,                           ERROR_NO_MATCH },
 423         { NT_STATUS_NO_MEDIA,                           ERROR_NO_MEDIA_IN_DRIVE },
 424         { NT_STATUS_NO_MEDIA_IN_DEVICE,                 ERROR_NOT_READY },
 425         { NT_STATUS_NO_MEMORY,                          ERROR_NOT_ENOUGH_MEMORY },
 426         { NT_STATUS_NO_MORE_EAS,                        ERROR_NO_MORE_ITEMS },
 427         { NT_STATUS_NO_MORE_ENTRIES,                    ERROR_NO_MORE_ITEMS },
 428         { NT_STATUS_NO_MORE_FILES,                      ERROR_NO_MORE_FILES },
 429         /* { NT_STATUS_NO_PA_DATA,                      SEC_E_NO_PA_DATA }, */
 430         { NT_STATUS_NO_QUOTAS_FOR_ACCOUNT,              ERROR_NO_QUOTAS_FOR_ACCOUNT },
 431         { NT_STATUS_NO_RECOVERY_POLICY,                 ERROR_ACCESS_DENIED },
 432         { NT_STATUS_NO_SECURITY_ON_OBJECT,              ERROR_NO_SECURITY_ON_OBJECT },
 433         { NT_STATUS_NO_SPOOL_SPACE,                     ERROR_NO_SPOOL_SPACE },
 434         { NT_STATUS_NO_SUCH_ALIAS,                      ERROR_NO_SUCH_ALIAS },
 435         { NT_STATUS_NO_SUCH_DEVICE,                     ERROR_FILE_NOT_FOUND },
 436         { NT_STATUS_NO_SUCH_DOMAIN,                     ERROR_NO_SUCH_DOMAIN },
 437         { NT_STATUS_NO_SUCH_FILE,                       ERROR_FILE_NOT_FOUND },
 438         { NT_STATUS_NO_SUCH_GROUP,                      ERROR_NO_SUCH_GROUP },
 439         { NT_STATUS_NO_SUCH_LOGON_SESSION,              ERROR_NO_SUCH_LOGON_SESSION },
 440         { NT_STATUS_NO_SUCH_MEMBER,                     ERROR_NO_SUCH_MEMBER },
 441         { NT_STATUS_NO_SUCH_PACKAGE,                    ERROR_NO_SUCH_PACKAGE },
 442         { NT_STATUS_NO_SUCH_PRIVILEGE,                  ERROR_NO_SUCH_PRIVILEGE },
 443         { NT_STATUS_NO_SUCH_USER,                       ERROR_NO_SUCH_USER },
 444         /* { NT_STATUS_NO_TGT_REPLY,                    SEC_E_NO_TGT_REPLY }, */
 445         { NT_STATUS_NO_TOKEN,                           ERROR_NO_TOKEN },
 446         { NT_STATUS_NO_TRACKING_SERVICE,                ERROR_NO_TRACKING_SERVICE },
 447         { NT_STATUS_NO_TRUST_LSA_SECRET,                ERROR_NO_TRUST_LSA_SECRET },
 448         { NT_STATUS_NO_TRUST_SAM_ACCOUNT,               ERROR_NO_TRUST_SAM_ACCOUNT },
 449         { NT_STATUS_NO_USER_KEYS,                       ERROR_ACCESS_DENIED },
 450         { NT_STATUS_NO_USER_SESSION_KEY,                ERROR_NO_USER_SESSION_KEY },
 451         { NT_STATUS_NT_CROSS_ENCRYPTION_REQUIRED,       ERROR_NT_CROSS_ENCRYPTION_REQUIRED },
 452         { NT_STATUS_NULL_LM_PASSWORD,                   ERROR_NULL_LM_PASSWORD },
 453         /* { NT_STATUS_OBJECTID_EXISTS,                 STATUS_OBJECTID_EXISTS }, */
 454         { NT_STATUS_OBJECTID_NOT_FOUND,                 ERROR_FILE_NOT_FOUND },
 455         { NT_STATUS_OBJECT_NAME_COLLISION,              ERROR_ALREADY_EXISTS },
 456         { NT_STATUS_OBJECT_NAME_INVALID,                ERROR_INVALID_NAME },
 457         { NT_STATUS_OBJECT_NAME_NOT_FOUND,              ERROR_FILE_NOT_FOUND },
 458         { NT_STATUS_OBJECT_PATH_INVALID,                ERROR_BAD_PATHNAME },
 459         { NT_STATUS_OBJECT_PATH_NOT_FOUND,              ERROR_PATH_NOT_FOUND },
 460         { NT_STATUS_OBJECT_PATH_SYNTAX_BAD,             ERROR_BAD_PATHNAME },
 461         { NT_STATUS_OBJECT_TYPE_MISMATCH,               ERROR_INVALID_HANDLE },
 462         { NT_STATUS_ONLY_IF_CONNECTED,                  ERROR_ONLY_IF_CONNECTED },
 463         { NT_STATUS_OPEN_FAILED,                        ERROR_OPEN_FAILED },
 464         { NT_STATUS_OPLOCK_NOT_GRANTED,                 ERROR_OPLOCK_NOT_GRANTED },
 465         { NT_STATUS_ORDINAL_NOT_FOUND,                  ERROR_INVALID_ORDINAL },
 466         { NT_STATUS_PAGEFILE_QUOTA,                     ERROR_PAGEFILE_QUOTA },
 467         { NT_STATUS_PARTIAL_COPY,                       ERROR_PARTIAL_COPY },
 468         { NT_STATUS_PARTITION_FAILURE,                  ERROR_PARTITION_FAILURE },
 469         { NT_STATUS_PASSWORD_EXPIRED,                   ERROR_PASSWORD_EXPIRED },
 470         { NT_STATUS_PASSWORD_MUST_CHANGE,               ERROR_PASSWORD_MUST_CHANGE },
 471         { NT_STATUS_PASSWORD_RESTRICTION,               ERROR_PASSWORD_RESTRICTION },
 472         { NT_STATUS_PATH_NOT_COVERED,                   ERROR_HOST_UNREACHABLE },
 473         { NT_STATUS_PENDING,                            ERROR_IO_PENDING },
 474         { NT_STATUS_PIPE_BROKEN,                        ERROR_BROKEN_PIPE },
 475         { NT_STATUS_PIPE_BUSY,                          ERROR_PIPE_BUSY },
 476         { NT_STATUS_PIPE_CLOSING,                       ERROR_NO_DATA },
 477         { NT_STATUS_PIPE_CONNECTED,                     ERROR_PIPE_CONNECTED },
 478         { NT_STATUS_PIPE_DISCONNECTED,                  ERROR_PIPE_NOT_CONNECTED },
 479         { NT_STATUS_PIPE_EMPTY,                         ERROR_NO_DATA },
 480         { NT_STATUS_PIPE_LISTENING,                     ERROR_PIPE_LISTENING },
 481         { NT_STATUS_PIPE_NOT_AVAILABLE,                 ERROR_PIPE_BUSY },
 482         { NT_STATUS_PKINIT_CLIENT_FAILURE,              SEC_E_PKINIT_CLIENT_FAILURE },
 483         { NT_STATUS_PKINIT_FAILURE,                     ERROR_PKINIT_FAILURE },
 484         /* { NT_STATUS_PKINIT_NAME_MISMATCH,            SEC_E_PKINIT_NAME_MISMATCH }, */
 485         { NT_STATUS_PLUGPLAY_NO_DEVICE,                 ERROR_SERVICE_DISABLED },
 486         { NT_STATUS_POLICY_OBJECT_NOT_FOUND,            ERROR_POLICY_OBJECT_NOT_FOUND },
 487         { NT_STATUS_POLICY_ONLY_IN_DS,                  ERROR_POLICY_ONLY_IN_DS },
 488         { NT_STATUS_PORT_ALREADY_SET,                   ERROR_INVALID_PARAMETER },
 489         { NT_STATUS_PORT_CONNECTION_REFUSED,            ERROR_ACCESS_DENIED },
 490         { NT_STATUS_PORT_DISCONNECTED,                  ERROR_INVALID_HANDLE },
 491         { NT_STATUS_PORT_UNREACHABLE,                   ERROR_PORT_UNREACHABLE },
 492         { NT_STATUS_POSSIBLE_DEADLOCK,                  ERROR_POSSIBLE_DEADLOCK },
 493         { NT_STATUS_PRENT4_MACHINE_ACCOUNT,             ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 },
 494         { NT_STATUS_PRINT_CANCELLED,                    ERROR_PRINT_CANCELLED },
 495         { NT_STATUS_PRINT_QUEUE_FULL,                   ERROR_PRINTQ_FULL },
 496         { NT_STATUS_PRIVILEGE_NOT_HELD,                 ERROR_PRIVILEGE_NOT_HELD },
 497         { NT_STATUS_PROCEDURE_NOT_FOUND,                ERROR_PROC_NOT_FOUND },
 498         { NT_STATUS_PROCESS_IS_TERMINATING,             ERROR_ACCESS_DENIED },
 499         { NT_STATUS_PROPSET_NOT_FOUND,                  ERROR_SET_NOT_FOUND },
 500         { NT_STATUS_PROTOCOL_UNREACHABLE,               ERROR_PROTOCOL_UNREACHABLE },
 501         { NT_STATUS_QUOTA_EXCEEDED,                     ERROR_NOT_ENOUGH_QUOTA },
 502         { NT_STATUS_RANGE_NOT_FOUND,                    ERROR_NOT_LOCKED },
 503         { NT_STATUS_RANGE_NOT_LOCKED,                   ERROR_NOT_LOCKED },
 504         { NT_STATUS_REDIRECTOR_NOT_STARTED,             ERROR_PATH_NOT_FOUND },
 505         { NT_STATUS_REDIRECTOR_PAUSED,                  ERROR_REDIR_PAUSED },
 506         { NT_STATUS_REDIRECTOR_STARTED,                 ERROR_SERVICE_ALREADY_RUNNING },
 507         { NT_STATUS_REGISTRY_CORRUPT,                   ERROR_BADDB },
 508         { NT_STATUS_REGISTRY_IO_FAILED,                 ERROR_REGISTRY_IO_FAILED },
 509         { NT_STATUS_REGISTRY_RECOVERED,                 ERROR_REGISTRY_RECOVERED },
 510         { NT_STATUS_REG_NAT_CONSUMPTION,                ERROR_REG_NAT_CONSUMPTION },
 511         { NT_STATUS_REINITIALIZATION_NEEDED,            ERROR_DEVICE_REINITIALIZATION_NEEDED },
 512         { NT_STATUS_REMOTE_DISCONNECT,                  ERROR_NETNAME_DELETED },
 513         { NT_STATUS_REMOTE_NOT_LISTENING,               ERROR_REM_NOT_LIST },
 514         { NT_STATUS_REMOTE_RESOURCES,                   ERROR_REM_NOT_LIST },
 515         { NT_STATUS_REMOTE_SESSION_LIMIT,               ERROR_REMOTE_SESSION_LIMIT_EXCEEDED },
 516         { NT_STATUS_REMOTE_STORAGE_MEDIA_ERROR,         ERROR_REMOTE_STORAGE_MEDIA_ERROR },
 517         { NT_STATUS_REMOTE_STORAGE_NOT_ACTIVE,          ERROR_REMOTE_STORAGE_NOT_ACTIVE },
 518         { NT_STATUS_REPARSE_ATTRIBUTE_CONFLICT,         ERROR_REPARSE_ATTRIBUTE_CONFLICT },
 519         { NT_STATUS_REPARSE_POINT_NOT_RESOLVED,         ERROR_CANT_RESOLVE_FILENAME },
 520         { NT_STATUS_REQUEST_ABORTED,                    ERROR_REQUEST_ABORTED },
 521         { NT_STATUS_REQUEST_NOT_ACCEPTED,               ERROR_REQ_NOT_ACCEP },
 522         { NT_STATUS_RESOURCE_DATA_NOT_FOUND,            ERROR_RESOURCE_DATA_NOT_FOUND },
 523         { NT_STATUS_RESOURCE_LANG_NOT_FOUND,            ERROR_RESOURCE_LANG_NOT_FOUND },
 524         { NT_STATUS_RESOURCE_NAME_NOT_FOUND,            ERROR_RESOURCE_NAME_NOT_FOUND },
 525         { NT_STATUS_RESOURCE_NOT_OWNED,                 ERROR_NOT_OWNER },
 526         { NT_STATUS_RESOURCE_TYPE_NOT_FOUND,            ERROR_RESOURCE_TYPE_NOT_FOUND },
 527         { NT_STATUS_RETRY,                              ERROR_RETRY },
 528         { NT_STATUS_REVISION_MISMATCH,                  ERROR_REVISION_MISMATCH },
 529         { NT_STATUS_REVOCATION_OFFLINE_C,               SEC_E_REVOCATION_OFFLINE_C },
 530         { NT_STATUS_RXACT_COMMIT_FAILURE,               ERROR_RXACT_COMMIT_FAILURE },
 531         { NT_STATUS_RXACT_INVALID_STATE,                ERROR_RXACT_INVALID_STATE },
 532         { NT_STATUS_SAM_INIT_FAILURE,                   ERROR_SAM_INIT_FAILURE },
 533         { NT_STATUS_SAM_NEED_BOOTKEY_FLOPPY,            ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY },
 534         { NT_STATUS_SAM_NEED_BOOTKEY_PASSWORD,          ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD },
 535         { NT_STATUS_SECRET_TOO_LONG,                    ERROR_SECRET_TOO_LONG },
 536         { NT_STATUS_SECTION_NOT_EXTENDED,               ERROR_OUTOFMEMORY },
 537         { NT_STATUS_SECTION_NOT_IMAGE,                  ERROR_INVALID_PARAMETER },
 538         { NT_STATUS_SECTION_PROTECTION,                 ERROR_INVALID_PARAMETER },
 539         { NT_STATUS_SECTION_TOO_BIG,                    ERROR_NOT_ENOUGH_MEMORY },
 540         { NT_STATUS_SEMAPHORE_LIMIT_EXCEEDED,           ERROR_TOO_MANY_POSTS },
 541         { NT_STATUS_SERIAL_COUNTER_TIMEOUT,             ERROR_COUNTER_TIMEOUT },
 542         { NT_STATUS_SERIAL_MORE_WRITES,                 ERROR_MORE_WRITES },
 543         { NT_STATUS_SERIAL_NO_DEVICE_INITED,            ERROR_SERIAL_NO_DEVICE },
 544         { NT_STATUS_SERVER_DISABLED,                    ERROR_SERVER_DISABLED },
 545         { NT_STATUS_SERVER_NOT_DISABLED,                ERROR_SERVER_NOT_DISABLED },
 546         { NT_STATUS_SERVER_SHUTDOWN_IN_PROGRESS,        ERROR_SERVER_SHUTDOWN_IN_PROGRESS },
 547         { NT_STATUS_SETMARK_DETECTED,                   ERROR_SETMARK_DETECTED },
 548         { NT_STATUS_SHARED_IRQ_BUSY,                    ERROR_IRQ_BUSY },
 549         { NT_STATUS_SHARED_POLICY,                      ERROR_SHARED_POLICY },
 550         { NT_STATUS_SHARING_PAUSED,                     ERROR_SHARING_PAUSED },
 551         { NT_STATUS_SHARING_VIOLATION,                  ERROR_SHARING_VIOLATION },
 552         { NT_STATUS_SHUTDOWN_IN_PROGRESS,               ERROR_SHUTDOWN_IN_PROGRESS },
 553         /* { NT_STATUS_SMARTCARD_... */
 554         { NT_STATUS_SOME_NOT_MAPPED,                    ERROR_SOME_NOT_MAPPED },
 555         { NT_STATUS_SOURCE_ELEMENT_EMPTY,               ERROR_SOURCE_ELEMENT_EMPTY },
 556         { NT_STATUS_SPECIAL_ACCOUNT,                    ERROR_SPECIAL_ACCOUNT },
 557         { NT_STATUS_SPECIAL_GROUP,                      ERROR_SPECIAL_GROUP },
 558         { NT_STATUS_SPECIAL_USER,                       ERROR_SPECIAL_USER },
 559         { NT_STATUS_STACK_OVERFLOW,                     ERROR_STACK_OVERFLOW },
 560         /* { NT_STATUS_STRONG_CRYPTO_NOT_SUPPORTED,     SEC_E_STRONG_CRYPTO_NOT_SUPPORTED }, */
 561         { NT_STATUS_SUSPEND_COUNT_EXCEEDED,             ERROR_SIGNAL_REFUSED },
 562         /* { NT_STATUS_SXS_...} */
 563         { NT_STATUS_THREAD_IS_TERMINATING,              ERROR_ACCESS_DENIED },
 564         { NT_STATUS_TIME_DIFFERENCE_AT_DC,              ERROR_TIME_SKEW },
 565         { NT_STATUS_TOKEN_ALREADY_IN_USE,               ERROR_TOKEN_ALREADY_IN_USE },
 566         { NT_STATUS_TOO_LATE,                           ERROR_WRITE_PROTECT },
 567         { NT_STATUS_TOO_MANY_ADDRESSES,                 ERROR_TOO_MANY_NAMES },
 568         { NT_STATUS_TOO_MANY_COMMANDS,                  ERROR_TOO_MANY_CMDS },
 569         { NT_STATUS_TOO_MANY_CONTEXT_IDS,               ERROR_TOO_MANY_CONTEXT_IDS },
 570         { NT_STATUS_TOO_MANY_GUIDS_REQUESTED,           ERROR_TOO_MANY_NAMES },
 571         { NT_STATUS_TOO_MANY_LINKS,                     ERROR_TOO_MANY_LINKS },
 572         { NT_STATUS_TOO_MANY_LUIDS_REQUESTED,           ERROR_TOO_MANY_LUIDS_REQUESTED },
 573         { NT_STATUS_TOO_MANY_NAMES,                     ERROR_TOO_MANY_NAMES },
 574         { NT_STATUS_TOO_MANY_NODES,                     ERROR_TOO_MANY_NAMES },
 575         { NT_STATUS_TOO_MANY_OPENED_FILES,              ERROR_TOO_MANY_OPEN_FILES },
 576         { NT_STATUS_TOO_MANY_PAGING_FILES,              ERROR_NOT_ENOUGH_MEMORY },
 577         /* { NT_STATUS_TOO_MANY_PRINCIPALS,             SEC_E_TOO_MANY_PRINCIPALS }, */
 578         { NT_STATUS_TOO_MANY_SECRETS,                   ERROR_TOO_MANY_SECRETS },
 579         { NT_STATUS_TOO_MANY_SESSIONS,                  ERROR_TOO_MANY_SESS },
 580         { NT_STATUS_TOO_MANY_SIDS,                      ERROR_TOO_MANY_SIDS },
 581         { NT_STATUS_TRANSACTION_ABORTED,                ERROR_UNEXP_NET_ERR },
 582         { NT_STATUS_TRANSACTION_INVALID_ID,             ERROR_UNEXP_NET_ERR },
 583         { NT_STATUS_TRANSACTION_INVALID_TYPE,           ERROR_UNEXP_NET_ERR },
 584         { NT_STATUS_TRANSACTION_NO_MATCH,               ERROR_UNEXP_NET_ERR },
 585         { NT_STATUS_TRANSACTION_NO_RELEASE,             ERROR_UNEXP_NET_ERR },
 586         { NT_STATUS_TRANSACTION_RESPONDED,              ERROR_UNEXP_NET_ERR },
 587         { NT_STATUS_TRANSACTION_TIMED_OUT,              ERROR_UNEXP_NET_ERR },
 588         { NT_STATUS_TRANSPORT_FULL,                     ERROR_TRANSPORT_FULL },
 589         { NT_STATUS_TRUSTED_DOMAIN_FAILURE,             ERROR_TRUSTED_DOMAIN_FAILURE },
 590         { NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE,       ERROR_TRUSTED_RELATIONSHIP_FAILURE },
 591         { NT_STATUS_TRUST_FAILURE,                      ERROR_TRUST_FAILURE },
 592         { NT_STATUS_UNABLE_TO_DECOMMIT_VM,              ERROR_INVALID_ADDRESS },
 593         { NT_STATUS_UNABLE_TO_DELETE_SECTION,           ERROR_INVALID_PARAMETER },
 594         { NT_STATUS_UNABLE_TO_FREE_VM,                  ERROR_INVALID_PARAMETER },
 595         { NT_STATUS_UNABLE_TO_LOCK_MEDIA,               ERROR_UNABLE_TO_LOCK_MEDIA },
 596         { NT_STATUS_UNABLE_TO_UNLOAD_MEDIA,             ERROR_UNABLE_TO_UNLOAD_MEDIA },
 597         { NT_STATUS_UNDEFINED_CHARACTER,                ERROR_NO_UNICODE_TRANSLATION },
 598         { NT_STATUS_UNEXPECTED_NETWORK_ERROR,           ERROR_UNEXP_NET_ERR },
 599         /* { NT_STATUS_UNFINISHED_CONTEXT_DELETED,      SEC_E_UNFINISHED_CONTEXT_DELETED }, */
 600         { NT_STATUS_UNKNOWN_REVISION,                   ERROR_UNKNOWN_REVISION },
 601         { NT_STATUS_UNMAPPABLE_CHARACTER,               ERROR_NO_UNICODE_TRANSLATION },
 602         { NT_STATUS_UNRECOGNIZED_MEDIA,                 ERROR_UNRECOGNIZED_MEDIA },
 603         { NT_STATUS_UNRECOGNIZED_VOLUME,                ERROR_UNRECOGNIZED_VOLUME },
 604         { NT_STATUS_UNSUCCESSFUL,                       ERROR_GEN_FAILURE },
 605         /* { NT_STATUS_UNSUPPORTED_PREAUTH,             SEC_E_UNSUPPORTED_PREAUTH }, */
 606         { NT_STATUS_USER_EXISTS,                        ERROR_USER_EXISTS },
 607         { NT_STATUS_USER_MAPPED_FILE,                   ERROR_USER_MAPPED_FILE },
 608         { NT_STATUS_USER_SESSION_DELETED,               ERROR_UNEXP_NET_ERR },
 609         { NT_STATUS_VARIABLE_NOT_FOUND,                 ERROR_ENVVAR_NOT_FOUND },
 610         { NT_STATUS_VERIFY_REQUIRED,                    ERROR_MEDIA_CHANGED },
 611         { NT_STATUS_VIRTUAL_CIRCUIT_CLOSED,             ERROR_VC_DISCONNECTED },
 612         { NT_STATUS_VOLUME_DISMOUNTED,                  ERROR_NOT_READY },
 613         { NT_STATUS_VOLUME_NOT_UPGRADED,                ERROR_INVALID_FUNCTION },
 614         { NT_STATUS_WMI_ALREADY_DISABLED,               ERROR_WMI_ALREADY_DISABLED },
 615         { NT_STATUS_WMI_ALREADY_ENABLED,                ERROR_WMI_ALREADY_ENABLED },
 616         { NT_STATUS_WMI_GUID_DISCONNECTED,              ERROR_WMI_GUID_DISCONNECTED },
 617         { NT_STATUS_WMI_GUID_NOT_FOUND,                 ERROR_WMI_GUID_NOT_FOUND },
 618         { NT_STATUS_WMI_INSTANCE_NOT_FOUND,             ERROR_WMI_INSTANCE_NOT_FOUND },
 619         { NT_STATUS_WMI_ITEMID_NOT_FOUND,               ERROR_WMI_ITEMID_NOT_FOUND },
 620         { NT_STATUS_WMI_NOT_SUPPORTED,                  ERROR_NOT_SUPPORTED },
 621         { NT_STATUS_WMI_READ_ONLY,                      ERROR_WMI_READ_ONLY },
 622         { NT_STATUS_WMI_SET_FAILURE,                    ERROR_WMI_SET_FAILURE },
 623         { NT_STATUS_WMI_TRY_AGAIN,                      ERROR_WMI_TRY_AGAIN },
 624         { NT_STATUS_WORKING_SET_LIMIT_RANGE,            ERROR_INVALID_PARAMETER },
 625         { NT_STATUS_WORKING_SET_QUOTA,                  ERROR_WORKING_SET_QUOTA },
 626         /* { NT_STATUS_WRONG_CREDENTIAL_HANDLE,         SEC_E_WRONG_CREDENTIAL_HANDLE }, */
 627         { NT_STATUS_WRONG_EFS,                          ERROR_ACCESS_DENIED },
 628         { NT_STATUS_WRONG_PASSWORD,                     ERROR_INVALID_PASSWORD },
 629         { NT_STATUS_WRONG_PASSWORD_CORE,                ERROR_INVALID_PASSWORD },
 630         { NT_STATUS_WRONG_VOLUME,                       ERROR_WRONG_DISK },
 631 
 632         { EPT_NT_CANT_CREATE,                           EPT_S_CANT_CREATE },
 633         { EPT_NT_CANT_PERFORM_OP,                       EPT_S_CANT_PERFORM_OP },
 634         { EPT_NT_INVALID_ENTRY,                         EPT_S_INVALID_ENTRY },
 635         { EPT_NT_NOT_REGISTERED,                        EPT_S_NOT_REGISTERED },
 636 
 637         { RPC_NT_ADDRESS_ERROR,                         RPC_S_ADDRESS_ERROR },
 638         { RPC_NT_ALREADY_LISTENING,                     RPC_S_ALREADY_LISTENING },
 639         { RPC_NT_ALREADY_REGISTERED,                    RPC_S_ALREADY_REGISTERED },
 640         { RPC_NT_BAD_STUB_DATA,                         RPC_X_BAD_STUB_DATA },
 641         { RPC_NT_BINDING_HAS_NO_AUTH,                   RPC_S_BINDING_HAS_NO_AUTH },
 642         { RPC_NT_BINDING_INCOMPLETE,                    RPC_S_BINDING_INCOMPLETE },
 643         { RPC_NT_BYTE_COUNT_TOO_SMALL,                  RPC_X_BYTE_COUNT_TOO_SMALL },
 644         { RPC_NT_CALL_CANCELLED,                        RPC_S_CALL_CANCELLED },
 645         { RPC_NT_CALL_FAILED,                           RPC_S_CALL_FAILED },
 646         { RPC_NT_CALL_FAILED_DNE,                       RPC_S_CALL_FAILED_DNE },
 647         { RPC_NT_CALL_IN_PROGRESS,                      RPC_S_CALL_IN_PROGRESS },
 648         { RPC_NT_CANNOT_SUPPORT,                        RPC_S_CANNOT_SUPPORT },
 649         { RPC_NT_CANT_CREATE_ENDPOINT,                  RPC_S_CANT_CREATE_ENDPOINT },
 650         { RPC_NT_COMM_FAILURE,                          RPC_S_COMM_FAILURE },
 651         { RPC_NT_DUPLICATE_ENDPOINT,                    RPC_S_DUPLICATE_ENDPOINT },
 652         { RPC_NT_ENTRY_ALREADY_EXISTS,                  RPC_S_ENTRY_ALREADY_EXISTS },
 653         { RPC_NT_ENTRY_NOT_FOUND,                       RPC_S_ENTRY_NOT_FOUND },
 654         { RPC_NT_ENUM_VALUE_OUT_OF_RANGE,               RPC_X_ENUM_VALUE_OUT_OF_RANGE },
 655         { RPC_NT_FP_DIV_ZERO,                           RPC_S_FP_DIV_ZERO },
 656         { RPC_NT_FP_OVERFLOW,                           RPC_S_FP_OVERFLOW },
 657         { RPC_NT_FP_UNDERFLOW,                          RPC_S_FP_UNDERFLOW },
 658         { RPC_NT_GROUP_MEMBER_NOT_FOUND,                RPC_S_GROUP_MEMBER_NOT_FOUND },
 659         { RPC_NT_INCOMPLETE_NAME,                       RPC_S_INCOMPLETE_NAME },
 660         { RPC_NT_INTERFACE_NOT_FOUND,                   RPC_S_INTERFACE_NOT_FOUND },
 661         { RPC_NT_INTERNAL_ERROR,                        RPC_S_INTERNAL_ERROR },
 662         { RPC_NT_INVALID_ASYNC_CALL,                    RPC_S_INVALID_ASYNC_CALL },
 663         { RPC_NT_INVALID_ASYNC_HANDLE,                  RPC_S_INVALID_ASYNC_HANDLE },
 664         { RPC_NT_INVALID_AUTH_IDENTITY,                 RPC_S_INVALID_AUTH_IDENTITY },
 665         { RPC_NT_INVALID_BINDING,                       ERROR_INVALID_HANDLE },
 666         { RPC_NT_INVALID_BOUND,                         RPC_S_INVALID_BOUND },
 667         { RPC_NT_INVALID_ENDPOINT_FORMAT,               RPC_S_INVALID_ENDPOINT_FORMAT },
 668         { RPC_NT_INVALID_ES_ACTION,                     RPC_X_INVALID_ES_ACTION },
 669         { RPC_NT_INVALID_NAF_ID,                        RPC_S_INVALID_NAF_ID },
 670         { RPC_NT_INVALID_NAME_SYNTAX,                   RPC_S_INVALID_NAME_SYNTAX },
 671         { RPC_NT_INVALID_NETWORK_OPTIONS,               RPC_S_INVALID_NETWORK_OPTIONS },
 672         { RPC_NT_INVALID_NET_ADDR,                      RPC_S_INVALID_NET_ADDR },
 673         { RPC_NT_INVALID_OBJECT,                        RPC_S_INVALID_OBJECT },
 674         { RPC_NT_INVALID_PIPE_OBJECT,                   RPC_X_INVALID_PIPE_OBJECT },
 675         { RPC_NT_INVALID_PIPE_OPERATION,                RPC_X_WRONG_PIPE_ORDER },
 676         { RPC_NT_INVALID_RPC_PROTSEQ,                   RPC_S_INVALID_RPC_PROTSEQ },
 677         { RPC_NT_INVALID_STRING_BINDING,                RPC_S_INVALID_STRING_BINDING },
 678         { RPC_NT_INVALID_STRING_UUID,                   RPC_S_INVALID_STRING_UUID },
 679         { RPC_NT_INVALID_TAG,                           RPC_S_INVALID_TAG },
 680         { RPC_NT_INVALID_TIMEOUT,                       RPC_S_INVALID_TIMEOUT },
 681         { RPC_NT_INVALID_VERS_OPTION,                   RPC_S_INVALID_VERS_OPTION },
 682         { RPC_NT_MAX_CALLS_TOO_SMALL,                   RPC_S_MAX_CALLS_TOO_SMALL },
 683         { RPC_NT_NAME_SERVICE_UNAVAILABLE,              RPC_S_NAME_SERVICE_UNAVAILABLE },
 684         { RPC_NT_NOTHING_TO_EXPORT,                     RPC_S_NOTHING_TO_EXPORT },
 685         { RPC_NT_NOT_ALL_OBJS_UNEXPORTED,               RPC_S_NOT_ALL_OBJS_UNEXPORTED },
 686         { RPC_NT_NOT_CANCELLED,                         RPC_S_NOT_CANCELLED },
 687         { RPC_NT_NOT_LISTENING,                         RPC_S_NOT_LISTENING },
 688         { RPC_NT_NOT_RPC_ERROR,                         RPC_S_NOT_RPC_ERROR },
 689         { RPC_NT_NO_BINDINGS,                           RPC_S_NO_BINDINGS },
 690         { RPC_NT_NO_CALL_ACTIVE,                        RPC_S_NO_CALL_ACTIVE },
 691         { RPC_NT_NO_CONTEXT_AVAILABLE,                  RPC_S_NO_CONTEXT_AVAILABLE },
 692         { RPC_NT_NO_ENDPOINT_FOUND,                     RPC_S_NO_ENDPOINT_FOUND },
 693         { RPC_NT_NO_ENTRY_NAME,                         RPC_S_NO_ENTRY_NAME },
 694         { RPC_NT_NO_INTERFACES,                         RPC_S_NO_INTERFACES },
 695         { RPC_NT_NO_MORE_BINDINGS,                      RPC_S_NO_MORE_BINDINGS },
 696         { RPC_NT_NO_MORE_ENTRIES,                       RPC_X_NO_MORE_ENTRIES },
 697         { RPC_NT_NO_MORE_MEMBERS,                       RPC_S_NO_MORE_MEMBERS },
 698         { RPC_NT_NO_PRINC_NAME,                         RPC_S_NO_PRINC_NAME },
 699         { RPC_NT_NO_PROTSEQS,                           RPC_S_NO_PROTSEQS },
 700         { RPC_NT_NO_PROTSEQS_REGISTERED,                RPC_S_NO_PROTSEQS_REGISTERED },
 701         { RPC_NT_NULL_REF_POINTER,                      RPC_X_NULL_REF_POINTER },
 702         { RPC_NT_OBJECT_NOT_FOUND,                      RPC_S_OBJECT_NOT_FOUND },
 703         { RPC_NT_OUT_OF_RESOURCES,                      RPC_S_OUT_OF_RESOURCES },
 704         { RPC_NT_PIPE_CLOSED,                           RPC_X_PIPE_CLOSED },
 705         { RPC_NT_PIPE_DISCIPLINE_ERROR,                 RPC_X_PIPE_DISCIPLINE_ERROR },
 706         { RPC_NT_PIPE_EMPTY,                            RPC_X_PIPE_EMPTY },
 707         { RPC_NT_PROCNUM_OUT_OF_RANGE,                  RPC_S_PROCNUM_OUT_OF_RANGE },
 708         { RPC_NT_PROTOCOL_ERROR,                        RPC_S_PROTOCOL_ERROR },
 709         { RPC_NT_PROTSEQ_NOT_FOUND,                     RPC_S_PROTSEQ_NOT_FOUND },
 710         { RPC_NT_PROTSEQ_NOT_SUPPORTED,                 RPC_S_PROTSEQ_NOT_SUPPORTED },
 711         { RPC_NT_SEC_PKG_ERROR,                         RPC_S_SEC_PKG_ERROR },
 712         { RPC_NT_SEND_INCOMPLETE,                       RPC_S_SEND_INCOMPLETE },
 713         { RPC_NT_SERVER_TOO_BUSY,                       RPC_S_SERVER_TOO_BUSY },
 714         { RPC_NT_SERVER_UNAVAILABLE,                    RPC_S_SERVER_UNAVAILABLE },
 715         { RPC_NT_SS_CANNOT_GET_CALL_HANDLE,             RPC_X_SS_CANNOT_GET_CALL_HANDLE },
 716         { RPC_NT_SS_CHAR_TRANS_OPEN_FAIL,               RPC_X_SS_CHAR_TRANS_OPEN_FAIL },
 717         { RPC_NT_SS_CHAR_TRANS_SHORT_FILE,              RPC_X_SS_CHAR_TRANS_SHORT_FILE },
 718         { RPC_NT_SS_CONTEXT_DAMAGED,                    RPC_X_SS_CONTEXT_DAMAGED },
 719         { RPC_NT_SS_CONTEXT_MISMATCH,                   ERROR_INVALID_HANDLE },
 720         { RPC_NT_SS_HANDLES_MISMATCH,                   RPC_X_SS_HANDLES_MISMATCH },
 721         { RPC_NT_SS_IN_NULL_CONTEXT,                    ERROR_INVALID_HANDLE },
 722         { RPC_NT_STRING_TOO_LONG,                       RPC_S_STRING_TOO_LONG },
 723         { RPC_NT_TYPE_ALREADY_REGISTERED,               RPC_S_TYPE_ALREADY_REGISTERED },
 724         { RPC_NT_UNKNOWN_AUTHN_LEVEL,                   RPC_S_UNKNOWN_AUTHN_LEVEL },
 725         { RPC_NT_UNKNOWN_AUTHN_SERVICE,                 RPC_S_UNKNOWN_AUTHN_SERVICE },
 726         { RPC_NT_UNKNOWN_AUTHN_TYPE,                    RPC_S_UNKNOWN_AUTHN_TYPE },
 727         { RPC_NT_UNKNOWN_AUTHZ_SERVICE,                 RPC_S_UNKNOWN_AUTHZ_SERVICE },
 728         { RPC_NT_UNKNOWN_IF,                            RPC_S_UNKNOWN_IF },
 729         { RPC_NT_UNKNOWN_MGR_TYPE,                      RPC_S_UNKNOWN_MGR_TYPE },
 730         { RPC_NT_UNSUPPORTED_AUTHN_LEVEL,               RPC_S_UNSUPPORTED_AUTHN_LEVEL },
 731         { RPC_NT_UNSUPPORTED_NAME_SYNTAX,               RPC_S_UNSUPPORTED_NAME_SYNTAX },
 732         { RPC_NT_UNSUPPORTED_TRANS_SYN,                 RPC_S_UNSUPPORTED_TRANS_SYN },
 733         { RPC_NT_UNSUPPORTED_TYPE,                      RPC_S_UNSUPPORTED_TYPE },
 734         { RPC_NT_UUID_LOCAL_ONLY,                       RPC_S_UUID_LOCAL_ONLY },
 735         { RPC_NT_UUID_NO_ADDRESS,                       RPC_S_UUID_NO_ADDRESS },
 736         { RPC_NT_WRONG_ES_VERSION,                      RPC_X_WRONG_ES_VERSION },
 737         { RPC_NT_WRONG_KIND_OF_BINDING,                 RPC_S_WRONG_KIND_OF_BINDING },
 738         { RPC_NT_WRONG_PIPE_VERSION,                    RPC_X_WRONG_PIPE_VERSION },
 739         { RPC_NT_WRONG_STUB_VERSION,                    RPC_X_WRONG_STUB_VERSION },
 740         { RPC_NT_ZERO_DIVIDE,                           RPC_S_ZERO_DIVIDE },
 741 
 742         /* END CSTYLED */
 743         { 0, 0 }
 744 };