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