linux/fs/cifs/smb2maperror.c
<<
>>
Prefs
   1/*
   2 *   fs/smb2/smb2maperror.c
   3 *
   4 *   Functions which do error mapping of SMB2 status codes to POSIX errors
   5 *
   6 *   Copyright (C) International Business Machines  Corp., 2009
   7 *   Author(s): Steve French (sfrench@us.ibm.com)
   8 *
   9 *   This library is free software; you can redistribute it and/or modify
  10 *   it under the terms of the GNU Lesser General Public License as published
  11 *   by the Free Software Foundation; either version 2.1 of the License, or
  12 *   (at your option) any later version.
  13 *
  14 *   This library is distributed in the hope that it will be useful,
  15 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  16 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
  17 *   the GNU Lesser General Public License for more details.
  18 *
  19 *   You should have received a copy of the GNU Lesser General Public License
  20 *   along with this library; if not, write to the Free Software
  21 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  22 */
  23#include <linux/errno.h>
  24#include "cifsglob.h"
  25#include "cifs_debug.h"
  26#include "smb2pdu.h"
  27#include "smb2proto.h"
  28#include "smb2status.h"
  29#include "smb2glob.h"
  30#include "trace.h"
  31
  32struct status_to_posix_error {
  33        __le32 smb2_status;
  34        int posix_error;
  35        char *status_string;
  36};
  37
  38static const struct status_to_posix_error smb2_error_map_table[] = {
  39        {STATUS_SUCCESS, 0, "STATUS_SUCCESS"},
  40        {STATUS_WAIT_0,  0, "STATUS_WAIT_0"},
  41        {STATUS_WAIT_1, -EIO, "STATUS_WAIT_1"},
  42        {STATUS_WAIT_2, -EIO, "STATUS_WAIT_2"},
  43        {STATUS_WAIT_3, -EIO, "STATUS_WAIT_3"},
  44        {STATUS_WAIT_63, -EIO, "STATUS_WAIT_63"},
  45        {STATUS_ABANDONED, -EIO, "STATUS_ABANDONED"},
  46        {STATUS_ABANDONED_WAIT_0, -EIO, "STATUS_ABANDONED_WAIT_0"},
  47        {STATUS_ABANDONED_WAIT_63, -EIO, "STATUS_ABANDONED_WAIT_63"},
  48        {STATUS_USER_APC, -EIO, "STATUS_USER_APC"},
  49        {STATUS_KERNEL_APC, -EIO, "STATUS_KERNEL_APC"},
  50        {STATUS_ALERTED, -EIO, "STATUS_ALERTED"},
  51        {STATUS_TIMEOUT, -ETIMEDOUT, "STATUS_TIMEOUT"},
  52        {STATUS_PENDING, -EIO, "STATUS_PENDING"},
  53        {STATUS_REPARSE, -EIO, "STATUS_REPARSE"},
  54        {STATUS_MORE_ENTRIES, -EIO, "STATUS_MORE_ENTRIES"},
  55        {STATUS_NOT_ALL_ASSIGNED, -EIO, "STATUS_NOT_ALL_ASSIGNED"},
  56        {STATUS_SOME_NOT_MAPPED, -EIO, "STATUS_SOME_NOT_MAPPED"},
  57        {STATUS_OPLOCK_BREAK_IN_PROGRESS, -EIO,
  58        "STATUS_OPLOCK_BREAK_IN_PROGRESS"},
  59        {STATUS_VOLUME_MOUNTED, -EIO, "STATUS_VOLUME_MOUNTED"},
  60        {STATUS_RXACT_COMMITTED, -EIO, "STATUS_RXACT_COMMITTED"},
  61        {STATUS_NOTIFY_CLEANUP, -EIO, "STATUS_NOTIFY_CLEANUP"},
  62        {STATUS_NOTIFY_ENUM_DIR, -EIO, "STATUS_NOTIFY_ENUM_DIR"},
  63        {STATUS_NO_QUOTAS_FOR_ACCOUNT, -EIO, "STATUS_NO_QUOTAS_FOR_ACCOUNT"},
  64        {STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED, -EIO,
  65        "STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED"},
  66        {STATUS_PAGE_FAULT_TRANSITION, -EIO, "STATUS_PAGE_FAULT_TRANSITION"},
  67        {STATUS_PAGE_FAULT_DEMAND_ZERO, -EIO, "STATUS_PAGE_FAULT_DEMAND_ZERO"},
  68        {STATUS_PAGE_FAULT_COPY_ON_WRITE, -EIO,
  69        "STATUS_PAGE_FAULT_COPY_ON_WRITE"},
  70        {STATUS_PAGE_FAULT_GUARD_PAGE, -EIO, "STATUS_PAGE_FAULT_GUARD_PAGE"},
  71        {STATUS_PAGE_FAULT_PAGING_FILE, -EIO, "STATUS_PAGE_FAULT_PAGING_FILE"},
  72        {STATUS_CACHE_PAGE_LOCKED, -EIO, "STATUS_CACHE_PAGE_LOCKED"},
  73        {STATUS_CRASH_DUMP, -EIO, "STATUS_CRASH_DUMP"},
  74        {STATUS_BUFFER_ALL_ZEROS, -EIO, "STATUS_BUFFER_ALL_ZEROS"},
  75        {STATUS_REPARSE_OBJECT, -EIO, "STATUS_REPARSE_OBJECT"},
  76        {STATUS_RESOURCE_REQUIREMENTS_CHANGED, -EIO,
  77        "STATUS_RESOURCE_REQUIREMENTS_CHANGED"},
  78        {STATUS_TRANSLATION_COMPLETE, -EIO, "STATUS_TRANSLATION_COMPLETE"},
  79        {STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY, -EIO,
  80        "STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY"},
  81        {STATUS_NOTHING_TO_TERMINATE, -EIO, "STATUS_NOTHING_TO_TERMINATE"},
  82        {STATUS_PROCESS_NOT_IN_JOB, -EIO, "STATUS_PROCESS_NOT_IN_JOB"},
  83        {STATUS_PROCESS_IN_JOB, -EIO, "STATUS_PROCESS_IN_JOB"},
  84        {STATUS_VOLSNAP_HIBERNATE_READY, -EIO,
  85        "STATUS_VOLSNAP_HIBERNATE_READY"},
  86        {STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY, -EIO,
  87        "STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY"},
  88        {STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED, -EIO,
  89        "STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED"},
  90        {STATUS_INTERRUPT_STILL_CONNECTED, -EIO,
  91        "STATUS_INTERRUPT_STILL_CONNECTED"},
  92        {STATUS_PROCESS_CLONED, -EIO, "STATUS_PROCESS_CLONED"},
  93        {STATUS_FILE_LOCKED_WITH_ONLY_READERS, -EIO,
  94        "STATUS_FILE_LOCKED_WITH_ONLY_READERS"},
  95        {STATUS_FILE_LOCKED_WITH_WRITERS, -EIO,
  96        "STATUS_FILE_LOCKED_WITH_WRITERS"},
  97        {STATUS_RESOURCEMANAGER_READ_ONLY, -EROFS,
  98        "STATUS_RESOURCEMANAGER_READ_ONLY"},
  99        {STATUS_WAIT_FOR_OPLOCK, -EIO, "STATUS_WAIT_FOR_OPLOCK"},
 100        {DBG_EXCEPTION_HANDLED, -EIO, "DBG_EXCEPTION_HANDLED"},
 101        {DBG_CONTINUE, -EIO, "DBG_CONTINUE"},
 102        {STATUS_FLT_IO_COMPLETE, -EIO, "STATUS_FLT_IO_COMPLETE"},
 103        {STATUS_OBJECT_NAME_EXISTS, -EIO, "STATUS_OBJECT_NAME_EXISTS"},
 104        {STATUS_THREAD_WAS_SUSPENDED, -EIO, "STATUS_THREAD_WAS_SUSPENDED"},
 105        {STATUS_WORKING_SET_LIMIT_RANGE, -EIO,
 106        "STATUS_WORKING_SET_LIMIT_RANGE"},
 107        {STATUS_IMAGE_NOT_AT_BASE, -EIO, "STATUS_IMAGE_NOT_AT_BASE"},
 108        {STATUS_RXACT_STATE_CREATED, -EIO, "STATUS_RXACT_STATE_CREATED"},
 109        {STATUS_SEGMENT_NOTIFICATION, -EIO, "STATUS_SEGMENT_NOTIFICATION"},
 110        {STATUS_LOCAL_USER_SESSION_KEY, -EIO, "STATUS_LOCAL_USER_SESSION_KEY"},
 111        {STATUS_BAD_CURRENT_DIRECTORY, -EIO, "STATUS_BAD_CURRENT_DIRECTORY"},
 112        {STATUS_SERIAL_MORE_WRITES, -EIO, "STATUS_SERIAL_MORE_WRITES"},
 113        {STATUS_REGISTRY_RECOVERED, -EIO, "STATUS_REGISTRY_RECOVERED"},
 114        {STATUS_FT_READ_RECOVERY_FROM_BACKUP, -EIO,
 115        "STATUS_FT_READ_RECOVERY_FROM_BACKUP"},
 116        {STATUS_FT_WRITE_RECOVERY, -EIO, "STATUS_FT_WRITE_RECOVERY"},
 117        {STATUS_SERIAL_COUNTER_TIMEOUT, -ETIMEDOUT,
 118        "STATUS_SERIAL_COUNTER_TIMEOUT"},
 119        {STATUS_NULL_LM_PASSWORD, -EIO, "STATUS_NULL_LM_PASSWORD"},
 120        {STATUS_IMAGE_MACHINE_TYPE_MISMATCH, -EIO,
 121        "STATUS_IMAGE_MACHINE_TYPE_MISMATCH"},
 122        {STATUS_RECEIVE_PARTIAL, -EIO, "STATUS_RECEIVE_PARTIAL"},
 123        {STATUS_RECEIVE_EXPEDITED, -EIO, "STATUS_RECEIVE_EXPEDITED"},
 124        {STATUS_RECEIVE_PARTIAL_EXPEDITED, -EIO,
 125        "STATUS_RECEIVE_PARTIAL_EXPEDITED"},
 126        {STATUS_EVENT_DONE, -EIO, "STATUS_EVENT_DONE"},
 127        {STATUS_EVENT_PENDING, -EIO, "STATUS_EVENT_PENDING"},
 128        {STATUS_CHECKING_FILE_SYSTEM, -EIO, "STATUS_CHECKING_FILE_SYSTEM"},
 129        {STATUS_FATAL_APP_EXIT, -EIO, "STATUS_FATAL_APP_EXIT"},
 130        {STATUS_PREDEFINED_HANDLE, -EIO, "STATUS_PREDEFINED_HANDLE"},
 131        {STATUS_WAS_UNLOCKED, -EIO, "STATUS_WAS_UNLOCKED"},
 132        {STATUS_SERVICE_NOTIFICATION, -EIO, "STATUS_SERVICE_NOTIFICATION"},
 133        {STATUS_WAS_LOCKED, -EIO, "STATUS_WAS_LOCKED"},
 134        {STATUS_LOG_HARD_ERROR, -EIO, "STATUS_LOG_HARD_ERROR"},
 135        {STATUS_ALREADY_WIN32, -EIO, "STATUS_ALREADY_WIN32"},
 136        {STATUS_WX86_UNSIMULATE, -EIO, "STATUS_WX86_UNSIMULATE"},
 137        {STATUS_WX86_CONTINUE, -EIO, "STATUS_WX86_CONTINUE"},
 138        {STATUS_WX86_SINGLE_STEP, -EIO, "STATUS_WX86_SINGLE_STEP"},
 139        {STATUS_WX86_BREAKPOINT, -EIO, "STATUS_WX86_BREAKPOINT"},
 140        {STATUS_WX86_EXCEPTION_CONTINUE, -EIO,
 141        "STATUS_WX86_EXCEPTION_CONTINUE"},
 142        {STATUS_WX86_EXCEPTION_LASTCHANCE, -EIO,
 143        "STATUS_WX86_EXCEPTION_LASTCHANCE"},
 144        {STATUS_WX86_EXCEPTION_CHAIN, -EIO, "STATUS_WX86_EXCEPTION_CHAIN"},
 145        {STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE, -EIO,
 146        "STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE"},
 147        {STATUS_NO_YIELD_PERFORMED, -EIO, "STATUS_NO_YIELD_PERFORMED"},
 148        {STATUS_TIMER_RESUME_IGNORED, -EIO, "STATUS_TIMER_RESUME_IGNORED"},
 149        {STATUS_ARBITRATION_UNHANDLED, -EIO, "STATUS_ARBITRATION_UNHANDLED"},
 150        {STATUS_CARDBUS_NOT_SUPPORTED, -ENOSYS, "STATUS_CARDBUS_NOT_SUPPORTED"},
 151        {STATUS_WX86_CREATEWX86TIB, -EIO, "STATUS_WX86_CREATEWX86TIB"},
 152        {STATUS_MP_PROCESSOR_MISMATCH, -EIO, "STATUS_MP_PROCESSOR_MISMATCH"},
 153        {STATUS_HIBERNATED, -EIO, "STATUS_HIBERNATED"},
 154        {STATUS_RESUME_HIBERNATION, -EIO, "STATUS_RESUME_HIBERNATION"},
 155        {STATUS_FIRMWARE_UPDATED, -EIO, "STATUS_FIRMWARE_UPDATED"},
 156        {STATUS_DRIVERS_LEAKING_LOCKED_PAGES, -EIO,
 157        "STATUS_DRIVERS_LEAKING_LOCKED_PAGES"},
 158        {STATUS_MESSAGE_RETRIEVED, -EIO, "STATUS_MESSAGE_RETRIEVED"},
 159        {STATUS_SYSTEM_POWERSTATE_TRANSITION, -EIO,
 160        "STATUS_SYSTEM_POWERSTATE_TRANSITION"},
 161        {STATUS_ALPC_CHECK_COMPLETION_LIST, -EIO,
 162        "STATUS_ALPC_CHECK_COMPLETION_LIST"},
 163        {STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION, -EIO,
 164        "STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION"},
 165        {STATUS_ACCESS_AUDIT_BY_POLICY, -EIO, "STATUS_ACCESS_AUDIT_BY_POLICY"},
 166        {STATUS_ABANDON_HIBERFILE, -EIO, "STATUS_ABANDON_HIBERFILE"},
 167        {STATUS_BIZRULES_NOT_ENABLED, -EIO, "STATUS_BIZRULES_NOT_ENABLED"},
 168        {STATUS_WAKE_SYSTEM, -EIO, "STATUS_WAKE_SYSTEM"},
 169        {STATUS_DS_SHUTTING_DOWN, -EIO, "STATUS_DS_SHUTTING_DOWN"},
 170        {DBG_REPLY_LATER, -EIO, "DBG_REPLY_LATER"},
 171        {DBG_UNABLE_TO_PROVIDE_HANDLE, -EIO, "DBG_UNABLE_TO_PROVIDE_HANDLE"},
 172        {DBG_TERMINATE_THREAD, -EIO, "DBG_TERMINATE_THREAD"},
 173        {DBG_TERMINATE_PROCESS, -EIO, "DBG_TERMINATE_PROCESS"},
 174        {DBG_CONTROL_C, -EIO, "DBG_CONTROL_C"},
 175        {DBG_PRINTEXCEPTION_C, -EIO, "DBG_PRINTEXCEPTION_C"},
 176        {DBG_RIPEXCEPTION, -EIO, "DBG_RIPEXCEPTION"},
 177        {DBG_CONTROL_BREAK, -EIO, "DBG_CONTROL_BREAK"},
 178        {DBG_COMMAND_EXCEPTION, -EIO, "DBG_COMMAND_EXCEPTION"},
 179        {RPC_NT_UUID_LOCAL_ONLY, -EIO, "RPC_NT_UUID_LOCAL_ONLY"},
 180        {RPC_NT_SEND_INCOMPLETE, -EIO, "RPC_NT_SEND_INCOMPLETE"},
 181        {STATUS_CTX_CDM_CONNECT, -EIO, "STATUS_CTX_CDM_CONNECT"},
 182        {STATUS_CTX_CDM_DISCONNECT, -EIO, "STATUS_CTX_CDM_DISCONNECT"},
 183        {STATUS_SXS_RELEASE_ACTIVATION_CONTEXT, -EIO,
 184        "STATUS_SXS_RELEASE_ACTIVATION_CONTEXT"},
 185        {STATUS_RECOVERY_NOT_NEEDED, -EIO, "STATUS_RECOVERY_NOT_NEEDED"},
 186        {STATUS_RM_ALREADY_STARTED, -EIO, "STATUS_RM_ALREADY_STARTED"},
 187        {STATUS_LOG_NO_RESTART, -EIO, "STATUS_LOG_NO_RESTART"},
 188        {STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST, -EIO,
 189        "STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST"},
 190        {STATUS_GRAPHICS_PARTIAL_DATA_POPULATED, -EIO,
 191        "STATUS_GRAPHICS_PARTIAL_DATA_POPULATED"},
 192        {STATUS_GRAPHICS_DRIVER_MISMATCH, -EIO,
 193        "STATUS_GRAPHICS_DRIVER_MISMATCH"},
 194        {STATUS_GRAPHICS_MODE_NOT_PINNED, -EIO,
 195        "STATUS_GRAPHICS_MODE_NOT_PINNED"},
 196        {STATUS_GRAPHICS_NO_PREFERRED_MODE, -EIO,
 197        "STATUS_GRAPHICS_NO_PREFERRED_MODE"},
 198        {STATUS_GRAPHICS_DATASET_IS_EMPTY, -EIO,
 199        "STATUS_GRAPHICS_DATASET_IS_EMPTY"},
 200        {STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET, -EIO,
 201        "STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET"},
 202        {STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED, -EIO,
 203        "STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED"},
 204        {STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS, -EIO,
 205        "STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS"},
 206        {STATUS_GRAPHICS_LEADLINK_START_DEFERRED, -EIO,
 207        "STATUS_GRAPHICS_LEADLINK_START_DEFERRED"},
 208        {STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY, -EIO,
 209        "STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY"},
 210        {STATUS_GRAPHICS_START_DEFERRED, -EIO,
 211        "STATUS_GRAPHICS_START_DEFERRED"},
 212        {STATUS_NDIS_INDICATION_REQUIRED, -EIO,
 213        "STATUS_NDIS_INDICATION_REQUIRED"},
 214        {STATUS_GUARD_PAGE_VIOLATION, -EIO, "STATUS_GUARD_PAGE_VIOLATION"},
 215        {STATUS_DATATYPE_MISALIGNMENT, -EIO, "STATUS_DATATYPE_MISALIGNMENT"},
 216        {STATUS_BREAKPOINT, -EIO, "STATUS_BREAKPOINT"},
 217        {STATUS_SINGLE_STEP, -EIO, "STATUS_SINGLE_STEP"},
 218        {STATUS_BUFFER_OVERFLOW, -E2BIG, "STATUS_BUFFER_OVERFLOW"},
 219        {STATUS_NO_MORE_FILES, -ENODATA, "STATUS_NO_MORE_FILES"},
 220        {STATUS_WAKE_SYSTEM_DEBUGGER, -EIO, "STATUS_WAKE_SYSTEM_DEBUGGER"},
 221        {STATUS_HANDLES_CLOSED, -EIO, "STATUS_HANDLES_CLOSED"},
 222        {STATUS_NO_INHERITANCE, -EIO, "STATUS_NO_INHERITANCE"},
 223        {STATUS_GUID_SUBSTITUTION_MADE, -EIO, "STATUS_GUID_SUBSTITUTION_MADE"},
 224        {STATUS_PARTIAL_COPY, -EIO, "STATUS_PARTIAL_COPY"},
 225        {STATUS_DEVICE_PAPER_EMPTY, -EIO, "STATUS_DEVICE_PAPER_EMPTY"},
 226        {STATUS_DEVICE_POWERED_OFF, -EIO, "STATUS_DEVICE_POWERED_OFF"},
 227        {STATUS_DEVICE_OFF_LINE, -EIO, "STATUS_DEVICE_OFF_LINE"},
 228        {STATUS_DEVICE_BUSY, -EBUSY, "STATUS_DEVICE_BUSY"},
 229        {STATUS_NO_MORE_EAS, -EIO, "STATUS_NO_MORE_EAS"},
 230        {STATUS_INVALID_EA_NAME, -EINVAL, "STATUS_INVALID_EA_NAME"},
 231        {STATUS_EA_LIST_INCONSISTENT, -EIO, "STATUS_EA_LIST_INCONSISTENT"},
 232        {STATUS_INVALID_EA_FLAG, -EINVAL, "STATUS_INVALID_EA_FLAG"},
 233        {STATUS_VERIFY_REQUIRED, -EIO, "STATUS_VERIFY_REQUIRED"},
 234        {STATUS_EXTRANEOUS_INFORMATION, -EIO, "STATUS_EXTRANEOUS_INFORMATION"},
 235        {STATUS_RXACT_COMMIT_NECESSARY, -EIO, "STATUS_RXACT_COMMIT_NECESSARY"},
 236        {STATUS_NO_MORE_ENTRIES, -EIO, "STATUS_NO_MORE_ENTRIES"},
 237        {STATUS_FILEMARK_DETECTED, -EIO, "STATUS_FILEMARK_DETECTED"},
 238        {STATUS_MEDIA_CHANGED, -EIO, "STATUS_MEDIA_CHANGED"},
 239        {STATUS_BUS_RESET, -EIO, "STATUS_BUS_RESET"},
 240        {STATUS_END_OF_MEDIA, -EIO, "STATUS_END_OF_MEDIA"},
 241        {STATUS_BEGINNING_OF_MEDIA, -EIO, "STATUS_BEGINNING_OF_MEDIA"},
 242        {STATUS_MEDIA_CHECK, -EIO, "STATUS_MEDIA_CHECK"},
 243        {STATUS_SETMARK_DETECTED, -EIO, "STATUS_SETMARK_DETECTED"},
 244        {STATUS_NO_DATA_DETECTED, -EIO, "STATUS_NO_DATA_DETECTED"},
 245        {STATUS_REDIRECTOR_HAS_OPEN_HANDLES, -EIO,
 246        "STATUS_REDIRECTOR_HAS_OPEN_HANDLES"},
 247        {STATUS_SERVER_HAS_OPEN_HANDLES, -EIO,
 248        "STATUS_SERVER_HAS_OPEN_HANDLES"},
 249        {STATUS_ALREADY_DISCONNECTED, -EIO, "STATUS_ALREADY_DISCONNECTED"},
 250        {STATUS_LONGJUMP, -EIO, "STATUS_LONGJUMP"},
 251        {STATUS_CLEANER_CARTRIDGE_INSTALLED, -EIO,
 252        "STATUS_CLEANER_CARTRIDGE_INSTALLED"},
 253        {STATUS_PLUGPLAY_QUERY_VETOED, -EIO, "STATUS_PLUGPLAY_QUERY_VETOED"},
 254        {STATUS_UNWIND_CONSOLIDATE, -EIO, "STATUS_UNWIND_CONSOLIDATE"},
 255        {STATUS_REGISTRY_HIVE_RECOVERED, -EIO,
 256        "STATUS_REGISTRY_HIVE_RECOVERED"},
 257        {STATUS_DLL_MIGHT_BE_INSECURE, -EIO, "STATUS_DLL_MIGHT_BE_INSECURE"},
 258        {STATUS_DLL_MIGHT_BE_INCOMPATIBLE, -EIO,
 259        "STATUS_DLL_MIGHT_BE_INCOMPATIBLE"},
 260        {STATUS_STOPPED_ON_SYMLINK, -EOPNOTSUPP, "STATUS_STOPPED_ON_SYMLINK"},
 261        {STATUS_IO_REPARSE_TAG_NOT_HANDLED, -EOPNOTSUPP,
 262        "STATUS_REPARSE_NOT_HANDLED"},
 263        {STATUS_DEVICE_REQUIRES_CLEANING, -EIO,
 264        "STATUS_DEVICE_REQUIRES_CLEANING"},
 265        {STATUS_DEVICE_DOOR_OPEN, -EIO, "STATUS_DEVICE_DOOR_OPEN"},
 266        {STATUS_DATA_LOST_REPAIR, -EIO, "STATUS_DATA_LOST_REPAIR"},
 267        {DBG_EXCEPTION_NOT_HANDLED, -EIO, "DBG_EXCEPTION_NOT_HANDLED"},
 268        {STATUS_CLUSTER_NODE_ALREADY_UP, -EIO,
 269        "STATUS_CLUSTER_NODE_ALREADY_UP"},
 270        {STATUS_CLUSTER_NODE_ALREADY_DOWN, -EIO,
 271        "STATUS_CLUSTER_NODE_ALREADY_DOWN"},
 272        {STATUS_CLUSTER_NETWORK_ALREADY_ONLINE, -EIO,
 273        "STATUS_CLUSTER_NETWORK_ALREADY_ONLINE"},
 274        {STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE, -EIO,
 275        "STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE"},
 276        {STATUS_CLUSTER_NODE_ALREADY_MEMBER, -EIO,
 277        "STATUS_CLUSTER_NODE_ALREADY_MEMBER"},
 278        {STATUS_COULD_NOT_RESIZE_LOG, -EIO, "STATUS_COULD_NOT_RESIZE_LOG"},
 279        {STATUS_NO_TXF_METADATA, -EIO, "STATUS_NO_TXF_METADATA"},
 280        {STATUS_CANT_RECOVER_WITH_HANDLE_OPEN, -EIO,
 281        "STATUS_CANT_RECOVER_WITH_HANDLE_OPEN"},
 282        {STATUS_TXF_METADATA_ALREADY_PRESENT, -EIO,
 283        "STATUS_TXF_METADATA_ALREADY_PRESENT"},
 284        {STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET, -EIO,
 285        "STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET"},
 286        {STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED, -EIO,
 287        "STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED"},
 288        {STATUS_FLT_BUFFER_TOO_SMALL, -ENOBUFS, "STATUS_FLT_BUFFER_TOO_SMALL"},
 289        {STATUS_FVE_PARTIAL_METADATA, -EIO, "STATUS_FVE_PARTIAL_METADATA"},
 290        {STATUS_UNSUCCESSFUL, -EIO, "STATUS_UNSUCCESSFUL"},
 291        {STATUS_NOT_IMPLEMENTED, -ENOSYS, "STATUS_NOT_IMPLEMENTED"},
 292        {STATUS_INVALID_INFO_CLASS, -EIO, "STATUS_INVALID_INFO_CLASS"},
 293        {STATUS_INFO_LENGTH_MISMATCH, -EIO, "STATUS_INFO_LENGTH_MISMATCH"},
 294        {STATUS_ACCESS_VIOLATION, -EACCES, "STATUS_ACCESS_VIOLATION"},
 295        {STATUS_IN_PAGE_ERROR, -EFAULT, "STATUS_IN_PAGE_ERROR"},
 296        {STATUS_PAGEFILE_QUOTA, -EDQUOT, "STATUS_PAGEFILE_QUOTA"},
 297        {STATUS_INVALID_HANDLE, -EBADF, "STATUS_INVALID_HANDLE"},
 298        {STATUS_BAD_INITIAL_STACK, -EIO, "STATUS_BAD_INITIAL_STACK"},
 299        {STATUS_BAD_INITIAL_PC, -EIO, "STATUS_BAD_INITIAL_PC"},
 300        {STATUS_INVALID_CID, -EIO, "STATUS_INVALID_CID"},
 301        {STATUS_TIMER_NOT_CANCELED, -EIO, "STATUS_TIMER_NOT_CANCELED"},
 302        {STATUS_INVALID_PARAMETER, -EINVAL, "STATUS_INVALID_PARAMETER"},
 303        {STATUS_NO_SUCH_DEVICE, -ENODEV, "STATUS_NO_SUCH_DEVICE"},
 304        {STATUS_NO_SUCH_FILE, -ENOENT, "STATUS_NO_SUCH_FILE"},
 305        {STATUS_INVALID_DEVICE_REQUEST, -EOPNOTSUPP, "STATUS_INVALID_DEVICE_REQUEST"},
 306        {STATUS_END_OF_FILE, -ENODATA, "STATUS_END_OF_FILE"},
 307        {STATUS_WRONG_VOLUME, -EIO, "STATUS_WRONG_VOLUME"},
 308        {STATUS_NO_MEDIA_IN_DEVICE, -EIO, "STATUS_NO_MEDIA_IN_DEVICE"},
 309        {STATUS_UNRECOGNIZED_MEDIA, -EIO, "STATUS_UNRECOGNIZED_MEDIA"},
 310        {STATUS_NONEXISTENT_SECTOR, -EIO, "STATUS_NONEXISTENT_SECTOR"},
 311        {STATUS_MORE_PROCESSING_REQUIRED, -EIO,
 312        "STATUS_MORE_PROCESSING_REQUIRED"},
 313        {STATUS_NO_MEMORY, -EREMOTEIO, "STATUS_NO_MEMORY"},
 314        {STATUS_CONFLICTING_ADDRESSES, -EADDRINUSE,
 315        "STATUS_CONFLICTING_ADDRESSES"},
 316        {STATUS_NOT_MAPPED_VIEW, -EIO, "STATUS_NOT_MAPPED_VIEW"},
 317        {STATUS_UNABLE_TO_FREE_VM, -EIO, "STATUS_UNABLE_TO_FREE_VM"},
 318        {STATUS_UNABLE_TO_DELETE_SECTION, -EIO,
 319        "STATUS_UNABLE_TO_DELETE_SECTION"},
 320        {STATUS_INVALID_SYSTEM_SERVICE, -EIO, "STATUS_INVALID_SYSTEM_SERVICE"},
 321        {STATUS_ILLEGAL_INSTRUCTION, -EIO, "STATUS_ILLEGAL_INSTRUCTION"},
 322        {STATUS_INVALID_LOCK_SEQUENCE, -EIO, "STATUS_INVALID_LOCK_SEQUENCE"},
 323        {STATUS_INVALID_VIEW_SIZE, -EIO, "STATUS_INVALID_VIEW_SIZE"},
 324        {STATUS_INVALID_FILE_FOR_SECTION, -EIO,
 325        "STATUS_INVALID_FILE_FOR_SECTION"},
 326        {STATUS_ALREADY_COMMITTED, -EIO, "STATUS_ALREADY_COMMITTED"},
 327        {STATUS_ACCESS_DENIED, -EACCES, "STATUS_ACCESS_DENIED"},
 328        {STATUS_BUFFER_TOO_SMALL, -EIO, "STATUS_BUFFER_TOO_SMALL"},
 329        {STATUS_OBJECT_TYPE_MISMATCH, -EIO, "STATUS_OBJECT_TYPE_MISMATCH"},
 330        {STATUS_NONCONTINUABLE_EXCEPTION, -EIO,
 331        "STATUS_NONCONTINUABLE_EXCEPTION"},
 332        {STATUS_INVALID_DISPOSITION, -EIO, "STATUS_INVALID_DISPOSITION"},
 333        {STATUS_UNWIND, -EIO, "STATUS_UNWIND"},
 334        {STATUS_BAD_STACK, -EIO, "STATUS_BAD_STACK"},
 335        {STATUS_INVALID_UNWIND_TARGET, -EIO, "STATUS_INVALID_UNWIND_TARGET"},
 336        {STATUS_NOT_LOCKED, -EIO, "STATUS_NOT_LOCKED"},
 337        {STATUS_PARITY_ERROR, -EIO, "STATUS_PARITY_ERROR"},
 338        {STATUS_UNABLE_TO_DECOMMIT_VM, -EIO, "STATUS_UNABLE_TO_DECOMMIT_VM"},
 339        {STATUS_NOT_COMMITTED, -EIO, "STATUS_NOT_COMMITTED"},
 340        {STATUS_INVALID_PORT_ATTRIBUTES, -EIO,
 341        "STATUS_INVALID_PORT_ATTRIBUTES"},
 342        {STATUS_PORT_MESSAGE_TOO_LONG, -EIO, "STATUS_PORT_MESSAGE_TOO_LONG"},
 343        {STATUS_INVALID_PARAMETER_MIX, -EINVAL, "STATUS_INVALID_PARAMETER_MIX"},
 344        {STATUS_INVALID_QUOTA_LOWER, -EIO, "STATUS_INVALID_QUOTA_LOWER"},
 345        {STATUS_DISK_CORRUPT_ERROR, -EIO, "STATUS_DISK_CORRUPT_ERROR"},
 346        {STATUS_OBJECT_NAME_INVALID, -ENOENT, "STATUS_OBJECT_NAME_INVALID"},
 347        {STATUS_OBJECT_NAME_NOT_FOUND, -ENOENT, "STATUS_OBJECT_NAME_NOT_FOUND"},
 348        {STATUS_OBJECT_NAME_COLLISION, -EEXIST, "STATUS_OBJECT_NAME_COLLISION"},
 349        {STATUS_PORT_DISCONNECTED, -EIO, "STATUS_PORT_DISCONNECTED"},
 350        {STATUS_DEVICE_ALREADY_ATTACHED, -EIO,
 351        "STATUS_DEVICE_ALREADY_ATTACHED"},
 352        {STATUS_OBJECT_PATH_INVALID, -ENOTDIR, "STATUS_OBJECT_PATH_INVALID"},
 353        {STATUS_OBJECT_PATH_NOT_FOUND, -ENOENT, "STATUS_OBJECT_PATH_NOT_FOUND"},
 354        {STATUS_OBJECT_PATH_SYNTAX_BAD, -EIO, "STATUS_OBJECT_PATH_SYNTAX_BAD"},
 355        {STATUS_DATA_OVERRUN, -EIO, "STATUS_DATA_OVERRUN"},
 356        {STATUS_DATA_LATE_ERROR, -EIO, "STATUS_DATA_LATE_ERROR"},
 357        {STATUS_DATA_ERROR, -EIO, "STATUS_DATA_ERROR"},
 358        {STATUS_CRC_ERROR, -EIO, "STATUS_CRC_ERROR"},
 359        {STATUS_SECTION_TOO_BIG, -EIO, "STATUS_SECTION_TOO_BIG"},
 360        {STATUS_PORT_CONNECTION_REFUSED, -ECONNREFUSED,
 361        "STATUS_PORT_CONNECTION_REFUSED"},
 362        {STATUS_INVALID_PORT_HANDLE, -EIO, "STATUS_INVALID_PORT_HANDLE"},
 363        {STATUS_SHARING_VIOLATION, -EBUSY, "STATUS_SHARING_VIOLATION"},
 364        {STATUS_QUOTA_EXCEEDED, -EDQUOT, "STATUS_QUOTA_EXCEEDED"},
 365        {STATUS_INVALID_PAGE_PROTECTION, -EIO,
 366        "STATUS_INVALID_PAGE_PROTECTION"},
 367        {STATUS_MUTANT_NOT_OWNED, -EIO, "STATUS_MUTANT_NOT_OWNED"},
 368        {STATUS_SEMAPHORE_LIMIT_EXCEEDED, -EIO,
 369        "STATUS_SEMAPHORE_LIMIT_EXCEEDED"},
 370        {STATUS_PORT_ALREADY_SET, -EIO, "STATUS_PORT_ALREADY_SET"},
 371        {STATUS_SECTION_NOT_IMAGE, -EIO, "STATUS_SECTION_NOT_IMAGE"},
 372        {STATUS_SUSPEND_COUNT_EXCEEDED, -EIO, "STATUS_SUSPEND_COUNT_EXCEEDED"},
 373        {STATUS_THREAD_IS_TERMINATING, -EIO, "STATUS_THREAD_IS_TERMINATING"},
 374        {STATUS_BAD_WORKING_SET_LIMIT, -EIO, "STATUS_BAD_WORKING_SET_LIMIT"},
 375        {STATUS_INCOMPATIBLE_FILE_MAP, -EIO, "STATUS_INCOMPATIBLE_FILE_MAP"},
 376        {STATUS_SECTION_PROTECTION, -EIO, "STATUS_SECTION_PROTECTION"},
 377        {STATUS_EAS_NOT_SUPPORTED, -EOPNOTSUPP, "STATUS_EAS_NOT_SUPPORTED"},
 378        {STATUS_EA_TOO_LARGE, -EIO, "STATUS_EA_TOO_LARGE"},
 379        {STATUS_NONEXISTENT_EA_ENTRY, -EIO, "STATUS_NONEXISTENT_EA_ENTRY"},
 380        {STATUS_NO_EAS_ON_FILE, -ENODATA, "STATUS_NO_EAS_ON_FILE"},
 381        {STATUS_EA_CORRUPT_ERROR, -EIO, "STATUS_EA_CORRUPT_ERROR"},
 382        {STATUS_FILE_LOCK_CONFLICT, -EIO, "STATUS_FILE_LOCK_CONFLICT"},
 383        {STATUS_LOCK_NOT_GRANTED, -EIO, "STATUS_LOCK_NOT_GRANTED"},
 384        {STATUS_DELETE_PENDING, -ENOENT, "STATUS_DELETE_PENDING"},
 385        {STATUS_CTL_FILE_NOT_SUPPORTED, -ENOSYS,
 386        "STATUS_CTL_FILE_NOT_SUPPORTED"},
 387        {STATUS_UNKNOWN_REVISION, -EIO, "STATUS_UNKNOWN_REVISION"},
 388        {STATUS_REVISION_MISMATCH, -EIO, "STATUS_REVISION_MISMATCH"},
 389        {STATUS_INVALID_OWNER, -EIO, "STATUS_INVALID_OWNER"},
 390        {STATUS_INVALID_PRIMARY_GROUP, -EIO, "STATUS_INVALID_PRIMARY_GROUP"},
 391        {STATUS_NO_IMPERSONATION_TOKEN, -EIO, "STATUS_NO_IMPERSONATION_TOKEN"},
 392        {STATUS_CANT_DISABLE_MANDATORY, -EIO, "STATUS_CANT_DISABLE_MANDATORY"},
 393        {STATUS_NO_LOGON_SERVERS, -EIO, "STATUS_NO_LOGON_SERVERS"},
 394        {STATUS_NO_SUCH_LOGON_SESSION, -EIO, "STATUS_NO_SUCH_LOGON_SESSION"},
 395        {STATUS_NO_SUCH_PRIVILEGE, -EIO, "STATUS_NO_SUCH_PRIVILEGE"},
 396        {STATUS_PRIVILEGE_NOT_HELD, -EIO, "STATUS_PRIVILEGE_NOT_HELD"},
 397        {STATUS_INVALID_ACCOUNT_NAME, -EIO, "STATUS_INVALID_ACCOUNT_NAME"},
 398        {STATUS_USER_EXISTS, -EIO, "STATUS_USER_EXISTS"},
 399        {STATUS_NO_SUCH_USER, -EIO, "STATUS_NO_SUCH_USER"},
 400        {STATUS_GROUP_EXISTS, -EIO, "STATUS_GROUP_EXISTS"},
 401        {STATUS_NO_SUCH_GROUP, -EIO, "STATUS_NO_SUCH_GROUP"},
 402        {STATUS_MEMBER_IN_GROUP, -EIO, "STATUS_MEMBER_IN_GROUP"},
 403        {STATUS_MEMBER_NOT_IN_GROUP, -EIO, "STATUS_MEMBER_NOT_IN_GROUP"},
 404        {STATUS_LAST_ADMIN, -EIO, "STATUS_LAST_ADMIN"},
 405        {STATUS_WRONG_PASSWORD, -EACCES, "STATUS_WRONG_PASSWORD"},
 406        {STATUS_ILL_FORMED_PASSWORD, -EINVAL, "STATUS_ILL_FORMED_PASSWORD"},
 407        {STATUS_PASSWORD_RESTRICTION, -EACCES, "STATUS_PASSWORD_RESTRICTION"},
 408        {STATUS_LOGON_FAILURE, -EACCES, "STATUS_LOGON_FAILURE"},
 409        {STATUS_ACCOUNT_RESTRICTION, -EACCES, "STATUS_ACCOUNT_RESTRICTION"},
 410        {STATUS_INVALID_LOGON_HOURS, -EACCES, "STATUS_INVALID_LOGON_HOURS"},
 411        {STATUS_INVALID_WORKSTATION, -EACCES, "STATUS_INVALID_WORKSTATION"},
 412        {STATUS_PASSWORD_EXPIRED, -EKEYEXPIRED, "STATUS_PASSWORD_EXPIRED"},
 413        {STATUS_ACCOUNT_DISABLED, -EKEYREVOKED, "STATUS_ACCOUNT_DISABLED"},
 414        {STATUS_NONE_MAPPED, -EIO, "STATUS_NONE_MAPPED"},
 415        {STATUS_TOO_MANY_LUIDS_REQUESTED, -EIO,
 416        "STATUS_TOO_MANY_LUIDS_REQUESTED"},
 417        {STATUS_LUIDS_EXHAUSTED, -EIO, "STATUS_LUIDS_EXHAUSTED"},
 418        {STATUS_INVALID_SUB_AUTHORITY, -EIO, "STATUS_INVALID_SUB_AUTHORITY"},
 419        {STATUS_INVALID_ACL, -EIO, "STATUS_INVALID_ACL"},
 420        {STATUS_INVALID_SID, -EIO, "STATUS_INVALID_SID"},
 421        {STATUS_INVALID_SECURITY_DESCR, -EIO, "STATUS_INVALID_SECURITY_DESCR"},
 422        {STATUS_PROCEDURE_NOT_FOUND, -EIO, "STATUS_PROCEDURE_NOT_FOUND"},
 423        {STATUS_INVALID_IMAGE_FORMAT, -EIO, "STATUS_INVALID_IMAGE_FORMAT"},
 424        {STATUS_NO_TOKEN, -EIO, "STATUS_NO_TOKEN"},
 425        {STATUS_BAD_INHERITANCE_ACL, -EIO, "STATUS_BAD_INHERITANCE_ACL"},
 426        {STATUS_RANGE_NOT_LOCKED, -EIO, "STATUS_RANGE_NOT_LOCKED"},
 427        {STATUS_DISK_FULL, -ENOSPC, "STATUS_DISK_FULL"},
 428        {STATUS_SERVER_DISABLED, -EIO, "STATUS_SERVER_DISABLED"},
 429        {STATUS_SERVER_NOT_DISABLED, -EIO, "STATUS_SERVER_NOT_DISABLED"},
 430        {STATUS_TOO_MANY_GUIDS_REQUESTED, -EIO,
 431        "STATUS_TOO_MANY_GUIDS_REQUESTED"},
 432        {STATUS_GUIDS_EXHAUSTED, -EIO, "STATUS_GUIDS_EXHAUSTED"},
 433        {STATUS_INVALID_ID_AUTHORITY, -EIO, "STATUS_INVALID_ID_AUTHORITY"},
 434        {STATUS_AGENTS_EXHAUSTED, -EIO, "STATUS_AGENTS_EXHAUSTED"},
 435        {STATUS_INVALID_VOLUME_LABEL, -EIO, "STATUS_INVALID_VOLUME_LABEL"},
 436        {STATUS_SECTION_NOT_EXTENDED, -EIO, "STATUS_SECTION_NOT_EXTENDED"},
 437        {STATUS_NOT_MAPPED_DATA, -EIO, "STATUS_NOT_MAPPED_DATA"},
 438        {STATUS_RESOURCE_DATA_NOT_FOUND, -EIO,
 439        "STATUS_RESOURCE_DATA_NOT_FOUND"},
 440        {STATUS_RESOURCE_TYPE_NOT_FOUND, -EIO,
 441        "STATUS_RESOURCE_TYPE_NOT_FOUND"},
 442        {STATUS_RESOURCE_NAME_NOT_FOUND, -EIO,
 443        "STATUS_RESOURCE_NAME_NOT_FOUND"},
 444        {STATUS_ARRAY_BOUNDS_EXCEEDED, -EIO, "STATUS_ARRAY_BOUNDS_EXCEEDED"},
 445        {STATUS_FLOAT_DENORMAL_OPERAND, -EIO, "STATUS_FLOAT_DENORMAL_OPERAND"},
 446        {STATUS_FLOAT_DIVIDE_BY_ZERO, -EIO, "STATUS_FLOAT_DIVIDE_BY_ZERO"},
 447        {STATUS_FLOAT_INEXACT_RESULT, -EIO, "STATUS_FLOAT_INEXACT_RESULT"},
 448        {STATUS_FLOAT_INVALID_OPERATION, -EIO,
 449        "STATUS_FLOAT_INVALID_OPERATION"},
 450        {STATUS_FLOAT_OVERFLOW, -EIO, "STATUS_FLOAT_OVERFLOW"},
 451        {STATUS_FLOAT_STACK_CHECK, -EIO, "STATUS_FLOAT_STACK_CHECK"},
 452        {STATUS_FLOAT_UNDERFLOW, -EIO, "STATUS_FLOAT_UNDERFLOW"},
 453        {STATUS_INTEGER_DIVIDE_BY_ZERO, -EIO, "STATUS_INTEGER_DIVIDE_BY_ZERO"},
 454        {STATUS_INTEGER_OVERFLOW, -EIO, "STATUS_INTEGER_OVERFLOW"},
 455        {STATUS_PRIVILEGED_INSTRUCTION, -EIO, "STATUS_PRIVILEGED_INSTRUCTION"},
 456        {STATUS_TOO_MANY_PAGING_FILES, -EIO, "STATUS_TOO_MANY_PAGING_FILES"},
 457        {STATUS_FILE_INVALID, -EIO, "STATUS_FILE_INVALID"},
 458        {STATUS_ALLOTTED_SPACE_EXCEEDED, -EIO,
 459        "STATUS_ALLOTTED_SPACE_EXCEEDED"},
 460        {STATUS_INSUFFICIENT_RESOURCES, -EREMOTEIO,
 461                                "STATUS_INSUFFICIENT_RESOURCES"},
 462        {STATUS_DFS_EXIT_PATH_FOUND, -EIO, "STATUS_DFS_EXIT_PATH_FOUND"},
 463        {STATUS_DEVICE_DATA_ERROR, -EIO, "STATUS_DEVICE_DATA_ERROR"},
 464        {STATUS_DEVICE_NOT_CONNECTED, -EIO, "STATUS_DEVICE_NOT_CONNECTED"},
 465        {STATUS_DEVICE_POWER_FAILURE, -EIO, "STATUS_DEVICE_POWER_FAILURE"},
 466        {STATUS_FREE_VM_NOT_AT_BASE, -EIO, "STATUS_FREE_VM_NOT_AT_BASE"},
 467        {STATUS_MEMORY_NOT_ALLOCATED, -EFAULT, "STATUS_MEMORY_NOT_ALLOCATED"},
 468        {STATUS_WORKING_SET_QUOTA, -EIO, "STATUS_WORKING_SET_QUOTA"},
 469        {STATUS_MEDIA_WRITE_PROTECTED, -EROFS, "STATUS_MEDIA_WRITE_PROTECTED"},
 470        {STATUS_DEVICE_NOT_READY, -EIO, "STATUS_DEVICE_NOT_READY"},
 471        {STATUS_INVALID_GROUP_ATTRIBUTES, -EIO,
 472        "STATUS_INVALID_GROUP_ATTRIBUTES"},
 473        {STATUS_BAD_IMPERSONATION_LEVEL, -EIO,
 474        "STATUS_BAD_IMPERSONATION_LEVEL"},
 475        {STATUS_CANT_OPEN_ANONYMOUS, -EIO, "STATUS_CANT_OPEN_ANONYMOUS"},
 476        {STATUS_BAD_VALIDATION_CLASS, -EIO, "STATUS_BAD_VALIDATION_CLASS"},
 477        {STATUS_BAD_TOKEN_TYPE, -EIO, "STATUS_BAD_TOKEN_TYPE"},
 478        {STATUS_BAD_MASTER_BOOT_RECORD, -EIO, "STATUS_BAD_MASTER_BOOT_RECORD"},
 479        {STATUS_INSTRUCTION_MISALIGNMENT, -EIO,
 480        "STATUS_INSTRUCTION_MISALIGNMENT"},
 481        {STATUS_INSTANCE_NOT_AVAILABLE, -EIO, "STATUS_INSTANCE_NOT_AVAILABLE"},
 482        {STATUS_PIPE_NOT_AVAILABLE, -EIO, "STATUS_PIPE_NOT_AVAILABLE"},
 483        {STATUS_INVALID_PIPE_STATE, -EIO, "STATUS_INVALID_PIPE_STATE"},
 484        {STATUS_PIPE_BUSY, -EBUSY, "STATUS_PIPE_BUSY"},
 485        {STATUS_ILLEGAL_FUNCTION, -EIO, "STATUS_ILLEGAL_FUNCTION"},
 486        {STATUS_PIPE_DISCONNECTED, -EPIPE, "STATUS_PIPE_DISCONNECTED"},
 487        {STATUS_PIPE_CLOSING, -EIO, "STATUS_PIPE_CLOSING"},
 488        {STATUS_PIPE_CONNECTED, -EIO, "STATUS_PIPE_CONNECTED"},
 489        {STATUS_PIPE_LISTENING, -EIO, "STATUS_PIPE_LISTENING"},
 490        {STATUS_INVALID_READ_MODE, -EIO, "STATUS_INVALID_READ_MODE"},
 491        {STATUS_IO_TIMEOUT, -ETIMEDOUT, "STATUS_IO_TIMEOUT"},
 492        {STATUS_FILE_FORCED_CLOSED, -EIO, "STATUS_FILE_FORCED_CLOSED"},
 493        {STATUS_PROFILING_NOT_STARTED, -EIO, "STATUS_PROFILING_NOT_STARTED"},
 494        {STATUS_PROFILING_NOT_STOPPED, -EIO, "STATUS_PROFILING_NOT_STOPPED"},
 495        {STATUS_COULD_NOT_INTERPRET, -EIO, "STATUS_COULD_NOT_INTERPRET"},
 496        {STATUS_FILE_IS_A_DIRECTORY, -EISDIR, "STATUS_FILE_IS_A_DIRECTORY"},
 497        {STATUS_NOT_SUPPORTED, -EOPNOTSUPP, "STATUS_NOT_SUPPORTED"},
 498        {STATUS_REMOTE_NOT_LISTENING, -EHOSTDOWN,
 499        "STATUS_REMOTE_NOT_LISTENING"},
 500        {STATUS_DUPLICATE_NAME, -ENOTUNIQ, "STATUS_DUPLICATE_NAME"},
 501        {STATUS_BAD_NETWORK_PATH, -EINVAL, "STATUS_BAD_NETWORK_PATH"},
 502        {STATUS_NETWORK_BUSY, -EBUSY, "STATUS_NETWORK_BUSY"},
 503        {STATUS_DEVICE_DOES_NOT_EXIST, -ENODEV, "STATUS_DEVICE_DOES_NOT_EXIST"},
 504        {STATUS_TOO_MANY_COMMANDS, -EIO, "STATUS_TOO_MANY_COMMANDS"},
 505        {STATUS_ADAPTER_HARDWARE_ERROR, -EIO, "STATUS_ADAPTER_HARDWARE_ERROR"},
 506        {STATUS_INVALID_NETWORK_RESPONSE, -EIO,
 507        "STATUS_INVALID_NETWORK_RESPONSE"},
 508        {STATUS_UNEXPECTED_NETWORK_ERROR, -EIO,
 509        "STATUS_UNEXPECTED_NETWORK_ERROR"},
 510        {STATUS_BAD_REMOTE_ADAPTER, -EIO, "STATUS_BAD_REMOTE_ADAPTER"},
 511        {STATUS_PRINT_QUEUE_FULL, -EIO, "STATUS_PRINT_QUEUE_FULL"},
 512        {STATUS_NO_SPOOL_SPACE, -EIO, "STATUS_NO_SPOOL_SPACE"},
 513        {STATUS_PRINT_CANCELLED, -EIO, "STATUS_PRINT_CANCELLED"},
 514        {STATUS_NETWORK_NAME_DELETED, -EIO, "STATUS_NETWORK_NAME_DELETED"},
 515        {STATUS_NETWORK_ACCESS_DENIED, -EACCES, "STATUS_NETWORK_ACCESS_DENIED"},
 516        {STATUS_BAD_DEVICE_TYPE, -EIO, "STATUS_BAD_DEVICE_TYPE"},
 517        {STATUS_BAD_NETWORK_NAME, -ENOENT, "STATUS_BAD_NETWORK_NAME"},
 518        {STATUS_TOO_MANY_NAMES, -EIO, "STATUS_TOO_MANY_NAMES"},
 519        {STATUS_TOO_MANY_SESSIONS, -EIO, "STATUS_TOO_MANY_SESSIONS"},
 520        {STATUS_SHARING_PAUSED, -EIO, "STATUS_SHARING_PAUSED"},
 521        {STATUS_REQUEST_NOT_ACCEPTED, -EIO, "STATUS_REQUEST_NOT_ACCEPTED"},
 522        {STATUS_REDIRECTOR_PAUSED, -EIO, "STATUS_REDIRECTOR_PAUSED"},
 523        {STATUS_NET_WRITE_FAULT, -EIO, "STATUS_NET_WRITE_FAULT"},
 524        {STATUS_PROFILING_AT_LIMIT, -EIO, "STATUS_PROFILING_AT_LIMIT"},
 525        {STATUS_NOT_SAME_DEVICE, -EXDEV, "STATUS_NOT_SAME_DEVICE"},
 526        {STATUS_FILE_RENAMED, -EIO, "STATUS_FILE_RENAMED"},
 527        {STATUS_VIRTUAL_CIRCUIT_CLOSED, -EIO, "STATUS_VIRTUAL_CIRCUIT_CLOSED"},
 528        {STATUS_NO_SECURITY_ON_OBJECT, -EIO, "STATUS_NO_SECURITY_ON_OBJECT"},
 529        {STATUS_CANT_WAIT, -EIO, "STATUS_CANT_WAIT"},
 530        {STATUS_PIPE_EMPTY, -EIO, "STATUS_PIPE_EMPTY"},
 531        {STATUS_CANT_ACCESS_DOMAIN_INFO, -EIO,
 532        "STATUS_CANT_ACCESS_DOMAIN_INFO"},
 533        {STATUS_CANT_TERMINATE_SELF, -EIO, "STATUS_CANT_TERMINATE_SELF"},
 534        {STATUS_INVALID_SERVER_STATE, -EIO, "STATUS_INVALID_SERVER_STATE"},
 535        {STATUS_INVALID_DOMAIN_STATE, -EIO, "STATUS_INVALID_DOMAIN_STATE"},
 536        {STATUS_INVALID_DOMAIN_ROLE, -EIO, "STATUS_INVALID_DOMAIN_ROLE"},
 537        {STATUS_NO_SUCH_DOMAIN, -EIO, "STATUS_NO_SUCH_DOMAIN"},
 538        {STATUS_DOMAIN_EXISTS, -EIO, "STATUS_DOMAIN_EXISTS"},
 539        {STATUS_DOMAIN_LIMIT_EXCEEDED, -EIO, "STATUS_DOMAIN_LIMIT_EXCEEDED"},
 540        {STATUS_OPLOCK_NOT_GRANTED, -EIO, "STATUS_OPLOCK_NOT_GRANTED"},
 541        {STATUS_INVALID_OPLOCK_PROTOCOL, -EIO,
 542        "STATUS_INVALID_OPLOCK_PROTOCOL"},
 543        {STATUS_INTERNAL_DB_CORRUPTION, -EIO, "STATUS_INTERNAL_DB_CORRUPTION"},
 544        {STATUS_INTERNAL_ERROR, -EIO, "STATUS_INTERNAL_ERROR"},
 545        {STATUS_GENERIC_NOT_MAPPED, -EIO, "STATUS_GENERIC_NOT_MAPPED"},
 546        {STATUS_BAD_DESCRIPTOR_FORMAT, -EIO, "STATUS_BAD_DESCRIPTOR_FORMAT"},
 547        {STATUS_INVALID_USER_BUFFER, -EIO, "STATUS_INVALID_USER_BUFFER"},
 548        {STATUS_UNEXPECTED_IO_ERROR, -EIO, "STATUS_UNEXPECTED_IO_ERROR"},
 549        {STATUS_UNEXPECTED_MM_CREATE_ERR, -EIO,
 550        "STATUS_UNEXPECTED_MM_CREATE_ERR"},
 551        {STATUS_UNEXPECTED_MM_MAP_ERROR, -EIO,
 552        "STATUS_UNEXPECTED_MM_MAP_ERROR"},
 553        {STATUS_UNEXPECTED_MM_EXTEND_ERR, -EIO,
 554        "STATUS_UNEXPECTED_MM_EXTEND_ERR"},
 555        {STATUS_NOT_LOGON_PROCESS, -EIO, "STATUS_NOT_LOGON_PROCESS"},
 556        {STATUS_LOGON_SESSION_EXISTS, -EIO, "STATUS_LOGON_SESSION_EXISTS"},
 557        {STATUS_INVALID_PARAMETER_1, -EINVAL, "STATUS_INVALID_PARAMETER_1"},
 558        {STATUS_INVALID_PARAMETER_2, -EINVAL, "STATUS_INVALID_PARAMETER_2"},
 559        {STATUS_INVALID_PARAMETER_3, -EINVAL, "STATUS_INVALID_PARAMETER_3"},
 560        {STATUS_INVALID_PARAMETER_4, -EINVAL, "STATUS_INVALID_PARAMETER_4"},
 561        {STATUS_INVALID_PARAMETER_5, -EINVAL, "STATUS_INVALID_PARAMETER_5"},
 562        {STATUS_INVALID_PARAMETER_6, -EINVAL, "STATUS_INVALID_PARAMETER_6"},
 563        {STATUS_INVALID_PARAMETER_7, -EINVAL, "STATUS_INVALID_PARAMETER_7"},
 564        {STATUS_INVALID_PARAMETER_8, -EINVAL, "STATUS_INVALID_PARAMETER_8"},
 565        {STATUS_INVALID_PARAMETER_9, -EINVAL, "STATUS_INVALID_PARAMETER_9"},
 566        {STATUS_INVALID_PARAMETER_10, -EINVAL, "STATUS_INVALID_PARAMETER_10"},
 567        {STATUS_INVALID_PARAMETER_11, -EINVAL, "STATUS_INVALID_PARAMETER_11"},
 568        {STATUS_INVALID_PARAMETER_12, -EINVAL, "STATUS_INVALID_PARAMETER_12"},
 569        {STATUS_REDIRECTOR_NOT_STARTED, -EIO, "STATUS_REDIRECTOR_NOT_STARTED"},
 570        {STATUS_REDIRECTOR_STARTED, -EIO, "STATUS_REDIRECTOR_STARTED"},
 571        {STATUS_STACK_OVERFLOW, -EIO, "STATUS_STACK_OVERFLOW"},
 572        {STATUS_NO_SUCH_PACKAGE, -EIO, "STATUS_NO_SUCH_PACKAGE"},
 573        {STATUS_BAD_FUNCTION_TABLE, -EIO, "STATUS_BAD_FUNCTION_TABLE"},
 574        {STATUS_VARIABLE_NOT_FOUND, -EIO, "STATUS_VARIABLE_NOT_FOUND"},
 575        {STATUS_DIRECTORY_NOT_EMPTY, -ENOTEMPTY, "STATUS_DIRECTORY_NOT_EMPTY"},
 576        {STATUS_FILE_CORRUPT_ERROR, -EIO, "STATUS_FILE_CORRUPT_ERROR"},
 577        {STATUS_NOT_A_DIRECTORY, -ENOTDIR, "STATUS_NOT_A_DIRECTORY"},
 578        {STATUS_BAD_LOGON_SESSION_STATE, -EIO,
 579        "STATUS_BAD_LOGON_SESSION_STATE"},
 580        {STATUS_LOGON_SESSION_COLLISION, -EIO,
 581        "STATUS_LOGON_SESSION_COLLISION"},
 582        {STATUS_NAME_TOO_LONG, -ENAMETOOLONG, "STATUS_NAME_TOO_LONG"},
 583        {STATUS_FILES_OPEN, -EIO, "STATUS_FILES_OPEN"},
 584        {STATUS_CONNECTION_IN_USE, -EIO, "STATUS_CONNECTION_IN_USE"},
 585        {STATUS_MESSAGE_NOT_FOUND, -EIO, "STATUS_MESSAGE_NOT_FOUND"},
 586        {STATUS_PROCESS_IS_TERMINATING, -EIO, "STATUS_PROCESS_IS_TERMINATING"},
 587        {STATUS_INVALID_LOGON_TYPE, -EIO, "STATUS_INVALID_LOGON_TYPE"},
 588        {STATUS_NO_GUID_TRANSLATION, -EIO, "STATUS_NO_GUID_TRANSLATION"},
 589        {STATUS_CANNOT_IMPERSONATE, -EIO, "STATUS_CANNOT_IMPERSONATE"},
 590        {STATUS_IMAGE_ALREADY_LOADED, -EIO, "STATUS_IMAGE_ALREADY_LOADED"},
 591        {STATUS_ABIOS_NOT_PRESENT, -EIO, "STATUS_ABIOS_NOT_PRESENT"},
 592        {STATUS_ABIOS_LID_NOT_EXIST, -EIO, "STATUS_ABIOS_LID_NOT_EXIST"},
 593        {STATUS_ABIOS_LID_ALREADY_OWNED, -EIO,
 594        "STATUS_ABIOS_LID_ALREADY_OWNED"},
 595        {STATUS_ABIOS_NOT_LID_OWNER, -EIO, "STATUS_ABIOS_NOT_LID_OWNER"},
 596        {STATUS_ABIOS_INVALID_COMMAND, -EIO, "STATUS_ABIOS_INVALID_COMMAND"},
 597        {STATUS_ABIOS_INVALID_LID, -EIO, "STATUS_ABIOS_INVALID_LID"},
 598        {STATUS_ABIOS_SELECTOR_NOT_AVAILABLE, -EIO,
 599        "STATUS_ABIOS_SELECTOR_NOT_AVAILABLE"},
 600        {STATUS_ABIOS_INVALID_SELECTOR, -EIO, "STATUS_ABIOS_INVALID_SELECTOR"},
 601        {STATUS_NO_LDT, -EIO, "STATUS_NO_LDT"},
 602        {STATUS_INVALID_LDT_SIZE, -EIO, "STATUS_INVALID_LDT_SIZE"},
 603        {STATUS_INVALID_LDT_OFFSET, -EIO, "STATUS_INVALID_LDT_OFFSET"},
 604        {STATUS_INVALID_LDT_DESCRIPTOR, -EIO, "STATUS_INVALID_LDT_DESCRIPTOR"},
 605        {STATUS_INVALID_IMAGE_NE_FORMAT, -EIO,
 606        "STATUS_INVALID_IMAGE_NE_FORMAT"},
 607        {STATUS_RXACT_INVALID_STATE, -EIO, "STATUS_RXACT_INVALID_STATE"},
 608        {STATUS_RXACT_COMMIT_FAILURE, -EIO, "STATUS_RXACT_COMMIT_FAILURE"},
 609        {STATUS_MAPPED_FILE_SIZE_ZERO, -EIO, "STATUS_MAPPED_FILE_SIZE_ZERO"},
 610        {STATUS_TOO_MANY_OPENED_FILES, -EMFILE, "STATUS_TOO_MANY_OPENED_FILES"},
 611        {STATUS_CANCELLED, -EIO, "STATUS_CANCELLED"},
 612        {STATUS_CANNOT_DELETE, -EACCES, "STATUS_CANNOT_DELETE"},
 613        {STATUS_INVALID_COMPUTER_NAME, -EIO, "STATUS_INVALID_COMPUTER_NAME"},
 614        {STATUS_FILE_DELETED, -EIO, "STATUS_FILE_DELETED"},
 615        {STATUS_SPECIAL_ACCOUNT, -EIO, "STATUS_SPECIAL_ACCOUNT"},
 616        {STATUS_SPECIAL_GROUP, -EIO, "STATUS_SPECIAL_GROUP"},
 617        {STATUS_SPECIAL_USER, -EIO, "STATUS_SPECIAL_USER"},
 618        {STATUS_MEMBERS_PRIMARY_GROUP, -EIO, "STATUS_MEMBERS_PRIMARY_GROUP"},
 619        {STATUS_FILE_CLOSED, -EBADF, "STATUS_FILE_CLOSED"},
 620        {STATUS_TOO_MANY_THREADS, -EIO, "STATUS_TOO_MANY_THREADS"},
 621        {STATUS_THREAD_NOT_IN_PROCESS, -EIO, "STATUS_THREAD_NOT_IN_PROCESS"},
 622        {STATUS_TOKEN_ALREADY_IN_USE, -EIO, "STATUS_TOKEN_ALREADY_IN_USE"},
 623        {STATUS_PAGEFILE_QUOTA_EXCEEDED, -EDQUOT,
 624        "STATUS_PAGEFILE_QUOTA_EXCEEDED"},
 625        {STATUS_COMMITMENT_LIMIT, -EIO, "STATUS_COMMITMENT_LIMIT"},
 626        {STATUS_INVALID_IMAGE_LE_FORMAT, -EIO,
 627        "STATUS_INVALID_IMAGE_LE_FORMAT"},
 628        {STATUS_INVALID_IMAGE_NOT_MZ, -EIO, "STATUS_INVALID_IMAGE_NOT_MZ"},
 629        {STATUS_INVALID_IMAGE_PROTECT, -EIO, "STATUS_INVALID_IMAGE_PROTECT"},
 630        {STATUS_INVALID_IMAGE_WIN_16, -EIO, "STATUS_INVALID_IMAGE_WIN_16"},
 631        {STATUS_LOGON_SERVER_CONFLICT, -EIO, "STATUS_LOGON_SERVER_CONFLICT"},
 632        {STATUS_TIME_DIFFERENCE_AT_DC, -EIO, "STATUS_TIME_DIFFERENCE_AT_DC"},
 633        {STATUS_SYNCHRONIZATION_REQUIRED, -EIO,
 634        "STATUS_SYNCHRONIZATION_REQUIRED"},
 635        {STATUS_DLL_NOT_FOUND, -ENOENT, "STATUS_DLL_NOT_FOUND"},
 636        {STATUS_OPEN_FAILED, -EIO, "STATUS_OPEN_FAILED"},
 637        {STATUS_IO_PRIVILEGE_FAILED, -EIO, "STATUS_IO_PRIVILEGE_FAILED"},
 638        {STATUS_ORDINAL_NOT_FOUND, -EIO, "STATUS_ORDINAL_NOT_FOUND"},
 639        {STATUS_ENTRYPOINT_NOT_FOUND, -EIO, "STATUS_ENTRYPOINT_NOT_FOUND"},
 640        {STATUS_CONTROL_C_EXIT, -EIO, "STATUS_CONTROL_C_EXIT"},
 641        {STATUS_LOCAL_DISCONNECT, -EIO, "STATUS_LOCAL_DISCONNECT"},
 642        {STATUS_REMOTE_DISCONNECT, -ESHUTDOWN, "STATUS_REMOTE_DISCONNECT"},
 643        {STATUS_REMOTE_RESOURCES, -EIO, "STATUS_REMOTE_RESOURCES"},
 644        {STATUS_LINK_FAILED, -EXDEV, "STATUS_LINK_FAILED"},
 645        {STATUS_LINK_TIMEOUT, -ETIMEDOUT, "STATUS_LINK_TIMEOUT"},
 646        {STATUS_INVALID_CONNECTION, -EIO, "STATUS_INVALID_CONNECTION"},
 647        {STATUS_INVALID_ADDRESS, -EIO, "STATUS_INVALID_ADDRESS"},
 648        {STATUS_DLL_INIT_FAILED, -EIO, "STATUS_DLL_INIT_FAILED"},
 649        {STATUS_MISSING_SYSTEMFILE, -EIO, "STATUS_MISSING_SYSTEMFILE"},
 650        {STATUS_UNHANDLED_EXCEPTION, -EIO, "STATUS_UNHANDLED_EXCEPTION"},
 651        {STATUS_APP_INIT_FAILURE, -EIO, "STATUS_APP_INIT_FAILURE"},
 652        {STATUS_PAGEFILE_CREATE_FAILED, -EIO, "STATUS_PAGEFILE_CREATE_FAILED"},
 653        {STATUS_NO_PAGEFILE, -EIO, "STATUS_NO_PAGEFILE"},
 654        {STATUS_INVALID_LEVEL, -EIO, "STATUS_INVALID_LEVEL"},
 655        {STATUS_WRONG_PASSWORD_CORE, -EIO, "STATUS_WRONG_PASSWORD_CORE"},
 656        {STATUS_ILLEGAL_FLOAT_CONTEXT, -EIO, "STATUS_ILLEGAL_FLOAT_CONTEXT"},
 657        {STATUS_PIPE_BROKEN, -EPIPE, "STATUS_PIPE_BROKEN"},
 658        {STATUS_REGISTRY_CORRUPT, -EIO, "STATUS_REGISTRY_CORRUPT"},
 659        {STATUS_REGISTRY_IO_FAILED, -EIO, "STATUS_REGISTRY_IO_FAILED"},
 660        {STATUS_NO_EVENT_PAIR, -EIO, "STATUS_NO_EVENT_PAIR"},
 661        {STATUS_UNRECOGNIZED_VOLUME, -EIO, "STATUS_UNRECOGNIZED_VOLUME"},
 662        {STATUS_SERIAL_NO_DEVICE_INITED, -EIO,
 663        "STATUS_SERIAL_NO_DEVICE_INITED"},
 664        {STATUS_NO_SUCH_ALIAS, -EIO, "STATUS_NO_SUCH_ALIAS"},
 665        {STATUS_MEMBER_NOT_IN_ALIAS, -EIO, "STATUS_MEMBER_NOT_IN_ALIAS"},
 666        {STATUS_MEMBER_IN_ALIAS, -EIO, "STATUS_MEMBER_IN_ALIAS"},
 667        {STATUS_ALIAS_EXISTS, -EIO, "STATUS_ALIAS_EXISTS"},
 668        {STATUS_LOGON_NOT_GRANTED, -EIO, "STATUS_LOGON_NOT_GRANTED"},
 669        {STATUS_TOO_MANY_SECRETS, -EIO, "STATUS_TOO_MANY_SECRETS"},
 670        {STATUS_SECRET_TOO_LONG, -EIO, "STATUS_SECRET_TOO_LONG"},
 671        {STATUS_INTERNAL_DB_ERROR, -EIO, "STATUS_INTERNAL_DB_ERROR"},
 672        {STATUS_FULLSCREEN_MODE, -EIO, "STATUS_FULLSCREEN_MODE"},
 673        {STATUS_TOO_MANY_CONTEXT_IDS, -EIO, "STATUS_TOO_MANY_CONTEXT_IDS"},
 674        {STATUS_LOGON_TYPE_NOT_GRANTED, -EIO, "STATUS_LOGON_TYPE_NOT_GRANTED"},
 675        {STATUS_NOT_REGISTRY_FILE, -EIO, "STATUS_NOT_REGISTRY_FILE"},
 676        {STATUS_NT_CROSS_ENCRYPTION_REQUIRED, -EIO,
 677        "STATUS_NT_CROSS_ENCRYPTION_REQUIRED"},
 678        {STATUS_DOMAIN_CTRLR_CONFIG_ERROR, -EIO,
 679        "STATUS_DOMAIN_CTRLR_CONFIG_ERROR"},
 680        {STATUS_FT_MISSING_MEMBER, -EIO, "STATUS_FT_MISSING_MEMBER"},
 681        {STATUS_ILL_FORMED_SERVICE_ENTRY, -EIO,
 682        "STATUS_ILL_FORMED_SERVICE_ENTRY"},
 683        {STATUS_ILLEGAL_CHARACTER, -EIO, "STATUS_ILLEGAL_CHARACTER"},
 684        {STATUS_UNMAPPABLE_CHARACTER, -EIO, "STATUS_UNMAPPABLE_CHARACTER"},
 685        {STATUS_UNDEFINED_CHARACTER, -EIO, "STATUS_UNDEFINED_CHARACTER"},
 686        {STATUS_FLOPPY_VOLUME, -EIO, "STATUS_FLOPPY_VOLUME"},
 687        {STATUS_FLOPPY_ID_MARK_NOT_FOUND, -EIO,
 688        "STATUS_FLOPPY_ID_MARK_NOT_FOUND"},
 689        {STATUS_FLOPPY_WRONG_CYLINDER, -EIO, "STATUS_FLOPPY_WRONG_CYLINDER"},
 690        {STATUS_FLOPPY_UNKNOWN_ERROR, -EIO, "STATUS_FLOPPY_UNKNOWN_ERROR"},
 691        {STATUS_FLOPPY_BAD_REGISTERS, -EIO, "STATUS_FLOPPY_BAD_REGISTERS"},
 692        {STATUS_DISK_RECALIBRATE_FAILED, -EIO,
 693        "STATUS_DISK_RECALIBRATE_FAILED"},
 694        {STATUS_DISK_OPERATION_FAILED, -EIO, "STATUS_DISK_OPERATION_FAILED"},
 695        {STATUS_DISK_RESET_FAILED, -EIO, "STATUS_DISK_RESET_FAILED"},
 696        {STATUS_SHARED_IRQ_BUSY, -EBUSY, "STATUS_SHARED_IRQ_BUSY"},
 697        {STATUS_FT_ORPHANING, -EIO, "STATUS_FT_ORPHANING"},
 698        {STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT, -EIO,
 699        "STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT"},
 700        {STATUS_PARTITION_FAILURE, -EIO, "STATUS_PARTITION_FAILURE"},
 701        {STATUS_INVALID_BLOCK_LENGTH, -EIO, "STATUS_INVALID_BLOCK_LENGTH"},
 702        {STATUS_DEVICE_NOT_PARTITIONED, -EIO, "STATUS_DEVICE_NOT_PARTITIONED"},
 703        {STATUS_UNABLE_TO_LOCK_MEDIA, -EIO, "STATUS_UNABLE_TO_LOCK_MEDIA"},
 704        {STATUS_UNABLE_TO_UNLOAD_MEDIA, -EIO, "STATUS_UNABLE_TO_UNLOAD_MEDIA"},
 705        {STATUS_EOM_OVERFLOW, -EIO, "STATUS_EOM_OVERFLOW"},
 706        {STATUS_NO_MEDIA, -EIO, "STATUS_NO_MEDIA"},
 707        {STATUS_NO_SUCH_MEMBER, -EIO, "STATUS_NO_SUCH_MEMBER"},
 708        {STATUS_INVALID_MEMBER, -EIO, "STATUS_INVALID_MEMBER"},
 709        {STATUS_KEY_DELETED, -EIO, "STATUS_KEY_DELETED"},
 710        {STATUS_NO_LOG_SPACE, -EIO, "STATUS_NO_LOG_SPACE"},
 711        {STATUS_TOO_MANY_SIDS, -EIO, "STATUS_TOO_MANY_SIDS"},
 712        {STATUS_LM_CROSS_ENCRYPTION_REQUIRED, -EIO,
 713        "STATUS_LM_CROSS_ENCRYPTION_REQUIRED"},
 714        {STATUS_KEY_HAS_CHILDREN, -EIO, "STATUS_KEY_HAS_CHILDREN"},
 715        {STATUS_CHILD_MUST_BE_VOLATILE, -EIO, "STATUS_CHILD_MUST_BE_VOLATILE"},
 716        {STATUS_DEVICE_CONFIGURATION_ERROR, -EIO,
 717        "STATUS_DEVICE_CONFIGURATION_ERROR"},
 718        {STATUS_DRIVER_INTERNAL_ERROR, -EIO, "STATUS_DRIVER_INTERNAL_ERROR"},
 719        {STATUS_INVALID_DEVICE_STATE, -EIO, "STATUS_INVALID_DEVICE_STATE"},
 720        {STATUS_IO_DEVICE_ERROR, -EIO, "STATUS_IO_DEVICE_ERROR"},
 721        {STATUS_DEVICE_PROTOCOL_ERROR, -EIO, "STATUS_DEVICE_PROTOCOL_ERROR"},
 722        {STATUS_BACKUP_CONTROLLER, -EIO, "STATUS_BACKUP_CONTROLLER"},
 723        {STATUS_LOG_FILE_FULL, -EIO, "STATUS_LOG_FILE_FULL"},
 724        {STATUS_TOO_LATE, -EIO, "STATUS_TOO_LATE"},
 725        {STATUS_NO_TRUST_LSA_SECRET, -EIO, "STATUS_NO_TRUST_LSA_SECRET"},
 726        {STATUS_NO_TRUST_SAM_ACCOUNT, -EIO, "STATUS_NO_TRUST_SAM_ACCOUNT"},
 727        {STATUS_TRUSTED_DOMAIN_FAILURE, -EIO, "STATUS_TRUSTED_DOMAIN_FAILURE"},
 728        {STATUS_TRUSTED_RELATIONSHIP_FAILURE, -EIO,
 729        "STATUS_TRUSTED_RELATIONSHIP_FAILURE"},
 730        {STATUS_EVENTLOG_FILE_CORRUPT, -EIO, "STATUS_EVENTLOG_FILE_CORRUPT"},
 731        {STATUS_EVENTLOG_CANT_START, -EIO, "STATUS_EVENTLOG_CANT_START"},
 732        {STATUS_TRUST_FAILURE, -EIO, "STATUS_TRUST_FAILURE"},
 733        {STATUS_MUTANT_LIMIT_EXCEEDED, -EIO, "STATUS_MUTANT_LIMIT_EXCEEDED"},
 734        {STATUS_NETLOGON_NOT_STARTED, -EIO, "STATUS_NETLOGON_NOT_STARTED"},
 735        {STATUS_ACCOUNT_EXPIRED, -EKEYEXPIRED, "STATUS_ACCOUNT_EXPIRED"},
 736        {STATUS_POSSIBLE_DEADLOCK, -EIO, "STATUS_POSSIBLE_DEADLOCK"},
 737        {STATUS_NETWORK_CREDENTIAL_CONFLICT, -EIO,
 738        "STATUS_NETWORK_CREDENTIAL_CONFLICT"},
 739        {STATUS_REMOTE_SESSION_LIMIT, -EIO, "STATUS_REMOTE_SESSION_LIMIT"},
 740        {STATUS_EVENTLOG_FILE_CHANGED, -EIO, "STATUS_EVENTLOG_FILE_CHANGED"},
 741        {STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT, -EIO,
 742        "STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT"},
 743        {STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT, -EIO,
 744        "STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT"},
 745        {STATUS_NOLOGON_SERVER_TRUST_ACCOUNT, -EIO,
 746        "STATUS_NOLOGON_SERVER_TRUST_ACCOUNT"},
 747        {STATUS_DOMAIN_TRUST_INCONSISTENT, -EIO,
 748        "STATUS_DOMAIN_TRUST_INCONSISTENT"},
 749        {STATUS_FS_DRIVER_REQUIRED, -EOPNOTSUPP, "STATUS_FS_DRIVER_REQUIRED"},
 750        {STATUS_IMAGE_ALREADY_LOADED_AS_DLL, -EIO,
 751        "STATUS_IMAGE_ALREADY_LOADED_AS_DLL"},
 752        {STATUS_NETWORK_OPEN_RESTRICTION, -EIO,
 753        "STATUS_NETWORK_OPEN_RESTRICTION"},
 754        {STATUS_NO_USER_SESSION_KEY, -EIO, "STATUS_NO_USER_SESSION_KEY"},
 755        {STATUS_USER_SESSION_DELETED, -EIO, "STATUS_USER_SESSION_DELETED"},
 756        {STATUS_RESOURCE_LANG_NOT_FOUND, -EIO,
 757        "STATUS_RESOURCE_LANG_NOT_FOUND"},
 758        {STATUS_INSUFF_SERVER_RESOURCES, -EIO,
 759        "STATUS_INSUFF_SERVER_RESOURCES"},
 760        {STATUS_INVALID_BUFFER_SIZE, -EIO, "STATUS_INVALID_BUFFER_SIZE"},
 761        {STATUS_INVALID_ADDRESS_COMPONENT, -EIO,
 762        "STATUS_INVALID_ADDRESS_COMPONENT"},
 763        {STATUS_INVALID_ADDRESS_WILDCARD, -EIO,
 764        "STATUS_INVALID_ADDRESS_WILDCARD"},
 765        {STATUS_TOO_MANY_ADDRESSES, -EIO, "STATUS_TOO_MANY_ADDRESSES"},
 766        {STATUS_ADDRESS_ALREADY_EXISTS, -EADDRINUSE,
 767        "STATUS_ADDRESS_ALREADY_EXISTS"},
 768        {STATUS_ADDRESS_CLOSED, -EIO, "STATUS_ADDRESS_CLOSED"},
 769        {STATUS_CONNECTION_DISCONNECTED, -ECONNABORTED,
 770        "STATUS_CONNECTION_DISCONNECTED"},
 771        {STATUS_CONNECTION_RESET, -ENETRESET, "STATUS_CONNECTION_RESET"},
 772        {STATUS_TOO_MANY_NODES, -EIO, "STATUS_TOO_MANY_NODES"},
 773        {STATUS_TRANSACTION_ABORTED, -EIO, "STATUS_TRANSACTION_ABORTED"},
 774        {STATUS_TRANSACTION_TIMED_OUT, -EIO, "STATUS_TRANSACTION_TIMED_OUT"},
 775        {STATUS_TRANSACTION_NO_RELEASE, -EIO, "STATUS_TRANSACTION_NO_RELEASE"},
 776        {STATUS_TRANSACTION_NO_MATCH, -EIO, "STATUS_TRANSACTION_NO_MATCH"},
 777        {STATUS_TRANSACTION_RESPONDED, -EIO, "STATUS_TRANSACTION_RESPONDED"},
 778        {STATUS_TRANSACTION_INVALID_ID, -EIO, "STATUS_TRANSACTION_INVALID_ID"},
 779        {STATUS_TRANSACTION_INVALID_TYPE, -EIO,
 780        "STATUS_TRANSACTION_INVALID_TYPE"},
 781        {STATUS_NOT_SERVER_SESSION, -EIO, "STATUS_NOT_SERVER_SESSION"},
 782        {STATUS_NOT_CLIENT_SESSION, -EIO, "STATUS_NOT_CLIENT_SESSION"},
 783        {STATUS_CANNOT_LOAD_REGISTRY_FILE, -EIO,
 784        "STATUS_CANNOT_LOAD_REGISTRY_FILE"},
 785        {STATUS_DEBUG_ATTACH_FAILED, -EIO, "STATUS_DEBUG_ATTACH_FAILED"},
 786        {STATUS_SYSTEM_PROCESS_TERMINATED, -EIO,
 787        "STATUS_SYSTEM_PROCESS_TERMINATED"},
 788        {STATUS_DATA_NOT_ACCEPTED, -EIO, "STATUS_DATA_NOT_ACCEPTED"},
 789        {STATUS_NO_BROWSER_SERVERS_FOUND, -EIO,
 790        "STATUS_NO_BROWSER_SERVERS_FOUND"},
 791        {STATUS_VDM_HARD_ERROR, -EIO, "STATUS_VDM_HARD_ERROR"},
 792        {STATUS_DRIVER_CANCEL_TIMEOUT, -EIO, "STATUS_DRIVER_CANCEL_TIMEOUT"},
 793        {STATUS_REPLY_MESSAGE_MISMATCH, -EIO, "STATUS_REPLY_MESSAGE_MISMATCH"},
 794        {STATUS_MAPPED_ALIGNMENT, -EIO, "STATUS_MAPPED_ALIGNMENT"},
 795        {STATUS_IMAGE_CHECKSUM_MISMATCH, -EIO,
 796        "STATUS_IMAGE_CHECKSUM_MISMATCH"},
 797        {STATUS_LOST_WRITEBEHIND_DATA, -EIO, "STATUS_LOST_WRITEBEHIND_DATA"},
 798        {STATUS_CLIENT_SERVER_PARAMETERS_INVALID, -EIO,
 799        "STATUS_CLIENT_SERVER_PARAMETERS_INVALID"},
 800        {STATUS_PASSWORD_MUST_CHANGE, -EIO, "STATUS_PASSWORD_MUST_CHANGE"},
 801        {STATUS_NOT_FOUND, -ENOENT, "STATUS_NOT_FOUND"},
 802        {STATUS_NOT_TINY_STREAM, -EIO, "STATUS_NOT_TINY_STREAM"},
 803        {STATUS_RECOVERY_FAILURE, -EIO, "STATUS_RECOVERY_FAILURE"},
 804        {STATUS_STACK_OVERFLOW_READ, -EIO, "STATUS_STACK_OVERFLOW_READ"},
 805        {STATUS_FAIL_CHECK, -EIO, "STATUS_FAIL_CHECK"},
 806        {STATUS_DUPLICATE_OBJECTID, -EIO, "STATUS_DUPLICATE_OBJECTID"},
 807        {STATUS_OBJECTID_EXISTS, -EIO, "STATUS_OBJECTID_EXISTS"},
 808        {STATUS_CONVERT_TO_LARGE, -EIO, "STATUS_CONVERT_TO_LARGE"},
 809        {STATUS_RETRY, -EAGAIN, "STATUS_RETRY"},
 810        {STATUS_FOUND_OUT_OF_SCOPE, -EIO, "STATUS_FOUND_OUT_OF_SCOPE"},
 811        {STATUS_ALLOCATE_BUCKET, -EIO, "STATUS_ALLOCATE_BUCKET"},
 812        {STATUS_PROPSET_NOT_FOUND, -EIO, "STATUS_PROPSET_NOT_FOUND"},
 813        {STATUS_MARSHALL_OVERFLOW, -EIO, "STATUS_MARSHALL_OVERFLOW"},
 814        {STATUS_INVALID_VARIANT, -EIO, "STATUS_INVALID_VARIANT"},
 815        {STATUS_DOMAIN_CONTROLLER_NOT_FOUND, -EIO,
 816        "STATUS_DOMAIN_CONTROLLER_NOT_FOUND"},
 817        {STATUS_ACCOUNT_LOCKED_OUT, -EIO, "STATUS_ACCOUNT_LOCKED_OUT"},
 818        {STATUS_HANDLE_NOT_CLOSABLE, -EIO, "STATUS_HANDLE_NOT_CLOSABLE"},
 819        {STATUS_CONNECTION_REFUSED, -EIO, "STATUS_CONNECTION_REFUSED"},
 820        {STATUS_GRACEFUL_DISCONNECT, -EIO, "STATUS_GRACEFUL_DISCONNECT"},
 821        {STATUS_ADDRESS_ALREADY_ASSOCIATED, -EIO,
 822        "STATUS_ADDRESS_ALREADY_ASSOCIATED"},
 823        {STATUS_ADDRESS_NOT_ASSOCIATED, -EIO, "STATUS_ADDRESS_NOT_ASSOCIATED"},
 824        {STATUS_CONNECTION_INVALID, -EIO, "STATUS_CONNECTION_INVALID"},
 825        {STATUS_CONNECTION_ACTIVE, -EIO, "STATUS_CONNECTION_ACTIVE"},
 826        {STATUS_NETWORK_UNREACHABLE, -ENETUNREACH,
 827        "STATUS_NETWORK_UNREACHABLE"},
 828        {STATUS_HOST_UNREACHABLE, -EHOSTDOWN, "STATUS_HOST_UNREACHABLE"},
 829        {STATUS_PROTOCOL_UNREACHABLE, -ENETUNREACH,
 830        "STATUS_PROTOCOL_UNREACHABLE"},
 831        {STATUS_PORT_UNREACHABLE, -ENETUNREACH, "STATUS_PORT_UNREACHABLE"},
 832        {STATUS_REQUEST_ABORTED, -EIO, "STATUS_REQUEST_ABORTED"},
 833        {STATUS_CONNECTION_ABORTED, -ECONNABORTED, "STATUS_CONNECTION_ABORTED"},
 834        {STATUS_BAD_COMPRESSION_BUFFER, -EIO, "STATUS_BAD_COMPRESSION_BUFFER"},
 835        {STATUS_USER_MAPPED_FILE, -EIO, "STATUS_USER_MAPPED_FILE"},
 836        {STATUS_AUDIT_FAILED, -EIO, "STATUS_AUDIT_FAILED"},
 837        {STATUS_TIMER_RESOLUTION_NOT_SET, -EIO,
 838        "STATUS_TIMER_RESOLUTION_NOT_SET"},
 839        {STATUS_CONNECTION_COUNT_LIMIT, -EIO, "STATUS_CONNECTION_COUNT_LIMIT"},
 840        {STATUS_LOGIN_TIME_RESTRICTION, -EACCES,
 841        "STATUS_LOGIN_TIME_RESTRICTION"},
 842        {STATUS_LOGIN_WKSTA_RESTRICTION, -EACCES,
 843        "STATUS_LOGIN_WKSTA_RESTRICTION"},
 844        {STATUS_IMAGE_MP_UP_MISMATCH, -EIO, "STATUS_IMAGE_MP_UP_MISMATCH"},
 845        {STATUS_INSUFFICIENT_LOGON_INFO, -EIO,
 846        "STATUS_INSUFFICIENT_LOGON_INFO"},
 847        {STATUS_BAD_DLL_ENTRYPOINT, -EIO, "STATUS_BAD_DLL_ENTRYPOINT"},
 848        {STATUS_BAD_SERVICE_ENTRYPOINT, -EIO, "STATUS_BAD_SERVICE_ENTRYPOINT"},
 849        {STATUS_LPC_REPLY_LOST, -EIO, "STATUS_LPC_REPLY_LOST"},
 850        {STATUS_IP_ADDRESS_CONFLICT1, -EIO, "STATUS_IP_ADDRESS_CONFLICT1"},
 851        {STATUS_IP_ADDRESS_CONFLICT2, -EIO, "STATUS_IP_ADDRESS_CONFLICT2"},
 852        {STATUS_REGISTRY_QUOTA_LIMIT, -EDQUOT, "STATUS_REGISTRY_QUOTA_LIMIT"},
 853        {STATUS_PATH_NOT_COVERED, -EREMOTE, "STATUS_PATH_NOT_COVERED"},
 854        {STATUS_NO_CALLBACK_ACTIVE, -EIO, "STATUS_NO_CALLBACK_ACTIVE"},
 855        {STATUS_LICENSE_QUOTA_EXCEEDED, -EACCES,
 856        "STATUS_LICENSE_QUOTA_EXCEEDED"},
 857        {STATUS_PWD_TOO_SHORT, -EIO, "STATUS_PWD_TOO_SHORT"},
 858        {STATUS_PWD_TOO_RECENT, -EIO, "STATUS_PWD_TOO_RECENT"},
 859        {STATUS_PWD_HISTORY_CONFLICT, -EIO, "STATUS_PWD_HISTORY_CONFLICT"},
 860        {STATUS_PLUGPLAY_NO_DEVICE, -EIO, "STATUS_PLUGPLAY_NO_DEVICE"},
 861        {STATUS_UNSUPPORTED_COMPRESSION, -EIO,
 862        "STATUS_UNSUPPORTED_COMPRESSION"},
 863        {STATUS_INVALID_HW_PROFILE, -EIO, "STATUS_INVALID_HW_PROFILE"},
 864        {STATUS_INVALID_PLUGPLAY_DEVICE_PATH, -EIO,
 865        "STATUS_INVALID_PLUGPLAY_DEVICE_PATH"},
 866        {STATUS_DRIVER_ORDINAL_NOT_FOUND, -EIO,
 867        "STATUS_DRIVER_ORDINAL_NOT_FOUND"},
 868        {STATUS_DRIVER_ENTRYPOINT_NOT_FOUND, -EIO,
 869        "STATUS_DRIVER_ENTRYPOINT_NOT_FOUND"},
 870        {STATUS_RESOURCE_NOT_OWNED, -EIO, "STATUS_RESOURCE_NOT_OWNED"},
 871        {STATUS_TOO_MANY_LINKS, -EMLINK, "STATUS_TOO_MANY_LINKS"},
 872        {STATUS_QUOTA_LIST_INCONSISTENT, -EIO,
 873        "STATUS_QUOTA_LIST_INCONSISTENT"},
 874        {STATUS_FILE_IS_OFFLINE, -EIO, "STATUS_FILE_IS_OFFLINE"},
 875        {STATUS_EVALUATION_EXPIRATION, -EIO, "STATUS_EVALUATION_EXPIRATION"},
 876        {STATUS_ILLEGAL_DLL_RELOCATION, -EIO, "STATUS_ILLEGAL_DLL_RELOCATION"},
 877        {STATUS_LICENSE_VIOLATION, -EIO, "STATUS_LICENSE_VIOLATION"},
 878        {STATUS_DLL_INIT_FAILED_LOGOFF, -EIO, "STATUS_DLL_INIT_FAILED_LOGOFF"},
 879        {STATUS_DRIVER_UNABLE_TO_LOAD, -EIO, "STATUS_DRIVER_UNABLE_TO_LOAD"},
 880        {STATUS_DFS_UNAVAILABLE, -EIO, "STATUS_DFS_UNAVAILABLE"},
 881        {STATUS_VOLUME_DISMOUNTED, -EIO, "STATUS_VOLUME_DISMOUNTED"},
 882        {STATUS_WX86_INTERNAL_ERROR, -EIO, "STATUS_WX86_INTERNAL_ERROR"},
 883        {STATUS_WX86_FLOAT_STACK_CHECK, -EIO, "STATUS_WX86_FLOAT_STACK_CHECK"},
 884        {STATUS_VALIDATE_CONTINUE, -EIO, "STATUS_VALIDATE_CONTINUE"},
 885        {STATUS_NO_MATCH, -EIO, "STATUS_NO_MATCH"},
 886        {STATUS_NO_MORE_MATCHES, -EIO, "STATUS_NO_MORE_MATCHES"},
 887        {STATUS_NOT_A_REPARSE_POINT, -EIO, "STATUS_NOT_A_REPARSE_POINT"},
 888        {STATUS_IO_REPARSE_TAG_INVALID, -EIO, "STATUS_IO_REPARSE_TAG_INVALID"},
 889        {STATUS_IO_REPARSE_TAG_MISMATCH, -EIO,
 890        "STATUS_IO_REPARSE_TAG_MISMATCH"},
 891        {STATUS_IO_REPARSE_DATA_INVALID, -EIO,
 892        "STATUS_IO_REPARSE_DATA_INVALID"},
 893        {STATUS_IO_REPARSE_TAG_NOT_HANDLED, -EIO,
 894        "STATUS_IO_REPARSE_TAG_NOT_HANDLED"},
 895        {STATUS_REPARSE_POINT_NOT_RESOLVED, -EIO,
 896        "STATUS_REPARSE_POINT_NOT_RESOLVED"},
 897        {STATUS_DIRECTORY_IS_A_REPARSE_POINT, -EIO,
 898        "STATUS_DIRECTORY_IS_A_REPARSE_POINT"},
 899        {STATUS_RANGE_LIST_CONFLICT, -EIO, "STATUS_RANGE_LIST_CONFLICT"},
 900        {STATUS_SOURCE_ELEMENT_EMPTY, -EIO, "STATUS_SOURCE_ELEMENT_EMPTY"},
 901        {STATUS_DESTINATION_ELEMENT_FULL, -EIO,
 902        "STATUS_DESTINATION_ELEMENT_FULL"},
 903        {STATUS_ILLEGAL_ELEMENT_ADDRESS, -EIO,
 904        "STATUS_ILLEGAL_ELEMENT_ADDRESS"},
 905        {STATUS_MAGAZINE_NOT_PRESENT, -EIO, "STATUS_MAGAZINE_NOT_PRESENT"},
 906        {STATUS_REINITIALIZATION_NEEDED, -EIO,
 907        "STATUS_REINITIALIZATION_NEEDED"},
 908        {STATUS_ENCRYPTION_FAILED, -EIO, "STATUS_ENCRYPTION_FAILED"},
 909        {STATUS_DECRYPTION_FAILED, -EIO, "STATUS_DECRYPTION_FAILED"},
 910        {STATUS_RANGE_NOT_FOUND, -EIO, "STATUS_RANGE_NOT_FOUND"},
 911        {STATUS_NO_RECOVERY_POLICY, -EIO, "STATUS_NO_RECOVERY_POLICY"},
 912        {STATUS_NO_EFS, -EIO, "STATUS_NO_EFS"},
 913        {STATUS_WRONG_EFS, -EIO, "STATUS_WRONG_EFS"},
 914        {STATUS_NO_USER_KEYS, -EIO, "STATUS_NO_USER_KEYS"},
 915        {STATUS_FILE_NOT_ENCRYPTED, -EIO, "STATUS_FILE_NOT_ENCRYPTED"},
 916        {STATUS_NOT_EXPORT_FORMAT, -EIO, "STATUS_NOT_EXPORT_FORMAT"},
 917        {STATUS_FILE_ENCRYPTED, -EIO, "STATUS_FILE_ENCRYPTED"},
 918        {STATUS_WMI_GUID_NOT_FOUND, -EIO, "STATUS_WMI_GUID_NOT_FOUND"},
 919        {STATUS_WMI_INSTANCE_NOT_FOUND, -EIO, "STATUS_WMI_INSTANCE_NOT_FOUND"},
 920        {STATUS_WMI_ITEMID_NOT_FOUND, -EIO, "STATUS_WMI_ITEMID_NOT_FOUND"},
 921        {STATUS_WMI_TRY_AGAIN, -EIO, "STATUS_WMI_TRY_AGAIN"},
 922        {STATUS_SHARED_POLICY, -EIO, "STATUS_SHARED_POLICY"},
 923        {STATUS_POLICY_OBJECT_NOT_FOUND, -EIO,
 924        "STATUS_POLICY_OBJECT_NOT_FOUND"},
 925        {STATUS_POLICY_ONLY_IN_DS, -EIO, "STATUS_POLICY_ONLY_IN_DS"},
 926        {STATUS_VOLUME_NOT_UPGRADED, -EIO, "STATUS_VOLUME_NOT_UPGRADED"},
 927        {STATUS_REMOTE_STORAGE_NOT_ACTIVE, -EIO,
 928        "STATUS_REMOTE_STORAGE_NOT_ACTIVE"},
 929        {STATUS_REMOTE_STORAGE_MEDIA_ERROR, -EIO,
 930        "STATUS_REMOTE_STORAGE_MEDIA_ERROR"},
 931        {STATUS_NO_TRACKING_SERVICE, -EIO, "STATUS_NO_TRACKING_SERVICE"},
 932        {STATUS_SERVER_SID_MISMATCH, -EIO, "STATUS_SERVER_SID_MISMATCH"},
 933        {STATUS_DS_NO_ATTRIBUTE_OR_VALUE, -EIO,
 934        "STATUS_DS_NO_ATTRIBUTE_OR_VALUE"},
 935        {STATUS_DS_INVALID_ATTRIBUTE_SYNTAX, -EIO,
 936        "STATUS_DS_INVALID_ATTRIBUTE_SYNTAX"},
 937        {STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED, -EIO,
 938        "STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED"},
 939        {STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS, -EIO,
 940        "STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS"},
 941        {STATUS_DS_BUSY, -EBUSY, "STATUS_DS_BUSY"},
 942        {STATUS_DS_UNAVAILABLE, -EIO, "STATUS_DS_UNAVAILABLE"},
 943        {STATUS_DS_NO_RIDS_ALLOCATED, -EIO, "STATUS_DS_NO_RIDS_ALLOCATED"},
 944        {STATUS_DS_NO_MORE_RIDS, -EIO, "STATUS_DS_NO_MORE_RIDS"},
 945        {STATUS_DS_INCORRECT_ROLE_OWNER, -EIO,
 946        "STATUS_DS_INCORRECT_ROLE_OWNER"},
 947        {STATUS_DS_RIDMGR_INIT_ERROR, -EIO, "STATUS_DS_RIDMGR_INIT_ERROR"},
 948        {STATUS_DS_OBJ_CLASS_VIOLATION, -EIO, "STATUS_DS_OBJ_CLASS_VIOLATION"},
 949        {STATUS_DS_CANT_ON_NON_LEAF, -EIO, "STATUS_DS_CANT_ON_NON_LEAF"},
 950        {STATUS_DS_CANT_ON_RDN, -EIO, "STATUS_DS_CANT_ON_RDN"},
 951        {STATUS_DS_CANT_MOD_OBJ_CLASS, -EIO, "STATUS_DS_CANT_MOD_OBJ_CLASS"},
 952        {STATUS_DS_CROSS_DOM_MOVE_FAILED, -EIO,
 953        "STATUS_DS_CROSS_DOM_MOVE_FAILED"},
 954        {STATUS_DS_GC_NOT_AVAILABLE, -EIO, "STATUS_DS_GC_NOT_AVAILABLE"},
 955        {STATUS_DIRECTORY_SERVICE_REQUIRED, -EIO,
 956        "STATUS_DIRECTORY_SERVICE_REQUIRED"},
 957        {STATUS_REPARSE_ATTRIBUTE_CONFLICT, -EIO,
 958        "STATUS_REPARSE_ATTRIBUTE_CONFLICT"},
 959        {STATUS_CANT_ENABLE_DENY_ONLY, -EIO, "STATUS_CANT_ENABLE_DENY_ONLY"},
 960        {STATUS_FLOAT_MULTIPLE_FAULTS, -EIO, "STATUS_FLOAT_MULTIPLE_FAULTS"},
 961        {STATUS_FLOAT_MULTIPLE_TRAPS, -EIO, "STATUS_FLOAT_MULTIPLE_TRAPS"},
 962        {STATUS_DEVICE_REMOVED, -EIO, "STATUS_DEVICE_REMOVED"},
 963        {STATUS_JOURNAL_DELETE_IN_PROGRESS, -EIO,
 964        "STATUS_JOURNAL_DELETE_IN_PROGRESS"},
 965        {STATUS_JOURNAL_NOT_ACTIVE, -EIO, "STATUS_JOURNAL_NOT_ACTIVE"},
 966        {STATUS_NOINTERFACE, -EIO, "STATUS_NOINTERFACE"},
 967        {STATUS_DS_ADMIN_LIMIT_EXCEEDED, -EIO,
 968        "STATUS_DS_ADMIN_LIMIT_EXCEEDED"},
 969        {STATUS_DRIVER_FAILED_SLEEP, -EIO, "STATUS_DRIVER_FAILED_SLEEP"},
 970        {STATUS_MUTUAL_AUTHENTICATION_FAILED, -EIO,
 971        "STATUS_MUTUAL_AUTHENTICATION_FAILED"},
 972        {STATUS_CORRUPT_SYSTEM_FILE, -EIO, "STATUS_CORRUPT_SYSTEM_FILE"},
 973        {STATUS_DATATYPE_MISALIGNMENT_ERROR, -EIO,
 974        "STATUS_DATATYPE_MISALIGNMENT_ERROR"},
 975        {STATUS_WMI_READ_ONLY, -EROFS, "STATUS_WMI_READ_ONLY"},
 976        {STATUS_WMI_SET_FAILURE, -EIO, "STATUS_WMI_SET_FAILURE"},
 977        {STATUS_COMMITMENT_MINIMUM, -EIO, "STATUS_COMMITMENT_MINIMUM"},
 978        {STATUS_REG_NAT_CONSUMPTION, -EIO, "STATUS_REG_NAT_CONSUMPTION"},
 979        {STATUS_TRANSPORT_FULL, -EIO, "STATUS_TRANSPORT_FULL"},
 980        {STATUS_DS_SAM_INIT_FAILURE, -EIO, "STATUS_DS_SAM_INIT_FAILURE"},
 981        {STATUS_ONLY_IF_CONNECTED, -EIO, "STATUS_ONLY_IF_CONNECTED"},
 982        {STATUS_DS_SENSITIVE_GROUP_VIOLATION, -EIO,
 983        "STATUS_DS_SENSITIVE_GROUP_VIOLATION"},
 984        {STATUS_PNP_RESTART_ENUMERATION, -EIO,
 985        "STATUS_PNP_RESTART_ENUMERATION"},
 986        {STATUS_JOURNAL_ENTRY_DELETED, -EIO, "STATUS_JOURNAL_ENTRY_DELETED"},
 987        {STATUS_DS_CANT_MOD_PRIMARYGROUPID, -EIO,
 988        "STATUS_DS_CANT_MOD_PRIMARYGROUPID"},
 989        {STATUS_SYSTEM_IMAGE_BAD_SIGNATURE, -EIO,
 990        "STATUS_SYSTEM_IMAGE_BAD_SIGNATURE"},
 991        {STATUS_PNP_REBOOT_REQUIRED, -EIO, "STATUS_PNP_REBOOT_REQUIRED"},
 992        {STATUS_POWER_STATE_INVALID, -EIO, "STATUS_POWER_STATE_INVALID"},
 993        {STATUS_DS_INVALID_GROUP_TYPE, -EIO, "STATUS_DS_INVALID_GROUP_TYPE"},
 994        {STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN, -EIO,
 995        "STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN"},
 996        {STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN, -EIO,
 997        "STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN"},
 998        {STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER, -EIO,
 999        "STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER"},
1000        {STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER, -EIO,
1001        "STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER"},
1002        {STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER, -EIO,
1003        "STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER"},
1004        {STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER, -EIO,
1005        "STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER"},
1006        {STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER, -EIO,
1007        "STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER"},
1008        {STATUS_DS_HAVE_PRIMARY_MEMBERS, -EIO,
1009        "STATUS_DS_HAVE_PRIMARY_MEMBERS"},
1010        {STATUS_WMI_NOT_SUPPORTED, -EOPNOTSUPP, "STATUS_WMI_NOT_SUPPORTED"},
1011        {STATUS_INSUFFICIENT_POWER, -EIO, "STATUS_INSUFFICIENT_POWER"},
1012        {STATUS_SAM_NEED_BOOTKEY_PASSWORD, -EIO,
1013        "STATUS_SAM_NEED_BOOTKEY_PASSWORD"},
1014        {STATUS_SAM_NEED_BOOTKEY_FLOPPY, -EIO,
1015        "STATUS_SAM_NEED_BOOTKEY_FLOPPY"},
1016        {STATUS_DS_CANT_START, -EIO, "STATUS_DS_CANT_START"},
1017        {STATUS_DS_INIT_FAILURE, -EIO, "STATUS_DS_INIT_FAILURE"},
1018        {STATUS_SAM_INIT_FAILURE, -EIO, "STATUS_SAM_INIT_FAILURE"},
1019        {STATUS_DS_GC_REQUIRED, -EIO, "STATUS_DS_GC_REQUIRED"},
1020        {STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY, -EIO,
1021        "STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY"},
1022        {STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS, -EIO,
1023        "STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS"},
1024        {STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED, -EDQUOT,
1025        "STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED"},
1026        {STATUS_MULTIPLE_FAULT_VIOLATION, -EIO,
1027        "STATUS_MULTIPLE_FAULT_VIOLATION"},
1028        {STATUS_CURRENT_DOMAIN_NOT_ALLOWED, -EIO,
1029        "STATUS_CURRENT_DOMAIN_NOT_ALLOWED"},
1030        {STATUS_CANNOT_MAKE, -EIO, "STATUS_CANNOT_MAKE"},
1031        {STATUS_SYSTEM_SHUTDOWN, -EIO, "STATUS_SYSTEM_SHUTDOWN"},
1032        {STATUS_DS_INIT_FAILURE_CONSOLE, -EIO,
1033        "STATUS_DS_INIT_FAILURE_CONSOLE"},
1034        {STATUS_DS_SAM_INIT_FAILURE_CONSOLE, -EIO,
1035        "STATUS_DS_SAM_INIT_FAILURE_CONSOLE"},
1036        {STATUS_UNFINISHED_CONTEXT_DELETED, -EIO,
1037        "STATUS_UNFINISHED_CONTEXT_DELETED"},
1038        {STATUS_NO_TGT_REPLY, -EIO, "STATUS_NO_TGT_REPLY"},
1039        {STATUS_OBJECTID_NOT_FOUND, -EIO, "STATUS_OBJECTID_NOT_FOUND"},
1040        {STATUS_NO_IP_ADDRESSES, -EIO, "STATUS_NO_IP_ADDRESSES"},
1041        {STATUS_WRONG_CREDENTIAL_HANDLE, -EIO,
1042        "STATUS_WRONG_CREDENTIAL_HANDLE"},
1043        {STATUS_CRYPTO_SYSTEM_INVALID, -EIO, "STATUS_CRYPTO_SYSTEM_INVALID"},
1044        {STATUS_MAX_REFERRALS_EXCEEDED, -EIO, "STATUS_MAX_REFERRALS_EXCEEDED"},
1045        {STATUS_MUST_BE_KDC, -EIO, "STATUS_MUST_BE_KDC"},
1046        {STATUS_STRONG_CRYPTO_NOT_SUPPORTED, -EIO,
1047        "STATUS_STRONG_CRYPTO_NOT_SUPPORTED"},
1048        {STATUS_TOO_MANY_PRINCIPALS, -EIO, "STATUS_TOO_MANY_PRINCIPALS"},
1049        {STATUS_NO_PA_DATA, -EIO, "STATUS_NO_PA_DATA"},
1050        {STATUS_PKINIT_NAME_MISMATCH, -EIO, "STATUS_PKINIT_NAME_MISMATCH"},
1051        {STATUS_SMARTCARD_LOGON_REQUIRED, -EIO,
1052        "STATUS_SMARTCARD_LOGON_REQUIRED"},
1053        {STATUS_KDC_INVALID_REQUEST, -EIO, "STATUS_KDC_INVALID_REQUEST"},
1054        {STATUS_KDC_UNABLE_TO_REFER, -EIO, "STATUS_KDC_UNABLE_TO_REFER"},
1055        {STATUS_KDC_UNKNOWN_ETYPE, -EIO, "STATUS_KDC_UNKNOWN_ETYPE"},
1056        {STATUS_SHUTDOWN_IN_PROGRESS, -EIO, "STATUS_SHUTDOWN_IN_PROGRESS"},
1057        {STATUS_SERVER_SHUTDOWN_IN_PROGRESS, -EIO,
1058        "STATUS_SERVER_SHUTDOWN_IN_PROGRESS"},
1059        {STATUS_NOT_SUPPORTED_ON_SBS, -EOPNOTSUPP,
1060        "STATUS_NOT_SUPPORTED_ON_SBS"},
1061        {STATUS_WMI_GUID_DISCONNECTED, -EIO, "STATUS_WMI_GUID_DISCONNECTED"},
1062        {STATUS_WMI_ALREADY_DISABLED, -EIO, "STATUS_WMI_ALREADY_DISABLED"},
1063        {STATUS_WMI_ALREADY_ENABLED, -EIO, "STATUS_WMI_ALREADY_ENABLED"},
1064        {STATUS_MFT_TOO_FRAGMENTED, -EIO, "STATUS_MFT_TOO_FRAGMENTED"},
1065        {STATUS_COPY_PROTECTION_FAILURE, -EIO,
1066        "STATUS_COPY_PROTECTION_FAILURE"},
1067        {STATUS_CSS_AUTHENTICATION_FAILURE, -EIO,
1068        "STATUS_CSS_AUTHENTICATION_FAILURE"},
1069        {STATUS_CSS_KEY_NOT_PRESENT, -EIO, "STATUS_CSS_KEY_NOT_PRESENT"},
1070        {STATUS_CSS_KEY_NOT_ESTABLISHED, -EIO,
1071        "STATUS_CSS_KEY_NOT_ESTABLISHED"},
1072        {STATUS_CSS_SCRAMBLED_SECTOR, -EIO, "STATUS_CSS_SCRAMBLED_SECTOR"},
1073        {STATUS_CSS_REGION_MISMATCH, -EIO, "STATUS_CSS_REGION_MISMATCH"},
1074        {STATUS_CSS_RESETS_EXHAUSTED, -EIO, "STATUS_CSS_RESETS_EXHAUSTED"},
1075        {STATUS_PKINIT_FAILURE, -EIO, "STATUS_PKINIT_FAILURE"},
1076        {STATUS_SMARTCARD_SUBSYSTEM_FAILURE, -EIO,
1077        "STATUS_SMARTCARD_SUBSYSTEM_FAILURE"},
1078        {STATUS_NO_KERB_KEY, -EIO, "STATUS_NO_KERB_KEY"},
1079        {STATUS_HOST_DOWN, -EIO, "STATUS_HOST_DOWN"},
1080        {STATUS_UNSUPPORTED_PREAUTH, -EIO, "STATUS_UNSUPPORTED_PREAUTH"},
1081        {STATUS_EFS_ALG_BLOB_TOO_BIG, -EIO, "STATUS_EFS_ALG_BLOB_TOO_BIG"},
1082        {STATUS_PORT_NOT_SET, -EIO, "STATUS_PORT_NOT_SET"},
1083        {STATUS_DEBUGGER_INACTIVE, -EIO, "STATUS_DEBUGGER_INACTIVE"},
1084        {STATUS_DS_VERSION_CHECK_FAILURE, -EIO,
1085        "STATUS_DS_VERSION_CHECK_FAILURE"},
1086        {STATUS_AUDITING_DISABLED, -EIO, "STATUS_AUDITING_DISABLED"},
1087        {STATUS_PRENT4_MACHINE_ACCOUNT, -EIO, "STATUS_PRENT4_MACHINE_ACCOUNT"},
1088        {STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER, -EIO,
1089        "STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER"},
1090        {STATUS_INVALID_IMAGE_WIN_32, -EIO, "STATUS_INVALID_IMAGE_WIN_32"},
1091        {STATUS_INVALID_IMAGE_WIN_64, -EIO, "STATUS_INVALID_IMAGE_WIN_64"},
1092        {STATUS_BAD_BINDINGS, -EIO, "STATUS_BAD_BINDINGS"},
1093        {STATUS_NETWORK_SESSION_EXPIRED, -EIO,
1094        "STATUS_NETWORK_SESSION_EXPIRED"},
1095        {STATUS_APPHELP_BLOCK, -EIO, "STATUS_APPHELP_BLOCK"},
1096        {STATUS_ALL_SIDS_FILTERED, -EIO, "STATUS_ALL_SIDS_FILTERED"},
1097        {STATUS_NOT_SAFE_MODE_DRIVER, -EIO, "STATUS_NOT_SAFE_MODE_DRIVER"},
1098        {STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT, -EACCES,
1099        "STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT"},
1100        {STATUS_ACCESS_DISABLED_BY_POLICY_PATH, -EACCES,
1101        "STATUS_ACCESS_DISABLED_BY_POLICY_PATH"},
1102        {STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER, -EACCES,
1103        "STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER"},
1104        {STATUS_ACCESS_DISABLED_BY_POLICY_OTHER, -EACCES,
1105        "STATUS_ACCESS_DISABLED_BY_POLICY_OTHER"},
1106        {STATUS_FAILED_DRIVER_ENTRY, -EIO, "STATUS_FAILED_DRIVER_ENTRY"},
1107        {STATUS_DEVICE_ENUMERATION_ERROR, -EIO,
1108        "STATUS_DEVICE_ENUMERATION_ERROR"},
1109        {STATUS_MOUNT_POINT_NOT_RESOLVED, -EIO,
1110        "STATUS_MOUNT_POINT_NOT_RESOLVED"},
1111        {STATUS_INVALID_DEVICE_OBJECT_PARAMETER, -EIO,
1112        "STATUS_INVALID_DEVICE_OBJECT_PARAMETER"},
1113        {STATUS_MCA_OCCURED, -EIO, "STATUS_MCA_OCCURED"},
1114        {STATUS_DRIVER_BLOCKED_CRITICAL, -EIO,
1115        "STATUS_DRIVER_BLOCKED_CRITICAL"},
1116        {STATUS_DRIVER_BLOCKED, -EIO, "STATUS_DRIVER_BLOCKED"},
1117        {STATUS_DRIVER_DATABASE_ERROR, -EIO, "STATUS_DRIVER_DATABASE_ERROR"},
1118        {STATUS_SYSTEM_HIVE_TOO_LARGE, -EIO, "STATUS_SYSTEM_HIVE_TOO_LARGE"},
1119        {STATUS_INVALID_IMPORT_OF_NON_DLL, -EIO,
1120        "STATUS_INVALID_IMPORT_OF_NON_DLL"},
1121        {STATUS_NO_SECRETS, -EIO, "STATUS_NO_SECRETS"},
1122        {STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY, -EACCES,
1123        "STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY"},
1124        {STATUS_FAILED_STACK_SWITCH, -EIO, "STATUS_FAILED_STACK_SWITCH"},
1125        {STATUS_HEAP_CORRUPTION, -EIO, "STATUS_HEAP_CORRUPTION"},
1126        {STATUS_SMARTCARD_WRONG_PIN, -EIO, "STATUS_SMARTCARD_WRONG_PIN"},
1127        {STATUS_SMARTCARD_CARD_BLOCKED, -EIO, "STATUS_SMARTCARD_CARD_BLOCKED"},
1128        {STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED, -EIO,
1129        "STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED"},
1130        {STATUS_SMARTCARD_NO_CARD, -EIO, "STATUS_SMARTCARD_NO_CARD"},
1131        {STATUS_SMARTCARD_NO_KEY_CONTAINER, -EIO,
1132        "STATUS_SMARTCARD_NO_KEY_CONTAINER"},
1133        {STATUS_SMARTCARD_NO_CERTIFICATE, -EIO,
1134        "STATUS_SMARTCARD_NO_CERTIFICATE"},
1135        {STATUS_SMARTCARD_NO_KEYSET, -EIO, "STATUS_SMARTCARD_NO_KEYSET"},
1136        {STATUS_SMARTCARD_IO_ERROR, -EIO, "STATUS_SMARTCARD_IO_ERROR"},
1137        {STATUS_DOWNGRADE_DETECTED, -EIO, "STATUS_DOWNGRADE_DETECTED"},
1138        {STATUS_SMARTCARD_CERT_REVOKED, -EIO, "STATUS_SMARTCARD_CERT_REVOKED"},
1139        {STATUS_ISSUING_CA_UNTRUSTED, -EIO, "STATUS_ISSUING_CA_UNTRUSTED"},
1140        {STATUS_REVOCATION_OFFLINE_C, -EIO, "STATUS_REVOCATION_OFFLINE_C"},
1141        {STATUS_PKINIT_CLIENT_FAILURE, -EIO, "STATUS_PKINIT_CLIENT_FAILURE"},
1142        {STATUS_SMARTCARD_CERT_EXPIRED, -EIO, "STATUS_SMARTCARD_CERT_EXPIRED"},
1143        {STATUS_DRIVER_FAILED_PRIOR_UNLOAD, -EIO,
1144        "STATUS_DRIVER_FAILED_PRIOR_UNLOAD"},
1145        {STATUS_SMARTCARD_SILENT_CONTEXT, -EIO,
1146        "STATUS_SMARTCARD_SILENT_CONTEXT"},
1147        {STATUS_PER_USER_TRUST_QUOTA_EXCEEDED, -EDQUOT,
1148        "STATUS_PER_USER_TRUST_QUOTA_EXCEEDED"},
1149        {STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED, -EDQUOT,
1150        "STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED"},
1151        {STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED, -EDQUOT,
1152        "STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED"},
1153        {STATUS_DS_NAME_NOT_UNIQUE, -EIO, "STATUS_DS_NAME_NOT_UNIQUE"},
1154        {STATUS_DS_DUPLICATE_ID_FOUND, -EIO, "STATUS_DS_DUPLICATE_ID_FOUND"},
1155        {STATUS_DS_GROUP_CONVERSION_ERROR, -EIO,
1156        "STATUS_DS_GROUP_CONVERSION_ERROR"},
1157        {STATUS_VOLSNAP_PREPARE_HIBERNATE, -EIO,
1158        "STATUS_VOLSNAP_PREPARE_HIBERNATE"},
1159        {STATUS_USER2USER_REQUIRED, -EIO, "STATUS_USER2USER_REQUIRED"},
1160        {STATUS_STACK_BUFFER_OVERRUN, -EIO, "STATUS_STACK_BUFFER_OVERRUN"},
1161        {STATUS_NO_S4U_PROT_SUPPORT, -EIO, "STATUS_NO_S4U_PROT_SUPPORT"},
1162        {STATUS_CROSSREALM_DELEGATION_FAILURE, -EIO,
1163        "STATUS_CROSSREALM_DELEGATION_FAILURE"},
1164        {STATUS_REVOCATION_OFFLINE_KDC, -EIO, "STATUS_REVOCATION_OFFLINE_KDC"},
1165        {STATUS_ISSUING_CA_UNTRUSTED_KDC, -EIO,
1166        "STATUS_ISSUING_CA_UNTRUSTED_KDC"},
1167        {STATUS_KDC_CERT_EXPIRED, -EIO, "STATUS_KDC_CERT_EXPIRED"},
1168        {STATUS_KDC_CERT_REVOKED, -EIO, "STATUS_KDC_CERT_REVOKED"},
1169        {STATUS_PARAMETER_QUOTA_EXCEEDED, -EDQUOT,
1170        "STATUS_PARAMETER_QUOTA_EXCEEDED"},
1171        {STATUS_HIBERNATION_FAILURE, -EIO, "STATUS_HIBERNATION_FAILURE"},
1172        {STATUS_DELAY_LOAD_FAILED, -EIO, "STATUS_DELAY_LOAD_FAILED"},
1173        {STATUS_AUTHENTICATION_FIREWALL_FAILED, -EIO,
1174        "STATUS_AUTHENTICATION_FIREWALL_FAILED"},
1175        {STATUS_VDM_DISALLOWED, -EIO, "STATUS_VDM_DISALLOWED"},
1176        {STATUS_HUNG_DISPLAY_DRIVER_THREAD, -EIO,
1177        "STATUS_HUNG_DISPLAY_DRIVER_THREAD"},
1178        {STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE, -EIO,
1179        "STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE"},
1180        {STATUS_INVALID_CRUNTIME_PARAMETER, -EIO,
1181        "STATUS_INVALID_CRUNTIME_PARAMETER"},
1182        {STATUS_NTLM_BLOCKED, -EIO, "STATUS_NTLM_BLOCKED"},
1183        {STATUS_ASSERTION_FAILURE, -EIO, "STATUS_ASSERTION_FAILURE"},
1184        {STATUS_VERIFIER_STOP, -EIO, "STATUS_VERIFIER_STOP"},
1185        {STATUS_CALLBACK_POP_STACK, -EIO, "STATUS_CALLBACK_POP_STACK"},
1186        {STATUS_INCOMPATIBLE_DRIVER_BLOCKED, -EIO,
1187        "STATUS_INCOMPATIBLE_DRIVER_BLOCKED"},
1188        {STATUS_HIVE_UNLOADED, -EIO, "STATUS_HIVE_UNLOADED"},
1189        {STATUS_COMPRESSION_DISABLED, -EIO, "STATUS_COMPRESSION_DISABLED"},
1190        {STATUS_FILE_SYSTEM_LIMITATION, -EIO, "STATUS_FILE_SYSTEM_LIMITATION"},
1191        {STATUS_INVALID_IMAGE_HASH, -EIO, "STATUS_INVALID_IMAGE_HASH"},
1192        {STATUS_NOT_CAPABLE, -EIO, "STATUS_NOT_CAPABLE"},
1193        {STATUS_REQUEST_OUT_OF_SEQUENCE, -EIO,
1194        "STATUS_REQUEST_OUT_OF_SEQUENCE"},
1195        {STATUS_IMPLEMENTATION_LIMIT, -EIO, "STATUS_IMPLEMENTATION_LIMIT"},
1196        {STATUS_ELEVATION_REQUIRED, -EIO, "STATUS_ELEVATION_REQUIRED"},
1197        {STATUS_BEYOND_VDL, -EIO, "STATUS_BEYOND_VDL"},
1198        {STATUS_ENCOUNTERED_WRITE_IN_PROGRESS, -EIO,
1199        "STATUS_ENCOUNTERED_WRITE_IN_PROGRESS"},
1200        {STATUS_PTE_CHANGED, -EIO, "STATUS_PTE_CHANGED"},
1201        {STATUS_PURGE_FAILED, -EIO, "STATUS_PURGE_FAILED"},
1202        {STATUS_CRED_REQUIRES_CONFIRMATION, -EIO,
1203        "STATUS_CRED_REQUIRES_CONFIRMATION"},
1204        {STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE, -EIO,
1205        "STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE"},
1206        {STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER, -EIO,
1207        "STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER"},
1208        {STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE, -EIO,
1209        "STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE"},
1210        {STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE, -EIO,
1211        "STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE"},
1212        {STATUS_CS_ENCRYPTION_FILE_NOT_CSE, -EIO,
1213        "STATUS_CS_ENCRYPTION_FILE_NOT_CSE"},
1214        {STATUS_INVALID_LABEL, -EIO, "STATUS_INVALID_LABEL"},
1215        {STATUS_DRIVER_PROCESS_TERMINATED, -EIO,
1216        "STATUS_DRIVER_PROCESS_TERMINATED"},
1217        {STATUS_AMBIGUOUS_SYSTEM_DEVICE, -EIO,
1218        "STATUS_AMBIGUOUS_SYSTEM_DEVICE"},
1219        {STATUS_SYSTEM_DEVICE_NOT_FOUND, -EIO,
1220        "STATUS_SYSTEM_DEVICE_NOT_FOUND"},
1221        {STATUS_RESTART_BOOT_APPLICATION, -EIO,
1222        "STATUS_RESTART_BOOT_APPLICATION"},
1223        {STATUS_INVALID_TASK_NAME, -EIO, "STATUS_INVALID_TASK_NAME"},
1224        {STATUS_INVALID_TASK_INDEX, -EIO, "STATUS_INVALID_TASK_INDEX"},
1225        {STATUS_THREAD_ALREADY_IN_TASK, -EIO, "STATUS_THREAD_ALREADY_IN_TASK"},
1226        {STATUS_CALLBACK_BYPASS, -EIO, "STATUS_CALLBACK_BYPASS"},
1227        {STATUS_PORT_CLOSED, -EIO, "STATUS_PORT_CLOSED"},
1228        {STATUS_MESSAGE_LOST, -EIO, "STATUS_MESSAGE_LOST"},
1229        {STATUS_INVALID_MESSAGE, -EIO, "STATUS_INVALID_MESSAGE"},
1230        {STATUS_REQUEST_CANCELED, -EIO, "STATUS_REQUEST_CANCELED"},
1231        {STATUS_RECURSIVE_DISPATCH, -EIO, "STATUS_RECURSIVE_DISPATCH"},
1232        {STATUS_LPC_RECEIVE_BUFFER_EXPECTED, -EIO,
1233        "STATUS_LPC_RECEIVE_BUFFER_EXPECTED"},
1234        {STATUS_LPC_INVALID_CONNECTION_USAGE, -EIO,
1235        "STATUS_LPC_INVALID_CONNECTION_USAGE"},
1236        {STATUS_LPC_REQUESTS_NOT_ALLOWED, -EIO,
1237        "STATUS_LPC_REQUESTS_NOT_ALLOWED"},
1238        {STATUS_RESOURCE_IN_USE, -EIO, "STATUS_RESOURCE_IN_USE"},
1239        {STATUS_HARDWARE_MEMORY_ERROR, -EIO, "STATUS_HARDWARE_MEMORY_ERROR"},
1240        {STATUS_THREADPOOL_HANDLE_EXCEPTION, -EIO,
1241        "STATUS_THREADPOOL_HANDLE_EXCEPTION"},
1242        {STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED, -EIO,
1243        "STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED"},
1244        {STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED, -EIO,
1245        "STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED"},
1246        {STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED, -EIO,
1247        "STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED"},
1248        {STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED, -EIO,
1249        "STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED"},
1250        {STATUS_THREADPOOL_RELEASED_DURING_OPERATION, -EIO,
1251        "STATUS_THREADPOOL_RELEASED_DURING_OPERATION"},
1252        {STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING, -EIO,
1253        "STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING"},
1254        {STATUS_APC_RETURNED_WHILE_IMPERSONATING, -EIO,
1255        "STATUS_APC_RETURNED_WHILE_IMPERSONATING"},
1256        {STATUS_PROCESS_IS_PROTECTED, -EIO, "STATUS_PROCESS_IS_PROTECTED"},
1257        {STATUS_MCA_EXCEPTION, -EIO, "STATUS_MCA_EXCEPTION"},
1258        {STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE, -EIO,
1259        "STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE"},
1260        {STATUS_SYMLINK_CLASS_DISABLED, -EIO, "STATUS_SYMLINK_CLASS_DISABLED"},
1261        {STATUS_INVALID_IDN_NORMALIZATION, -EIO,
1262        "STATUS_INVALID_IDN_NORMALIZATION"},
1263        {STATUS_NO_UNICODE_TRANSLATION, -EIO, "STATUS_NO_UNICODE_TRANSLATION"},
1264        {STATUS_ALREADY_REGISTERED, -EIO, "STATUS_ALREADY_REGISTERED"},
1265        {STATUS_CONTEXT_MISMATCH, -EIO, "STATUS_CONTEXT_MISMATCH"},
1266        {STATUS_PORT_ALREADY_HAS_COMPLETION_LIST, -EIO,
1267        "STATUS_PORT_ALREADY_HAS_COMPLETION_LIST"},
1268        {STATUS_CALLBACK_RETURNED_THREAD_PRIORITY, -EIO,
1269        "STATUS_CALLBACK_RETURNED_THREAD_PRIORITY"},
1270        {STATUS_INVALID_THREAD, -EIO, "STATUS_INVALID_THREAD"},
1271        {STATUS_CALLBACK_RETURNED_TRANSACTION, -EIO,
1272        "STATUS_CALLBACK_RETURNED_TRANSACTION"},
1273        {STATUS_CALLBACK_RETURNED_LDR_LOCK, -EIO,
1274        "STATUS_CALLBACK_RETURNED_LDR_LOCK"},
1275        {STATUS_CALLBACK_RETURNED_LANG, -EIO, "STATUS_CALLBACK_RETURNED_LANG"},
1276        {STATUS_CALLBACK_RETURNED_PRI_BACK, -EIO,
1277        "STATUS_CALLBACK_RETURNED_PRI_BACK"},
1278        {STATUS_CALLBACK_RETURNED_THREAD_AFFINITY, -EIO,
1279        "STATUS_CALLBACK_RETURNED_THREAD_AFFINITY"},
1280        {STATUS_DISK_REPAIR_DISABLED, -EIO, "STATUS_DISK_REPAIR_DISABLED"},
1281        {STATUS_DS_DOMAIN_RENAME_IN_PROGRESS, -EIO,
1282        "STATUS_DS_DOMAIN_RENAME_IN_PROGRESS"},
1283        {STATUS_DISK_QUOTA_EXCEEDED, -EDQUOT, "STATUS_DISK_QUOTA_EXCEEDED"},
1284        {STATUS_CONTENT_BLOCKED, -EIO, "STATUS_CONTENT_BLOCKED"},
1285        {STATUS_BAD_CLUSTERS, -EIO, "STATUS_BAD_CLUSTERS"},
1286        {STATUS_VOLUME_DIRTY, -EIO, "STATUS_VOLUME_DIRTY"},
1287        {STATUS_FILE_CHECKED_OUT, -EIO, "STATUS_FILE_CHECKED_OUT"},
1288        {STATUS_CHECKOUT_REQUIRED, -EIO, "STATUS_CHECKOUT_REQUIRED"},
1289        {STATUS_BAD_FILE_TYPE, -EIO, "STATUS_BAD_FILE_TYPE"},
1290        {STATUS_FILE_TOO_LARGE, -EIO, "STATUS_FILE_TOO_LARGE"},
1291        {STATUS_FORMS_AUTH_REQUIRED, -EIO, "STATUS_FORMS_AUTH_REQUIRED"},
1292        {STATUS_VIRUS_INFECTED, -EIO, "STATUS_VIRUS_INFECTED"},
1293        {STATUS_VIRUS_DELETED, -EIO, "STATUS_VIRUS_DELETED"},
1294        {STATUS_BAD_MCFG_TABLE, -EIO, "STATUS_BAD_MCFG_TABLE"},
1295        {STATUS_WOW_ASSERTION, -EIO, "STATUS_WOW_ASSERTION"},
1296        {STATUS_INVALID_SIGNATURE, -EIO, "STATUS_INVALID_SIGNATURE"},
1297        {STATUS_HMAC_NOT_SUPPORTED, -EIO, "STATUS_HMAC_NOT_SUPPORTED"},
1298        {STATUS_IPSEC_QUEUE_OVERFLOW, -EIO, "STATUS_IPSEC_QUEUE_OVERFLOW"},
1299        {STATUS_ND_QUEUE_OVERFLOW, -EIO, "STATUS_ND_QUEUE_OVERFLOW"},
1300        {STATUS_HOPLIMIT_EXCEEDED, -EIO, "STATUS_HOPLIMIT_EXCEEDED"},
1301        {STATUS_PROTOCOL_NOT_SUPPORTED, -EOPNOTSUPP,
1302        "STATUS_PROTOCOL_NOT_SUPPORTED"},
1303        {STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED, -EIO,
1304        "STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED"},
1305        {STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR, -EIO,
1306        "STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR"},
1307        {STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR, -EIO,
1308        "STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR"},
1309        {STATUS_XML_PARSE_ERROR, -EIO, "STATUS_XML_PARSE_ERROR"},
1310        {STATUS_XMLDSIG_ERROR, -EIO, "STATUS_XMLDSIG_ERROR"},
1311        {STATUS_WRONG_COMPARTMENT, -EIO, "STATUS_WRONG_COMPARTMENT"},
1312        {STATUS_AUTHIP_FAILURE, -EIO, "STATUS_AUTHIP_FAILURE"},
1313        {DBG_NO_STATE_CHANGE, -EIO, "DBG_NO_STATE_CHANGE"},
1314        {DBG_APP_NOT_IDLE, -EIO, "DBG_APP_NOT_IDLE"},
1315        {RPC_NT_INVALID_STRING_BINDING, -EIO, "RPC_NT_INVALID_STRING_BINDING"},
1316        {RPC_NT_WRONG_KIND_OF_BINDING, -EIO, "RPC_NT_WRONG_KIND_OF_BINDING"},
1317        {RPC_NT_INVALID_BINDING, -EIO, "RPC_NT_INVALID_BINDING"},
1318        {RPC_NT_PROTSEQ_NOT_SUPPORTED, -EOPNOTSUPP,
1319        "RPC_NT_PROTSEQ_NOT_SUPPORTED"},
1320        {RPC_NT_INVALID_RPC_PROTSEQ, -EIO, "RPC_NT_INVALID_RPC_PROTSEQ"},
1321        {RPC_NT_INVALID_STRING_UUID, -EIO, "RPC_NT_INVALID_STRING_UUID"},
1322        {RPC_NT_INVALID_ENDPOINT_FORMAT, -EIO,
1323        "RPC_NT_INVALID_ENDPOINT_FORMAT"},
1324        {RPC_NT_INVALID_NET_ADDR, -EIO, "RPC_NT_INVALID_NET_ADDR"},
1325        {RPC_NT_NO_ENDPOINT_FOUND, -EIO, "RPC_NT_NO_ENDPOINT_FOUND"},
1326        {RPC_NT_INVALID_TIMEOUT, -EINVAL, "RPC_NT_INVALID_TIMEOUT"},
1327        {RPC_NT_OBJECT_NOT_FOUND, -ENOENT, "RPC_NT_OBJECT_NOT_FOUND"},
1328        {RPC_NT_ALREADY_REGISTERED, -EIO, "RPC_NT_ALREADY_REGISTERED"},
1329        {RPC_NT_TYPE_ALREADY_REGISTERED, -EIO,
1330        "RPC_NT_TYPE_ALREADY_REGISTERED"},
1331        {RPC_NT_ALREADY_LISTENING, -EIO, "RPC_NT_ALREADY_LISTENING"},
1332        {RPC_NT_NO_PROTSEQS_REGISTERED, -EIO, "RPC_NT_NO_PROTSEQS_REGISTERED"},
1333        {RPC_NT_NOT_LISTENING, -EIO, "RPC_NT_NOT_LISTENING"},
1334        {RPC_NT_UNKNOWN_MGR_TYPE, -EIO, "RPC_NT_UNKNOWN_MGR_TYPE"},
1335        {RPC_NT_UNKNOWN_IF, -EIO, "RPC_NT_UNKNOWN_IF"},
1336        {RPC_NT_NO_BINDINGS, -EIO, "RPC_NT_NO_BINDINGS"},
1337        {RPC_NT_NO_PROTSEQS, -EIO, "RPC_NT_NO_PROTSEQS"},
1338        {RPC_NT_CANT_CREATE_ENDPOINT, -EIO, "RPC_NT_CANT_CREATE_ENDPOINT"},
1339        {RPC_NT_OUT_OF_RESOURCES, -EIO, "RPC_NT_OUT_OF_RESOURCES"},
1340        {RPC_NT_SERVER_UNAVAILABLE, -EIO, "RPC_NT_SERVER_UNAVAILABLE"},
1341        {RPC_NT_SERVER_TOO_BUSY, -EBUSY, "RPC_NT_SERVER_TOO_BUSY"},
1342        {RPC_NT_INVALID_NETWORK_OPTIONS, -EIO,
1343        "RPC_NT_INVALID_NETWORK_OPTIONS"},
1344        {RPC_NT_NO_CALL_ACTIVE, -EIO, "RPC_NT_NO_CALL_ACTIVE"},
1345        {RPC_NT_CALL_FAILED, -EIO, "RPC_NT_CALL_FAILED"},
1346        {RPC_NT_CALL_FAILED_DNE, -EIO, "RPC_NT_CALL_FAILED_DNE"},
1347        {RPC_NT_PROTOCOL_ERROR, -EIO, "RPC_NT_PROTOCOL_ERROR"},
1348        {RPC_NT_UNSUPPORTED_TRANS_SYN, -EIO, "RPC_NT_UNSUPPORTED_TRANS_SYN"},
1349        {RPC_NT_UNSUPPORTED_TYPE, -EIO, "RPC_NT_UNSUPPORTED_TYPE"},
1350        {RPC_NT_INVALID_TAG, -EIO, "RPC_NT_INVALID_TAG"},
1351        {RPC_NT_INVALID_BOUND, -EIO, "RPC_NT_INVALID_BOUND"},
1352        {RPC_NT_NO_ENTRY_NAME, -EIO, "RPC_NT_NO_ENTRY_NAME"},
1353        {RPC_NT_INVALID_NAME_SYNTAX, -EIO, "RPC_NT_INVALID_NAME_SYNTAX"},
1354        {RPC_NT_UNSUPPORTED_NAME_SYNTAX, -EIO,
1355        "RPC_NT_UNSUPPORTED_NAME_SYNTAX"},
1356        {RPC_NT_UUID_NO_ADDRESS, -EIO, "RPC_NT_UUID_NO_ADDRESS"},
1357        {RPC_NT_DUPLICATE_ENDPOINT, -ENOTUNIQ, "RPC_NT_DUPLICATE_ENDPOINT"},
1358        {RPC_NT_UNKNOWN_AUTHN_TYPE, -EIO, "RPC_NT_UNKNOWN_AUTHN_TYPE"},
1359        {RPC_NT_MAX_CALLS_TOO_SMALL, -EIO, "RPC_NT_MAX_CALLS_TOO_SMALL"},
1360        {RPC_NT_STRING_TOO_LONG, -EIO, "RPC_NT_STRING_TOO_LONG"},
1361        {RPC_NT_PROTSEQ_NOT_FOUND, -EIO, "RPC_NT_PROTSEQ_NOT_FOUND"},
1362        {RPC_NT_PROCNUM_OUT_OF_RANGE, -EIO, "RPC_NT_PROCNUM_OUT_OF_RANGE"},
1363        {RPC_NT_BINDING_HAS_NO_AUTH, -EIO, "RPC_NT_BINDING_HAS_NO_AUTH"},
1364        {RPC_NT_UNKNOWN_AUTHN_SERVICE, -EIO, "RPC_NT_UNKNOWN_AUTHN_SERVICE"},
1365        {RPC_NT_UNKNOWN_AUTHN_LEVEL, -EIO, "RPC_NT_UNKNOWN_AUTHN_LEVEL"},
1366        {RPC_NT_INVALID_AUTH_IDENTITY, -EIO, "RPC_NT_INVALID_AUTH_IDENTITY"},
1367        {RPC_NT_UNKNOWN_AUTHZ_SERVICE, -EIO, "RPC_NT_UNKNOWN_AUTHZ_SERVICE"},
1368        {EPT_NT_INVALID_ENTRY, -EIO, "EPT_NT_INVALID_ENTRY"},
1369        {EPT_NT_CANT_PERFORM_OP, -EIO, "EPT_NT_CANT_PERFORM_OP"},
1370        {EPT_NT_NOT_REGISTERED, -EIO, "EPT_NT_NOT_REGISTERED"},
1371        {RPC_NT_NOTHING_TO_EXPORT, -EIO, "RPC_NT_NOTHING_TO_EXPORT"},
1372        {RPC_NT_INCOMPLETE_NAME, -EIO, "RPC_NT_INCOMPLETE_NAME"},
1373        {RPC_NT_INVALID_VERS_OPTION, -EIO, "RPC_NT_INVALID_VERS_OPTION"},
1374        {RPC_NT_NO_MORE_MEMBERS, -EIO, "RPC_NT_NO_MORE_MEMBERS"},
1375        {RPC_NT_NOT_ALL_OBJS_UNEXPORTED, -EIO,
1376        "RPC_NT_NOT_ALL_OBJS_UNEXPORTED"},
1377        {RPC_NT_INTERFACE_NOT_FOUND, -EIO, "RPC_NT_INTERFACE_NOT_FOUND"},
1378        {RPC_NT_ENTRY_ALREADY_EXISTS, -EIO, "RPC_NT_ENTRY_ALREADY_EXISTS"},
1379        {RPC_NT_ENTRY_NOT_FOUND, -EIO, "RPC_NT_ENTRY_NOT_FOUND"},
1380        {RPC_NT_NAME_SERVICE_UNAVAILABLE, -EIO,
1381        "RPC_NT_NAME_SERVICE_UNAVAILABLE"},
1382        {RPC_NT_INVALID_NAF_ID, -EIO, "RPC_NT_INVALID_NAF_ID"},
1383        {RPC_NT_CANNOT_SUPPORT, -EOPNOTSUPP, "RPC_NT_CANNOT_SUPPORT"},
1384        {RPC_NT_NO_CONTEXT_AVAILABLE, -EIO, "RPC_NT_NO_CONTEXT_AVAILABLE"},
1385        {RPC_NT_INTERNAL_ERROR, -EIO, "RPC_NT_INTERNAL_ERROR"},
1386        {RPC_NT_ZERO_DIVIDE, -EIO, "RPC_NT_ZERO_DIVIDE"},
1387        {RPC_NT_ADDRESS_ERROR, -EIO, "RPC_NT_ADDRESS_ERROR"},
1388        {RPC_NT_FP_DIV_ZERO, -EIO, "RPC_NT_FP_DIV_ZERO"},
1389        {RPC_NT_FP_UNDERFLOW, -EIO, "RPC_NT_FP_UNDERFLOW"},
1390        {RPC_NT_FP_OVERFLOW, -EIO, "RPC_NT_FP_OVERFLOW"},
1391        {RPC_NT_CALL_IN_PROGRESS, -EIO, "RPC_NT_CALL_IN_PROGRESS"},
1392        {RPC_NT_NO_MORE_BINDINGS, -EIO, "RPC_NT_NO_MORE_BINDINGS"},
1393        {RPC_NT_GROUP_MEMBER_NOT_FOUND, -EIO, "RPC_NT_GROUP_MEMBER_NOT_FOUND"},
1394        {EPT_NT_CANT_CREATE, -EIO, "EPT_NT_CANT_CREATE"},
1395        {RPC_NT_INVALID_OBJECT, -EIO, "RPC_NT_INVALID_OBJECT"},
1396        {RPC_NT_NO_INTERFACES, -EIO, "RPC_NT_NO_INTERFACES"},
1397        {RPC_NT_CALL_CANCELLED, -EIO, "RPC_NT_CALL_CANCELLED"},
1398        {RPC_NT_BINDING_INCOMPLETE, -EIO, "RPC_NT_BINDING_INCOMPLETE"},
1399        {RPC_NT_COMM_FAILURE, -EIO, "RPC_NT_COMM_FAILURE"},
1400        {RPC_NT_UNSUPPORTED_AUTHN_LEVEL, -EIO,
1401        "RPC_NT_UNSUPPORTED_AUTHN_LEVEL"},
1402        {RPC_NT_NO_PRINC_NAME, -EIO, "RPC_NT_NO_PRINC_NAME"},
1403        {RPC_NT_NOT_RPC_ERROR, -EIO, "RPC_NT_NOT_RPC_ERROR"},
1404        {RPC_NT_SEC_PKG_ERROR, -EIO, "RPC_NT_SEC_PKG_ERROR"},
1405        {RPC_NT_NOT_CANCELLED, -EIO, "RPC_NT_NOT_CANCELLED"},
1406        {RPC_NT_INVALID_ASYNC_HANDLE, -EIO, "RPC_NT_INVALID_ASYNC_HANDLE"},
1407        {RPC_NT_INVALID_ASYNC_CALL, -EIO, "RPC_NT_INVALID_ASYNC_CALL"},
1408        {RPC_NT_PROXY_ACCESS_DENIED, -EACCES, "RPC_NT_PROXY_ACCESS_DENIED"},
1409        {RPC_NT_NO_MORE_ENTRIES, -EIO, "RPC_NT_NO_MORE_ENTRIES"},
1410        {RPC_NT_SS_CHAR_TRANS_OPEN_FAIL, -EIO,
1411        "RPC_NT_SS_CHAR_TRANS_OPEN_FAIL"},
1412        {RPC_NT_SS_CHAR_TRANS_SHORT_FILE, -EIO,
1413        "RPC_NT_SS_CHAR_TRANS_SHORT_FILE"},
1414        {RPC_NT_SS_IN_NULL_CONTEXT, -EIO, "RPC_NT_SS_IN_NULL_CONTEXT"},
1415        {RPC_NT_SS_CONTEXT_MISMATCH, -EIO, "RPC_NT_SS_CONTEXT_MISMATCH"},
1416        {RPC_NT_SS_CONTEXT_DAMAGED, -EIO, "RPC_NT_SS_CONTEXT_DAMAGED"},
1417        {RPC_NT_SS_HANDLES_MISMATCH, -EIO, "RPC_NT_SS_HANDLES_MISMATCH"},
1418        {RPC_NT_SS_CANNOT_GET_CALL_HANDLE, -EIO,
1419        "RPC_NT_SS_CANNOT_GET_CALL_HANDLE"},
1420        {RPC_NT_NULL_REF_POINTER, -EIO, "RPC_NT_NULL_REF_POINTER"},
1421        {RPC_NT_ENUM_VALUE_OUT_OF_RANGE, -EIO,
1422        "RPC_NT_ENUM_VALUE_OUT_OF_RANGE"},
1423        {RPC_NT_BYTE_COUNT_TOO_SMALL, -EIO, "RPC_NT_BYTE_COUNT_TOO_SMALL"},
1424        {RPC_NT_BAD_STUB_DATA, -EIO, "RPC_NT_BAD_STUB_DATA"},
1425        {RPC_NT_INVALID_ES_ACTION, -EIO, "RPC_NT_INVALID_ES_ACTION"},
1426        {RPC_NT_WRONG_ES_VERSION, -EIO, "RPC_NT_WRONG_ES_VERSION"},
1427        {RPC_NT_WRONG_STUB_VERSION, -EIO, "RPC_NT_WRONG_STUB_VERSION"},
1428        {RPC_NT_INVALID_PIPE_OBJECT, -EIO, "RPC_NT_INVALID_PIPE_OBJECT"},
1429        {RPC_NT_INVALID_PIPE_OPERATION, -EIO, "RPC_NT_INVALID_PIPE_OPERATION"},
1430        {RPC_NT_WRONG_PIPE_VERSION, -EIO, "RPC_NT_WRONG_PIPE_VERSION"},
1431        {RPC_NT_PIPE_CLOSED, -EIO, "RPC_NT_PIPE_CLOSED"},
1432        {RPC_NT_PIPE_DISCIPLINE_ERROR, -EIO, "RPC_NT_PIPE_DISCIPLINE_ERROR"},
1433        {RPC_NT_PIPE_EMPTY, -EIO, "RPC_NT_PIPE_EMPTY"},
1434        {STATUS_PNP_BAD_MPS_TABLE, -EIO, "STATUS_PNP_BAD_MPS_TABLE"},
1435        {STATUS_PNP_TRANSLATION_FAILED, -EIO, "STATUS_PNP_TRANSLATION_FAILED"},
1436        {STATUS_PNP_IRQ_TRANSLATION_FAILED, -EIO,
1437        "STATUS_PNP_IRQ_TRANSLATION_FAILED"},
1438        {STATUS_PNP_INVALID_ID, -EIO, "STATUS_PNP_INVALID_ID"},
1439        {STATUS_IO_REISSUE_AS_CACHED, -EIO, "STATUS_IO_REISSUE_AS_CACHED"},
1440        {STATUS_CTX_WINSTATION_NAME_INVALID, -EIO,
1441        "STATUS_CTX_WINSTATION_NAME_INVALID"},
1442        {STATUS_CTX_INVALID_PD, -EIO, "STATUS_CTX_INVALID_PD"},
1443        {STATUS_CTX_PD_NOT_FOUND, -EIO, "STATUS_CTX_PD_NOT_FOUND"},
1444        {STATUS_CTX_CLOSE_PENDING, -EIO, "STATUS_CTX_CLOSE_PENDING"},
1445        {STATUS_CTX_NO_OUTBUF, -EIO, "STATUS_CTX_NO_OUTBUF"},
1446        {STATUS_CTX_MODEM_INF_NOT_FOUND, -EIO,
1447        "STATUS_CTX_MODEM_INF_NOT_FOUND"},
1448        {STATUS_CTX_INVALID_MODEMNAME, -EIO, "STATUS_CTX_INVALID_MODEMNAME"},
1449        {STATUS_CTX_RESPONSE_ERROR, -EIO, "STATUS_CTX_RESPONSE_ERROR"},
1450        {STATUS_CTX_MODEM_RESPONSE_TIMEOUT, -ETIMEDOUT,
1451        "STATUS_CTX_MODEM_RESPONSE_TIMEOUT"},
1452        {STATUS_CTX_MODEM_RESPONSE_NO_CARRIER, -EIO,
1453        "STATUS_CTX_MODEM_RESPONSE_NO_CARRIER"},
1454        {STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE, -EIO,
1455        "STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE"},
1456        {STATUS_CTX_MODEM_RESPONSE_BUSY, -EBUSY,
1457        "STATUS_CTX_MODEM_RESPONSE_BUSY"},
1458        {STATUS_CTX_MODEM_RESPONSE_VOICE, -EIO,
1459        "STATUS_CTX_MODEM_RESPONSE_VOICE"},
1460        {STATUS_CTX_TD_ERROR, -EIO, "STATUS_CTX_TD_ERROR"},
1461        {STATUS_CTX_LICENSE_CLIENT_INVALID, -EIO,
1462        "STATUS_CTX_LICENSE_CLIENT_INVALID"},
1463        {STATUS_CTX_LICENSE_NOT_AVAILABLE, -EIO,
1464        "STATUS_CTX_LICENSE_NOT_AVAILABLE"},
1465        {STATUS_CTX_LICENSE_EXPIRED, -EIO, "STATUS_CTX_LICENSE_EXPIRED"},
1466        {STATUS_CTX_WINSTATION_NOT_FOUND, -EIO,
1467        "STATUS_CTX_WINSTATION_NOT_FOUND"},
1468        {STATUS_CTX_WINSTATION_NAME_COLLISION, -EIO,
1469        "STATUS_CTX_WINSTATION_NAME_COLLISION"},
1470        {STATUS_CTX_WINSTATION_BUSY, -EBUSY, "STATUS_CTX_WINSTATION_BUSY"},
1471        {STATUS_CTX_BAD_VIDEO_MODE, -EIO, "STATUS_CTX_BAD_VIDEO_MODE"},
1472        {STATUS_CTX_GRAPHICS_INVALID, -EIO, "STATUS_CTX_GRAPHICS_INVALID"},
1473        {STATUS_CTX_NOT_CONSOLE, -EIO, "STATUS_CTX_NOT_CONSOLE"},
1474        {STATUS_CTX_CLIENT_QUERY_TIMEOUT, -EIO,
1475        "STATUS_CTX_CLIENT_QUERY_TIMEOUT"},
1476        {STATUS_CTX_CONSOLE_DISCONNECT, -EIO, "STATUS_CTX_CONSOLE_DISCONNECT"},
1477        {STATUS_CTX_CONSOLE_CONNECT, -EIO, "STATUS_CTX_CONSOLE_CONNECT"},
1478        {STATUS_CTX_SHADOW_DENIED, -EIO, "STATUS_CTX_SHADOW_DENIED"},
1479        {STATUS_CTX_WINSTATION_ACCESS_DENIED, -EACCES,
1480        "STATUS_CTX_WINSTATION_ACCESS_DENIED"},
1481        {STATUS_CTX_INVALID_WD, -EIO, "STATUS_CTX_INVALID_WD"},
1482        {STATUS_CTX_WD_NOT_FOUND, -EIO, "STATUS_CTX_WD_NOT_FOUND"},
1483        {STATUS_CTX_SHADOW_INVALID, -EIO, "STATUS_CTX_SHADOW_INVALID"},
1484        {STATUS_CTX_SHADOW_DISABLED, -EIO, "STATUS_CTX_SHADOW_DISABLED"},
1485        {STATUS_RDP_PROTOCOL_ERROR, -EIO, "STATUS_RDP_PROTOCOL_ERROR"},
1486        {STATUS_CTX_CLIENT_LICENSE_NOT_SET, -EIO,
1487        "STATUS_CTX_CLIENT_LICENSE_NOT_SET"},
1488        {STATUS_CTX_CLIENT_LICENSE_IN_USE, -EIO,
1489        "STATUS_CTX_CLIENT_LICENSE_IN_USE"},
1490        {STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE, -EIO,
1491        "STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE"},
1492        {STATUS_CTX_SHADOW_NOT_RUNNING, -EIO, "STATUS_CTX_SHADOW_NOT_RUNNING"},
1493        {STATUS_CTX_LOGON_DISABLED, -EIO, "STATUS_CTX_LOGON_DISABLED"},
1494        {STATUS_CTX_SECURITY_LAYER_ERROR, -EIO,
1495        "STATUS_CTX_SECURITY_LAYER_ERROR"},
1496        {STATUS_TS_INCOMPATIBLE_SESSIONS, -EIO,
1497        "STATUS_TS_INCOMPATIBLE_SESSIONS"},
1498        {STATUS_MUI_FILE_NOT_FOUND, -EIO, "STATUS_MUI_FILE_NOT_FOUND"},
1499        {STATUS_MUI_INVALID_FILE, -EIO, "STATUS_MUI_INVALID_FILE"},
1500        {STATUS_MUI_INVALID_RC_CONFIG, -EIO, "STATUS_MUI_INVALID_RC_CONFIG"},
1501        {STATUS_MUI_INVALID_LOCALE_NAME, -EIO,
1502        "STATUS_MUI_INVALID_LOCALE_NAME"},
1503        {STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME, -EIO,
1504        "STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME"},
1505        {STATUS_MUI_FILE_NOT_LOADED, -EIO, "STATUS_MUI_FILE_NOT_LOADED"},
1506        {STATUS_RESOURCE_ENUM_USER_STOP, -EIO,
1507        "STATUS_RESOURCE_ENUM_USER_STOP"},
1508        {STATUS_CLUSTER_INVALID_NODE, -EIO, "STATUS_CLUSTER_INVALID_NODE"},
1509        {STATUS_CLUSTER_NODE_EXISTS, -EIO, "STATUS_CLUSTER_NODE_EXISTS"},
1510        {STATUS_CLUSTER_JOIN_IN_PROGRESS, -EIO,
1511        "STATUS_CLUSTER_JOIN_IN_PROGRESS"},
1512        {STATUS_CLUSTER_NODE_NOT_FOUND, -EIO, "STATUS_CLUSTER_NODE_NOT_FOUND"},
1513        {STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND, -EIO,
1514        "STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND"},
1515        {STATUS_CLUSTER_NETWORK_EXISTS, -EIO, "STATUS_CLUSTER_NETWORK_EXISTS"},
1516        {STATUS_CLUSTER_NETWORK_NOT_FOUND, -EIO,
1517        "STATUS_CLUSTER_NETWORK_NOT_FOUND"},
1518        {STATUS_CLUSTER_NETINTERFACE_EXISTS, -EIO,
1519        "STATUS_CLUSTER_NETINTERFACE_EXISTS"},
1520        {STATUS_CLUSTER_NETINTERFACE_NOT_FOUND, -EIO,
1521        "STATUS_CLUSTER_NETINTERFACE_NOT_FOUND"},
1522        {STATUS_CLUSTER_INVALID_REQUEST, -EIO,
1523        "STATUS_CLUSTER_INVALID_REQUEST"},
1524        {STATUS_CLUSTER_INVALID_NETWORK_PROVIDER, -EIO,
1525        "STATUS_CLUSTER_INVALID_NETWORK_PROVIDER"},
1526        {STATUS_CLUSTER_NODE_DOWN, -EIO, "STATUS_CLUSTER_NODE_DOWN"},
1527        {STATUS_CLUSTER_NODE_UNREACHABLE, -EIO,
1528        "STATUS_CLUSTER_NODE_UNREACHABLE"},
1529        {STATUS_CLUSTER_NODE_NOT_MEMBER, -EIO,
1530        "STATUS_CLUSTER_NODE_NOT_MEMBER"},
1531        {STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS, -EIO,
1532        "STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS"},
1533        {STATUS_CLUSTER_INVALID_NETWORK, -EIO,
1534        "STATUS_CLUSTER_INVALID_NETWORK"},
1535        {STATUS_CLUSTER_NO_NET_ADAPTERS, -EIO,
1536        "STATUS_CLUSTER_NO_NET_ADAPTERS"},
1537        {STATUS_CLUSTER_NODE_UP, -EIO, "STATUS_CLUSTER_NODE_UP"},
1538        {STATUS_CLUSTER_NODE_PAUSED, -EIO, "STATUS_CLUSTER_NODE_PAUSED"},
1539        {STATUS_CLUSTER_NODE_NOT_PAUSED, -EIO,
1540        "STATUS_CLUSTER_NODE_NOT_PAUSED"},
1541        {STATUS_CLUSTER_NO_SECURITY_CONTEXT, -EIO,
1542        "STATUS_CLUSTER_NO_SECURITY_CONTEXT"},
1543        {STATUS_CLUSTER_NETWORK_NOT_INTERNAL, -EIO,
1544        "STATUS_CLUSTER_NETWORK_NOT_INTERNAL"},
1545        {STATUS_CLUSTER_POISONED, -EIO, "STATUS_CLUSTER_POISONED"},
1546        {STATUS_ACPI_INVALID_OPCODE, -EIO, "STATUS_ACPI_INVALID_OPCODE"},
1547        {STATUS_ACPI_STACK_OVERFLOW, -EIO, "STATUS_ACPI_STACK_OVERFLOW"},
1548        {STATUS_ACPI_ASSERT_FAILED, -EIO, "STATUS_ACPI_ASSERT_FAILED"},
1549        {STATUS_ACPI_INVALID_INDEX, -EIO, "STATUS_ACPI_INVALID_INDEX"},
1550        {STATUS_ACPI_INVALID_ARGUMENT, -EIO, "STATUS_ACPI_INVALID_ARGUMENT"},
1551        {STATUS_ACPI_FATAL, -EIO, "STATUS_ACPI_FATAL"},
1552        {STATUS_ACPI_INVALID_SUPERNAME, -EIO, "STATUS_ACPI_INVALID_SUPERNAME"},
1553        {STATUS_ACPI_INVALID_ARGTYPE, -EIO, "STATUS_ACPI_INVALID_ARGTYPE"},
1554        {STATUS_ACPI_INVALID_OBJTYPE, -EIO, "STATUS_ACPI_INVALID_OBJTYPE"},
1555        {STATUS_ACPI_INVALID_TARGETTYPE, -EIO,
1556        "STATUS_ACPI_INVALID_TARGETTYPE"},
1557        {STATUS_ACPI_INCORRECT_ARGUMENT_COUNT, -EIO,
1558        "STATUS_ACPI_INCORRECT_ARGUMENT_COUNT"},
1559        {STATUS_ACPI_ADDRESS_NOT_MAPPED, -EIO,
1560        "STATUS_ACPI_ADDRESS_NOT_MAPPED"},
1561        {STATUS_ACPI_INVALID_EVENTTYPE, -EIO, "STATUS_ACPI_INVALID_EVENTTYPE"},
1562        {STATUS_ACPI_HANDLER_COLLISION, -EIO, "STATUS_ACPI_HANDLER_COLLISION"},
1563        {STATUS_ACPI_INVALID_DATA, -EIO, "STATUS_ACPI_INVALID_DATA"},
1564        {STATUS_ACPI_INVALID_REGION, -EIO, "STATUS_ACPI_INVALID_REGION"},
1565        {STATUS_ACPI_INVALID_ACCESS_SIZE, -EIO,
1566        "STATUS_ACPI_INVALID_ACCESS_SIZE"},
1567        {STATUS_ACPI_ACQUIRE_GLOBAL_LOCK, -EIO,
1568        "STATUS_ACPI_ACQUIRE_GLOBAL_LOCK"},
1569        {STATUS_ACPI_ALREADY_INITIALIZED, -EIO,
1570        "STATUS_ACPI_ALREADY_INITIALIZED"},
1571        {STATUS_ACPI_NOT_INITIALIZED, -EIO, "STATUS_ACPI_NOT_INITIALIZED"},
1572        {STATUS_ACPI_INVALID_MUTEX_LEVEL, -EIO,
1573        "STATUS_ACPI_INVALID_MUTEX_LEVEL"},
1574        {STATUS_ACPI_MUTEX_NOT_OWNED, -EIO, "STATUS_ACPI_MUTEX_NOT_OWNED"},
1575        {STATUS_ACPI_MUTEX_NOT_OWNER, -EIO, "STATUS_ACPI_MUTEX_NOT_OWNER"},
1576        {STATUS_ACPI_RS_ACCESS, -EIO, "STATUS_ACPI_RS_ACCESS"},
1577        {STATUS_ACPI_INVALID_TABLE, -EIO, "STATUS_ACPI_INVALID_TABLE"},
1578        {STATUS_ACPI_REG_HANDLER_FAILED, -EIO,
1579        "STATUS_ACPI_REG_HANDLER_FAILED"},
1580        {STATUS_ACPI_POWER_REQUEST_FAILED, -EIO,
1581        "STATUS_ACPI_POWER_REQUEST_FAILED"},
1582        {STATUS_SXS_SECTION_NOT_FOUND, -EIO, "STATUS_SXS_SECTION_NOT_FOUND"},
1583        {STATUS_SXS_CANT_GEN_ACTCTX, -EIO, "STATUS_SXS_CANT_GEN_ACTCTX"},
1584        {STATUS_SXS_INVALID_ACTCTXDATA_FORMAT, -EIO,
1585        "STATUS_SXS_INVALID_ACTCTXDATA_FORMAT"},
1586        {STATUS_SXS_ASSEMBLY_NOT_FOUND, -EIO, "STATUS_SXS_ASSEMBLY_NOT_FOUND"},
1587        {STATUS_SXS_MANIFEST_FORMAT_ERROR, -EIO,
1588        "STATUS_SXS_MANIFEST_FORMAT_ERROR"},
1589        {STATUS_SXS_MANIFEST_PARSE_ERROR, -EIO,
1590        "STATUS_SXS_MANIFEST_PARSE_ERROR"},
1591        {STATUS_SXS_ACTIVATION_CONTEXT_DISABLED, -EIO,
1592        "STATUS_SXS_ACTIVATION_CONTEXT_DISABLED"},
1593        {STATUS_SXS_KEY_NOT_FOUND, -EIO, "STATUS_SXS_KEY_NOT_FOUND"},
1594        {STATUS_SXS_VERSION_CONFLICT, -EIO, "STATUS_SXS_VERSION_CONFLICT"},
1595        {STATUS_SXS_WRONG_SECTION_TYPE, -EIO, "STATUS_SXS_WRONG_SECTION_TYPE"},
1596        {STATUS_SXS_THREAD_QUERIES_DISABLED, -EIO,
1597        "STATUS_SXS_THREAD_QUERIES_DISABLED"},
1598        {STATUS_SXS_ASSEMBLY_MISSING, -EIO, "STATUS_SXS_ASSEMBLY_MISSING"},
1599        {STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET, -EIO,
1600        "STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET"},
1601        {STATUS_SXS_EARLY_DEACTIVATION, -EIO, "STATUS_SXS_EARLY_DEACTIVATION"},
1602        {STATUS_SXS_INVALID_DEACTIVATION, -EIO,
1603        "STATUS_SXS_INVALID_DEACTIVATION"},
1604        {STATUS_SXS_MULTIPLE_DEACTIVATION, -EIO,
1605        "STATUS_SXS_MULTIPLE_DEACTIVATION"},
1606        {STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY, -EIO,
1607        "STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY"},
1608        {STATUS_SXS_PROCESS_TERMINATION_REQUESTED, -EIO,
1609        "STATUS_SXS_PROCESS_TERMINATION_REQUESTED"},
1610        {STATUS_SXS_CORRUPT_ACTIVATION_STACK, -EIO,
1611        "STATUS_SXS_CORRUPT_ACTIVATION_STACK"},
1612        {STATUS_SXS_CORRUPTION, -EIO, "STATUS_SXS_CORRUPTION"},
1613        {STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE, -EIO,
1614        "STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE"},
1615        {STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME, -EIO,
1616        "STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME"},
1617        {STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE, -EIO,
1618        "STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE"},
1619        {STATUS_SXS_IDENTITY_PARSE_ERROR, -EIO,
1620        "STATUS_SXS_IDENTITY_PARSE_ERROR"},
1621        {STATUS_SXS_COMPONENT_STORE_CORRUPT, -EIO,
1622        "STATUS_SXS_COMPONENT_STORE_CORRUPT"},
1623        {STATUS_SXS_FILE_HASH_MISMATCH, -EIO, "STATUS_SXS_FILE_HASH_MISMATCH"},
1624        {STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT, -EIO,
1625        "STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT"},
1626        {STATUS_SXS_IDENTITIES_DIFFERENT, -EIO,
1627        "STATUS_SXS_IDENTITIES_DIFFERENT"},
1628        {STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT, -EIO,
1629        "STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT"},
1630        {STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY, -EIO,
1631        "STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY"},
1632        {STATUS_ADVANCED_INSTALLER_FAILED, -EIO,
1633        "STATUS_ADVANCED_INSTALLER_FAILED"},
1634        {STATUS_XML_ENCODING_MISMATCH, -EIO, "STATUS_XML_ENCODING_MISMATCH"},
1635        {STATUS_SXS_MANIFEST_TOO_BIG, -EIO, "STATUS_SXS_MANIFEST_TOO_BIG"},
1636        {STATUS_SXS_SETTING_NOT_REGISTERED, -EIO,
1637        "STATUS_SXS_SETTING_NOT_REGISTERED"},
1638        {STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE, -EIO,
1639        "STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE"},
1640        {STATUS_SMI_PRIMITIVE_INSTALLER_FAILED, -EIO,
1641        "STATUS_SMI_PRIMITIVE_INSTALLER_FAILED"},
1642        {STATUS_GENERIC_COMMAND_FAILED, -EIO, "STATUS_GENERIC_COMMAND_FAILED"},
1643        {STATUS_SXS_FILE_HASH_MISSING, -EIO, "STATUS_SXS_FILE_HASH_MISSING"},
1644        {STATUS_TRANSACTIONAL_CONFLICT, -EIO, "STATUS_TRANSACTIONAL_CONFLICT"},
1645        {STATUS_INVALID_TRANSACTION, -EIO, "STATUS_INVALID_TRANSACTION"},
1646        {STATUS_TRANSACTION_NOT_ACTIVE, -EIO, "STATUS_TRANSACTION_NOT_ACTIVE"},
1647        {STATUS_TM_INITIALIZATION_FAILED, -EIO,
1648        "STATUS_TM_INITIALIZATION_FAILED"},
1649        {STATUS_RM_NOT_ACTIVE, -EIO, "STATUS_RM_NOT_ACTIVE"},
1650        {STATUS_RM_METADATA_CORRUPT, -EIO, "STATUS_RM_METADATA_CORRUPT"},
1651        {STATUS_TRANSACTION_NOT_JOINED, -EIO, "STATUS_TRANSACTION_NOT_JOINED"},
1652        {STATUS_DIRECTORY_NOT_RM, -EIO, "STATUS_DIRECTORY_NOT_RM"},
1653        {STATUS_TRANSACTIONS_UNSUPPORTED_REMOTE, -EIO,
1654        "STATUS_TRANSACTIONS_UNSUPPORTED_REMOTE"},
1655        {STATUS_LOG_RESIZE_INVALID_SIZE, -EIO,
1656        "STATUS_LOG_RESIZE_INVALID_SIZE"},
1657        {STATUS_REMOTE_FILE_VERSION_MISMATCH, -EIO,
1658        "STATUS_REMOTE_FILE_VERSION_MISMATCH"},
1659        {STATUS_CRM_PROTOCOL_ALREADY_EXISTS, -EIO,
1660        "STATUS_CRM_PROTOCOL_ALREADY_EXISTS"},
1661        {STATUS_TRANSACTION_PROPAGATION_FAILED, -EIO,
1662        "STATUS_TRANSACTION_PROPAGATION_FAILED"},
1663        {STATUS_CRM_PROTOCOL_NOT_FOUND, -EIO, "STATUS_CRM_PROTOCOL_NOT_FOUND"},
1664        {STATUS_TRANSACTION_SUPERIOR_EXISTS, -EIO,
1665        "STATUS_TRANSACTION_SUPERIOR_EXISTS"},
1666        {STATUS_TRANSACTION_REQUEST_NOT_VALID, -EIO,
1667        "STATUS_TRANSACTION_REQUEST_NOT_VALID"},
1668        {STATUS_TRANSACTION_NOT_REQUESTED, -EIO,
1669        "STATUS_TRANSACTION_NOT_REQUESTED"},
1670        {STATUS_TRANSACTION_ALREADY_ABORTED, -EIO,
1671        "STATUS_TRANSACTION_ALREADY_ABORTED"},
1672        {STATUS_TRANSACTION_ALREADY_COMMITTED, -EIO,
1673        "STATUS_TRANSACTION_ALREADY_COMMITTED"},
1674        {STATUS_TRANSACTION_INVALID_MARSHALL_BUFFER, -EIO,
1675        "STATUS_TRANSACTION_INVALID_MARSHALL_BUFFER"},
1676        {STATUS_CURRENT_TRANSACTION_NOT_VALID, -EIO,
1677        "STATUS_CURRENT_TRANSACTION_NOT_VALID"},
1678        {STATUS_LOG_GROWTH_FAILED, -EIO, "STATUS_LOG_GROWTH_FAILED"},
1679        {STATUS_OBJECT_NO_LONGER_EXISTS, -EIO,
1680        "STATUS_OBJECT_NO_LONGER_EXISTS"},
1681        {STATUS_STREAM_MINIVERSION_NOT_FOUND, -EIO,
1682        "STATUS_STREAM_MINIVERSION_NOT_FOUND"},
1683        {STATUS_STREAM_MINIVERSION_NOT_VALID, -EIO,
1684        "STATUS_STREAM_MINIVERSION_NOT_VALID"},
1685        {STATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION, -EIO,
1686        "STATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION"},
1687        {STATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT, -EIO,
1688        "STATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT"},
1689        {STATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS, -EIO,
1690        "STATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS"},
1691        {STATUS_HANDLE_NO_LONGER_VALID, -EIO, "STATUS_HANDLE_NO_LONGER_VALID"},
1692        {STATUS_LOG_CORRUPTION_DETECTED, -EIO,
1693        "STATUS_LOG_CORRUPTION_DETECTED"},
1694        {STATUS_RM_DISCONNECTED, -EIO, "STATUS_RM_DISCONNECTED"},
1695        {STATUS_ENLISTMENT_NOT_SUPERIOR, -EIO,
1696        "STATUS_ENLISTMENT_NOT_SUPERIOR"},
1697        {STATUS_FILE_IDENTITY_NOT_PERSISTENT, -EIO,
1698        "STATUS_FILE_IDENTITY_NOT_PERSISTENT"},
1699        {STATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY, -EIO,
1700        "STATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY"},
1701        {STATUS_CANT_CROSS_RM_BOUNDARY, -EIO, "STATUS_CANT_CROSS_RM_BOUNDARY"},
1702        {STATUS_TXF_DIR_NOT_EMPTY, -EIO, "STATUS_TXF_DIR_NOT_EMPTY"},
1703        {STATUS_INDOUBT_TRANSACTIONS_EXIST, -EIO,
1704        "STATUS_INDOUBT_TRANSACTIONS_EXIST"},
1705        {STATUS_TM_VOLATILE, -EIO, "STATUS_TM_VOLATILE"},
1706        {STATUS_ROLLBACK_TIMER_EXPIRED, -EIO, "STATUS_ROLLBACK_TIMER_EXPIRED"},
1707        {STATUS_TXF_ATTRIBUTE_CORRUPT, -EIO, "STATUS_TXF_ATTRIBUTE_CORRUPT"},
1708        {STATUS_EFS_NOT_ALLOWED_IN_TRANSACTION, -EIO,
1709        "STATUS_EFS_NOT_ALLOWED_IN_TRANSACTION"},
1710        {STATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED, -EIO,
1711        "STATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED"},
1712        {STATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE, -EIO,
1713        "STATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE"},
1714        {STATUS_TRANSACTION_REQUIRED_PROMOTION, -EIO,
1715        "STATUS_TRANSACTION_REQUIRED_PROMOTION"},
1716        {STATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION, -EIO,
1717        "STATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION"},
1718        {STATUS_TRANSACTIONS_NOT_FROZEN, -EIO,
1719        "STATUS_TRANSACTIONS_NOT_FROZEN"},
1720        {STATUS_TRANSACTION_FREEZE_IN_PROGRESS, -EIO,
1721        "STATUS_TRANSACTION_FREEZE_IN_PROGRESS"},
1722        {STATUS_NOT_SNAPSHOT_VOLUME, -EIO, "STATUS_NOT_SNAPSHOT_VOLUME"},
1723        {STATUS_NO_SAVEPOINT_WITH_OPEN_FILES, -EIO,
1724        "STATUS_NO_SAVEPOINT_WITH_OPEN_FILES"},
1725        {STATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION, -EIO,
1726        "STATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION"},
1727        {STATUS_TM_IDENTITY_MISMATCH, -EIO, "STATUS_TM_IDENTITY_MISMATCH"},
1728        {STATUS_FLOATED_SECTION, -EIO, "STATUS_FLOATED_SECTION"},
1729        {STATUS_CANNOT_ACCEPT_TRANSACTED_WORK, -EIO,
1730        "STATUS_CANNOT_ACCEPT_TRANSACTED_WORK"},
1731        {STATUS_CANNOT_ABORT_TRANSACTIONS, -EIO,
1732        "STATUS_CANNOT_ABORT_TRANSACTIONS"},
1733        {STATUS_TRANSACTION_NOT_FOUND, -EIO, "STATUS_TRANSACTION_NOT_FOUND"},
1734        {STATUS_RESOURCEMANAGER_NOT_FOUND, -EIO,
1735        "STATUS_RESOURCEMANAGER_NOT_FOUND"},
1736        {STATUS_ENLISTMENT_NOT_FOUND, -EIO, "STATUS_ENLISTMENT_NOT_FOUND"},
1737        {STATUS_TRANSACTIONMANAGER_NOT_FOUND, -EIO,
1738        "STATUS_TRANSACTIONMANAGER_NOT_FOUND"},
1739        {STATUS_TRANSACTIONMANAGER_NOT_ONLINE, -EIO,
1740        "STATUS_TRANSACTIONMANAGER_NOT_ONLINE"},
1741        {STATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION, -EIO,
1742        "STATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION"},
1743        {STATUS_TRANSACTION_NOT_ROOT, -EIO, "STATUS_TRANSACTION_NOT_ROOT"},
1744        {STATUS_TRANSACTION_OBJECT_EXPIRED, -EIO,
1745        "STATUS_TRANSACTION_OBJECT_EXPIRED"},
1746        {STATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION, -EIO,
1747        "STATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION"},
1748        {STATUS_TRANSACTION_RESPONSE_NOT_ENLISTED, -EIO,
1749        "STATUS_TRANSACTION_RESPONSE_NOT_ENLISTED"},
1750        {STATUS_TRANSACTION_RECORD_TOO_LONG, -EIO,
1751        "STATUS_TRANSACTION_RECORD_TOO_LONG"},
1752        {STATUS_NO_LINK_TRACKING_IN_TRANSACTION, -EIO,
1753        "STATUS_NO_LINK_TRACKING_IN_TRANSACTION"},
1754        {STATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION, -EOPNOTSUPP,
1755        "STATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION"},
1756        {STATUS_TRANSACTION_INTEGRITY_VIOLATED, -EIO,
1757        "STATUS_TRANSACTION_INTEGRITY_VIOLATED"},
1758        {STATUS_LOG_SECTOR_INVALID, -EIO, "STATUS_LOG_SECTOR_INVALID"},
1759        {STATUS_LOG_SECTOR_PARITY_INVALID, -EIO,
1760        "STATUS_LOG_SECTOR_PARITY_INVALID"},
1761        {STATUS_LOG_SECTOR_REMAPPED, -EIO, "STATUS_LOG_SECTOR_REMAPPED"},
1762        {STATUS_LOG_BLOCK_INCOMPLETE, -EIO, "STATUS_LOG_BLOCK_INCOMPLETE"},
1763        {STATUS_LOG_INVALID_RANGE, -EIO, "STATUS_LOG_INVALID_RANGE"},
1764        {STATUS_LOG_BLOCKS_EXHAUSTED, -EIO, "STATUS_LOG_BLOCKS_EXHAUSTED"},
1765        {STATUS_LOG_READ_CONTEXT_INVALID, -EIO,
1766        "STATUS_LOG_READ_CONTEXT_INVALID"},
1767        {STATUS_LOG_RESTART_INVALID, -EIO, "STATUS_LOG_RESTART_INVALID"},
1768        {STATUS_LOG_BLOCK_VERSION, -EIO, "STATUS_LOG_BLOCK_VERSION"},
1769        {STATUS_LOG_BLOCK_INVALID, -EIO, "STATUS_LOG_BLOCK_INVALID"},
1770        {STATUS_LOG_READ_MODE_INVALID, -EIO, "STATUS_LOG_READ_MODE_INVALID"},
1771        {STATUS_LOG_METADATA_CORRUPT, -EIO, "STATUS_LOG_METADATA_CORRUPT"},
1772        {STATUS_LOG_METADATA_INVALID, -EIO, "STATUS_LOG_METADATA_INVALID"},
1773        {STATUS_LOG_METADATA_INCONSISTENT, -EIO,
1774        "STATUS_LOG_METADATA_INCONSISTENT"},
1775        {STATUS_LOG_RESERVATION_INVALID, -EIO,
1776        "STATUS_LOG_RESERVATION_INVALID"},
1777        {STATUS_LOG_CANT_DELETE, -EIO, "STATUS_LOG_CANT_DELETE"},
1778        {STATUS_LOG_CONTAINER_LIMIT_EXCEEDED, -EIO,
1779        "STATUS_LOG_CONTAINER_LIMIT_EXCEEDED"},
1780        {STATUS_LOG_START_OF_LOG, -EIO, "STATUS_LOG_START_OF_LOG"},
1781        {STATUS_LOG_POLICY_ALREADY_INSTALLED, -EIO,
1782        "STATUS_LOG_POLICY_ALREADY_INSTALLED"},
1783        {STATUS_LOG_POLICY_NOT_INSTALLED, -EIO,
1784        "STATUS_LOG_POLICY_NOT_INSTALLED"},
1785        {STATUS_LOG_POLICY_INVALID, -EIO, "STATUS_LOG_POLICY_INVALID"},
1786        {STATUS_LOG_POLICY_CONFLICT, -EIO, "STATUS_LOG_POLICY_CONFLICT"},
1787        {STATUS_LOG_PINNED_ARCHIVE_TAIL, -EIO,
1788        "STATUS_LOG_PINNED_ARCHIVE_TAIL"},
1789        {STATUS_LOG_RECORD_NONEXISTENT, -EIO, "STATUS_LOG_RECORD_NONEXISTENT"},
1790        {STATUS_LOG_RECORDS_RESERVED_INVALID, -EIO,
1791        "STATUS_LOG_RECORDS_RESERVED_INVALID"},
1792        {STATUS_LOG_SPACE_RESERVED_INVALID, -EIO,
1793        "STATUS_LOG_SPACE_RESERVED_INVALID"},
1794        {STATUS_LOG_TAIL_INVALID, -EIO, "STATUS_LOG_TAIL_INVALID"},
1795        {STATUS_LOG_FULL, -EIO, "STATUS_LOG_FULL"},
1796        {STATUS_LOG_MULTIPLEXED, -EIO, "STATUS_LOG_MULTIPLEXED"},
1797        {STATUS_LOG_DEDICATED, -EIO, "STATUS_LOG_DEDICATED"},
1798        {STATUS_LOG_ARCHIVE_NOT_IN_PROGRESS, -EIO,
1799        "STATUS_LOG_ARCHIVE_NOT_IN_PROGRESS"},
1800        {STATUS_LOG_ARCHIVE_IN_PROGRESS, -EIO,
1801        "STATUS_LOG_ARCHIVE_IN_PROGRESS"},
1802        {STATUS_LOG_EPHEMERAL, -EIO, "STATUS_LOG_EPHEMERAL"},
1803        {STATUS_LOG_NOT_ENOUGH_CONTAINERS, -EIO,
1804        "STATUS_LOG_NOT_ENOUGH_CONTAINERS"},
1805        {STATUS_LOG_CLIENT_ALREADY_REGISTERED, -EIO,
1806        "STATUS_LOG_CLIENT_ALREADY_REGISTERED"},
1807        {STATUS_LOG_CLIENT_NOT_REGISTERED, -EIO,
1808        "STATUS_LOG_CLIENT_NOT_REGISTERED"},
1809        {STATUS_LOG_FULL_HANDLER_IN_PROGRESS, -EIO,
1810        "STATUS_LOG_FULL_HANDLER_IN_PROGRESS"},
1811        {STATUS_LOG_CONTAINER_READ_FAILED, -EIO,
1812        "STATUS_LOG_CONTAINER_READ_FAILED"},
1813        {STATUS_LOG_CONTAINER_WRITE_FAILED, -EIO,
1814        "STATUS_LOG_CONTAINER_WRITE_FAILED"},
1815        {STATUS_LOG_CONTAINER_OPEN_FAILED, -EIO,
1816        "STATUS_LOG_CONTAINER_OPEN_FAILED"},
1817        {STATUS_LOG_CONTAINER_STATE_INVALID, -EIO,
1818        "STATUS_LOG_CONTAINER_STATE_INVALID"},
1819        {STATUS_LOG_STATE_INVALID, -EIO, "STATUS_LOG_STATE_INVALID"},
1820        {STATUS_LOG_PINNED, -EIO, "STATUS_LOG_PINNED"},
1821        {STATUS_LOG_METADATA_FLUSH_FAILED, -EIO,
1822        "STATUS_LOG_METADATA_FLUSH_FAILED"},
1823        {STATUS_LOG_INCONSISTENT_SECURITY, -EIO,
1824        "STATUS_LOG_INCONSISTENT_SECURITY"},
1825        {STATUS_LOG_APPENDED_FLUSH_FAILED, -EIO,
1826        "STATUS_LOG_APPENDED_FLUSH_FAILED"},
1827        {STATUS_LOG_PINNED_RESERVATION, -EIO, "STATUS_LOG_PINNED_RESERVATION"},
1828        {STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD, -EIO,
1829        "STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD"},
1830        {STATUS_FLT_NO_HANDLER_DEFINED, -EIO, "STATUS_FLT_NO_HANDLER_DEFINED"},
1831        {STATUS_FLT_CONTEXT_ALREADY_DEFINED, -EIO,
1832        "STATUS_FLT_CONTEXT_ALREADY_DEFINED"},
1833        {STATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST, -EIO,
1834        "STATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST"},
1835        {STATUS_FLT_DISALLOW_FAST_IO, -EIO, "STATUS_FLT_DISALLOW_FAST_IO"},
1836        {STATUS_FLT_INVALID_NAME_REQUEST, -EIO,
1837        "STATUS_FLT_INVALID_NAME_REQUEST"},
1838        {STATUS_FLT_NOT_SAFE_TO_POST_OPERATION, -EIO,
1839        "STATUS_FLT_NOT_SAFE_TO_POST_OPERATION"},
1840        {STATUS_FLT_NOT_INITIALIZED, -EIO, "STATUS_FLT_NOT_INITIALIZED"},
1841        {STATUS_FLT_FILTER_NOT_READY, -EIO, "STATUS_FLT_FILTER_NOT_READY"},
1842        {STATUS_FLT_POST_OPERATION_CLEANUP, -EIO,
1843        "STATUS_FLT_POST_OPERATION_CLEANUP"},
1844        {STATUS_FLT_INTERNAL_ERROR, -EIO, "STATUS_FLT_INTERNAL_ERROR"},
1845        {STATUS_FLT_DELETING_OBJECT, -EIO, "STATUS_FLT_DELETING_OBJECT"},
1846        {STATUS_FLT_MUST_BE_NONPAGED_POOL, -EIO,
1847        "STATUS_FLT_MUST_BE_NONPAGED_POOL"},
1848        {STATUS_FLT_DUPLICATE_ENTRY, -EIO, "STATUS_FLT_DUPLICATE_ENTRY"},
1849        {STATUS_FLT_CBDQ_DISABLED, -EIO, "STATUS_FLT_CBDQ_DISABLED"},
1850        {STATUS_FLT_DO_NOT_ATTACH, -EIO, "STATUS_FLT_DO_NOT_ATTACH"},
1851        {STATUS_FLT_DO_NOT_DETACH, -EIO, "STATUS_FLT_DO_NOT_DETACH"},
1852        {STATUS_FLT_INSTANCE_ALTITUDE_COLLISION, -EIO,
1853        "STATUS_FLT_INSTANCE_ALTITUDE_COLLISION"},
1854        {STATUS_FLT_INSTANCE_NAME_COLLISION, -EIO,
1855        "STATUS_FLT_INSTANCE_NAME_COLLISION"},
1856        {STATUS_FLT_FILTER_NOT_FOUND, -EIO, "STATUS_FLT_FILTER_NOT_FOUND"},
1857        {STATUS_FLT_VOLUME_NOT_FOUND, -EIO, "STATUS_FLT_VOLUME_NOT_FOUND"},
1858        {STATUS_FLT_INSTANCE_NOT_FOUND, -EIO, "STATUS_FLT_INSTANCE_NOT_FOUND"},
1859        {STATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND, -EIO,
1860        "STATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND"},
1861        {STATUS_FLT_INVALID_CONTEXT_REGISTRATION, -EIO,
1862        "STATUS_FLT_INVALID_CONTEXT_REGISTRATION"},
1863        {STATUS_FLT_NAME_CACHE_MISS, -EIO, "STATUS_FLT_NAME_CACHE_MISS"},
1864        {STATUS_FLT_NO_DEVICE_OBJECT, -EIO, "STATUS_FLT_NO_DEVICE_OBJECT"},
1865        {STATUS_FLT_VOLUME_ALREADY_MOUNTED, -EIO,
1866        "STATUS_FLT_VOLUME_ALREADY_MOUNTED"},
1867        {STATUS_FLT_ALREADY_ENLISTED, -EIO, "STATUS_FLT_ALREADY_ENLISTED"},
1868        {STATUS_FLT_CONTEXT_ALREADY_LINKED, -EIO,
1869        "STATUS_FLT_CONTEXT_ALREADY_LINKED"},
1870        {STATUS_FLT_NO_WAITER_FOR_REPLY, -EIO,
1871        "STATUS_FLT_NO_WAITER_FOR_REPLY"},
1872        {STATUS_MONITOR_NO_DESCRIPTOR, -EIO, "STATUS_MONITOR_NO_DESCRIPTOR"},
1873        {STATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT, -EIO,
1874        "STATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT"},
1875        {STATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM, -EIO,
1876        "STATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM"},
1877        {STATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK, -EIO,
1878        "STATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK"},
1879        {STATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED, -EIO,
1880        "STATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED"},
1881        {STATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK, -EIO,
1882        "STATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK"},
1883        {STATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK, -EIO,
1884        "STATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK"},
1885        {STATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA, -EIO,
1886        "STATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA"},
1887        {STATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK, -EIO,
1888        "STATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK"},
1889        {STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER, -EIO,
1890        "STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER"},
1891        {STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER, -EIO,
1892        "STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER"},
1893        {STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER, -EIO,
1894        "STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER"},
1895        {STATUS_GRAPHICS_ADAPTER_WAS_RESET, -EIO,
1896        "STATUS_GRAPHICS_ADAPTER_WAS_RESET"},
1897        {STATUS_GRAPHICS_INVALID_DRIVER_MODEL, -EIO,
1898        "STATUS_GRAPHICS_INVALID_DRIVER_MODEL"},
1899        {STATUS_GRAPHICS_PRESENT_MODE_CHANGED, -EIO,
1900        "STATUS_GRAPHICS_PRESENT_MODE_CHANGED"},
1901        {STATUS_GRAPHICS_PRESENT_OCCLUDED, -EIO,
1902        "STATUS_GRAPHICS_PRESENT_OCCLUDED"},
1903        {STATUS_GRAPHICS_PRESENT_DENIED, -EIO,
1904        "STATUS_GRAPHICS_PRESENT_DENIED"},
1905        {STATUS_GRAPHICS_CANNOTCOLORCONVERT, -EIO,
1906        "STATUS_GRAPHICS_CANNOTCOLORCONVERT"},
1907        {STATUS_GRAPHICS_NO_VIDEO_MEMORY, -EIO,
1908        "STATUS_GRAPHICS_NO_VIDEO_MEMORY"},
1909        {STATUS_GRAPHICS_CANT_LOCK_MEMORY, -EIO,
1910        "STATUS_GRAPHICS_CANT_LOCK_MEMORY"},
1911        {STATUS_GRAPHICS_ALLOCATION_BUSY, -EBUSY,
1912        "STATUS_GRAPHICS_ALLOCATION_BUSY"},
1913        {STATUS_GRAPHICS_TOO_MANY_REFERENCES, -EIO,
1914        "STATUS_GRAPHICS_TOO_MANY_REFERENCES"},
1915        {STATUS_GRAPHICS_TRY_AGAIN_LATER, -EIO,
1916        "STATUS_GRAPHICS_TRY_AGAIN_LATER"},
1917        {STATUS_GRAPHICS_TRY_AGAIN_NOW, -EIO, "STATUS_GRAPHICS_TRY_AGAIN_NOW"},
1918        {STATUS_GRAPHICS_ALLOCATION_INVALID, -EIO,
1919        "STATUS_GRAPHICS_ALLOCATION_INVALID"},
1920        {STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE, -EIO,
1921        "STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE"},
1922        {STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED, -EIO,
1923        "STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED"},
1924        {STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION, -EIO,
1925        "STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION"},
1926        {STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE, -EIO,
1927        "STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE"},
1928        {STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION, -EIO,
1929        "STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION"},
1930        {STATUS_GRAPHICS_ALLOCATION_CLOSED, -EIO,
1931        "STATUS_GRAPHICS_ALLOCATION_CLOSED"},
1932        {STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE, -EIO,
1933        "STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE"},
1934        {STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE, -EIO,
1935        "STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE"},
1936        {STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE, -EIO,
1937        "STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE"},
1938        {STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST, -EIO,
1939        "STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST"},
1940        {STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE, -EIO,
1941        "STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE"},
1942        {STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY, -EIO,
1943        "STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY"},
1944        {STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED, -EIO,
1945        "STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED"},
1946        {STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED, -EIO,
1947        "STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED"},
1948        {STATUS_GRAPHICS_INVALID_VIDPN, -EIO, "STATUS_GRAPHICS_INVALID_VIDPN"},
1949        {STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE, -EIO,
1950        "STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE"},
1951        {STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET, -EIO,
1952        "STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET"},
1953        {STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED, -EIO,
1954        "STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED"},
1955        {STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET, -EIO,
1956        "STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET"},
1957        {STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET, -EIO,
1958        "STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET"},
1959        {STATUS_GRAPHICS_INVALID_FREQUENCY, -EIO,
1960        "STATUS_GRAPHICS_INVALID_FREQUENCY"},
1961        {STATUS_GRAPHICS_INVALID_ACTIVE_REGION, -EIO,
1962        "STATUS_GRAPHICS_INVALID_ACTIVE_REGION"},
1963        {STATUS_GRAPHICS_INVALID_TOTAL_REGION, -EIO,
1964        "STATUS_GRAPHICS_INVALID_TOTAL_REGION"},
1965        {STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE, -EIO,
1966        "STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE"},
1967        {STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE, -EIO,
1968        "STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE"},
1969        {STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET, -EIO,
1970        "STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET"},
1971        {STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY, -EIO,
1972        "STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY"},
1973        {STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET, -EIO,
1974        "STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET"},
1975        {STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET, -EIO,
1976        "STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET"},
1977        {STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET, -EIO,
1978        "STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET"},
1979        {STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET, -EIO,
1980        "STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET"},
1981        {STATUS_GRAPHICS_TARGET_ALREADY_IN_SET, -EIO,
1982        "STATUS_GRAPHICS_TARGET_ALREADY_IN_SET"},
1983        {STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH, -EIO,
1984        "STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH"},
1985        {STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY, -EIO,
1986        "STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY"},
1987        {STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET, -EIO,
1988        "STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET"},
1989        {STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE, -EIO,
1990        "STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE"},
1991        {STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET, -EIO,
1992        "STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET"},
1993        {STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET, -EIO,
1994        "STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET"},
1995        {STATUS_GRAPHICS_STALE_MODESET, -EIO, "STATUS_GRAPHICS_STALE_MODESET"},
1996        {STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET, -EIO,
1997        "STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET"},
1998        {STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE, -EIO,
1999        "STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE"},
2000        {STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN, -EIO,
2001        "STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN"},
2002        {STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE, -EIO,
2003        "STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE"},
2004        {STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION, -EIO,
2005        "STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION"},
2006        {STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES, -EIO,
2007        "STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES"},
2008        {STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY, -EIO,
2009        "STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY"},
2010        {STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE, -EIO,
2011        "STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE"},
2012        {STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET, -EIO,
2013        "STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET"},
2014        {STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET, -EIO,
2015        "STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET"},
2016        {STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR, -EIO,
2017        "STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR"},
2018        {STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET, -EIO,
2019        "STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET"},
2020        {STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET, -EIO,
2021        "STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET"},
2022        {STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE, -EIO,
2023        "STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE"},
2024        {STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE, -EIO,
2025        "STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE"},
2026        {STATUS_GRAPHICS_RESOURCES_NOT_RELATED, -EIO,
2027        "STATUS_GRAPHICS_RESOURCES_NOT_RELATED"},
2028        {STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE, -EIO,
2029        "STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE"},
2030        {STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE, -EIO,
2031        "STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE"},
2032        {STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET, -EIO,
2033        "STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET"},
2034        {STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER, -EIO,
2035        "STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER"},
2036        {STATUS_GRAPHICS_NO_VIDPNMGR, -EIO, "STATUS_GRAPHICS_NO_VIDPNMGR"},
2037        {STATUS_GRAPHICS_NO_ACTIVE_VIDPN, -EIO,
2038        "STATUS_GRAPHICS_NO_ACTIVE_VIDPN"},
2039        {STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY, -EIO,
2040        "STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY"},
2041        {STATUS_GRAPHICS_MONITOR_NOT_CONNECTED, -EIO,
2042        "STATUS_GRAPHICS_MONITOR_NOT_CONNECTED"},
2043        {STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY, -EIO,
2044        "STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY"},
2045        {STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE, -EIO,
2046        "STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE"},
2047        {STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE, -EIO,
2048        "STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE"},
2049        {STATUS_GRAPHICS_INVALID_STRIDE, -EIO,
2050        "STATUS_GRAPHICS_INVALID_STRIDE"},
2051        {STATUS_GRAPHICS_INVALID_PIXELFORMAT, -EIO,
2052        "STATUS_GRAPHICS_INVALID_PIXELFORMAT"},
2053        {STATUS_GRAPHICS_INVALID_COLORBASIS, -EIO,
2054        "STATUS_GRAPHICS_INVALID_COLORBASIS"},
2055        {STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE, -EIO,
2056        "STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE"},
2057        {STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY, -EIO,
2058        "STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY"},
2059        {STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT, -EIO,
2060        "STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT"},
2061        {STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE, -EIO,
2062        "STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE"},
2063        {STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN, -EIO,
2064        "STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN"},
2065        {STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL, -EIO,
2066        "STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL"},
2067        {STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION, -EIO,
2068        "STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION"},
2069        {STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED,
2070        -EIO,
2071        "STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED"},
2072        {STATUS_GRAPHICS_INVALID_GAMMA_RAMP, -EIO,
2073        "STATUS_GRAPHICS_INVALID_GAMMA_RAMP"},
2074        {STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED, -EIO,
2075        "STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED"},
2076        {STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED, -EIO,
2077        "STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED"},
2078        {STATUS_GRAPHICS_MODE_NOT_IN_MODESET, -EIO,
2079        "STATUS_GRAPHICS_MODE_NOT_IN_MODESET"},
2080        {STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON, -EIO,
2081        "STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON"},
2082        {STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE, -EIO,
2083        "STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE"},
2084        {STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE, -EIO,
2085        "STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE"},
2086        {STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS, -EIO,
2087        "STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS"},
2088        {STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING, -EIO,
2089        "STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING"},
2090        {STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED, -EIO,
2091        "STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED"},
2092        {STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS, -EIO,
2093        "STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS"},
2094        {STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT, -EIO,
2095        "STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT"},
2096        {STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM, -EIO,
2097        "STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM"},
2098        {STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN, -EIO,
2099        "STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN"},
2100        {STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT, -EIO,
2101        "STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT"},
2102        {STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED, -EIO,
2103        "STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED"},
2104        {STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION, -EIO,
2105        "STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION"},
2106        {STATUS_GRAPHICS_INVALID_CLIENT_TYPE, -EIO,
2107        "STATUS_GRAPHICS_INVALID_CLIENT_TYPE"},
2108        {STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET, -EIO,
2109        "STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET"},
2110        {STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED, -EIO,
2111        "STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED"},
2112        {STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED, -EIO,
2113        "STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED"},
2114        {STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER, -EIO,
2115        "STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER"},
2116        {STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED, -EIO,
2117        "STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED"},
2118        {STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED, -EIO,
2119        "STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED"},
2120        {STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY, -EIO,
2121        "STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY"},
2122        {STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED, -EIO,
2123        "STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED"},
2124        {STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON, -EIO,
2125        "STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON"},
2126        {STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE, -EIO,
2127        "STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE"},
2128        {STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER, -EIO,
2129        "STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER"},
2130        {STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED, -EIO,
2131        "STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED"},
2132        {STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS,
2133        -EIO,
2134        "STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS"},
2135        {STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST, -EIO,
2136        "STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST"},
2137        {STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR, -EIO,
2138        "STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR"},
2139        {STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS, -EIO,
2140        "STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS"},
2141        {STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED, -EIO,
2142        "STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED"},
2143        {STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST, -EIO,
2144        "STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST"},
2145        {STATUS_GRAPHICS_OPM_NOT_SUPPORTED, -EIO,
2146        "STATUS_GRAPHICS_OPM_NOT_SUPPORTED"},
2147        {STATUS_GRAPHICS_COPP_NOT_SUPPORTED, -EIO,
2148        "STATUS_GRAPHICS_COPP_NOT_SUPPORTED"},
2149        {STATUS_GRAPHICS_UAB_NOT_SUPPORTED, -EIO,
2150        "STATUS_GRAPHICS_UAB_NOT_SUPPORTED"},
2151        {STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS, -EIO,
2152        "STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS"},
2153        {STATUS_GRAPHICS_OPM_PARAMETER_ARRAY_TOO_SMALL, -EIO,
2154        "STATUS_GRAPHICS_OPM_PARAMETER_ARRAY_TOO_SMALL"},
2155        {STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST, -EIO,
2156        "STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST"},
2157        {STATUS_GRAPHICS_PVP_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME, -EIO,
2158        "STATUS_GRAPHICS_PVP_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME"},
2159        {STATUS_GRAPHICS_PVP_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP, -EIO,
2160        "STATUS_GRAPHICS_PVP_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP"},
2161        {STATUS_GRAPHICS_PVP_MIRRORING_DEVICES_NOT_SUPPORTED, -EIO,
2162        "STATUS_GRAPHICS_PVP_MIRRORING_DEVICES_NOT_SUPPORTED"},
2163        {STATUS_GRAPHICS_OPM_INVALID_POINTER, -EIO,
2164        "STATUS_GRAPHICS_OPM_INVALID_POINTER"},
2165        {STATUS_GRAPHICS_OPM_INTERNAL_ERROR, -EIO,
2166        "STATUS_GRAPHICS_OPM_INTERNAL_ERROR"},
2167        {STATUS_GRAPHICS_OPM_INVALID_HANDLE, -EIO,
2168        "STATUS_GRAPHICS_OPM_INVALID_HANDLE"},
2169        {STATUS_GRAPHICS_PVP_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE, -EIO,
2170        "STATUS_GRAPHICS_PVP_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE"},
2171        {STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH, -EIO,
2172        "STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH"},
2173        {STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED, -EIO,
2174        "STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED"},
2175        {STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED, -EIO,
2176        "STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED"},
2177        {STATUS_GRAPHICS_PVP_HFS_FAILED, -EIO,
2178        "STATUS_GRAPHICS_PVP_HFS_FAILED"},
2179        {STATUS_GRAPHICS_OPM_INVALID_SRM, -EIO,
2180        "STATUS_GRAPHICS_OPM_INVALID_SRM"},
2181        {STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP, -EIO,
2182        "STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP"},
2183        {STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP, -EIO,
2184        "STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP"},
2185        {STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA, -EIO,
2186        "STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA"},
2187        {STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET, -EIO,
2188        "STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET"},
2189        {STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH, -EIO,
2190        "STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH"},
2191        {STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE, -EIO,
2192        "STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE"},
2193        {STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS, -EIO,
2194        "STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS"},
2195        {STATUS_GRAPHICS_OPM_SESSION_TYPE_CHANGE_IN_PROGRESS, -EIO,
2196        "STATUS_GRAPHICS_OPM_SESSION_TYPE_CHANGE_IN_PROGRESS"},
2197        {STATUS_GRAPHICS_I2C_NOT_SUPPORTED, -EIO,
2198        "STATUS_GRAPHICS_I2C_NOT_SUPPORTED"},
2199        {STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST, -EIO,
2200        "STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST"},
2201        {STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA, -EIO,
2202        "STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA"},
2203        {STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA, -EIO,
2204        "STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA"},
2205        {STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED, -EIO,
2206        "STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED"},
2207        {STATUS_GRAPHICS_DDCCI_INVALID_DATA, -EIO,
2208        "STATUS_GRAPHICS_DDCCI_INVALID_DATA"},
2209        {STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE,
2210        -EIO,
2211        "STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE"},
2212        {STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING, -EIO,
2213        "STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING"},
2214        {STATUS_GRAPHICS_MCA_INTERNAL_ERROR, -EIO,
2215        "STATUS_GRAPHICS_MCA_INTERNAL_ERROR"},
2216        {STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND, -EIO,
2217        "STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND"},
2218        {STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH, -EIO,
2219        "STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH"},
2220        {STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM, -EIO,
2221        "STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM"},
2222        {STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE, -EIO,
2223        "STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE"},
2224        {STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS, -EIO,
2225        "STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS"},
2226        {STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED, -EIO,
2227        "STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED"},
2228        {STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME, -EIO,
2229        "STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME"},
2230        {STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP, -EIO,
2231        "STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP"},
2232        {STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED, -EIO,
2233        "STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED"},
2234        {STATUS_GRAPHICS_INVALID_POINTER, -EIO,
2235        "STATUS_GRAPHICS_INVALID_POINTER"},
2236        {STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE, -EIO,
2237        "STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE"},
2238        {STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL, -EIO,
2239        "STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL"},
2240        {STATUS_GRAPHICS_INTERNAL_ERROR, -EIO,
2241        "STATUS_GRAPHICS_INTERNAL_ERROR"},
2242        {STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS, -EIO,
2243        "STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS"},
2244        {STATUS_FVE_LOCKED_VOLUME, -EIO, "STATUS_FVE_LOCKED_VOLUME"},
2245        {STATUS_FVE_NOT_ENCRYPTED, -EIO, "STATUS_FVE_NOT_ENCRYPTED"},
2246        {STATUS_FVE_BAD_INFORMATION, -EIO, "STATUS_FVE_BAD_INFORMATION"},
2247        {STATUS_FVE_TOO_SMALL, -EIO, "STATUS_FVE_TOO_SMALL"},
2248        {STATUS_FVE_FAILED_WRONG_FS, -EIO, "STATUS_FVE_FAILED_WRONG_FS"},
2249        {STATUS_FVE_FAILED_BAD_FS, -EIO, "STATUS_FVE_FAILED_BAD_FS"},
2250        {STATUS_FVE_FS_NOT_EXTENDED, -EIO, "STATUS_FVE_FS_NOT_EXTENDED"},
2251        {STATUS_FVE_FS_MOUNTED, -EIO, "STATUS_FVE_FS_MOUNTED"},
2252        {STATUS_FVE_NO_LICENSE, -EIO, "STATUS_FVE_NO_LICENSE"},
2253        {STATUS_FVE_ACTION_NOT_ALLOWED, -EIO, "STATUS_FVE_ACTION_NOT_ALLOWED"},
2254        {STATUS_FVE_BAD_DATA, -EIO, "STATUS_FVE_BAD_DATA"},
2255        {STATUS_FVE_VOLUME_NOT_BOUND, -EIO, "STATUS_FVE_VOLUME_NOT_BOUND"},
2256        {STATUS_FVE_NOT_DATA_VOLUME, -EIO, "STATUS_FVE_NOT_DATA_VOLUME"},
2257        {STATUS_FVE_CONV_READ_ERROR, -EIO, "STATUS_FVE_CONV_READ_ERROR"},
2258        {STATUS_FVE_CONV_WRITE_ERROR, -EIO, "STATUS_FVE_CONV_WRITE_ERROR"},
2259        {STATUS_FVE_OVERLAPPED_UPDATE, -EIO, "STATUS_FVE_OVERLAPPED_UPDATE"},
2260        {STATUS_FVE_FAILED_SECTOR_SIZE, -EIO, "STATUS_FVE_FAILED_SECTOR_SIZE"},
2261        {STATUS_FVE_FAILED_AUTHENTICATION, -EIO,
2262        "STATUS_FVE_FAILED_AUTHENTICATION"},
2263        {STATUS_FVE_NOT_OS_VOLUME, -EIO, "STATUS_FVE_NOT_OS_VOLUME"},
2264        {STATUS_FVE_KEYFILE_NOT_FOUND, -EIO, "STATUS_FVE_KEYFILE_NOT_FOUND"},
2265        {STATUS_FVE_KEYFILE_INVALID, -EIO, "STATUS_FVE_KEYFILE_INVALID"},
2266        {STATUS_FVE_KEYFILE_NO_VMK, -EIO, "STATUS_FVE_KEYFILE_NO_VMK"},
2267        {STATUS_FVE_TPM_DISABLED, -EIO, "STATUS_FVE_TPM_DISABLED"},
2268        {STATUS_FVE_TPM_SRK_AUTH_NOT_ZERO, -EIO,
2269        "STATUS_FVE_TPM_SRK_AUTH_NOT_ZERO"},
2270        {STATUS_FVE_TPM_INVALID_PCR, -EIO, "STATUS_FVE_TPM_INVALID_PCR"},
2271        {STATUS_FVE_TPM_NO_VMK, -EIO, "STATUS_FVE_TPM_NO_VMK"},
2272        {STATUS_FVE_PIN_INVALID, -EIO, "STATUS_FVE_PIN_INVALID"},
2273        {STATUS_FVE_AUTH_INVALID_APPLICATION, -EIO,
2274        "STATUS_FVE_AUTH_INVALID_APPLICATION"},
2275        {STATUS_FVE_AUTH_INVALID_CONFIG, -EIO,
2276        "STATUS_FVE_AUTH_INVALID_CONFIG"},
2277        {STATUS_FVE_DEBUGGER_ENABLED, -EIO, "STATUS_FVE_DEBUGGER_ENABLED"},
2278        {STATUS_FVE_DRY_RUN_FAILED, -EIO, "STATUS_FVE_DRY_RUN_FAILED"},
2279        {STATUS_FVE_BAD_METADATA_POINTER, -EIO,
2280        "STATUS_FVE_BAD_METADATA_POINTER"},
2281        {STATUS_FVE_OLD_METADATA_COPY, -EIO, "STATUS_FVE_OLD_METADATA_COPY"},
2282        {STATUS_FVE_REBOOT_REQUIRED, -EIO, "STATUS_FVE_REBOOT_REQUIRED"},
2283        {STATUS_FVE_RAW_ACCESS, -EIO, "STATUS_FVE_RAW_ACCESS"},
2284        {STATUS_FVE_RAW_BLOCKED, -EIO, "STATUS_FVE_RAW_BLOCKED"},
2285        {STATUS_FWP_CALLOUT_NOT_FOUND, -EIO, "STATUS_FWP_CALLOUT_NOT_FOUND"},
2286        {STATUS_FWP_CONDITION_NOT_FOUND, -EIO,
2287        "STATUS_FWP_CONDITION_NOT_FOUND"},
2288        {STATUS_FWP_FILTER_NOT_FOUND, -EIO, "STATUS_FWP_FILTER_NOT_FOUND"},
2289        {STATUS_FWP_LAYER_NOT_FOUND, -EIO, "STATUS_FWP_LAYER_NOT_FOUND"},
2290        {STATUS_FWP_PROVIDER_NOT_FOUND, -EIO, "STATUS_FWP_PROVIDER_NOT_FOUND"},
2291        {STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND, -EIO,
2292        "STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND"},
2293        {STATUS_FWP_SUBLAYER_NOT_FOUND, -EIO, "STATUS_FWP_SUBLAYER_NOT_FOUND"},
2294        {STATUS_FWP_NOT_FOUND, -EIO, "STATUS_FWP_NOT_FOUND"},
2295        {STATUS_FWP_ALREADY_EXISTS, -EIO, "STATUS_FWP_ALREADY_EXISTS"},
2296        {STATUS_FWP_IN_USE, -EIO, "STATUS_FWP_IN_USE"},
2297        {STATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS, -EIO,
2298        "STATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS"},
2299        {STATUS_FWP_WRONG_SESSION, -EIO, "STATUS_FWP_WRONG_SESSION"},
2300        {STATUS_FWP_NO_TXN_IN_PROGRESS, -EIO, "STATUS_FWP_NO_TXN_IN_PROGRESS"},
2301        {STATUS_FWP_TXN_IN_PROGRESS, -EIO, "STATUS_FWP_TXN_IN_PROGRESS"},
2302        {STATUS_FWP_TXN_ABORTED, -EIO, "STATUS_FWP_TXN_ABORTED"},
2303        {STATUS_FWP_SESSION_ABORTED, -EIO, "STATUS_FWP_SESSION_ABORTED"},
2304        {STATUS_FWP_INCOMPATIBLE_TXN, -EIO, "STATUS_FWP_INCOMPATIBLE_TXN"},
2305        {STATUS_FWP_TIMEOUT, -ETIMEDOUT, "STATUS_FWP_TIMEOUT"},
2306        {STATUS_FWP_NET_EVENTS_DISABLED, -EIO,
2307        "STATUS_FWP_NET_EVENTS_DISABLED"},
2308        {STATUS_FWP_INCOMPATIBLE_LAYER, -EIO, "STATUS_FWP_INCOMPATIBLE_LAYER"},
2309        {STATUS_FWP_KM_CLIENTS_ONLY, -EIO, "STATUS_FWP_KM_CLIENTS_ONLY"},
2310        {STATUS_FWP_LIFETIME_MISMATCH, -EIO, "STATUS_FWP_LIFETIME_MISMATCH"},
2311        {STATUS_FWP_BUILTIN_OBJECT, -EIO, "STATUS_FWP_BUILTIN_OBJECT"},
2312        {STATUS_FWP_TOO_MANY_BOOTTIME_FILTERS, -EIO,
2313        "STATUS_FWP_TOO_MANY_BOOTTIME_FILTERS"},
2314        {STATUS_FWP_TOO_MANY_CALLOUTS, -EIO, "STATUS_FWP_TOO_MANY_CALLOUTS"},
2315        {STATUS_FWP_NOTIFICATION_DROPPED, -EIO,
2316        "STATUS_FWP_NOTIFICATION_DROPPED"},
2317        {STATUS_FWP_TRAFFIC_MISMATCH, -EIO, "STATUS_FWP_TRAFFIC_MISMATCH"},
2318        {STATUS_FWP_INCOMPATIBLE_SA_STATE, -EIO,
2319        "STATUS_FWP_INCOMPATIBLE_SA_STATE"},
2320        {STATUS_FWP_NULL_POINTER, -EIO, "STATUS_FWP_NULL_POINTER"},
2321        {STATUS_FWP_INVALID_ENUMERATOR, -EIO, "STATUS_FWP_INVALID_ENUMERATOR"},
2322        {STATUS_FWP_INVALID_FLAGS, -EIO, "STATUS_FWP_INVALID_FLAGS"},
2323        {STATUS_FWP_INVALID_NET_MASK, -EIO, "STATUS_FWP_INVALID_NET_MASK"},
2324        {STATUS_FWP_INVALID_RANGE, -EIO, "STATUS_FWP_INVALID_RANGE"},
2325        {STATUS_FWP_INVALID_INTERVAL, -EIO, "STATUS_FWP_INVALID_INTERVAL"},
2326        {STATUS_FWP_ZERO_LENGTH_ARRAY, -EIO, "STATUS_FWP_ZERO_LENGTH_ARRAY"},
2327        {STATUS_FWP_NULL_DISPLAY_NAME, -EIO, "STATUS_FWP_NULL_DISPLAY_NAME"},
2328        {STATUS_FWP_INVALID_ACTION_TYPE, -EIO,
2329        "STATUS_FWP_INVALID_ACTION_TYPE"},
2330        {STATUS_FWP_INVALID_WEIGHT, -EIO, "STATUS_FWP_INVALID_WEIGHT"},
2331        {STATUS_FWP_MATCH_TYPE_MISMATCH, -EIO,
2332        "STATUS_FWP_MATCH_TYPE_MISMATCH"},
2333        {STATUS_FWP_TYPE_MISMATCH, -EIO, "STATUS_FWP_TYPE_MISMATCH"},
2334        {STATUS_FWP_OUT_OF_BOUNDS, -EIO, "STATUS_FWP_OUT_OF_BOUNDS"},
2335        {STATUS_FWP_RESERVED, -EIO, "STATUS_FWP_RESERVED"},
2336        {STATUS_FWP_DUPLICATE_CONDITION, -EIO,
2337        "STATUS_FWP_DUPLICATE_CONDITION"},
2338        {STATUS_FWP_DUPLICATE_KEYMOD, -EIO, "STATUS_FWP_DUPLICATE_KEYMOD"},
2339        {STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER, -EIO,
2340        "STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER"},
2341        {STATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER, -EIO,
2342        "STATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER"},
2343        {STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER, -EIO,
2344        "STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER"},
2345        {STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT, -EIO,
2346        "STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT"},
2347        {STATUS_FWP_INCOMPATIBLE_AUTH_METHOD, -EIO,
2348        "STATUS_FWP_INCOMPATIBLE_AUTH_METHOD"},
2349        {STATUS_FWP_INCOMPATIBLE_DH_GROUP, -EIO,
2350        "STATUS_FWP_INCOMPATIBLE_DH_GROUP"},
2351        {STATUS_FWP_EM_NOT_SUPPORTED, -EOPNOTSUPP,
2352        "STATUS_FWP_EM_NOT_SUPPORTED"},
2353        {STATUS_FWP_NEVER_MATCH, -EIO, "STATUS_FWP_NEVER_MATCH"},
2354        {STATUS_FWP_PROVIDER_CONTEXT_MISMATCH, -EIO,
2355        "STATUS_FWP_PROVIDER_CONTEXT_MISMATCH"},
2356        {STATUS_FWP_INVALID_PARAMETER, -EIO, "STATUS_FWP_INVALID_PARAMETER"},
2357        {STATUS_FWP_TOO_MANY_SUBLAYERS, -EIO, "STATUS_FWP_TOO_MANY_SUBLAYERS"},
2358        {STATUS_FWP_CALLOUT_NOTIFICATION_FAILED, -EIO,
2359        "STATUS_FWP_CALLOUT_NOTIFICATION_FAILED"},
2360        {STATUS_FWP_INCOMPATIBLE_AUTH_CONFIG, -EIO,
2361        "STATUS_FWP_INCOMPATIBLE_AUTH_CONFIG"},
2362        {STATUS_FWP_INCOMPATIBLE_CIPHER_CONFIG, -EIO,
2363        "STATUS_FWP_INCOMPATIBLE_CIPHER_CONFIG"},
2364        {STATUS_FWP_TCPIP_NOT_READY, -EIO, "STATUS_FWP_TCPIP_NOT_READY"},
2365        {STATUS_FWP_INJECT_HANDLE_CLOSING, -EIO,
2366        "STATUS_FWP_INJECT_HANDLE_CLOSING"},
2367        {STATUS_FWP_INJECT_HANDLE_STALE, -EIO,
2368        "STATUS_FWP_INJECT_HANDLE_STALE"},
2369        {STATUS_FWP_CANNOT_PEND, -EIO, "STATUS_FWP_CANNOT_PEND"},
2370        {STATUS_NDIS_CLOSING, -EIO, "STATUS_NDIS_CLOSING"},
2371        {STATUS_NDIS_BAD_VERSION, -EIO, "STATUS_NDIS_BAD_VERSION"},
2372        {STATUS_NDIS_BAD_CHARACTERISTICS, -EIO,
2373        "STATUS_NDIS_BAD_CHARACTERISTICS"},
2374        {STATUS_NDIS_ADAPTER_NOT_FOUND, -EIO, "STATUS_NDIS_ADAPTER_NOT_FOUND"},
2375        {STATUS_NDIS_OPEN_FAILED, -EIO, "STATUS_NDIS_OPEN_FAILED"},
2376        {STATUS_NDIS_DEVICE_FAILED, -EIO, "STATUS_NDIS_DEVICE_FAILED"},
2377        {STATUS_NDIS_MULTICAST_FULL, -EIO, "STATUS_NDIS_MULTICAST_FULL"},
2378        {STATUS_NDIS_MULTICAST_EXISTS, -EIO, "STATUS_NDIS_MULTICAST_EXISTS"},
2379        {STATUS_NDIS_MULTICAST_NOT_FOUND, -EIO,
2380        "STATUS_NDIS_MULTICAST_NOT_FOUND"},
2381        {STATUS_NDIS_REQUEST_ABORTED, -EIO, "STATUS_NDIS_REQUEST_ABORTED"},
2382        {STATUS_NDIS_RESET_IN_PROGRESS, -EIO, "STATUS_NDIS_RESET_IN_PROGRESS"},
2383        {STATUS_NDIS_INVALID_PACKET, -EIO, "STATUS_NDIS_INVALID_PACKET"},
2384        {STATUS_NDIS_INVALID_DEVICE_REQUEST, -EIO,
2385        "STATUS_NDIS_INVALID_DEVICE_REQUEST"},
2386        {STATUS_NDIS_ADAPTER_NOT_READY, -EIO, "STATUS_NDIS_ADAPTER_NOT_READY"},
2387        {STATUS_NDIS_INVALID_LENGTH, -EIO, "STATUS_NDIS_INVALID_LENGTH"},
2388        {STATUS_NDIS_INVALID_DATA, -EIO, "STATUS_NDIS_INVALID_DATA"},
2389        {STATUS_NDIS_BUFFER_TOO_SHORT, -ENOBUFS,
2390        "STATUS_NDIS_BUFFER_TOO_SHORT"},
2391        {STATUS_NDIS_INVALID_OID, -EIO, "STATUS_NDIS_INVALID_OID"},
2392        {STATUS_NDIS_ADAPTER_REMOVED, -EIO, "STATUS_NDIS_ADAPTER_REMOVED"},
2393        {STATUS_NDIS_UNSUPPORTED_MEDIA, -EIO, "STATUS_NDIS_UNSUPPORTED_MEDIA"},
2394        {STATUS_NDIS_GROUP_ADDRESS_IN_USE, -EIO,
2395        "STATUS_NDIS_GROUP_ADDRESS_IN_USE"},
2396        {STATUS_NDIS_FILE_NOT_FOUND, -EIO, "STATUS_NDIS_FILE_NOT_FOUND"},
2397        {STATUS_NDIS_ERROR_READING_FILE, -EIO,
2398        "STATUS_NDIS_ERROR_READING_FILE"},
2399        {STATUS_NDIS_ALREADY_MAPPED, -EIO, "STATUS_NDIS_ALREADY_MAPPED"},
2400        {STATUS_NDIS_RESOURCE_CONFLICT, -EIO, "STATUS_NDIS_RESOURCE_CONFLICT"},
2401        {STATUS_NDIS_MEDIA_DISCONNECTED, -EIO,
2402        "STATUS_NDIS_MEDIA_DISCONNECTED"},
2403        {STATUS_NDIS_INVALID_ADDRESS, -EIO, "STATUS_NDIS_INVALID_ADDRESS"},
2404        {STATUS_NDIS_PAUSED, -EIO, "STATUS_NDIS_PAUSED"},
2405        {STATUS_NDIS_INTERFACE_NOT_FOUND, -EIO,
2406        "STATUS_NDIS_INTERFACE_NOT_FOUND"},
2407        {STATUS_NDIS_UNSUPPORTED_REVISION, -EIO,
2408        "STATUS_NDIS_UNSUPPORTED_REVISION"},
2409        {STATUS_NDIS_INVALID_PORT, -EIO, "STATUS_NDIS_INVALID_PORT"},
2410        {STATUS_NDIS_INVALID_PORT_STATE, -EIO,
2411        "STATUS_NDIS_INVALID_PORT_STATE"},
2412        {STATUS_NDIS_LOW_POWER_STATE, -EIO, "STATUS_NDIS_LOW_POWER_STATE"},
2413        {STATUS_NDIS_NOT_SUPPORTED, -ENOSYS, "STATUS_NDIS_NOT_SUPPORTED"},
2414        {STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED, -EIO,
2415        "STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED"},
2416        {STATUS_NDIS_DOT11_MEDIA_IN_USE, -EIO,
2417        "STATUS_NDIS_DOT11_MEDIA_IN_USE"},
2418        {STATUS_NDIS_DOT11_POWER_STATE_INVALID, -EIO,
2419        "STATUS_NDIS_DOT11_POWER_STATE_INVALID"},
2420        {STATUS_IPSEC_BAD_SPI, -EIO, "STATUS_IPSEC_BAD_SPI"},
2421        {STATUS_IPSEC_SA_LIFETIME_EXPIRED, -EIO,
2422        "STATUS_IPSEC_SA_LIFETIME_EXPIRED"},
2423        {STATUS_IPSEC_WRONG_SA, -EIO, "STATUS_IPSEC_WRONG_SA"},
2424        {STATUS_IPSEC_REPLAY_CHECK_FAILED, -EIO,
2425        "STATUS_IPSEC_REPLAY_CHECK_FAILED"},
2426        {STATUS_IPSEC_INVALID_PACKET, -EIO, "STATUS_IPSEC_INVALID_PACKET"},
2427        {STATUS_IPSEC_INTEGRITY_CHECK_FAILED, -EIO,
2428        "STATUS_IPSEC_INTEGRITY_CHECK_FAILED"},
2429        {STATUS_IPSEC_CLEAR_TEXT_DROP, -EIO, "STATUS_IPSEC_CLEAR_TEXT_DROP"},
2430        {0, 0, NULL}
2431};
2432
2433/*****************************************************************************
2434 Print an error message from the status code
2435 *****************************************************************************/
2436static void
2437smb2_print_status(__le32 status)
2438{
2439        int idx = 0;
2440
2441        while (smb2_error_map_table[idx].status_string != NULL) {
2442                if ((smb2_error_map_table[idx].smb2_status) == status) {
2443                        pr_notice("Status code returned 0x%08x %s\n", status,
2444                                  smb2_error_map_table[idx].status_string);
2445                }
2446                idx++;
2447        }
2448        return;
2449}
2450
2451int
2452map_smb2_to_linux_error(char *buf, bool log_err)
2453{
2454        struct smb2_sync_hdr *shdr = (struct smb2_sync_hdr *)buf;
2455        unsigned int i;
2456        int rc = -EIO;
2457        __le32 smb2err = shdr->Status;
2458
2459        if (smb2err == 0) {
2460                trace_smb3_cmd_done(shdr->TreeId, shdr->SessionId,
2461                        le16_to_cpu(shdr->Command), le64_to_cpu(shdr->MessageId));
2462                return 0;
2463        }
2464
2465        /* mask facility */
2466        if (log_err && (smb2err != STATUS_MORE_PROCESSING_REQUIRED) &&
2467            (smb2err != STATUS_END_OF_FILE))
2468                smb2_print_status(smb2err);
2469        else if (cifsFYI & CIFS_RC)
2470                smb2_print_status(smb2err);
2471
2472        for (i = 0; i < sizeof(smb2_error_map_table) /
2473                        sizeof(struct status_to_posix_error); i++) {
2474                if (smb2_error_map_table[i].smb2_status == smb2err) {
2475                        rc = smb2_error_map_table[i].posix_error;
2476                        break;
2477                }
2478        }
2479
2480        /* on error mapping not found  - return EIO */
2481
2482        cifs_dbg(FYI, "Mapping SMB2 status code 0x%08x to POSIX err %d\n",
2483                 __le32_to_cpu(smb2err), rc);
2484
2485        trace_smb3_cmd_err(shdr->TreeId, shdr->SessionId,
2486                        le16_to_cpu(shdr->Command),
2487                        le64_to_cpu(shdr->MessageId), le32_to_cpu(smb2err), rc);
2488        return rc;
2489}
2490