Home | History | Annotate | Download | only in smbsrv
      1 /*
      2  * CDDL HEADER START
      3  *
      4  * The contents of this file are subject to the terms of the
      5  * Common Development and Distribution License (the "License").
      6  * You may not use this file except in compliance with the License.
      7  *
      8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9  * or http://www.opensolaris.org/os/licensing.
     10  * See the License for the specific language governing permissions
     11  * and limitations under the License.
     12  *
     13  * When distributing Covered Code, include this CDDL HEADER in each
     14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15  * If applicable, add the following below this CDDL HEADER, with the
     16  * fields enclosed by brackets "[]" replaced with your own identifying
     17  * information: Portions Copyright [yyyy] [name of copyright owner]
     18  *
     19  * CDDL HEADER END
     20  */
     21 /*
     22  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     23  * Use is subject to license terms.
     24  */
     25 
     26 
     27 #ifndef _SMBSRV_NTERROR_H
     28 #define	_SMBSRV_NTERROR_H
     29 
     30 #pragma ident	"@(#)nterror.h	1.1	07/10/25 SMI"
     31 
     32 /*
     33  * This file defines the list of Win32 error codes. If you need an
     34  * error code that is defined in the Win32 Error Codes document but
     35  * is not listed here, please add it to the file. There is a list
     36  * of Win32 error codes on:
     37  *
     38  * http://msdn.microsoft.com/library/psdk/psdkref/errlist_9usz.htm
     39  *
     40  * Be careful not to confuse status codes with error codes. The status
     41  * codes are listed in ntstatus.h. Some mappings between NT status
     42  * codes and Win32 error codes is provided in the Microsoft knowledge
     43  * base article Q113996.
     44  *
     45  * Win32 error codes are 32-bit values with the following format
     46  * (winerror.h):
     47  *
     48  *   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
     49  *   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
     50  *  +---+-+-+-----------------------+-------------------------------+
     51  *  |Sev|C|R|     Facility          |               Code            |
     52  *  +---+-+-+-----------------------+-------------------------------+
     53  *
     54  *  Sev        severity code
     55  *               00 - Success
     56  *               01 - Informational
     57  *               10 - Warning
     58  *               11 - Error
     59  *
     60  *  C          customer/client flag (set to 1 for user defined codes).
     61  *  R          reserved (set to zero)
     62  *  Facility   facility code
     63  *  Code       facility's status code
     64  */
     65 
     66 
     67 #ifdef __cplusplus
     68 extern "C" {
     69 #endif
     70 
     71 
     72 /*
     73  * Facility codes
     74  */
     75 #define	FACILITY_NULL			0
     76 #define	FACILITY_RPC			1
     77 #define	FACILITY_DISPATCH		2
     78 #define	FACILITY_STORAGE		3
     79 #define	FACILITY_ITF			4
     80 /* 5 */
     81 /* 6 */
     82 #define	FACILITY_WIN32			7
     83 #define	FACILITY_WINDOWS		8
     84 #define	FACILITY_SSPI			9
     85 #define	FACILITY_CONTROL		10
     86 #define	FACILITY_CERT			11
     87 #define	FACILITY_INTERNET		12
     88 #define	FACILITY_MEDIASERVER		13
     89 #define	FACILITY_MSMQ			14
     90 #define	FACILITY_SETUPAPI		15
     91 
     92 
     93 /*
     94  * Complete list of Win32 error codes. For error description
     95  * you can look at MS-KB articles 155011 and 155012
     96  */
     97 
     98 #define	ERROR_SUCCESS			0
     99 #define	NO_ERROR			0
    100 #define	ERROR_INVALID_FUNCTION		1
    101 #define	ERROR_FILE_NOT_FOUND		2
    102 #define	ERROR_PATH_NOT_FOUND		3
    103 #define	ERROR_TOO_MANY_OPEN_FILES	4
    104 #define	ERROR_ACCESS_DENIED		5
    105 #define	ERROR_INVALID_HANDLE		6
    106 #define	ERROR_ARENA_TRASHED		7
    107 #define	ERROR_NOT_ENOUGH_MEMORY		8
    108 #define	ERROR_INVALID_BLOCK		9
    109 #define	ERROR_BAD_ENVIRONMENT		10
    110 #define	ERROR_BAD_FORMAT		11
    111 #define	ERROR_INVALID_ACCESS		12
    112 #define	ERROR_INVALID_DATA		13
    113 #define	ERROR_OUTOFMEMORY		14
    114 #define	ERROR_INVALID_DRIVE		15
    115 #define	ERROR_CURRENT_DIRECTORY		16
    116 #define	ERROR_NOT_SAME_DEVICE		17
    117 #define	ERROR_NO_MORE_FILES		18
    118 #define	ERROR_WRITE_PROTECT		19
    119 #define	ERROR_BAD_UNIT			20
    120 #define	ERROR_NOT_READY			21
    121 #define	ERROR_BAD_COMMAND		22
    122 #define	ERROR_CRC			23
    123 #define	ERROR_BAD_LENGTH		24
    124 #define	ERROR_SEEK			25
    125 #define	ERROR_NOT_DOS_DISK		26
    126 #define	ERROR_SECTOR_NOT_FOUND		27
    127 #define	ERROR_OUT_OF_PAPER		28
    128 #define	ERROR_WRITE_FAULT		29
    129 #define	ERROR_READ_FAULT		30
    130 #define	ERROR_GEN_FAILURE		31
    131 #define	ERROR_SHARING_VIOLATION		32
    132 #define	ERROR_LOCK_VIOLATION		33
    133 #define	ERROR_WRONG_DISK		34
    134 #define	ERROR_SHARING_BUFFER_EXCEEDED	36
    135 #define	ERROR_HANDLE_EOF		38
    136 #define	ERROR_HANDLE_DISK_FULL		39
    137 #define	ERROR_NOT_SUPPORTED		50
    138 #define	ERROR_REM_NOT_LIST		51
    139 #define	ERROR_DUP_NAME			52
    140 #define	ERROR_BAD_NETPATH		53
    141 #define	ERROR_NETWORK_BUSY		54
    142 #define	ERROR_DEV_NOT_EXIST		55
    143 #define	ERROR_TOO_MANY_CMDS		56
    144 #define	ERROR_ADAP_HDW_ERR		57
    145 #define	ERROR_BAD_NET_RESP		58
    146 #define	ERROR_UNEXP_NET_ERR		59
    147 #define	ERROR_BAD_REM_ADAP		60
    148 #define	ERROR_PRINTQ_FULL		61
    149 #define	ERROR_NO_SPOOL_SPACE		62
    150 #define	ERROR_PRINT_CANCELLED		63
    151 #define	ERROR_NETNAME_DELETED		64
    152 #define	ERROR_NETWORK_ACCESS_DENIED	65
    153 #define	ERROR_BAD_DEV_TYPE		66
    154 #define	ERROR_BAD_NET_NAME		67
    155 #define	ERROR_TOO_MANY_NAMES		68
    156 #define	ERROR_TOO_MANY_SESS		69
    157 #define	ERROR_SHARING_PAUSED		70
    158 #define	ERROR_REQ_NOT_ACCEP		71
    159 #define	ERROR_REDIR_PAUSED		72
    160 #define	ERROR_FILE_EXISTS		80
    161 #define	ERROR_CANNOT_MAKE		82
    162 #define	ERROR_FAIL_I24			83
    163 #define	ERROR_OUT_OF_STRUCTURES		84
    164 #define	ERROR_ALREADY_ASSIGNED		85
    165 #define	ERROR_INVALID_PASSWORD		86
    166 #define	ERROR_INVALID_PARAMETER		87
    167 #define	ERROR_NET_WRITE_FAULT		88
    168 #define	ERROR_NO_PROC_SLOTS		89
    169 #define	ERROR_TOO_MANY_SEMAPHORES	100
    170 #define	ERROR_EXCL_SEM_ALREADY_OWNED	101
    171 #define	ERROR_SEM_IS_SET		102
    172 #define	ERROR_TOO_MANY_SEM_REQUESTS	103
    173 #define	ERROR_INVALID_AT_INTERRUPT_TIME 104
    174 #define	ERROR_SEM_OWNER_DIED		105
    175 #define	ERROR_SEM_USER_LIMIT		106
    176 #define	ERROR_DISK_CHANGE		107
    177 #define	ERROR_DRIVE_LOCKED		108
    178 #define	ERROR_BROKEN_PIPE		109
    179 #define	ERROR_OPEN_FAILED		110
    180 #define	ERROR_BUFFER_OVERFLOW		111
    181 #define	ERROR_DISK_FULL			112
    182 #define	ERROR_NO_MORE_SEARCH_HANDLES	113
    183 #define	ERROR_INVALID_TARGET_HANDLE	114
    184 #define	ERROR_INVALID_CATEGORY		117
    185 #define	ERROR_INVALID_VERIFY_SWITCH	118
    186 #define	ERROR_BAD_DRIVER_LEVEL		119
    187 #define	ERROR_CALL_NOT_IMPLEMENTED	120
    188 #define	ERROR_SEM_TIMEOUT		121
    189 #define	ERROR_INSUFFICIENT_BUFFER	122
    190 #define	ERROR_INVALID_NAME		123
    191 #define	ERROR_INVALID_LEVEL		124
    192 #define	ERROR_NO_VOLUME_LABEL		125
    193 #define	ERROR_MOD_NOT_FOUND		126
    194 #define	ERROR_PROC_NOT_FOUND		127
    195 #define	ERROR_WAIT_NO_CHILDREN		128
    196 #define	ERROR_CHILD_NOT_COMPLETE	129
    197 #define	ERROR_DIRECT_ACCESS_HANDLE	130
    198 #define	ERROR_NEGATIVE_SEEK		131
    199 #define	ERROR_SEEK_ON_DEVICE		132
    200 #define	ERROR_IS_JOIN_TARGET		133
    201 #define	ERROR_IS_JOINED			134
    202 #define	ERROR_IS_SUBSTED		135
    203 #define	ERROR_NOT_JOINED		136
    204 #define	ERROR_NOT_SUBSTED		137
    205 #define	ERROR_JOIN_TO_JOIN		138
    206 #define	ERROR_SUBST_TO_SUBST		139
    207 #define	ERROR_JOIN_TO_SUBST		140
    208 #define	ERROR_SUBST_TO_JOIN		141
    209 #define	ERROR_BUSY_DRIVE		142
    210 #define	ERROR_SAME_DRIVE		143
    211 #define	ERROR_DIR_NOT_ROOT		144
    212 #define	ERROR_DIR_NOT_EMPTY		145
    213 #define	ERROR_IS_SUBST_PATH		146
    214 #define	ERROR_IS_JOIN_PATH		147
    215 #define	ERROR_PATH_BUSY			148
    216 #define	ERROR_IS_SUBST_TARGET		149
    217 #define	ERROR_SYSTEM_TRACE		150
    218 #define	ERROR_INVALID_EVENT_COUNT	151
    219 #define	ERROR_TOO_MANY_MUXWAITERS	152
    220 #define	ERROR_INVALID_LIST_FORMAT	153
    221 #define	ERROR_LABEL_TOO_LONG		154
    222 #define	ERROR_TOO_MANY_TCBS		155
    223 #define	ERROR_SIGNAL_REFUSED		156
    224 #define	ERROR_DISCARDED			157
    225 #define	ERROR_NOT_LOCKED		158
    226 #define	ERROR_BAD_THREADID_ADDR		159
    227 #define	ERROR_BAD_ARGUMENTS		160
    228 #define	ERROR_BAD_PATHNAME		161
    229 #define	ERROR_SIGNAL_PENDING		162
    230 #define	ERROR_MAX_THRDS_REACHED		164
    231 #define	ERROR_LOCK_FAILED		167
    232 #define	ERROR_BUSY			170
    233 #define	ERROR_CANCEL_VIOLATION		173
    234 #define	ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174
    235 #define	ERROR_INVALID_SEGMENT_NUMBER	180
    236 #define	ERROR_INVALID_ORDINAL		182
    237 #define	ERROR_ALREADY_EXISTS		183
    238 #define	ERROR_INVALID_FLAG_NUMBER	186
    239 #define	ERROR_SEM_NOT_FOUND		187
    240 #define	ERROR_INVALID_STARTING_CODESEG	188
    241 #define	ERROR_INVALID_STACKSEG		189
    242 #define	ERROR_INVALID_MODULETYPE	190
    243 #define	ERROR_INVALID_EXE_SIGNATURE	191
    244 #define	ERROR_EXE_MARKED_INVALID	192
    245 #define	ERROR_BAD_EXE_FORMAT		193
    246 #define	ERROR_ITERATED_DATA_EXCEEDS_64k 194
    247 #define	ERROR_INVALID_MINALLOCSIZE	195
    248 #define	ERROR_DYNLINK_FROM_INVALID_RING 196
    249 #define	ERROR_IOPL_NOT_ENABLED		197
    250 #define	ERROR_INVALID_SEGDPL		198
    251 #define	ERROR_AUTODATASEG_EXCEEDS_64k	199
    252 #define	ERROR_RING2SEG_MUST_BE_MOVABLE	200
    253 #define	ERROR_RELOC_CHAIN_XEEDS_SEGLIM	201
    254 #define	ERROR_INFLOOP_IN_RELOC_CHAIN	202
    255 #define	ERROR_ENVVAR_NOT_FOUND		203
    256 #define	ERROR_NO_SIGNAL_SENT		205
    257 #define	ERROR_FILENAME_EXCED_RANGE	206
    258 #define	ERROR_RING2_STACK_IN_USE	207
    259 #define	ERROR_META_EXPANSION_TOO_LONG	208
    260 #define	ERROR_INVALID_SIGNAL_NUMBER	209
    261 #define	ERROR_THREAD_1_INACTIVE		210
    262 #define	ERROR_LOCKED			212
    263 #define	ERROR_TOO_MANY_MODULES		214
    264 #define	ERROR_NESTING_NOT_ALLOWED	215
    265 #define	ERROR_EXE_MACHINE_TYPE_MISMATCH 216
    266 #define	ERROR_BAD_PIPE			230
    267 #define	ERROR_PIPE_BUSY			231
    268 #define	ERROR_NO_DATA			232
    269 #define	ERROR_PIPE_NOT_CONNECTED	233
    270 #define	ERROR_MORE_DATA			234
    271 #define	ERROR_VC_DISCONNECTED		240
    272 #define	ERROR_INVALID_EA_NAME		254
    273 #define	ERROR_EA_LIST_INCONSISTENT	255
    274 #define	ERROR_NO_MORE_ITEMS		259
    275 #define	ERROR_CANNOT_COPY		266
    276 #define	ERROR_DIRECTORY			267
    277 #define	ERROR_EAS_DIDNT_FIT		275
    278 #define	ERROR_EA_FILE_CORRUPT		276
    279 #define	ERROR_EA_TABLE_FULL		277
    280 #define	ERROR_INVALID_EA_HANDLE		278
    281 #define	ERROR_EAS_NOT_SUPPORTED		282
    282 #define	ERROR_NOT_OWNER			288
    283 #define	ERROR_TOO_MANY_POSTS		298
    284 #define	ERROR_PARTIAL_COPY		299
    285 #define	ERROR_OPLOCK_NOT_GRANTED	300
    286 #define	ERROR_INVALID_OPLOCK_PROTOCOL	301
    287 #define	ERROR_MR_MID_NOT_FOUND		317
    288 #define	ERROR_INVALID_ADDRESS		487
    289 #define	ERROR_ARITHMETIC_OVERFLOW	534
    290 #define	ERROR_PIPE_CONNECTED		535
    291 #define	ERROR_PIPE_LISTENING		536
    292 #define	ERROR_EA_ACCESS_DENIED		994
    293 #define	ERROR_OPERATION_ABORTED		995
    294 #define	ERROR_IO_INCOMPLETE		996
    295 #define	ERROR_IO_PENDING		997
    296 #define	ERROR_NOACCESS			998
    297 #define	ERROR_SWAPERROR			999
    298 #define	ERROR_STACK_OVERFLOW		1001
    299 #define	ERROR_INVALID_MESSAGE		1002
    300 #define	ERROR_CAN_NOT_COMPLETE		1003
    301 #define	ERROR_INVALID_FLAGS		1004
    302 #define	ERROR_UNRECOGNIZED_VOLUME	1005
    303 #define	ERROR_FILE_INVALID		1006
    304 #define	ERROR_FULLSCREEN_MODE		1007
    305 #define	ERROR_NO_TOKEN			1008
    306 #define	ERROR_BADDB			1009
    307 #define	ERROR_BADKEY			1010
    308 #define	ERROR_CANTOPEN			1011
    309 #define	ERROR_CANTREAD			1012
    310 #define	ERROR_CANTWRITE			1013
    311 #define	ERROR_REGISTRY_RECOVERED	1014
    312 #define	ERROR_REGISTRY_CORRUPT		1015
    313 #define	ERROR_REGISTRY_IO_FAILED	1016
    314 #define	ERROR_NOT_REGISTRY_FILE		1017
    315 #define	ERROR_KEY_DELETED		1018
    316 #define	ERROR_NO_LOG_SPACE		1019
    317 #define	ERROR_KEY_HAS_CHILDREN		1020
    318 #define	ERROR_CHILD_MUST_BE_VOLATILE	1021
    319 #define	ERROR_NOTIFY_ENUM_DIR		1022
    320 #define	ERROR_DEPENDENT_SERVICES_RUNNING 1051
    321 #define	ERROR_INVALID_SERVICE_CONTROL	1052
    322 #define	ERROR_SERVICE_REQUEST_TIMEOUT	1053
    323 #define	ERROR_SERVICE_NO_THREAD		1054
    324 #define	ERROR_SERVICE_DATABASE_LOCKED	1055
    325 #define	ERROR_SERVICE_ALREADY_RUNNING	1056
    326 #define	ERROR_INVALID_SERVICE_ACCOUNT	1057
    327 #define	ERROR_SERVICE_DISABLED		1058
    328 #define	ERROR_CIRCULAR_DEPENDENCY	1059
    329 #define	ERROR_SERVICE_DOES_NOT_EXIST	1060
    330 #define	ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061
    331 #define	ERROR_SERVICE_NOT_ACTIVE	1062
    332 #define	ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063
    333 #define	ERROR_EXCEPTION_IN_SERVICE	1064
    334 #define	ERROR_DATABASE_DOES_NOT_EXIST	1065
    335 #define	ERROR_SERVICE_SPECIFIC_ERROR	1066
    336 #define	ERROR_PROCESS_ABORTED		1067
    337 #define	ERROR_SERVICE_DEPENDENCY_FAIL	1068
    338 #define	ERROR_SERVICE_LOGON_FAILED	1069
    339 #define	ERROR_SERVICE_START_HANG	1070
    340 #define	ERROR_INVALID_SERVICE_LOCK	1071
    341 #define	ERROR_SERVICE_MARKED_FOR_DELETE 1072
    342 #define	ERROR_SERVICE_EXISTS		1073
    343 #define	ERROR_ALREADY_RUNNING_LKG	1074
    344 #define	ERROR_SERVICE_DEPENDENCY_DELETED 1075
    345 #define	ERROR_BOOT_ALREADY_ACCEPTED	1076
    346 #define	ERROR_SERVICE_NEVER_STARTED	1077
    347 #define	ERROR_DUPLICATE_SERVICE_NAME	1078
    348 #define	ERROR_DIFFERENT_SERVICE_ACCOUNT 1079
    349 #define	ERROR_CANNOT_DETECT_DRIVER_FAILURE 1080
    350 #define	ERROR_CANNOT_DETECT_PROCESS_ABORT 1081
    351 #define	ERROR_NO_RECOVERY_PROGRAM	1082
    352 #define	ERROR_END_OF_MEDIA		1100
    353 #define	ERROR_FILEMARK_DETECTED		1101
    354 #define	ERROR_BEGINNING_OF_MEDIA	1102
    355 #define	ERROR_SETMARK_DETECTED		1103
    356 #define	ERROR_NO_DATA_DETECTED		1104
    357 #define	ERROR_PARTITION_FAILURE		1105
    358 #define	ERROR_INVALID_BLOCK_LENGTH	1106
    359 #define	ERROR_DEVICE_NOT_PARTITIONED	1107
    360 #define	ERROR_UNABLE_TO_LOCK_MEDIA	1108
    361 #define	ERROR_UNABLE_TO_UNLOAD_MEDIA	1109
    362 #define	ERROR_MEDIA_CHANGED		1110
    363 #define	ERROR_BUS_RESET			1111
    364 #define	ERROR_NO_MEDIA_IN_DRIVE		1112
    365 #define	ERROR_NO_UNICODE_TRANSLATION	1113
    366 #define	ERROR_DLL_INIT_FAILED		1114
    367 #define	ERROR_SHUTDOWN_IN_PROGRESS	1115
    368 #define	ERROR_NO_SHUTDOWN_IN_PROGRESS	1116
    369 #define	ERROR_IO_DEVICE			1117
    370 #define	ERROR_SERIAL_NO_DEVICE		1118
    371 #define	ERROR_IRQ_BUSY			1119
    372 #define	ERROR_MORE_WRITES		1120
    373 #define	ERROR_COUNTER_TIMEOUT		1121
    374 #define	ERROR_FLOPPY_ID_MARK_NOT_FOUND	1122
    375 #define	ERROR_FLOPPY_WRONG_CYLINDER	1123
    376 #define	ERROR_FLOPPY_UNKNOWN_ERROR	1124
    377 #define	ERROR_FLOPPY_BAD_REGISTERS	1125
    378 #define	ERROR_DISK_RECALIBRATE_FAILED	1126
    379 #define	ERROR_DISK_OPERATION_FAILED	1127
    380 #define	ERROR_DISK_RESET_FAILED		1128
    381 #define	ERROR_EOM_OVERFLOW		1129
    382 #define	ERROR_NOT_ENOUGH_SERVER_MEMORY	1130
    383 #define	ERROR_POSSIBLE_DEADLOCK		1131
    384 #define	ERROR_MAPPED_ALIGNMENT		1132
    385 #define	ERROR_SET_POWER_STATE_VETOED	1140
    386 #define	ERROR_SET_POWER_STATE_FAILED	1141
    387 #define	ERROR_TOO_MANY_LINKS		1142
    388 #define	ERROR_OLD_WIN_VERSION		1150
    389 #define	ERROR_APP_WRONG_OS		1151
    390 #define	ERROR_SINGLE_INSTANCE_APP	1152
    391 #define	ERROR_RMODE_APP			1153
    392 #define	ERROR_INVALID_DLL		1154
    393 #define	ERROR_NO_ASSOCIATION		1155
    394 #define	ERROR_DDE_FAIL			1156
    395 #define	ERROR_DLL_NOT_FOUND		1157
    396 #define	ERROR_NO_MORE_USER_HANDLES	1158
    397 #define	ERROR_MESSAGE_SYNC_ONLY		1159
    398 #define	ERROR_SOURCE_ELEMENT_EMPTY	1160
    399 #define	ERROR_DESTINATION_ELEMENT_FULL	1161
    400 #define	ERROR_ILLEGAL_ELEMENT_ADDRESS	1162
    401 #define	ERROR_MAGAZINE_NOT_PRESENT	1163
    402 #define	ERROR_DEVICE_REINITIALIZATION_NEEDED 1164
    403 #define	ERROR_DEVICE_REQUIRES_CLEANING	1165
    404 #define	ERROR_DEVICE_DOOR_OPEN		1166
    405 #define	ERROR_DEVICE_NOT_CONNECTED	1167
    406 #define	ERROR_NOT_FOUND			1168
    407 #define	ERROR_NO_MATCH			1169
    408 #define	ERROR_SET_NOT_FOUND		1170
    409 #define	ERROR_POINT_NOT_FOUND		1171
    410 #define	ERROR_NO_TRACKING_SERVICE	1172
    411 #define	ERROR_NO_VOLUME_ID		1173
    412 #define	ERROR_CONNECTED_OTHER_PASSWORD	2108
    413 #define	ERROR_BAD_USERNAME		2202
    414 #define	ERROR_NOT_CONNECTED		2250
    415 #define	ERROR_OPEN_FILES		2401
    416 #define	ERROR_ACTIVE_CONNECTIONS	2402
    417 #define	ERROR_DEVICE_IN_USE		2404
    418 #define	ERROR_BAD_DEVICE		1200
    419 #define	ERROR_CONNECTION_UNAVAIL	1201
    420 #define	ERROR_DEVICE_ALREADY_REMEMBERED 1202
    421 #define	ERROR_NO_NET_OR_BAD_PATH	1203
    422 #define	ERROR_BAD_PROVIDER		1204
    423 #define	ERROR_CANNOT_OPEN_PROFILE	1205
    424 #define	ERROR_BAD_PROFILE		1206
    425 #define	ERROR_NOT_CONTAINER		1207
    426 #define	ERROR_EXTENDED_ERROR		1208
    427 #define	ERROR_INVALID_GROUPNAME		1209
    428 #define	ERROR_INVALID_COMPUTERNAME	1210
    429 #define	ERROR_INVALID_EVENTNAME		1211
    430 #define	ERROR_INVALID_DOMAINNAME	1212
    431 #define	ERROR_INVALID_SERVICENAME	1213
    432 #define	ERROR_INVALID_NETNAME		1214
    433 #define	ERROR_INVALID_SHARENAME		1215
    434 #define	ERROR_INVALID_PASSWORDNAME	1216
    435 #define	ERROR_INVALID_MESSAGENAME	1217
    436 #define	ERROR_INVALID_MESSAGEDEST	1218
    437 #define	ERROR_SESSION_CREDENTIAL_CONFLICT 1219
    438 #define	ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220
    439 #define	ERROR_DUP_DOMAINNAME		1221
    440 #define	ERROR_NO_NETWORK		1222
    441 #define	ERROR_CANCELLED			1223
    442 #define	ERROR_USER_MAPPED_FILE		1224
    443 #define	ERROR_CONNECTION_REFUSED	1225
    444 #define	ERROR_GRACEFUL_DISCONNECT	1226
    445 #define	ERROR_ADDRESS_ALREADY_ASSOCIATED 1227
    446 #define	ERROR_ADDRESS_NOT_ASSOCIATED	1228
    447 #define	ERROR_CONNECTION_INVALID	1229
    448 #define	ERROR_CONNECTION_ACTIVE		1230
    449 #define	ERROR_NETWORK_UNREACHABLE	1231
    450 #define	ERROR_HOST_UNREACHABLE		1232
    451 #define	ERROR_PROTOCOL_UNREACHABLE	1233
    452 #define	ERROR_PORT_UNREACHABLE		1234
    453 #define	ERROR_REQUEST_ABORTED		1235
    454 #define	ERROR_CONNECTION_ABORTED	1236
    455 #define	ERROR_RETRY			1237
    456 #define	ERROR_CONNECTION_COUNT_LIMIT	1238
    457 #define	ERROR_LOGIN_TIME_RESTRICTION	1239
    458 #define	ERROR_LOGIN_WKSTA_RESTRICTION	1240
    459 #define	ERROR_INCORRECT_ADDRESS		1241
    460 #define	ERROR_ALREADY_REGISTERED	1242
    461 #define	ERROR_SERVICE_NOT_FOUND		1243
    462 #define	ERROR_NOT_AUTHENTICATED		1244
    463 #define	ERROR_NOT_LOGGED_ON		1245
    464 #define	ERROR_CONTINUE			1246
    465 #define	ERROR_ALREADY_INITIALIZED	1247
    466 #define	ERROR_NO_MORE_DEVICES		1248
    467 #define	ERROR_NO_SUCH_SITE		1249
    468 #define	ERROR_DOMAIN_CONTROLLER_EXISTS	1250
    469 #define	ERROR_DS_NOT_INSTALLED		1251
    470 #define	ERROR_NOT_ALL_ASSIGNED		1300
    471 #define	ERROR_SOME_NOT_MAPPED		1301
    472 #define	ERROR_NO_QUOTAS_FOR_ACCOUNT	1302
    473 #define	ERROR_LOCAL_USER_SESSION_KEY	1303
    474 #define	ERROR_NULL_LM_PASSWORD		1304
    475 #define	ERROR_UNKNOWN_REVISION		1305
    476 #define	ERROR_REVISION_MISMATCH		1306
    477 #define	ERROR_INVALID_OWNER		1307
    478 #define	ERROR_INVALID_PRIMARY_GROUP	1308
    479 #define	ERROR_NO_IMPERSONATION_TOKEN	1309
    480 #define	ERROR_CANT_DISABLE_MANDATORY	1310
    481 #define	ERROR_NO_LOGON_SERVERS		1311
    482 #define	ERROR_NO_SUCH_LOGON_SESSION	1312
    483 #define	ERROR_NO_SUCH_PRIVILEGE		1313
    484 #define	ERROR_PRIVILEGE_NOT_HELD	1314
    485 #define	ERROR_INVALID_ACCOUNT_NAME	1315
    486 #define	ERROR_USER_EXISTS		1316
    487 #define	ERROR_NO_SUCH_USER		1317
    488 #define	ERROR_GROUP_EXISTS		1318
    489 #define	ERROR_NO_SUCH_GROUP		1319
    490 #define	ERROR_MEMBER_IN_GROUP		1320
    491 #define	ERROR_MEMBER_NOT_IN_GROUP	1321
    492 #define	ERROR_LAST_ADMIN		1322
    493 #define	ERROR_WRONG_PASSWORD		1323
    494 #define	ERROR_ILL_FORMED_PASSWORD	1324
    495 #define	ERROR_PASSWORD_RESTRICTION	1325
    496 #define	ERROR_LOGON_FAILURE		1326
    497 #define	ERROR_ACCOUNT_RESTRICTION	1327
    498 #define	ERROR_INVALID_LOGON_HOURS	1328
    499 #define	ERROR_INVALID_WORKSTATION	1329
    500 #define	ERROR_PASSWORD_EXPIRED		1330
    501 #define	ERROR_ACCOUNT_DISABLED		1331
    502 #define	ERROR_NONE_MAPPED		1332
    503 #define	ERROR_TOO_MANY_LUIDS_REQUESTED	1333
    504 #define	ERROR_LUIDS_EXHAUSTED		1334
    505 #define	ERROR_INVALID_SUB_AUTHORITY	1335
    506 #define	ERROR_INVALID_ACL		1336
    507 #define	ERROR_INVALID_SID		1337
    508 #define	ERROR_INVALID_SECURITY_DESCR	1338
    509 #define	ERROR_BAD_INHERITANCE_ACL	1340
    510 #define	ERROR_SERVER_DISABLED		1341
    511 #define	ERROR_SERVER_NOT_DISABLED	1342
    512 #define	ERROR_INVALID_ID_AUTHORITY	1343
    513 #define	ERROR_ALLOTTED_SPACE_EXCEEDED	1344
    514 #define	ERROR_INVALID_GROUP_ATTRIBUTES	1345
    515 #define	ERROR_BAD_IMPERSONATION_LEVEL	1346
    516 #define	ERROR_CANT_OPEN_ANONYMOUS	1347
    517 #define	ERROR_BAD_VALIDATION_CLASS	1348
    518 #define	ERROR_BAD_TOKEN_TYPE		1349
    519 #define	ERROR_NO_SECURITY_ON_OBJECT	1350
    520 #define	ERROR_CANT_ACCESS_DOMAIN_INFO	1351
    521 #define	ERROR_INVALID_SERVER_STATE	1352
    522 #define	ERROR_INVALID_DOMAIN_STATE	1353
    523 #define	ERROR_INVALID_DOMAIN_ROLE	1354
    524 #define	ERROR_NO_SUCH_DOMAIN		1355
    525 #define	ERROR_DOMAIN_EXISTS		1356
    526 #define	ERROR_DOMAIN_LIMIT_EXCEEDED	1357
    527 #define	ERROR_INTERNAL_DB_CORRUPTION	1358
    528 #define	ERROR_INTERNAL_ERROR		1359
    529 #define	ERROR_GENERIC_NOT_MAPPED	1360
    530 #define	ERROR_BAD_DESCRIPTOR_FORMAT	1361
    531 #define	ERROR_NOT_LOGON_PROCESS		1362
    532 #define	ERROR_LOGON_SESSION_EXISTS	1363
    533 #define	ERROR_NO_SUCH_PACKAGE		1364
    534 #define	ERROR_BAD_LOGON_SESSION_STATE	1365
    535 #define	ERROR_LOGON_SESSION_COLLISION	1366
    536 #define	ERROR_INVALID_LOGON_TYPE	1367
    537 #define	ERROR_CANNOT_IMPERSONATE	1368
    538 #define	ERROR_RXACT_INVALID_STATE	1369
    539 #define	ERROR_RXACT_COMMIT_FAILURE	1370
    540 #define	ERROR_SPECIAL_ACCOUNT		1371
    541 #define	ERROR_SPECIAL_GROUP		1372
    542 #define	ERROR_SPECIAL_USER		1373
    543 #define	ERROR_MEMBERS_PRIMARY_GROUP	1374
    544 #define	ERROR_TOKEN_ALREADY_IN_USE	1375
    545 #define	ERROR_NO_SUCH_ALIAS		1376
    546 #define	ERROR_MEMBER_NOT_IN_ALIAS	1377
    547 #define	ERROR_MEMBER_IN_ALIAS		1378
    548 #define	ERROR_ALIAS_EXISTS		1379
    549 #define	ERROR_LOGON_NOT_GRANTED		1380
    550 #define	ERROR_TOO_MANY_SECRETS		1381
    551 #define	ERROR_SECRET_TOO_LONG		1382
    552 #define	ERROR_INTERNAL_DB_ERROR		1383
    553 #define	ERROR_TOO_MANY_CONTEXT_IDS	1384
    554 #define	ERROR_LOGON_TYPE_NOT_GRANTED	1385
    555 #define	ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386
    556 #define	ERROR_NO_SUCH_MEMBER		1387
    557 #define	ERROR_INVALID_MEMBER		1388
    558 #define	ERROR_TOO_MANY_SIDS		1389
    559 #define	ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390
    560 #define	ERROR_NO_INHERITANCE		1391
    561 #define	ERROR_FILE_CORRUPT		1392
    562 #define	ERROR_DISK_CORRUPT		1393
    563 #define	ERROR_NO_USER_SESSION_KEY	1394
    564 #define	ERROR_LICENSE_QUOTA_EXCEEDED	1395
    565 #define	ERROR_INVALID_WINDOW_HANDLE	1400
    566 #define	ERROR_INVALID_MENU_HANDLE	1401
    567 #define	ERROR_INVALID_CURSOR_HANDLE	1402
    568 #define	ERROR_INVALID_ACCEL_HANDLE	1403
    569 #define	ERROR_INVALID_HOOK_HANDLE	1404
    570 #define	ERROR_INVALID_DWP_HANDLE	1405
    571 #define	ERROR_TLW_WITH_WSCHILD		1406
    572 #define	ERROR_CANNOT_FIND_WND_CLASS	1407
    573 #define	ERROR_WINDOW_OF_OTHER_THREAD	1408
    574 #define	ERROR_HOTKEY_ALREADY_REGISTERED 1409
    575 #define	ERROR_CLASS_ALREADY_EXISTS	1410
    576 #define	ERROR_CLASS_DOES_NOT_EXIST	1411
    577 #define	ERROR_CLASS_HAS_WINDOWS		1412
    578 #define	ERROR_INVALID_INDEX		1413
    579 #define	ERROR_INVALID_ICON_HANDLE	1414
    580 #define	ERROR_PRIVATE_DIALOG_INDEX	1415
    581 #define	ERROR_LISTBOX_ID_NOT_FOUND	1416
    582 #define	ERROR_NO_WILDCARD_CHARACTERS	1417
    583 #define	ERROR_CLIPBOARD_NOT_OPEN	1418
    584 #define	ERROR_HOTKEY_NOT_REGISTERED	1419
    585 #define	ERROR_WINDOW_NOT_DIALOG		1420
    586 #define	ERROR_CONTROL_ID_NOT_FOUND	1421
    587 #define	ERROR_INVALID_COMBOBOX_MESSAGE	1422
    588 #define	ERROR_WINDOW_NOT_COMBOBOX	1423
    589 #define	ERROR_INVALID_EDIT_HEIGHT	1424
    590 #define	ERROR_DC_NOT_FOUND		1425
    591 #define	ERROR_INVALID_HOOK_FILTER	1426
    592 #define	ERROR_INVALID_FILTER_PROC	1427
    593 #define	ERROR_HOOK_NEEDS_HMOD		1428
    594 #define	ERROR_GLOBAL_ONLY_HOOK		1429
    595 #define	ERROR_JOURNAL_HOOK_SET		1430
    596 #define	ERROR_HOOK_NOT_INSTALLED	1431
    597 #define	ERROR_INVALID_LB_MESSAGE	1432
    598 #define	ERROR_SETCOUNT_ON_BAD_LB	1433
    599 #define	ERROR_LB_WITHOUT_TABSTOPS	1434
    600 #define	ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435
    601 #define	ERROR_CHILD_WINDOW_MENU		1436
    602 #define	ERROR_NO_SYSTEM_MENU		1437
    603 #define	ERROR_INVALID_MSGBOX_STYLE	1438
    604 #define	ERROR_INVALID_SPI_VALUE		1439
    605 #define	ERROR_SCREEN_ALREADY_LOCKED	1440
    606 #define	ERROR_HWNDS_HAVE_DIFF_PARENT	1441
    607 #define	ERROR_NOT_CHILD_WINDOW		1442
    608 #define	ERROR_INVALID_GW_COMMAND	1443
    609 #define	ERROR_INVALID_THREAD_ID		1444
    610 #define	ERROR_NON_MDICHILD_WINDOW	1445
    611 #define	ERROR_POPUP_ALREADY_ACTIVE	1446
    612 #define	ERROR_NO_SCROLLBARS		1447
    613 #define	ERROR_INVALID_SCROLLBAR_RANGE	1448
    614 #define	ERROR_INVALID_SHOWWIN_COMMAND	1449
    615 #define	ERROR_NO_SYSTEM_RESOURCES	1450
    616 #define	ERROR_NONPAGED_SYSTEM_RESOURCES 1451
    617 #define	ERROR_PAGED_SYSTEM_RESOURCES	1452
    618 #define	ERROR_WORKING_SET_QUOTA		1453
    619 #define	ERROR_PAGEFILE_QUOTA		1454
    620 #define	ERROR_COMMITMENT_LIMIT		1455
    621 #define	ERROR_MENU_ITEM_NOT_FOUND	1456
    622 #define	ERROR_INVALID_KEYBOARD_HANDLE	1457
    623 #define	ERROR_HOOK_TYPE_NOT_ALLOWED	1458
    624 #define	ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION 1459
    625 #define	ERROR_TIMEOUT			1460
    626 #define	ERROR_INVALID_MONITOR_HANDLE	1461
    627 #define	ERROR_EVENTLOG_FILE_CORRUPT	1500
    628 #define	ERROR_EVENTLOG_CANT_START	1501
    629 #define	ERROR_LOG_FILE_FULL		1502
    630 #define	ERROR_EVENTLOG_FILE_CHANGED	1503
    631 #define	ERROR_INSTALL_SERVICE		1601
    632 #define	ERROR_INSTALL_USEREXIT		1602
    633 #define	ERROR_INSTALL_FAILURE		1603
    634 #define	ERROR_INSTALL_SUSPEND		1604
    635 #define	ERROR_UNKNOWN_PRODUCT		1605
    636 #define	ERROR_UNKNOWN_FEATURE		1606
    637 #define	ERROR_UNKNOWN_COMPONENT		1607
    638 #define	ERROR_UNKNOWN_PROPERTY		1608
    639 #define	ERROR_INVALID_HANDLE_STATE	1609
    640 #define	ERROR_BAD_CONFIGURATION		1610
    641 #define	ERROR_INDEX_ABSENT		1611
    642 #define	ERROR_INSTALL_SOURCE_ABSENT	1612
    643 #define	ERROR_BAD_DATABASE_VERSION	1613
    644 #define	ERROR_PRODUCT_UNINSTALLED	1614
    645 #define	ERROR_BAD_QUERY_SYNTAX		1615
    646 #define	ERROR_INVALID_FIELD		1616
    647 #define	RPC_S_INVALID_STRING_BINDING	1700
    648 #define	RPC_S_WRONG_KIND_OF_BINDING	1701
    649 #define	RPC_S_INVALID_BINDING		1702
    650 #define	RPC_S_PROTSEQ_NOT_SUPPORTED	1703
    651 #define	RPC_S_INVALID_RPC_PROTSEQ	1704
    652 #define	RPC_S_INVALID_STRING_UUID	1705
    653 #define	RPC_S_INVALID_ENDPOINT_FORMAT	1706
    654 #define	RPC_S_INVALID_NET_ADDR		1707
    655 #define	RPC_S_NO_ENDPOINT_FOUND		1708
    656 #define	RPC_S_INVALID_TIMEOUT		1709
    657 #define	RPC_S_OBJECT_NOT_FOUND		1710
    658 #define	RPC_S_ALREADY_REGISTERED	1711
    659 #define	RPC_S_TYPE_ALREADY_REGISTERED	1712
    660 #define	RPC_S_ALREADY_LISTENING		1713
    661 #define	RPC_S_NO_PROTSEQS_REGISTERED	1714
    662 #define	RPC_S_NOT_LISTENING		1715
    663 #define	RPC_S_UNKNOWN_MGR_TYPE		1716
    664 #define	RPC_S_UNKNOWN_IF		1717
    665 #define	RPC_S_NO_BINDINGS		1718
    666 #define	RPC_S_NO_PROTSEQS		1719
    667 #define	RPC_S_CANT_CREATE_ENDPOINT	1720
    668 #define	RPC_S_OUT_OF_RESOURCES		1721
    669 #define	RPC_S_SERVER_UNAVAILABLE	1722
    670 #define	RPC_S_SERVER_TOO_BUSY		1723
    671 #define	RPC_S_INVALID_NETWORK_OPTIONS	1724
    672 #define	RPC_S_NO_CALL_ACTIVE		1725
    673 #define	RPC_S_CALL_FAILED		1726
    674 #define	RPC_S_CALL_FAILED_DNE		1727
    675 #define	RPC_S_PROTOCOL_ERROR		1728
    676 #define	RPC_S_UNSUPPORTED_TRANS_SYN	1730
    677 #define	RPC_S_UNSUPPORTED_TYPE		1732
    678 #define	RPC_S_INVALID_TAG		1733
    679 #define	RPC_S_INVALID_BOUND		1734
    680 #define	RPC_S_NO_ENTRY_NAME		1735
    681 #define	RPC_S_INVALID_NAME_SYNTAX	1736
    682 #define	RPC_S_UNSUPPORTED_NAME_SYNTAX	1737
    683 #define	RPC_S_UUID_NO_ADDRESS		1739
    684 #define	RPC_S_DUPLICATE_ENDPOINT	1740
    685 #define	RPC_S_UNKNOWN_AUTHN_TYPE	1741
    686 #define	RPC_S_MAX_CALLS_TOO_SMALL	1742
    687 #define	RPC_S_STRING_TOO_LONG		1743
    688 #define	RPC_S_PROTSEQ_NOT_FOUND		1744
    689 #define	RPC_S_PROCNUM_OUT_OF_RANGE	1745
    690 #define	RPC_S_BINDING_HAS_NO_AUTH	1746
    691 #define	RPC_S_UNKNOWN_AUTHN_SERVICE	1747
    692 #define	RPC_S_UNKNOWN_AUTHN_LEVEL	1748
    693 #define	RPC_S_INVALID_AUTH_IDENTITY	1749
    694 #define	RPC_S_UNKNOWN_AUTHZ_SERVICE	1750
    695 #define	EPT_S_INVALID_ENTRY		1751
    696 #define	EPT_S_CANT_PERFORM_OP		1752
    697 #define	EPT_S_NOT_REGISTERED		1753
    698 #define	RPC_S_NOTHING_TO_EXPORT		1754
    699 #define	RPC_S_INCOMPLETE_NAME		1755
    700 #define	RPC_S_INVALID_VERS_OPTION	1756
    701 #define	RPC_S_NO_MORE_MEMBERS		1757
    702 #define	RPC_S_NOT_ALL_OBJS_UNEXPORTED	1758
    703 #define	RPC_S_INTERFACE_NOT_FOUND	1759
    704 #define	RPC_S_ENTRY_ALREADY_EXISTS	1760
    705 #define	RPC_S_ENTRY_NOT_FOUND		1761
    706 #define	RPC_S_NAME_SERVICE_UNAVAILABLE	1762
    707 #define	RPC_S_INVALID_NAF_ID		1763
    708 #define	RPC_S_CANNOT_SUPPORT		1764
    709 #define	RPC_S_NO_CONTEXT_AVAILABLE	1765
    710 #define	RPC_S_INTERNAL_ERROR		1766
    711 #define	RPC_S_ZERO_DIVIDE		1767
    712 #define	RPC_S_ADDRESS_ERROR		1768
    713 #define	RPC_S_FP_DIV_ZERO		1769
    714 #define	RPC_S_FP_UNDERFLOW		1770
    715 #define	RPC_S_FP_OVERFLOW		1771
    716 #define	RPC_X_NO_MORE_ENTRIES		1772
    717 #define	RPC_X_SS_CHAR_TRANS_OPEN_FAIL	1773
    718 #define	RPC_X_SS_CHAR_TRANS_SHORT_FILE	1774
    719 #define	RPC_X_SS_IN_NULL_CONTEXT	1775
    720 #define	RPC_X_SS_CONTEXT_DAMAGED	1777
    721 #define	RPC_X_SS_HANDLES_MISMATCH	1778
    722 #define	RPC_X_SS_CANNOT_GET_CALL_HANDLE 1779
    723 #define	RPC_X_NULL_REF_POINTER		1780
    724 #define	RPC_X_ENUM_VALUE_OUT_OF_RANGE	1781
    725 #define	RPC_X_BYTE_COUNT_TOO_SMALL	1782
    726 #define	RPC_X_BAD_STUB_DATA		1783
    727 #define	ERROR_INVALID_USER_BUFFER	1784
    728 #define	ERROR_UNRECOGNIZED_MEDIA	1785
    729 #define	ERROR_NO_TRUST_LSA_SECRET	1786
    730 #define	ERROR_NO_TRUST_SAM_ACCOUNT	1787
    731 #define	ERROR_TRUSTED_DOMAIN_FAILURE	1788
    732 #define	ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789
    733 #define	ERROR_TRUST_FAILURE		1790
    734 #define	RPC_S_CALL_IN_PROGRESS		1791
    735 #define	ERROR_NETLOGON_NOT_STARTED	1792
    736 #define	ERROR_ACCOUNT_EXPIRED		1793
    737 #define	ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794
    738 #define	ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795
    739 #define	ERROR_UNKNOWN_PORT		1796
    740 #define	ERROR_UNKNOWN_PRINTER_DRIVER	1797
    741 #define	ERROR_UNKNOWN_PRINTPROCESSOR	1798
    742 #define	ERROR_INVALID_SEPARATOR_FILE	1799
    743 #define	ERROR_INVALID_PRIORITY		1800
    744 #define	ERROR_INVALID_PRINTER_NAME	1801
    745 #define	ERROR_PRINTER_ALREADY_EXISTS	1802
    746 #define	ERROR_INVALID_PRINTER_COMMAND	1803
    747 #define	ERROR_INVALID_DATATYPE		1804
    748 #define	ERROR_INVALID_ENVIRONMENT	1805
    749 #define	RPC_S_NO_MORE_BINDINGS		1806
    750 #define	ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807
    751 #define	ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808
    752 #define	ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809
    753 #define	ERROR_DOMAIN_TRUST_INCONSISTENT 1810
    754 #define	ERROR_SERVER_HAS_OPEN_HANDLES	1811
    755 #define	ERROR_RESOURCE_DATA_NOT_FOUND	1812
    756 #define	ERROR_RESOURCE_TYPE_NOT_FOUND	1813
    757 #define	ERROR_RESOURCE_NAME_NOT_FOUND	1814
    758 #define	ERROR_RESOURCE_LANG_NOT_FOUND	1815
    759 #define	ERROR_NOT_ENOUGH_QUOTA		1816
    760 #define	RPC_S_NO_INTERFACES		1817
    761 #define	RPC_S_CALL_CANCELLED		1818
    762 #define	RPC_S_BINDING_INCOMPLETE	1819
    763 #define	RPC_S_COMM_FAILURE		1820
    764 #define	RPC_S_UNSUPPORTED_AUTHN_LEVEL	1821
    765 #define	RPC_S_NO_PRINC_NAME		1822
    766 #define	RPC_S_NOT_RPC_ERROR		1823
    767 #define	RPC_S_UUID_LOCAL_ONLY		1824
    768 #define	RPC_S_SEC_PKG_ERROR		1825
    769 #define	RPC_S_NOT_CANCELLED		1826
    770 #define	RPC_X_INVALID_ES_ACTION		1827
    771 #define	RPC_X_WRONG_ES_VERSION		1828
    772 #define	RPC_X_WRONG_STUB_VERSION	1829
    773 #define	RPC_X_INVALID_PIPE_OBJECT	1830
    774 #define	RPC_X_WRONG_PIPE_ORDER		1831
    775 #define	RPC_X_WRONG_PIPE_VERSION	1832
    776 #define	RPC_S_GROUP_MEMBER_NOT_FOUND	1898
    777 #define	EPT_S_CANT_CREATE		1899
    778 #define	RPC_S_INVALID_OBJECT		1900
    779 #define	ERROR_INVALID_TIME		1901
    780 #define	ERROR_INVALID_FORM_NAME		1902
    781 #define	ERROR_INVALID_FORM_SIZE		1903
    782 #define	ERROR_ALREADY_WAITING		1904
    783 #define	ERROR_PRINTER_DELETED		1905
    784 #define	ERROR_INVALID_PRINTER_STATE	1906
    785 #define	ERROR_PASSWORD_MUST_CHANGE	1907
    786 #define	ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908
    787 #define	ERROR_ACCOUNT_LOCKED_OUT	1909
    788 #define	OR_INVALID_OXID			1910
    789 #define	OR_INVALID_OID			1911
    790 #define	OR_INVALID_SET			1912
    791 #define	RPC_S_SEND_INCOMPLETE		1913
    792 #define	RPC_S_INVALID_ASYNC_HANDLE	1914
    793 #define	RPC_S_INVALID_ASYNC_CALL	1915
    794 #define	RPC_X_PIPE_CLOSED		1916
    795 #define	RPC_X_PIPE_DISCIPLINE_ERROR	1917
    796 #define	RPC_X_PIPE_EMPTY		1918
    797 #define	ERROR_NO_SITENAME		1919
    798 #define	ERROR_CANT_ACCESS_FILE		1920
    799 #define	ERROR_CANT_RESOLVE_FILENAME	1921
    800 #define	ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY 1922
    801 #define	ERROR_DS_NO_ATTRIBUTE_OR_VALUE	1923
    802 #define	ERROR_DS_INVALID_ATTRIBUTE_SYNTAX 1924
    803 #define	ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED 1925
    804 #define	ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS 1926
    805 #define	ERROR_DS_BUSY			1927
    806 #define	ERROR_DS_UNAVAILABLE		1928
    807 #define	ERROR_DS_NO_RIDS_ALLOCATED	1929
    808 #define	ERROR_DS_NO_MORE_RIDS		1930
    809 #define	ERROR_DS_INCORRECT_ROLE_OWNER	1931
    810 #define	ERROR_DS_RIDMGR_INIT_ERROR	1932
    811 #define	ERROR_DS_OBJ_CLASS_VIOLATION	1933
    812 #define	ERROR_DS_CANT_ON_NON_LEAF	1934
    813 #define	ERROR_DS_CANT_ON_RDN		1935
    814 #define	ERROR_DS_CANT_MOD_OBJ_CLASS	1936
    815 #define	ERROR_DS_CROSS_DOM_MOVE_ERROR	1937
    816 #define	ERROR_DS_GC_NOT_AVAILABLE	1938
    817 #define	ERROR_NO_BROWSER_SERVERS_FOUND	6118
    818 #define	ERROR_INVALID_PIXEL_FORMAT	2000
    819 #define	ERROR_BAD_DRIVER		2001
    820 #define	ERROR_INVALID_WINDOW_STYLE	2002
    821 #define	ERROR_METAFILE_NOT_SUPPORTED	2003
    822 #define	ERROR_TRANSFORM_NOT_SUPPORTED	2004
    823 #define	ERROR_CLIPPING_NOT_SUPPORTED	2005
    824 #define	ERROR_INVALID_CMM		2300
    825 #define	ERROR_INVALID_PROFILE		2301
    826 #define	ERROR_TAG_NOT_FOUND		2302
    827 #define	ERROR_TAG_NOT_PRESENT		2303
    828 #define	ERROR_DUPLICATE_TAG		2304
    829 #define	ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE 2305
    830 #define	ERROR_PROFILE_NOT_FOUND		2306
    831 #define	ERROR_INVALID_COLORSPACE	2307
    832 #define	ERROR_ICM_NOT_ENABLED		2308
    833 #define	ERROR_DELETING_ICM_XFORM	2309
    834 #define	ERROR_INVALID_TRANSFORM		2310
    835 #define	ERROR_UNKNOWN_PRINT_MONITOR	3000
    836 #define	ERROR_PRINTER_DRIVER_IN_USE	3001
    837 #define	ERROR_SPOOL_FILE_NOT_FOUND	3002
    838 #define	ERROR_SPL_NO_STARTDOC		3003
    839 #define	ERROR_SPL_NO_ADDJOB		3004
    840 #define	ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005
    841 #define	ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006
    842 #define	ERROR_INVALID_PRINT_MONITOR	3007
    843 #define	ERROR_PRINT_MONITOR_IN_USE	3008
    844 #define	ERROR_PRINTER_HAS_JOBS_QUEUED	3009
    845 #define	ERROR_SUCCESS_REBOOT_REQUIRED	3010
    846 #define	ERROR_SUCCESS_RESTART_REQUIRED	3011
    847 #define	ERROR_WINS_INTERNAL		4000
    848 #define	ERROR_CAN_NOT_DEL_LOCAL_WINS	4001
    849 #define	ERROR_STATIC_INIT		4002
    850 #define	ERROR_INC_BACKUP		4003
    851 #define	ERROR_FULL_BACKUP		4004
    852 #define	ERROR_REC_NON_EXISTENT		4005
    853 #define	ERROR_RPL_NOT_ALLOWED		4006
    854 #define	ERROR_DHCP_ADDRESS_CONFLICT	4100
    855 #define	ERROR_WMI_GUID_NOT_FOUND	4200
    856 #define	ERROR_WMI_INSTANCE_NOT_FOUND	4201
    857 #define	ERROR_WMI_ITEMID_NOT_FOUND	4202
    858 #define	ERROR_WMI_TRY_AGAIN		4203
    859 #define	ERROR_WMI_DP_NOT_FOUND		4204
    860 #define	ERROR_WMI_UNRESOLVED_INSTANCE_REF 4205