| | 1 | | namespace Songhay.Models; |
| | 2 | |
|
| | 3 | | // ReSharper disable InconsistentNaming |
| | 4 | | /// <summary> |
| | 5 | | /// Defines the error codes of Windows |
| | 6 | | /// </summary> |
| | 7 | | /// <remarks> |
| | 8 | | /// See MSDN: https://msdn.microsoft.com/en-us/library/ms681382.aspx |
| | 9 | | /// </remarks> |
| | 10 | | public static class SystemErrorCodes |
| | 11 | | { |
| | 12 | | /// <summary> |
| | 13 | | /// System error code |
| | 14 | | /// </summary> |
| | 15 | | public const Int32 ERROR_ACCESS_DENIED = 5; |
| | 16 | |
|
| | 17 | | /// <summary> |
| | 18 | | /// System error code |
| | 19 | | /// </summary> |
| | 20 | | public const Int32 ERROR_ADAP_HDW_ERR = 57; |
| | 21 | |
|
| | 22 | | /// <summary> |
| | 23 | | /// System error code |
| | 24 | | /// </summary> |
| | 25 | | public const Int32 ERROR_ALREADY_ASSIGNED = 85; |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// System error code |
| | 29 | | /// </summary> |
| | 30 | | public const Int32 ERROR_ALREADY_EXISTS = 183; |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// System error code |
| | 34 | | /// </summary> |
| | 35 | | public const Int32 ERROR_ARENA_TRASHED = 7; |
| | 36 | |
|
| | 37 | | /// <summary> |
| | 38 | | /// System error code |
| | 39 | | /// </summary> |
| | 40 | | public const Int32 ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174; |
| | 41 | |
|
| | 42 | | /// <summary> |
| | 43 | | /// System error code |
| | 44 | | /// </summary> |
| | 45 | | public const Int32 ERROR_AUTODATASEG_EXCEEDS_64k = 199; |
| | 46 | |
|
| | 47 | | /// <summary> |
| | 48 | | /// System error code |
| | 49 | | /// </summary> |
| | 50 | | public const Int32 ERROR_BAD_ARGUMENTS = 160; |
| | 51 | |
|
| | 52 | | /// <summary> |
| | 53 | | /// System error code |
| | 54 | | /// </summary> |
| | 55 | | public const Int32 ERROR_BAD_COMMAND = 22; |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// System error code |
| | 59 | | /// </summary> |
| | 60 | | public const Int32 ERROR_BAD_DEV_TYPE = 66; |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// System error code |
| | 64 | | /// </summary> |
| | 65 | | public const Int32 ERROR_BAD_DRIVER_LEVEL = 119; |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// System error code |
| | 69 | | /// </summary> |
| | 70 | | public const Int32 ERROR_BAD_ENVIRONMENT = 10; |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// System error code |
| | 74 | | /// </summary> |
| | 75 | | public const Int32 ERROR_BAD_EXE_FORMAT = 193; |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// System error code |
| | 79 | | /// </summary> |
| | 80 | | public const Int32 ERROR_BAD_FILE_TYPE = 222; |
| | 81 | |
|
| | 82 | | /// <summary> |
| | 83 | | /// System error code |
| | 84 | | /// </summary> |
| | 85 | | public const Int32 ERROR_BAD_FORMAT = 11; |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// System error code |
| | 89 | | /// </summary> |
| | 90 | | public const Int32 ERROR_BAD_LENGTH = 24; |
| | 91 | |
|
| | 92 | | /// <summary> |
| | 93 | | /// System error code |
| | 94 | | /// </summary> |
| | 95 | | public const Int32 ERROR_BAD_NET_NAME = 67; |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// System error code |
| | 99 | | /// </summary> |
| | 100 | | public const Int32 ERROR_BAD_NET_RESP = 58; |
| | 101 | |
|
| | 102 | | /// <summary> |
| | 103 | | /// System error code |
| | 104 | | /// </summary> |
| | 105 | | public const Int32 ERROR_BAD_NETPATH = 53; |
| | 106 | |
|
| | 107 | | /// <summary> |
| | 108 | | /// System error code |
| | 109 | | /// </summary> |
| | 110 | | public const Int32 ERROR_BAD_PATHNAME = 161; |
| | 111 | |
|
| | 112 | | /// <summary> |
| | 113 | | /// System error code |
| | 114 | | /// </summary> |
| | 115 | | public const Int32 ERROR_BAD_PIPE = 230; |
| | 116 | |
|
| | 117 | | /// <summary> |
| | 118 | | /// System error code |
| | 119 | | /// </summary> |
| | 120 | | public const Int32 ERROR_BAD_REM_ADAP = 60; |
| | 121 | |
|
| | 122 | | /// <summary> |
| | 123 | | /// System error code |
| | 124 | | /// </summary> |
| | 125 | | public const Int32 ERROR_BAD_THREADID_ADDR = 159; |
| | 126 | |
|
| | 127 | | /// <summary> |
| | 128 | | /// System error code |
| | 129 | | /// </summary> |
| | 130 | | public const Int32 ERROR_BAD_UNIT = 20; |
| | 131 | |
|
| | 132 | | /// <summary> |
| | 133 | | /// System error code |
| | 134 | | /// </summary> |
| | 135 | | public const Int32 ERROR_BROKEN_PIPE = 109; |
| | 136 | |
|
| | 137 | | /// <summary> |
| | 138 | | /// System error code |
| | 139 | | /// </summary> |
| | 140 | | public const Int32 ERROR_BUFFER_OVERFLOW = 111; |
| | 141 | |
|
| | 142 | | /// <summary> |
| | 143 | | /// System error code |
| | 144 | | /// </summary> |
| | 145 | | public const Int32 ERROR_BUSY_DRIVE = 142; |
| | 146 | |
|
| | 147 | | /// <summary> |
| | 148 | | /// System error code |
| | 149 | | /// </summary> |
| | 150 | | public const Int32 ERROR_BUSY = 170; |
| | 151 | |
|
| | 152 | | /// <summary> |
| | 153 | | /// System error code |
| | 154 | | /// </summary> |
| | 155 | | public const Int32 ERROR_CALL_NOT_IMPLEMENTED = 120; |
| | 156 | |
|
| | 157 | | /// <summary> |
| | 158 | | /// System error code |
| | 159 | | /// </summary> |
| | 160 | | public const Int32 ERROR_CANCEL_VIOLATION = 173; |
| | 161 | |
|
| | 162 | | /// <summary> |
| | 163 | | /// System error code |
| | 164 | | /// </summary> |
| | 165 | | public const Int32 ERROR_CANNOT_COPY = 266; |
| | 166 | |
|
| | 167 | | /// <summary> |
| | 168 | | /// System error code |
| | 169 | | /// </summary> |
| | 170 | | public const Int32 ERROR_CANNOT_MAKE = 82; |
| | 171 | |
|
| | 172 | | /// <summary> |
| | 173 | | /// System error code |
| | 174 | | /// </summary> |
| | 175 | | public const Int32 ERROR_CHECKOUT_REQUIRED = 221; |
| | 176 | |
|
| | 177 | | /// <summary> |
| | 178 | | /// System error code |
| | 179 | | /// </summary> |
| | 180 | | public const Int32 ERROR_CHILD_NOT_COMPLETE = 129; |
| | 181 | |
|
| | 182 | | /// <summary> |
| | 183 | | /// System error code |
| | 184 | | /// </summary> |
| | 185 | | public const Int32 ERROR_CRC = 23; |
| | 186 | |
|
| | 187 | | /// <summary> |
| | 188 | | /// System error code |
| | 189 | | /// </summary> |
| | 190 | | public const Int32 ERROR_CURRENT_DIRECTORY = 16; |
| | 191 | |
|
| | 192 | | /// <summary> |
| | 193 | | /// System error code |
| | 194 | | /// </summary> |
| | 195 | | public const Int32 ERROR_DELETE_PENDING = 303; |
| | 196 | |
|
| | 197 | | /// <summary> |
| | 198 | | /// System error code |
| | 199 | | /// </summary> |
| | 200 | | public const Int32 ERROR_DEV_NOT_EXIST = 55; |
| | 201 | |
|
| | 202 | | /// <summary> |
| | 203 | | /// System error code |
| | 204 | | /// </summary> |
| | 205 | | public const Int32 ERROR_DIR_NOT_EMPTY = 145; |
| | 206 | |
|
| | 207 | | /// <summary> |
| | 208 | | /// System error code |
| | 209 | | /// </summary> |
| | 210 | | public const Int32 ERROR_DIR_NOT_ROOT = 144; |
| | 211 | |
|
| | 212 | | /// <summary> |
| | 213 | | /// System error code |
| | 214 | | /// </summary> |
| | 215 | | public const Int32 ERROR_DIRECT_ACCESS_HANDLE = 130; |
| | 216 | |
|
| | 217 | | /// <summary> |
| | 218 | | /// System error code |
| | 219 | | /// </summary> |
| | 220 | | public const Int32 ERROR_DIRECTORY = 267; |
| | 221 | |
|
| | 222 | | /// <summary> |
| | 223 | | /// System error code |
| | 224 | | /// </summary> |
| | 225 | | public const Int32 ERROR_DISCARDED = 157; |
| | 226 | |
|
| | 227 | | /// <summary> |
| | 228 | | /// System error code |
| | 229 | | /// </summary> |
| | 230 | | public const Int32 ERROR_DISK_CHANGE = 107; |
| | 231 | |
|
| | 232 | | /// <summary> |
| | 233 | | /// System error code |
| | 234 | | /// </summary> |
| | 235 | | public const Int32 ERROR_DISK_FULL = 112; |
| | 236 | |
|
| | 237 | | /// <summary> |
| | 238 | | /// System error code |
| | 239 | | /// </summary> |
| | 240 | | public const Int32 ERROR_DISK_TOO_FRAGMENTED = 302; |
| | 241 | |
|
| | 242 | | /// <summary> |
| | 243 | | /// System error code |
| | 244 | | /// </summary> |
| | 245 | | public const Int32 ERROR_DRIVE_LOCKED = 108; |
| | 246 | |
|
| | 247 | | /// <summary> |
| | 248 | | /// System error code |
| | 249 | | /// </summary> |
| | 250 | | public const Int32 ERROR_DUP_NAME = 52; |
| | 251 | |
|
| | 252 | | /// <summary> |
| | 253 | | /// System error code |
| | 254 | | /// </summary> |
| | 255 | | public const Int32 ERROR_DYNLINK_FROM_INVALID_RING = 196; |
| | 256 | |
|
| | 257 | | /// <summary> |
| | 258 | | /// System error code |
| | 259 | | /// </summary> |
| | 260 | | public const Int32 ERROR_EA_FILE_CORRUPT = 276; |
| | 261 | |
|
| | 262 | | /// <summary> |
| | 263 | | /// System error code |
| | 264 | | /// </summary> |
| | 265 | | public const Int32 ERROR_EA_LIST_INCONSISTENT = 255; |
| | 266 | |
|
| | 267 | | /// <summary> |
| | 268 | | /// System error code |
| | 269 | | /// </summary> |
| | 270 | | public const Int32 ERROR_EA_TABLE_FULL = 277; |
| | 271 | |
|
| | 272 | | /// <summary> |
| | 273 | | /// System error code |
| | 274 | | /// </summary> |
| | 275 | | public const Int32 ERROR_EAS_DIDNT_FIT = 275; |
| | 276 | |
|
| | 277 | | /// <summary> |
| | 278 | | /// System error code |
| | 279 | | /// </summary> |
| | 280 | | public const Int32 ERROR_EAS_NOT_SUPPORTED = 282; |
| | 281 | |
|
| | 282 | | /// <summary> |
| | 283 | | /// System error code |
| | 284 | | /// </summary> |
| | 285 | | public const Int32 ERROR_ENVVAR_NOT_FOUND = 203; |
| | 286 | |
|
| | 287 | | /// <summary> |
| | 288 | | /// System error code |
| | 289 | | /// </summary> |
| | 290 | | public const Int32 ERROR_EXCL_SEM_ALREADY_OWNED = 101; |
| | 291 | |
|
| | 292 | | /// <summary> |
| | 293 | | /// System error code |
| | 294 | | /// </summary> |
| | 295 | | public const Int32 ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 217; |
| | 296 | |
|
| | 297 | | /// <summary> |
| | 298 | | /// System error code |
| | 299 | | /// </summary> |
| | 300 | | public const Int32 ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218; |
| | 301 | |
|
| | 302 | | /// <summary> |
| | 303 | | /// System error code |
| | 304 | | /// </summary> |
| | 305 | | public const Int32 ERROR_EXE_MACHINE_TYPE_MISMATCH = 216; |
| | 306 | |
|
| | 307 | | /// <summary> |
| | 308 | | /// System error code |
| | 309 | | /// </summary> |
| | 310 | | public const Int32 ERROR_EXE_MARKED_INVALID = 192; |
| | 311 | |
|
| | 312 | | /// <summary> |
| | 313 | | /// System error code |
| | 314 | | /// </summary> |
| | 315 | | public const Int32 ERROR_FAIL_I24 = 83; |
| | 316 | |
|
| | 317 | | /// <summary> |
| | 318 | | /// System error code |
| | 319 | | /// </summary> |
| | 320 | | public const Int32 ERROR_FAIL_NOACTION_REBOOT = 350; |
| | 321 | |
|
| | 322 | | /// <summary> |
| | 323 | | /// System error code |
| | 324 | | /// </summary> |
| | 325 | | public const Int32 ERROR_FAIL_RESTART = 352; |
| | 326 | |
|
| | 327 | | /// <summary> |
| | 328 | | /// System error code |
| | 329 | | /// </summary> |
| | 330 | | public const Int32 ERROR_FAIL_SHUTDOWN = 351; |
| | 331 | |
|
| | 332 | | /// <summary> |
| | 333 | | /// System error code |
| | 334 | | /// </summary> |
| | 335 | | public const Int32 ERROR_FILE_CHECKED_OUT = 220; |
| | 336 | |
|
| | 337 | | /// <summary> |
| | 338 | | /// System error code |
| | 339 | | /// </summary> |
| | 340 | | public const Int32 ERROR_FILE_EXISTS = 80; |
| | 341 | |
|
| | 342 | | /// <summary> |
| | 343 | | /// System error code |
| | 344 | | /// </summary> |
| | 345 | | public const Int32 ERROR_FILE_NOT_FOUND = 2; |
| | 346 | |
|
| | 347 | | /// <summary> |
| | 348 | | /// System error code |
| | 349 | | /// </summary> |
| | 350 | | public const Int32 ERROR_FILE_TOO_LARGE = 223; |
| | 351 | |
|
| | 352 | | /// <summary> |
| | 353 | | /// System error code |
| | 354 | | /// </summary> |
| | 355 | | public const Int32 ERROR_FILENAME_EXCED_RANGE = 206; |
| | 356 | |
|
| | 357 | | /// <summary> |
| | 358 | | /// System error code |
| | 359 | | /// </summary> |
| | 360 | | public const Int32 ERROR_FORMS_AUTH_REQUIRED = 224; |
| | 361 | |
|
| | 362 | | /// <summary> |
| | 363 | | /// System error code |
| | 364 | | /// </summary> |
| | 365 | | public const Int32 ERROR_GEN_FAILURE = 31; |
| | 366 | |
|
| | 367 | | /// <summary> |
| | 368 | | /// System error code |
| | 369 | | /// </summary> |
| | 370 | | public const Int32 ERROR_HANDLE_DISK_FULL = 39; |
| | 371 | |
|
| | 372 | | /// <summary> |
| | 373 | | /// System error code |
| | 374 | | /// </summary> |
| | 375 | | public const Int32 ERROR_HANDLE_EOF = 38; |
| | 376 | |
|
| | 377 | | /// <summary> |
| | 378 | | /// System error code |
| | 379 | | /// </summary> |
| | 380 | | public const Int32 ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT = 308; |
| | 381 | |
|
| | 382 | | /// <summary> |
| | 383 | | /// System error code |
| | 384 | | /// </summary> |
| | 385 | | public const Int32 ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING = 304; |
| | 386 | |
|
| | 387 | | /// <summary> |
| | 388 | | /// System error code |
| | 389 | | /// </summary> |
| | 390 | | public const Int32 ERROR_INFLOOP_IN_RELOC_CHAIN = 202; |
| | 391 | |
|
| | 392 | | /// <summary> |
| | 393 | | /// System error code |
| | 394 | | /// </summary> |
| | 395 | | public const Int32 ERROR_INSUFFICIENT_BUFFER = 122; |
| | 396 | |
|
| | 397 | | /// <summary> |
| | 398 | | /// System error code |
| | 399 | | /// </summary> |
| | 400 | | public const Int32 ERROR_INVALID_ACCESS = 12; |
| | 401 | |
|
| | 402 | | /// <summary> |
| | 403 | | /// System error code |
| | 404 | | /// </summary> |
| | 405 | | public const Int32 ERROR_INVALID_ADDRESS = 487; |
| | 406 | |
|
| | 407 | | /// <summary> |
| | 408 | | /// System error code |
| | 409 | | /// </summary> |
| | 410 | | public const Int32 ERROR_INVALID_AT_INTERRUPT_TIME = 104; |
| | 411 | |
|
| | 412 | | /// <summary> |
| | 413 | | /// System error code |
| | 414 | | /// </summary> |
| | 415 | | public const Int32 ERROR_INVALID_BLOCK = 9; |
| | 416 | |
|
| | 417 | | /// <summary> |
| | 418 | | /// System error code |
| | 419 | | /// </summary> |
| | 420 | | public const Int32 ERROR_INVALID_CATEGORY = 117; |
| | 421 | |
|
| | 422 | | /// <summary> |
| | 423 | | /// System error code |
| | 424 | | /// </summary> |
| | 425 | | public const Int32 ERROR_INVALID_DATA = 13; |
| | 426 | |
|
| | 427 | | /// <summary> |
| | 428 | | /// System error code |
| | 429 | | /// </summary> |
| | 430 | | public const Int32 ERROR_INVALID_DRIVE = 15; |
| | 431 | |
|
| | 432 | | /// <summary> |
| | 433 | | /// System error code |
| | 434 | | /// </summary> |
| | 435 | | public const Int32 ERROR_INVALID_EA_HANDLE = 278; |
| | 436 | |
|
| | 437 | | /// <summary> |
| | 438 | | /// System error code |
| | 439 | | /// </summary> |
| | 440 | | public const Int32 ERROR_INVALID_EA_NAME = 254; |
| | 441 | |
|
| | 442 | | /// <summary> |
| | 443 | | /// System error code |
| | 444 | | /// </summary> |
| | 445 | | public const Int32 ERROR_INVALID_EVENT_COUNT = 151; |
| | 446 | |
|
| | 447 | | /// <summary> |
| | 448 | | /// System error code |
| | 449 | | /// </summary> |
| | 450 | | public const Int32 ERROR_INVALID_EXE_SIGNATURE = 191; |
| | 451 | |
|
| | 452 | | /// <summary> |
| | 453 | | /// System error code |
| | 454 | | /// </summary> |
| | 455 | | public const Int32 ERROR_INVALID_FLAG_NUMBER = 186; |
| | 456 | |
|
| | 457 | | /// <summary> |
| | 458 | | /// System error code |
| | 459 | | /// </summary> |
| | 460 | | public const Int32 ERROR_INVALID_FUNCTION = 1; |
| | 461 | |
|
| | 462 | | /// <summary> |
| | 463 | | /// System error code |
| | 464 | | /// </summary> |
| | 465 | | public const Int32 ERROR_INVALID_HANDLE = 6; |
| | 466 | |
|
| | 467 | | /// <summary> |
| | 468 | | /// System error code |
| | 469 | | /// </summary> |
| | 470 | | public const Int32 ERROR_INVALID_LEVEL = 124; |
| | 471 | |
|
| | 472 | | /// <summary> |
| | 473 | | /// System error code |
| | 474 | | /// </summary> |
| | 475 | | public const Int32 ERROR_INVALID_LIST_FORMAT = 153; |
| | 476 | |
|
| | 477 | | /// <summary> |
| | 478 | | /// System error code |
| | 479 | | /// </summary> |
| | 480 | | public const Int32 ERROR_INVALID_LOCK_RANGE = 307; |
| | 481 | |
|
| | 482 | | /// <summary> |
| | 483 | | /// System error code |
| | 484 | | /// </summary> |
| | 485 | | public const Int32 ERROR_INVALID_MINALLOCSIZE = 195; |
| | 486 | |
|
| | 487 | | /// <summary> |
| | 488 | | /// System error code |
| | 489 | | /// </summary> |
| | 490 | | public const Int32 ERROR_INVALID_MODULETYPE = 190; |
| | 491 | |
|
| | 492 | | /// <summary> |
| | 493 | | /// System error code |
| | 494 | | /// </summary> |
| | 495 | | public const Int32 ERROR_INVALID_NAME = 123; |
| | 496 | |
|
| | 497 | | /// <summary> |
| | 498 | | /// System error code |
| | 499 | | /// </summary> |
| | 500 | | public const Int32 ERROR_INVALID_OPLOCK_PROTOCOL = 301; |
| | 501 | |
|
| | 502 | | /// <summary> |
| | 503 | | /// System error code |
| | 504 | | /// </summary> |
| | 505 | | public const Int32 ERROR_INVALID_ORDINAL = 182; |
| | 506 | |
|
| | 507 | | /// <summary> |
| | 508 | | /// System error code |
| | 509 | | /// </summary> |
| | 510 | | public const Int32 ERROR_INVALID_PARAMETER = 87; |
| | 511 | |
|
| | 512 | | /// <summary> |
| | 513 | | /// System error code |
| | 514 | | /// </summary> |
| | 515 | | public const Int32 ERROR_INVALID_PASSWORD = 86; |
| | 516 | |
|
| | 517 | | /// <summary> |
| | 518 | | /// System error code |
| | 519 | | /// </summary> |
| | 520 | | public const Int32 ERROR_INVALID_SEGDPL = 198; |
| | 521 | |
|
| | 522 | | /// <summary> |
| | 523 | | /// System error code |
| | 524 | | /// </summary> |
| | 525 | | public const Int32 ERROR_INVALID_SEGMENT_NUMBER = 180; |
| | 526 | |
|
| | 527 | | /// <summary> |
| | 528 | | /// System error code |
| | 529 | | /// </summary> |
| | 530 | | public const Int32 ERROR_INVALID_SIGNAL_NUMBER = 209; |
| | 531 | |
|
| | 532 | | /// <summary> |
| | 533 | | /// System error code |
| | 534 | | /// </summary> |
| | 535 | | public const Int32 ERROR_INVALID_STACKSEG = 189; |
| | 536 | |
|
| | 537 | | /// <summary> |
| | 538 | | /// System error code |
| | 539 | | /// </summary> |
| | 540 | | public const Int32 ERROR_INVALID_STARTING_CODESEG = 188; |
| | 541 | |
|
| | 542 | | /// <summary> |
| | 543 | | /// System error code |
| | 544 | | /// </summary> |
| | 545 | | public const Int32 ERROR_INVALID_TARGET_HANDLE = 114; |
| | 546 | |
|
| | 547 | | /// <summary> |
| | 548 | | /// System error code |
| | 549 | | /// </summary> |
| | 550 | | public const Int32 ERROR_INVALID_VERIFY_SWITCH = 118; |
| | 551 | |
|
| | 552 | | /// <summary> |
| | 553 | | /// System error code |
| | 554 | | /// </summary> |
| | 555 | | public const Int32 ERROR_IOPL_NOT_ENABLED = 197; |
| | 556 | |
|
| | 557 | | /// <summary> |
| | 558 | | /// System error code |
| | 559 | | /// </summary> |
| | 560 | | public const Int32 ERROR_IS_JOIN_PATH = 147; |
| | 561 | |
|
| | 562 | | /// <summary> |
| | 563 | | /// System error code |
| | 564 | | /// </summary> |
| | 565 | | public const Int32 ERROR_IS_JOIN_TARGET = 133; |
| | 566 | |
|
| | 567 | | /// <summary> |
| | 568 | | /// System error code |
| | 569 | | /// </summary> |
| | 570 | | public const Int32 ERROR_IS_JOINED = 134; |
| | 571 | |
|
| | 572 | | /// <summary> |
| | 573 | | /// System error code |
| | 574 | | /// </summary> |
| | 575 | | public const Int32 ERROR_IS_SUBST_PATH = 146; |
| | 576 | |
|
| | 577 | | /// <summary> |
| | 578 | | /// System error code |
| | 579 | | /// </summary> |
| | 580 | | public const Int32 ERROR_IS_SUBST_TARGET = 149; |
| | 581 | |
|
| | 582 | | /// <summary> |
| | 583 | | /// System error code |
| | 584 | | /// </summary> |
| | 585 | | public const Int32 ERROR_IS_SUBSTED = 135; |
| | 586 | |
|
| | 587 | | /// <summary> |
| | 588 | | /// System error code |
| | 589 | | /// </summary> |
| | 590 | | public const Int32 ERROR_ITERATED_DATA_EXCEEDS_64k = 194; |
| | 591 | |
|
| | 592 | | /// <summary> |
| | 593 | | /// System error code |
| | 594 | | /// </summary> |
| | 595 | | public const Int32 ERROR_JOIN_TO_JOIN = 138; |
| | 596 | |
|
| | 597 | | /// <summary> |
| | 598 | | /// System error code |
| | 599 | | /// </summary> |
| | 600 | | public const Int32 ERROR_JOIN_TO_SUBST = 140; |
| | 601 | |
|
| | 602 | | /// <summary> |
| | 603 | | /// System error code |
| | 604 | | /// </summary> |
| | 605 | | public const Int32 ERROR_LABEL_TOO_LONG = 154; |
| | 606 | |
|
| | 607 | | /// <summary> |
| | 608 | | /// System error code |
| | 609 | | /// </summary> |
| | 610 | | public const Int32 ERROR_LOCK_FAILED = 167; |
| | 611 | |
|
| | 612 | | /// <summary> |
| | 613 | | /// System error code |
| | 614 | | /// </summary> |
| | 615 | | public const Int32 ERROR_LOCK_VIOLATION = 33; |
| | 616 | |
|
| | 617 | | /// <summary> |
| | 618 | | /// System error code |
| | 619 | | /// </summary> |
| | 620 | | public const Int32 ERROR_LOCKED = 212; |
| | 621 | |
|
| | 622 | | /// <summary> |
| | 623 | | /// System error code |
| | 624 | | /// </summary> |
| | 625 | | public const Int32 ERROR_MAX_SESSIONS_REACHED = 353; |
| | 626 | |
|
| | 627 | | /// <summary> |
| | 628 | | /// System error code |
| | 629 | | /// </summary> |
| | 630 | | public const Int32 ERROR_MAX_THRDS_REACHED = 164; |
| | 631 | |
|
| | 632 | | /// <summary> |
| | 633 | | /// System error code |
| | 634 | | /// </summary> |
| | 635 | | public const Int32 ERROR_META_EXPANSION_TOO_LONG = 208; |
| | 636 | |
|
| | 637 | | /// <summary> |
| | 638 | | /// System error code |
| | 639 | | /// </summary> |
| | 640 | | public const Int32 ERROR_MOD_NOT_FOUND = 126; |
| | 641 | |
|
| | 642 | | /// <summary> |
| | 643 | | /// System error code |
| | 644 | | /// </summary> |
| | 645 | | public const Int32 ERROR_MORE_DATA = 234; |
| | 646 | |
|
| | 647 | | /// <summary> |
| | 648 | | /// System error code |
| | 649 | | /// </summary> |
| | 650 | | public const Int32 ERROR_MR_MID_NOT_FOUND = 317; |
| | 651 | |
|
| | 652 | | /// <summary> |
| | 653 | | /// System error code |
| | 654 | | /// </summary> |
| | 655 | | public const Int32 ERROR_NEGATIVE_SEEK = 131; |
| | 656 | |
|
| | 657 | | /// <summary> |
| | 658 | | /// System error code |
| | 659 | | /// </summary> |
| | 660 | | public const Int32 ERROR_NESTING_NOT_ALLOWED = 215; |
| | 661 | |
|
| | 662 | | /// <summary> |
| | 663 | | /// System error code |
| | 664 | | /// </summary> |
| | 665 | | public const Int32 ERROR_NET_WRITE_FAULT = 88; |
| | 666 | |
|
| | 667 | | /// <summary> |
| | 668 | | /// System error code |
| | 669 | | /// </summary> |
| | 670 | | public const Int32 ERROR_NETNAME_DELETED = 64; |
| | 671 | |
|
| | 672 | | /// <summary> |
| | 673 | | /// System error code |
| | 674 | | /// </summary> |
| | 675 | | public const Int32 ERROR_NETWORK_ACCESS_DENIED = 65; |
| | 676 | |
|
| | 677 | | /// <summary> |
| | 678 | | /// System error code |
| | 679 | | /// </summary> |
| | 680 | | public const Int32 ERROR_NETWORK_BUSY = 54; |
| | 681 | |
|
| | 682 | | /// <summary> |
| | 683 | | /// System error code |
| | 684 | | /// </summary> |
| | 685 | | public const Int32 ERROR_NO_DATA = 232; |
| | 686 | |
|
| | 687 | | /// <summary> |
| | 688 | | /// System error code |
| | 689 | | /// </summary> |
| | 690 | | public const Int32 ERROR_NO_MORE_FILES = 18; |
| | 691 | |
|
| | 692 | | /// <summary> |
| | 693 | | /// System error code |
| | 694 | | /// </summary> |
| | 695 | | public const Int32 ERROR_NO_MORE_ITEMS = 259; |
| | 696 | |
|
| | 697 | | /// <summary> |
| | 698 | | /// System error code |
| | 699 | | /// </summary> |
| | 700 | | public const Int32 ERROR_NO_MORE_SEARCH_HANDLES = 113; |
| | 701 | |
|
| | 702 | | /// <summary> |
| | 703 | | /// System error code |
| | 704 | | /// </summary> |
| | 705 | | public const Int32 ERROR_NO_PROC_SLOTS = 89; |
| | 706 | |
|
| | 707 | | /// <summary> |
| | 708 | | /// System error code |
| | 709 | | /// </summary> |
| | 710 | | public const Int32 ERROR_NO_SIGNAL_SENT = 205; |
| | 711 | |
|
| | 712 | | /// <summary> |
| | 713 | | /// System error code |
| | 714 | | /// </summary> |
| | 715 | | public const Int32 ERROR_NO_SPOOL_SPACE = 62; |
| | 716 | |
|
| | 717 | | /// <summary> |
| | 718 | | /// System error code |
| | 719 | | /// </summary> |
| | 720 | | public const Int32 ERROR_NO_VOLUME_LABEL = 125; |
| | 721 | |
|
| | 722 | | /// <summary> |
| | 723 | | /// System error code |
| | 724 | | /// </summary> |
| | 725 | | public const Int32 ERROR_NOT_DOS_DISK = 26; |
| | 726 | |
|
| | 727 | | /// <summary> |
| | 728 | | /// System error code |
| | 729 | | /// </summary> |
| | 730 | | public const Int32 ERROR_NOT_ENOUGH_MEMORY = 8; |
| | 731 | |
|
| | 732 | | /// <summary> |
| | 733 | | /// System error code |
| | 734 | | /// </summary> |
| | 735 | | public const Int32 ERROR_NOT_JOINED = 136; |
| | 736 | |
|
| | 737 | | /// <summary> |
| | 738 | | /// System error code |
| | 739 | | /// </summary> |
| | 740 | | public const Int32 ERROR_NOT_LOCKED = 158; |
| | 741 | |
|
| | 742 | | /// <summary> |
| | 743 | | /// System error code |
| | 744 | | /// </summary> |
| | 745 | | public const Int32 ERROR_NOT_OWNER = 288; |
| | 746 | |
|
| | 747 | | /// <summary> |
| | 748 | | /// System error code |
| | 749 | | /// </summary> |
| | 750 | | public const Int32 ERROR_NOT_READY = 21; |
| | 751 | |
|
| | 752 | | /// <summary> |
| | 753 | | /// System error code |
| | 754 | | /// </summary> |
| | 755 | | public const Int32 ERROR_NOT_SAME_DEVICE = 17; |
| | 756 | |
|
| | 757 | | /// <summary> |
| | 758 | | /// System error code |
| | 759 | | /// </summary> |
| | 760 | | public const Int32 ERROR_NOT_SUBSTED = 137; |
| | 761 | |
|
| | 762 | | /// <summary> |
| | 763 | | /// System error code |
| | 764 | | /// </summary> |
| | 765 | | public const Int32 ERROR_NOT_SUPPORTED = 50; |
| | 766 | |
|
| | 767 | | /// <summary> |
| | 768 | | /// System error code |
| | 769 | | /// </summary> |
| | 770 | | public const Int32 ERROR_NOTIFICATION_GUID_ALREADY_DEFINED = 309; |
| | 771 | |
|
| | 772 | | /// <summary> |
| | 773 | | /// System error code |
| | 774 | | /// </summary> |
| | 775 | | public const Int32 ERROR_OPEN_FAILED = 110; |
| | 776 | |
|
| | 777 | | /// <summary> |
| | 778 | | /// System error code |
| | 779 | | /// </summary> |
| | 780 | | public const Int32 ERROR_OPLOCK_NOT_GRANTED = 300; |
| | 781 | |
|
| | 782 | | /// <summary> |
| | 783 | | /// System error code |
| | 784 | | /// </summary> |
| | 785 | | public const Int32 ERROR_OUT_OF_PAPER = 28; |
| | 786 | |
|
| | 787 | | /// <summary> |
| | 788 | | /// System error code |
| | 789 | | /// </summary> |
| | 790 | | public const Int32 ERROR_OUT_OF_STRUCTURES = 84; |
| | 791 | |
|
| | 792 | | /// <summary> |
| | 793 | | /// System error code |
| | 794 | | /// </summary> |
| | 795 | | public const Int32 ERROR_OUTOFMEMORY = 14; |
| | 796 | |
|
| | 797 | | /// <summary> |
| | 798 | | /// System error code |
| | 799 | | /// </summary> |
| | 800 | | public const Int32 ERROR_PARTIAL_COPY = 299; |
| | 801 | |
|
| | 802 | | /// <summary> |
| | 803 | | /// System error code |
| | 804 | | /// </summary> |
| | 805 | | public const Int32 ERROR_PATH_BUSY = 148; |
| | 806 | |
|
| | 807 | | /// <summary> |
| | 808 | | /// System error code |
| | 809 | | /// </summary> |
| | 810 | | public const Int32 ERROR_PATH_NOT_FOUND = 3; |
| | 811 | |
|
| | 812 | | /// <summary> |
| | 813 | | /// System error code |
| | 814 | | /// </summary> |
| | 815 | | public const Int32 ERROR_PIPE_BUSY = 231; |
| | 816 | |
|
| | 817 | | /// <summary> |
| | 818 | | /// System error code |
| | 819 | | /// </summary> |
| | 820 | | public const Int32 ERROR_PIPE_LOCAL = 229; |
| | 821 | |
|
| | 822 | | /// <summary> |
| | 823 | | /// System error code |
| | 824 | | /// </summary> |
| | 825 | | public const Int32 ERROR_PIPE_NOT_CONNECTED = 233; |
| | 826 | |
|
| | 827 | | /// <summary> |
| | 828 | | /// System error code |
| | 829 | | /// </summary> |
| | 830 | | public const Int32 ERROR_PRINT_CANCELLED = 63; |
| | 831 | |
|
| | 832 | | /// <summary> |
| | 833 | | /// System error code |
| | 834 | | /// </summary> |
| | 835 | | public const Int32 ERROR_PRINTQ_FULL = 61; |
| | 836 | |
|
| | 837 | | /// <summary> |
| | 838 | | /// System error code |
| | 839 | | /// </summary> |
| | 840 | | public const Int32 ERROR_PROC_NOT_FOUND = 127; |
| | 841 | |
|
| | 842 | | /// <summary> |
| | 843 | | /// System error code |
| | 844 | | /// </summary> |
| | 845 | | public const Int32 ERROR_PROCESS_MODE_ALREADY_BACKGROUND = 402; |
| | 846 | |
|
| | 847 | | /// <summary> |
| | 848 | | /// System error code |
| | 849 | | /// </summary> |
| | 850 | | public const Int32 ERROR_PROCESS_MODE_NOT_BACKGROUND = 403; |
| | 851 | |
|
| | 852 | | /// <summary> |
| | 853 | | /// System error code |
| | 854 | | /// </summary> |
| | 855 | | public const Int32 ERROR_READ_FAULT = 30; |
| | 856 | |
|
| | 857 | | /// <summary> |
| | 858 | | /// System error code |
| | 859 | | /// </summary> |
| | 860 | | public const Int32 ERROR_REDIR_PAUSED = 72; |
| | 861 | |
|
| | 862 | | /// <summary> |
| | 863 | | /// System error code |
| | 864 | | /// </summary> |
| | 865 | | public const Int32 ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201; |
| | 866 | |
|
| | 867 | | /// <summary> |
| | 868 | | /// System error code |
| | 869 | | /// </summary> |
| | 870 | | public const Int32 ERROR_REM_NOT_LIST = 51; |
| | 871 | |
|
| | 872 | | /// <summary> |
| | 873 | | /// System error code |
| | 874 | | /// </summary> |
| | 875 | | public const Int32 ERROR_REQ_NOT_ACCEP = 71; |
| | 876 | |
|
| | 877 | | /// <summary> |
| | 878 | | /// System error code |
| | 879 | | /// </summary> |
| | 880 | | public const Int32 ERROR_RING2_STACK_IN_USE = 207; |
| | 881 | |
|
| | 882 | | /// <summary> |
| | 883 | | /// System error code |
| | 884 | | /// </summary> |
| | 885 | | public const Int32 ERROR_RING2SEG_MUST_BE_MOVABLE = 200; |
| | 886 | |
|
| | 887 | | /// <summary> |
| | 888 | | /// System error code |
| | 889 | | /// </summary> |
| | 890 | | public const Int32 ERROR_SAME_DRIVE = 143; |
| | 891 | |
|
| | 892 | | /// <summary> |
| | 893 | | /// System error code |
| | 894 | | /// </summary> |
| | 895 | | public const Int32 ERROR_SCOPE_NOT_FOUND = 318; |
| | 896 | |
|
| | 897 | | /// <summary> |
| | 898 | | /// System error code |
| | 899 | | /// </summary> |
| | 900 | | public const Int32 ERROR_SECTOR_NOT_FOUND = 27; |
| | 901 | |
|
| | 902 | | /// <summary> |
| | 903 | | /// System error code |
| | 904 | | /// </summary> |
| | 905 | | public const Int32 ERROR_SECURITY_STREAM_IS_INCONSISTENT = 306; |
| | 906 | |
|
| | 907 | | /// <summary> |
| | 908 | | /// System error code |
| | 909 | | /// </summary> |
| | 910 | | public const Int32 ERROR_SEEK_ON_DEVICE = 132; |
| | 911 | |
|
| | 912 | | /// <summary> |
| | 913 | | /// System error code |
| | 914 | | /// </summary> |
| | 915 | | public const Int32 ERROR_SEEK = 25; |
| | 916 | |
|
| | 917 | | /// <summary> |
| | 918 | | /// System error code |
| | 919 | | /// </summary> |
| | 920 | | public const Int32 ERROR_SEM_IS_SET = 102; |
| | 921 | |
|
| | 922 | | /// <summary> |
| | 923 | | /// System error code |
| | 924 | | /// </summary> |
| | 925 | | public const Int32 ERROR_SEM_NOT_FOUND = 187; |
| | 926 | |
|
| | 927 | | /// <summary> |
| | 928 | | /// System error code |
| | 929 | | /// </summary> |
| | 930 | | public const Int32 ERROR_SEM_OWNER_DIED = 105; |
| | 931 | |
|
| | 932 | | /// <summary> |
| | 933 | | /// System error code |
| | 934 | | /// </summary> |
| | 935 | | public const Int32 ERROR_SEM_TIMEOUT = 121; |
| | 936 | |
|
| | 937 | | /// <summary> |
| | 938 | | /// System error code |
| | 939 | | /// </summary> |
| | 940 | | public const Int32 ERROR_SEM_USER_LIMIT = 106; |
| | 941 | |
|
| | 942 | | /// <summary> |
| | 943 | | /// System error code |
| | 944 | | /// </summary> |
| | 945 | | public const Int32 ERROR_SHARING_BUFFER_EXCEEDED = 36; |
| | 946 | |
|
| | 947 | | /// <summary> |
| | 948 | | /// System error code |
| | 949 | | /// </summary> |
| | 950 | | public const Int32 ERROR_SHARING_PAUSED = 70; |
| | 951 | |
|
| | 952 | | /// <summary> |
| | 953 | | /// System error code |
| | 954 | | /// </summary> |
| | 955 | | public const Int32 ERROR_SHARING_VIOLATION = 32; |
| | 956 | |
|
| | 957 | | /// <summary> |
| | 958 | | /// System error code |
| | 959 | | /// </summary> |
| | 960 | | public const Int32 ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME = 305; |
| | 961 | |
|
| | 962 | | /// <summary> |
| | 963 | | /// System error code |
| | 964 | | /// </summary> |
| | 965 | | public const Int32 ERROR_SIGNAL_PENDING = 162; |
| | 966 | |
|
| | 967 | | /// <summary> |
| | 968 | | /// System error code |
| | 969 | | /// </summary> |
| | 970 | | public const Int32 ERROR_SIGNAL_REFUSED = 156; |
| | 971 | |
|
| | 972 | | /// <summary> |
| | 973 | | /// System error code |
| | 974 | | /// </summary> |
| | 975 | | public const Int32 ERROR_SUBST_TO_JOIN = 141; |
| | 976 | |
|
| | 977 | | /// <summary> |
| | 978 | | /// System error code |
| | 979 | | /// </summary> |
| | 980 | | public const Int32 ERROR_SUBST_TO_SUBST = 139; |
| | 981 | |
|
| | 982 | | /// <summary> |
| | 983 | | /// System error code |
| | 984 | | /// </summary> |
| | 985 | | public const Int32 ERROR_SUCCESS = 0; |
| | 986 | |
|
| | 987 | | /// <summary> |
| | 988 | | /// System error code |
| | 989 | | /// </summary> |
| | 990 | | public const Int32 ERROR_SYSTEM_TRACE = 150; |
| | 991 | |
|
| | 992 | | /// <summary> |
| | 993 | | /// System error code |
| | 994 | | /// </summary> |
| | 995 | | public const Int32 ERROR_THREAD_1_INACTIVE = 210; |
| | 996 | |
|
| | 997 | | /// <summary> |
| | 998 | | /// System error code |
| | 999 | | /// </summary> |
| | 1000 | | public const Int32 ERROR_THREAD_MODE_ALREADY_BACKGROUND = 400; |
| | 1001 | |
|
| | 1002 | | /// <summary> |
| | 1003 | | /// System error code |
| | 1004 | | /// </summary> |
| | 1005 | | public const Int32 ERROR_THREAD_MODE_NOT_BACKGROUND = 401; |
| | 1006 | |
|
| | 1007 | | /// <summary> |
| | 1008 | | /// System error code |
| | 1009 | | /// </summary> |
| | 1010 | | public const Int32 ERROR_TOO_MANY_CMDS = 56; |
| | 1011 | |
|
| | 1012 | | /// <summary> |
| | 1013 | | /// System error code |
| | 1014 | | /// </summary> |
| | 1015 | | public const Int32 ERROR_TOO_MANY_MODULES = 214; |
| | 1016 | |
|
| | 1017 | | /// <summary> |
| | 1018 | | /// System error code |
| | 1019 | | /// </summary> |
| | 1020 | | public const Int32 ERROR_TOO_MANY_MUXWAITERS = 152; |
| | 1021 | |
|
| | 1022 | | /// <summary> |
| | 1023 | | /// System error code |
| | 1024 | | /// </summary> |
| | 1025 | | public const Int32 ERROR_TOO_MANY_NAMES = 68; |
| | 1026 | |
|
| | 1027 | | /// <summary> |
| | 1028 | | /// System error code |
| | 1029 | | /// </summary> |
| | 1030 | | public const Int32 ERROR_TOO_MANY_OPEN_FILES = 4; |
| | 1031 | |
|
| | 1032 | | /// <summary> |
| | 1033 | | /// System error code |
| | 1034 | | /// </summary> |
| | 1035 | | public const Int32 ERROR_TOO_MANY_POSTS = 298; |
| | 1036 | |
|
| | 1037 | | /// <summary> |
| | 1038 | | /// System error code |
| | 1039 | | /// </summary> |
| | 1040 | | public const Int32 ERROR_TOO_MANY_SEM_REQUESTS = 103; |
| | 1041 | |
|
| | 1042 | | /// <summary> |
| | 1043 | | /// System error code |
| | 1044 | | /// </summary> |
| | 1045 | | public const Int32 ERROR_TOO_MANY_SEMAPHORES = 100; |
| | 1046 | |
|
| | 1047 | | /// <summary> |
| | 1048 | | /// System error code |
| | 1049 | | /// </summary> |
| | 1050 | | public const Int32 ERROR_TOO_MANY_SESS = 69; |
| | 1051 | |
|
| | 1052 | | /// <summary> |
| | 1053 | | /// System error code |
| | 1054 | | /// </summary> |
| | 1055 | | public const Int32 ERROR_TOO_MANY_TCBS = 155; |
| | 1056 | |
|
| | 1057 | | /// <summary> |
| | 1058 | | /// System error code |
| | 1059 | | /// </summary> |
| | 1060 | | public const Int32 ERROR_UNEXP_NET_ERR = 59; |
| | 1061 | |
|
| | 1062 | | /// <summary> |
| | 1063 | | /// System error code |
| | 1064 | | /// </summary> |
| | 1065 | | public const Int32 ERROR_VC_DISCONNECTED = 240; |
| | 1066 | |
|
| | 1067 | | /// <summary> |
| | 1068 | | /// System error code |
| | 1069 | | /// </summary> |
| | 1070 | | public const Int32 ERROR_VIRUS_DELETED = 226; |
| | 1071 | |
|
| | 1072 | | /// <summary> |
| | 1073 | | /// System error code |
| | 1074 | | /// </summary> |
| | 1075 | | public const Int32 ERROR_VIRUS_INFECTED = 225; |
| | 1076 | |
|
| | 1077 | | /// <summary> |
| | 1078 | | /// System error code |
| | 1079 | | /// </summary> |
| | 1080 | | public const Int32 ERROR_WAIT_NO_CHILDREN = 128; |
| | 1081 | |
|
| | 1082 | | /// <summary> |
| | 1083 | | /// System error code |
| | 1084 | | /// </summary> |
| | 1085 | | public const Int32 ERROR_WRITE_FAULT = 29; |
| | 1086 | |
|
| | 1087 | | /// <summary> |
| | 1088 | | /// System error code |
| | 1089 | | /// </summary> |
| | 1090 | | public const Int32 ERROR_WRITE_PROTECT = 19; |
| | 1091 | |
|
| | 1092 | | /// <summary> |
| | 1093 | | /// System error code |
| | 1094 | | /// </summary> |
| | 1095 | | public const Int32 ERROR_WRONG_DISK = 34; |
| | 1096 | |
|
| | 1097 | | /// <summary> |
| | 1098 | | /// System error code |
| | 1099 | | /// </summary> |
| | 1100 | | public const Int32 WAIT_TIMEOUT = 258; |
| | 1101 | |
|
| | 1102 | | /// <summary> |
| | 1103 | | /// Gets the error message. |
| | 1104 | | /// </summary> |
| | 1105 | | /// <param name="ERR">The error.</param> |
| | 1106 | | public static string GetErrorMessage(Int32 ERR) |
| 0 | 1107 | | { |
| 0 | 1108 | | switch (ERR) |
| | 1109 | | { |
| 0 | 1110 | | case 0: return "The operation completed successfully."; |
| 0 | 1111 | | case 1: return "Incorrect function."; |
| 0 | 1112 | | case 10: return "The environment is incorrect."; |
| 0 | 1113 | | case 100: return "Cannot create another system semaphore."; |
| 0 | 1114 | | case 101: return "The exclusive semaphore is owned by another process."; |
| 0 | 1115 | | case 102: return "The semaphore is set and cannot be closed."; |
| 0 | 1116 | | case 103: return "The semaphore cannot be set again."; |
| 0 | 1117 | | case 104: return "Cannot request exclusive semaphores at interrupt time."; |
| 0 | 1118 | | case 105: return "The previous ownership of this semaphore has ended."; |
| 0 | 1119 | | case 106: return "Insert the diskette for drive %1."; |
| 0 | 1120 | | case 107: return "The program stopped because an alternate diskette was not inserted."; |
| 0 | 1121 | | case 108: return "The disk is in use or locked by another process."; |
| 0 | 1122 | | case 109: return "The pipe has been ended."; |
| 0 | 1123 | | case 11: return "An attempt was made to load a program with an incorrect format."; |
| 0 | 1124 | | case 110: return "The system cannot open the device or file specified."; |
| 0 | 1125 | | case 111: return "The file name is too long."; |
| 0 | 1126 | | case 112: return "There is not enough space on the disk."; |
| 0 | 1127 | | case 113: return "No more internal file identifiers available."; |
| 0 | 1128 | | case 114: return "The target internal file identifier is incorrect."; |
| 0 | 1129 | | case 117: return "The IOCTL call made by the application program is not correct."; |
| 0 | 1130 | | case 118: return "The verify-on-write switch parameter value is not correct."; |
| 0 | 1131 | | case 119: return "The system does not support the command requested."; |
| 0 | 1132 | | case 12: return "The access code is invalid."; |
| 0 | 1133 | | case 120: return "This function is not supported on this system."; |
| 0 | 1134 | | case 121: return "The semaphore timeout period has expired."; |
| 0 | 1135 | | case 122: return "The data area passed to a system call is too small."; |
| 0 | 1136 | | case 123: return "The filename, directory name, or volume label syntax is incorrect."; |
| 0 | 1137 | | case 124: return "The system call level is not correct."; |
| 0 | 1138 | | case 125: return "The disk has no volume label."; |
| 0 | 1139 | | case 126: return "The specified module could not be found."; |
| 0 | 1140 | | case 127: return "The specified procedure could not be found."; |
| 0 | 1141 | | case 128: return "There are no child processes to wait for."; |
| 0 | 1142 | | case 129: return "The %1 application cannot be run in Win32 mode."; |
| 0 | 1143 | | case 13: return "The data is invalid."; |
| | 1144 | | case 130: |
| 0 | 1145 | | return |
| 0 | 1146 | | "Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O."; |
| 0 | 1147 | | case 131: return "An attempt was made to move the file pointer before the beginning of the file."; |
| 0 | 1148 | | case 132: return "The file pointer cannot be set on the specified device or file."; |
| | 1149 | | case 133: |
| 0 | 1150 | | return "A JOIN or SUBST command cannot be used for a drive that contains previously joined drives."; |
| | 1151 | | case 134: |
| 0 | 1152 | | return "An attempt was made to use a JOIN or SUBST command on a drive that has already been joined."; |
| | 1153 | | case 135: |
| 0 | 1154 | | return |
| 0 | 1155 | | "An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted."; |
| 0 | 1156 | | case 136: return "The system tried to delete the JOIN of a drive that is not joined."; |
| 0 | 1157 | | case 137: return "The system tried to delete the substitution of a drive that is not substituted."; |
| 0 | 1158 | | case 138: return "The system tried to join a drive to a directory on a joined drive."; |
| 0 | 1159 | | case 139: return "The system tried to substitute a drive to a directory on a substituted drive."; |
| 0 | 1160 | | case 14: return "Not enough storage is available to complete this operation."; |
| 0 | 1161 | | case 140: return "The system tried to join a drive to a directory on a substituted drive."; |
| 0 | 1162 | | case 141: return "The system tried to SUBST a drive to a directory on a joined drive."; |
| 0 | 1163 | | case 142: return "The system cannot perform a JOIN or SUBST at this time."; |
| 0 | 1164 | | case 143: return "The system cannot join or substitute a drive to or for a directory on the same drive."; |
| 0 | 1165 | | case 144: return "The directory is not a subdirectory of the root directory."; |
| 0 | 1166 | | case 145: return "The directory is not empty."; |
| 0 | 1167 | | case 146: return "The path specified is being used in a substitute."; |
| 0 | 1168 | | case 147: return "Not enough resources are available to process this command."; |
| 0 | 1169 | | case 148: return "The path specified cannot be used at this time."; |
| | 1170 | | case 149: |
| 0 | 1171 | | return |
| 0 | 1172 | | "An attempt was made to join or substitute a drive for which a directory on the drive is the target |
| 0 | 1173 | | case 15: return "The system cannot find the drive specified."; |
| | 1174 | | case 150: |
| 0 | 1175 | | return "System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed."; |
| 0 | 1176 | | case 151: return "The number of specified semaphore events for DosMuxSemWait is not correct."; |
| 0 | 1177 | | case 152: return "DosMuxSemWait did not execute; too many semaphores are already set."; |
| 0 | 1178 | | case 153: return "The DosMuxSemWait list is not correct."; |
| | 1179 | | case 154: |
| 0 | 1180 | | return "The volume label you entered exceeds the label character limit of the target file system."; |
| 0 | 1181 | | case 155: return "Cannot create another thread."; |
| 0 | 1182 | | case 156: return "The recipient process has refused the signal."; |
| 0 | 1183 | | case 157: return "The segment is already discarded and cannot be locked."; |
| 0 | 1184 | | case 158: return "The segment is already unlocked."; |
| 0 | 1185 | | case 159: return "The address for the thread ID is not correct."; |
| 0 | 1186 | | case 16: return "The directory cannot be removed."; |
| 0 | 1187 | | case 160: return "One or more arguments are not correct."; |
| 0 | 1188 | | case 161: return "The specified path is invalid."; |
| 0 | 1189 | | case 162: return "A signal is already pending."; |
| 0 | 1190 | | case 164: return "No more threads can be created in the system."; |
| 0 | 1191 | | case 167: return "Unable to lock a region of a file."; |
| 0 | 1192 | | case 17: return "The system cannot move the file to a different disk drive."; |
| 0 | 1193 | | case 170: return "The requested resource is in use."; |
| 0 | 1194 | | case 173: return "A lock request was not outstanding for the supplied cancel region."; |
| 0 | 1195 | | case 174: return "The file system does not support atomic changes to the lock type."; |
| 0 | 1196 | | case 18: return "There are no more files."; |
| 0 | 1197 | | case 180: return "The system detected a segment number that was not correct."; |
| 0 | 1198 | | case 182: return "The operating system cannot run %1."; |
| 0 | 1199 | | case 183: return "Cannot create a file when that file already exists."; |
| 0 | 1200 | | case 186: return "The flag passed is not correct."; |
| 0 | 1201 | | case 187: return "The specified system semaphore name was not found."; |
| 0 | 1202 | | case 188: return "The operating system cannot run %1."; |
| 0 | 1203 | | case 189: return "The operating system cannot run %1."; |
| 0 | 1204 | | case 19: return "The media is write protected."; |
| 0 | 1205 | | case 190: return "The operating system cannot run %1."; |
| 0 | 1206 | | case 191: return "Cannot run %1 in Win32 mode."; |
| 0 | 1207 | | case 192: return "The operating system cannot run %1."; |
| 0 | 1208 | | case 193: return "is not a valid Win32 application."; |
| 0 | 1209 | | case 194: return "The operating system cannot run %1."; |
| 0 | 1210 | | case 195: return "The operating system cannot run %1."; |
| 0 | 1211 | | case 196: return "The operating system cannot run this application program."; |
| 0 | 1212 | | case 197: return "The operating system is not presently configured to run this application."; |
| 0 | 1213 | | case 198: return "The operating system cannot run %1."; |
| 0 | 1214 | | case 199: return "The operating system cannot run this application program."; |
| 0 | 1215 | | case 2: return "The system cannot find the file specified."; |
| 0 | 1216 | | case 20: return "The system cannot find the device specified."; |
| 0 | 1217 | | case 200: return "The code segment cannot be greater than or equal to 64K."; |
| 0 | 1218 | | case 201: return "The operating system cannot run %1."; |
| 0 | 1219 | | case 202: return "The operating system cannot run %1."; |
| 0 | 1220 | | case 203: return "The system could not find the environment option that was entered."; |
| 0 | 1221 | | case 205: return "No process in the command subtree has a signal handler."; |
| 0 | 1222 | | case 206: return "The filename or extension is too long."; |
| 0 | 1223 | | case 207: return "The ring 2 stack is in use."; |
| | 1224 | | case 208: |
| 0 | 1225 | | return |
| 0 | 1226 | | "The global filename characters, * or ?, are entered incorrectly or too many global filename charact |
| 0 | 1227 | | case 209: return "The signal being posted is not correct."; |
| 0 | 1228 | | case 21: return "The device is not ready."; |
| 0 | 1229 | | case 210: return "The signal handler cannot be set."; |
| 0 | 1230 | | case 212: return "The segment is locked and cannot be reallocated."; |
| 0 | 1231 | | case 214: return "Too many dynamic-link modules are attached to this program or dynamic-link module."; |
| 0 | 1232 | | case 215: return "Cannot nest calls to LoadModule."; |
| | 1233 | | case 216: |
| 0 | 1234 | | return |
| 0 | 1235 | | "The version of %1 is not compatible with the version you're running. Check your computer's system i |
| 0 | 1236 | | case 217: return "The image file %1 is signed, unable to modify."; |
| 0 | 1237 | | case 218: return "The image file %1 is strong signed, unable to modify."; |
| 0 | 1238 | | case 22: return "The device does not recognize the command."; |
| 0 | 1239 | | case 220: return "This file is checked out or locked for editing by another user."; |
| 0 | 1240 | | case 221: return "The file must be checked out before saving changes."; |
| 0 | 1241 | | case 222: return "The file type being saved or retrieved has been blocked."; |
| 0 | 1242 | | case 223: return "The file size exceeds the limit allowed and cannot be saved."; |
| | 1243 | | case 224: |
| 0 | 1244 | | return |
| 0 | 1245 | | "Access Denied. Before opening files in this location, you must first add the web site to your trust |
| 0 | 1246 | | case 225: return "Operation did not complete successfully because the file contains a virus."; |
| | 1247 | | case 226: |
| 0 | 1248 | | return |
| 0 | 1249 | | "This file contains a virus and cannot be opened. Due to the nature of this virus, the file has been |
| 0 | 1250 | | case 229: return "The pipe is local."; |
| 0 | 1251 | | case 23: return "Data error ;."; |
| 0 | 1252 | | case 230: return "The pipe state is invalid."; |
| 0 | 1253 | | case 231: return "All pipe instances are busy."; |
| 0 | 1254 | | case 232: return "The pipe is being closed."; |
| 0 | 1255 | | case 233: return "No process is on the other end of the pipe."; |
| 0 | 1256 | | case 234: return "More data is available."; |
| 0 | 1257 | | case 24: return "The program issued a command but the command length is incorrect."; |
| 0 | 1258 | | case 240: return "The session was canceled."; |
| 0 | 1259 | | case 25: return "The drive cannot locate a specific area or track on the disk."; |
| 0 | 1260 | | case 254: return "The specified extended attribute name was invalid."; |
| 0 | 1261 | | case 255: return "The extended attributes are inconsistent."; |
| 0 | 1262 | | case 258: return "The wait operation timed out."; |
| 0 | 1263 | | case 259: return "No more data is available."; |
| 0 | 1264 | | case 26: return "The specified disk or diskette cannot be accessed."; |
| 0 | 1265 | | case 266: return "The copy functions cannot be used."; |
| 0 | 1266 | | case 267: return "The directory name is invalid."; |
| 0 | 1267 | | case 27: return "The drive cannot find the sector requested."; |
| 0 | 1268 | | case 275: return "The extended attributes did not fit in the buffer."; |
| 0 | 1269 | | case 276: return "The extended attribute file on the mounted file system is corrupt."; |
| 0 | 1270 | | case 277: return "The extended attribute table file is full."; |
| 0 | 1271 | | case 278: return "The specified extended attribute handle is invalid."; |
| 0 | 1272 | | case 28: return "The printer is out of paper."; |
| 0 | 1273 | | case 282: return "The mounted file system does not support extended attributes."; |
| 0 | 1274 | | case 288: return "Attempt to release mutex not owned by caller."; |
| 0 | 1275 | | case 29: return "The system cannot write to the specified device."; |
| 0 | 1276 | | case 298: return "Too many posts were made to a semaphore."; |
| 0 | 1277 | | case 299: return "Only part of a ReadProcessMemory or WriteProcessMemory request was completed."; |
| 0 | 1278 | | case 3: return "The system cannot find the path specified."; |
| 0 | 1279 | | case 30: return "The system cannot read from the specified device."; |
| 0 | 1280 | | case 300: return "The oplock request is denied."; |
| 0 | 1281 | | case 301: return "An invalid oplock acknowledgment was received by the system."; |
| 0 | 1282 | | case 302: return "The volume is too fragmented to complete this operation."; |
| 0 | 1283 | | case 303: return "The file cannot be opened because it is in the process of being deleted."; |
| | 1284 | | case 304: |
| 0 | 1285 | | return "Short name settings may not be changed on this volume due to the global registry setting."; |
| 0 | 1286 | | case 305: return "Short names are not enabled on this volume."; |
| | 1287 | | case 306: |
| 0 | 1288 | | return |
| 0 | 1289 | | "The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volu |
| 0 | 1290 | | case 307: return "A requested file lock operation cannot be processed due to an invalid byte range."; |
| 0 | 1291 | | case 308: return "The subsystem needed to support the image type is not present."; |
| 0 | 1292 | | case 309: return "The specified file already has a notification GUID associated with it."; |
| 0 | 1293 | | case 31: return "A device attached to the system is not functioning."; |
| 0 | 1294 | | case 317: return "The system cannot find message text for message number 0x%1 in the message file for %2."; |
| 0 | 1295 | | case 318: return "The scope specified was not found."; |
| 0 | 1296 | | case 32: return "The process cannot access the file because it is being used by another process."; |
| | 1297 | | case 33: |
| 0 | 1298 | | return "The process cannot access the file because another process has locked a portion of the file."; |
| 0 | 1299 | | case 34: return "The wrong diskette is in the drive. Insert %2 ; into drive %1."; |
| 0 | 1300 | | case 350: return "No action was taken as a system reboot is required."; |
| 0 | 1301 | | case 351: return "The shutdown operation failed."; |
| 0 | 1302 | | case 352: return "The restart operation failed."; |
| 0 | 1303 | | case 353: return "The maximum number of sessions has been reached."; |
| 0 | 1304 | | case 36: return "Too many files opened for sharing."; |
| 0 | 1305 | | case 38: return "Reached the end of the file."; |
| 0 | 1306 | | case 39: return "The disk is full."; |
| 0 | 1307 | | case 4: return "The system cannot open the file."; |
| 0 | 1308 | | case 400: return "The thread is already in background processing mode."; |
| 0 | 1309 | | case 401: return "The thread is not in background processing mode."; |
| 0 | 1310 | | case 402: return "The process is already in background processing mode."; |
| 0 | 1311 | | case 403: return "The process is not in background processing mode."; |
| 0 | 1312 | | case 487: return "Attempt to access invalid address."; |
| 0 | 1313 | | case 5: return "Access is denied."; |
| 0 | 1314 | | case 50: return "The request is not supported."; |
| | 1315 | | case 51: |
| 0 | 1316 | | return |
| 0 | 1317 | | "Windows cannot find the network path. Verify that the network path is correct and the destination c |
| | 1318 | | case 52: |
| 0 | 1319 | | return |
| 0 | 1320 | | "You were not connected because a duplicate name exists on the network. If joining a domain, go to S |
| 0 | 1321 | | case 53: return "The network path was not found."; |
| 0 | 1322 | | case 54: return "The network is busy."; |
| 0 | 1323 | | case 55: return "The specified network resource or device is no longer available."; |
| 0 | 1324 | | case 56: return "The network BIOS command limit has been reached."; |
| 0 | 1325 | | case 57: return "A network adapter hardware error occurred."; |
| 0 | 1326 | | case 58: return "The specified server cannot perform the requested operation."; |
| 0 | 1327 | | case 59: return "An unexpected network error occurred."; |
| 0 | 1328 | | case 6: return "The handle is invalid."; |
| 0 | 1329 | | case 60: return "The remote adapter is not compatible."; |
| 0 | 1330 | | case 61: return "The printer queue is full."; |
| 0 | 1331 | | case 62: return "Space to store the file waiting to be printed is not available on the server."; |
| 0 | 1332 | | case 63: return "Your file waiting to be printed was deleted."; |
| 0 | 1333 | | case 64: return "The specified network name is no longer available."; |
| 0 | 1334 | | case 65: return "Network access is denied."; |
| 0 | 1335 | | case 66: return "The network resource type is not correct."; |
| 0 | 1336 | | case 67: return "The network name cannot be found."; |
| 0 | 1337 | | case 68: return "The name limit for the local computer network adapter card was exceeded."; |
| 0 | 1338 | | case 69: return "The network BIOS session limit was exceeded."; |
| 0 | 1339 | | case 7: return "The storage control blocks were destroyed."; |
| 0 | 1340 | | case 70: return "The remote server has been paused or is in the process of being started."; |
| | 1341 | | case 71: |
| 0 | 1342 | | return |
| 0 | 1343 | | "No more connections can be made to this remote computer at this time because there are already as m |
| 0 | 1344 | | case 72: return "The specified printer or disk device has been paused."; |
| 0 | 1345 | | case 8: return "Not enough storage is available to process this command."; |
| 0 | 1346 | | case 80: return "The file exists."; |
| 0 | 1347 | | case 82: return "The directory or file cannot be created."; |
| 0 | 1348 | | case 83: return "Fail on INT 24."; |
| 0 | 1349 | | case 84: return "Storage to process this request is not available."; |
| 0 | 1350 | | case 85: return "The local device name is already in use."; |
| 0 | 1351 | | case 86: return "The specified network password is not correct."; |
| 0 | 1352 | | case 87: return "The parameter is incorrect."; |
| 0 | 1353 | | case 88: return "A write fault occurred on the network."; |
| 0 | 1354 | | case 89: return "The system cannot start another process at this time."; |
| 0 | 1355 | | case 9: return "The storage control block address is invalid."; |
| | 1356 | |
|
| 0 | 1357 | | default: return "unknown."; |
| | 1358 | | } |
| 0 | 1359 | | } |
| | 1360 | | } |