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