Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
4.2 KiB

  1. //***************************************************************************
  2. //
  3. // DOSERR.H
  4. //
  5. // Microsoft Confidential
  6. // Copyright (c) Microsoft Corporation 1992-1993
  7. // All rights reserved
  8. //
  9. // DOS int 21h error codes.
  10. //
  11. //**************************************************************************/
  12. #ifndef DOSERR_INC
  13. #define NO_ERROR 0
  14. #define ERROR_INVALID_FUNCTION 1
  15. #define ERROR_FILE_NOT_FOUND 2
  16. #define ERROR_PATH_NOT_FOUND 3
  17. #define ERROR_TOO_MANY_OPEN_FILES 4
  18. #define ERROR_ACCESS_DENIED 5
  19. #define ERROR_INVALID_HANDLE 6
  20. #define ERROR_ARENA_TRASHED 7
  21. #define ERROR_NOT_ENOUGH_MEMORY 8
  22. #define ERROR_INVALID_BLOCK 9
  23. #define ERROR_BAD_ENVIRONMENT 10
  24. #define ERROR_BAD_FORMAT 11
  25. #define ERROR_INVALID_ACCESS 12
  26. #define ERROR_INVALID_DATA 13
  27. /* 14 is reserved */
  28. #define ERROR_INVALID_DRIVE 15
  29. #define ERROR_CURRENT_DIRECTORY 16
  30. #define ERROR_NOT_SAME_DEVICE 17
  31. #define ERROR_NO_MORE_FILES 18
  32. #define ERROR_WRITE_PROTECT 19
  33. #define ERROR_BAD_UNIT 20
  34. #define ERROR_NOT_READY 21
  35. #define ERROR_BAD_COMMAND 22
  36. #define ERROR_CRC 23
  37. #define ERROR_BAD_LENGTH 24
  38. #define ERROR_SEEK 25
  39. #define ERROR_NOT_DOS_DISK 26
  40. #define ERROR_SECTOR_NOT_FOUND 27
  41. #define ERROR_OUT_OF_PAPER 28
  42. #define ERROR_WRITE_FAULT 29
  43. #define ERROR_READ_FAULT 30
  44. #define ERROR_GEN_FAILURE 31
  45. #define ERROR_SHARING_VIOLATION 32
  46. #define ERROR_LOCK_VIOLATION 33
  47. #define ERROR_WRONG_DISK 34
  48. #define ERROR_FCB_UNAVAILABLE 35
  49. #define ERROR_SHARING_BUFFER_EXCEEDED 36
  50. #define ERROR_NOT_SUPPORTED 50
  51. #define ERROR_REM_NOT_LIST 51 /* Remote computer not listening */
  52. #define ERROR_DUP_NAME 52 /* Duplicate name on network */
  53. #define ERROR_BAD_NETPATH 53 /* Network path not found */
  54. #define ERROR_NETWORK_BUSY 54 /* Network busy */
  55. #define ERROR_DEV_NOT_EXIST 55 /* Network device no longer exists */
  56. #define ERROR_TOO_MANY_CMDS 56 /* Net BIOS command limit exceeded */
  57. #define ERROR_ADAP_HDW_ERR 57 /* Network adapter hardware error */
  58. #define ERROR_BAD_NET_RESP 58 /* Incorrect response from network */
  59. #define ERROR_UNEXP_NET_ERR 59 /* Unexpected network error */
  60. #define ERROR_BAD_REM_ADAP 60 /* Incompatible remote adapter */
  61. #define ERROR_PRINTQ_FULL 61 /* Print queue full */
  62. #define ERROR_NO_SPOOL_SPACE 62 /* Not enough space for print file */
  63. #define ERROR_PRINT_CANCELLED 63 /* Print file was cancelled */
  64. #define ERROR_NETNAME_DELETED 64 /* Network name was deleted */
  65. #define ERROR_NETWORK_ACCESS_DENIED 65 /* Access denied */
  66. #define ERROR_BAD_DEV_TYPE 66 /* Network device type incorrect */
  67. #define ERROR_BAD_NET_NAME 67 /* Network name not found */
  68. #define ERROR_TOO_MANY_NAMES 68 /* Network name limit exceeded */
  69. #define ERROR_TOO_MANY_SESS 69 /* Net BIOS session limit exceeded */
  70. #define ERROR_SHARING_PAUSED 70 /* Sharing temporarily paused */
  71. #define ERROR_REQ_NOT_ACCEP 71 /* Network request not accepted */
  72. #define ERROR_REDIR_PAUSED 72 /* Print|disk redirection is paused*/
  73. #define ERROR_FILE_EXISTS 80
  74. #define ERROR_DUP_FCB 81
  75. #define ERROR_CANNOT_MAKE 82
  76. #define ERROR_FAIL_I24 83
  77. #define ERROR_OUT_OF_STRUCTURES 84
  78. #define ERROR_ALREADY_ASSIGNED 85
  79. #define ERROR_INVALID_PASSWORD 86
  80. #define ERROR_INVALID_PARAMETER 87
  81. #define ERROR_NET_WRITE_FAULT 88
  82. #define ERROR_SYS_COMP_NOT_LOADED 90
  83. #endif