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.

113 lines
6.7 KiB

  1. /*****************************************************************************
  2. *
  3. * Copyright (c) 1995 Microsoft Corporation
  4. *
  5. * File: irerr.h
  6. *
  7. * Description: IR error defines
  8. *
  9. * Author: mmiller
  10. *
  11. * Date: 4/25/95
  12. *
  13. */
  14. #ifndef SUCCESS
  15. #define SUCCESS 0
  16. #endif
  17. #define IR_ERROR_BASE 20000
  18. #define IRLAP_ERROR_BASE IR_ERROR_BASE + 100
  19. #define IRLMP_ERROR_BASE IR_ERROR_BASE + 200
  20. #define IRMAC_TX_OVERFLOW (IR_ERROR_BASE+0)
  21. #define IRMAC_WRITE_FAILED (IR_ERROR_BASE+1)
  22. #define IRMAC_READ_FAILED (IR_ERROR_BASE+2)
  23. #define IRMAC_BAD_FCS (IR_ERROR_BASE+3)
  24. #define IRMAC_RX_OVERFLOW (IR_ERROR_BASE+4)
  25. #define IRMAC_TIMEOUT (IR_ERROR_BASE+5)
  26. #define IRMAC_BAD_PRIM (IR_ERROR_BASE+6)
  27. #define IRMAC_BAD_OP (IR_ERROR_BASE+7)
  28. #define IRMAC_OPEN_PORT_FAILED (IR_ERROR_BASE+8)
  29. #define IRMAC_SET_BAUD_FAILED (IR_ERROR_BASE+9)
  30. #define IRMAC_MALLOC_FAILED (IR_ERROR_BASE+10)
  31. #define IRMAC_ALREADY_INIT (IR_ERROR_BASE+11)
  32. #define IRMAC_BAD_TIMER (IR_ERROR_BASE+12)
  33. #define IRMAC_NOT_INITIALIZED (IR_ERROR_BASE+13)
  34. #define IRMAC_LINK_RESET (IR_ERROR_BASE+14)
  35. #define IRLAP_NOT_INITIALIZED (IRLAP_ERROR_BASE + 0)
  36. #define IRLAP_BAD_PRIM (IRLAP_ERROR_BASE + 1)
  37. #define IRLAP_BAD_STATE (IRLAP_ERROR_BASE + 2)
  38. #define IRLAP_BAD_OPSTATUS (IRLAP_ERROR_BASE + 3)
  39. #define IRLAP_BAD_OP (IRLAP_ERROR_BASE + 4)
  40. #define IRLAP_MALLOC_FAILED (IRLAP_ERROR_BASE + 5)
  41. #define IRLAP_BAUD_NEG_ERR (IRLAP_ERROR_BASE + 6)
  42. #define IRLAP_DISC_NEG_ERR (IRLAP_ERROR_BASE + 7)
  43. #define IRLAP_MAXTAT_NEG_ERR (IRLAP_ERROR_BASE + 8)
  44. #define IRLAP_MINTAT_NEG_ERR (IRLAP_ERROR_BASE + 9)
  45. #define IRLAP_DATASIZE_NEG_ERR (IRLAP_ERROR_BASE + 10)
  46. #define IRLAP_WINSIZE_NEG_ERR (IRLAP_ERROR_BASE + 11)
  47. #define IRLAP_BOFS_NEG_ERR (IRLAP_ERROR_BASE + 12)
  48. #define IRLAP_LINECAP_ERR (IRLAP_ERROR_BASE + 13)
  49. #define IRLAP_BAD_SLOTNO (IRLAP_ERROR_BASE + 14)
  50. #define IRLAP_XID_CMD_NOT_P (IRLAP_ERROR_BASE + 15)
  51. #define IRLAP_SNRM_NO_QOS (IRLAP_ERROR_BASE + 16)
  52. #define IRLAP_UA_NO_QOS (IRLAP_ERROR_BASE + 17)
  53. #define IRLAP_XID_CMD_RSP (IRLAP_ERROR_BASE + 18)
  54. #define IRLAP_SNRM_NOT_CMD (IRLAP_ERROR_BASE + 19)
  55. #define IRLAP_SNRM_NOT_P (IRLAP_ERROR_BASE + 20)
  56. #define IRLAP_UA_NOT_RSP (IRLAP_ERROR_BASE + 21)
  57. #define IRLAP_UA_NOT_F (IRLAP_ERROR_BASE + 22)
  58. #define IRLAP_MSG_LIST_EMPTY (IRLAP_ERROR_BASE + 23)
  59. #define IRLAP_MSG_LIST_FULL (IRLAP_ERROR_BASE + 24)
  60. #define IRLAP_RXD_BAD_FRAME (IRLAP_ERROR_BASE + 25)
  61. #define IRLAP_BAD_CRBIT_IFRAME (IRLAP_ERROR_BASE + 26)
  62. #define IRLAP_BAD_DATA_REQUEST (IRLAP_ERROR_BASE + 27)
  63. #define IRLAP_DISC_CMD_RSP (IRLAP_ERROR_BASE + 28)
  64. #define IRLAP_DISC_CMD_NOT_P (IRLAP_ERROR_BASE + 29)
  65. #define IRLAP_DM_RSP_NOT_F (IRLAP_ERROR_BASE + 30)
  66. #define IRLAP_DM_RSP_CMD (IRLAP_ERROR_BASE + 31)
  67. #define IRLAP_FRMR_RSP_CMD (IRLAP_ERROR_BASE + 32)
  68. #define IRLAP_FRMR_RSP_NOT_F (IRLAP_ERROR_BASE + 33)
  69. #define IRLAP_BAD_QOS (IRLAP_ERROR_BASE + 34)
  70. #define IRLAP_NULL_MSG (IRLAP_ERROR_BASE + 35)
  71. #define IRLAP_BAD_MAX_SLOT (IRLAP_ERROR_BASE + 36)
  72. #define IRLAP_REMOTE_DISCOVERY_IN_PROGRESS_ERR (IRLAP_ERROR_BASE + 37)
  73. #define IRLAP_REMOTE_CONNECTION_IN_PROGRESS_ERR (IRLAP_ERROR_BASE + 38)
  74. #define IRLAP_REMOTE_BUSY (IRLAP_ERROR_BASE + 39)
  75. #define IRLMP_NOT_INITIALIZED (IRLMP_ERROR_BASE + 0)
  76. #define IRLMP_LSAP_BAD_STATE (IRLMP_ERROR_BASE + 1)
  77. #define IRLMP_USER_DATA_LEN_EXCEEDED (IRLMP_ERROR_BASE + 2)
  78. #define IRLMP_LINK_IN_USE (IRLMP_ERROR_BASE + 3)
  79. #define IRLMP_TIMER_START_FAILED (IRLMP_ERROR_BASE + 4)
  80. #define IRLMP_ALLOC_FAILED (IRLMP_ERROR_BASE + 5)
  81. #define IRLMP_LINK_BAD_STATE (IRLMP_ERROR_BASE + 6)
  82. #define IRLMP_LSAP_SEL_IN_USE (IRLMP_ERROR_BASE + 7)
  83. #define IRLMP_CREDIT_CALC_ERROR (IRLMP_ERROR_BASE + 8)
  84. #define IRLMP_NO_TX_CREDIT (IRLMP_ERROR_BASE + 9)
  85. #define IRLMP_TX_DATA_LEN_EXCEEDED (IRLMP_ERROR_BASE + 10)
  86. #define IRLMP_DATA_IND_BAD_FRAME (IRLMP_ERROR_BASE + 11)
  87. #define IRLMP_SCHEDULE_EVENT_FAILED (IRLMP_ERROR_BASE + 12)
  88. #define IRLMP_LOCAL_BUSY (IRLMP_ERROR_BASE + 13)
  89. #define IRLMP_BAD_PRIM (IRLMP_ERROR_BASE + 14)
  90. #define IRLMP_BAD_ACCESSMODE (IRLMP_ERROR_BASE + 15)
  91. #define IRLMP_LINK_BUSY (IRLMP_ERROR_BASE + 16)
  92. #define IRLMP_IN_MULTIPLEXED_MODE (IRLMP_ERROR_BASE + 17)
  93. #define IRLMP_IN_EXCLUSIVE_MODE (IRLMP_ERROR_BASE + 18)
  94. #define IRLMP_NOT_LSAP_IN_EXCLUSIVE_MODE (IRLMP_ERROR_BASE + 19)
  95. #define IRLMP_INVALID_LSAP_CB (IRLMP_ERROR_BASE + 20)
  96. #define IRLMP_REMOTE_BUSY (IRLMP_ERROR_BASE + 21)
  97. #define IRLMP_TIMER_STOP_FAILED (IRLMP_ERROR_BASE + 22)
  98. #define IRLMP_BAD_IAS_OBJECT_ID (IRLMP_ERROR_BASE + 23)
  99. #define IRLMP_NO_SUCH_IAS_CLASS (IRLMP_ERROR_BASE + 24)
  100. #define IRLMP_NO_SUCH_IAS_ATTRIBUTE (IRLMP_ERROR_BASE + 25)
  101. #define IRLMP_UNSUPPORTED_IAS_OPERATION (IRLMP_ERROR_BASE + 26)
  102. #define IRLMP_BAD_IAS_QUERY_FROM_REMOTE (IRLMP_ERROR_BASE + 27)
  103. #define IRLMP_IAS_QUERY_IN_PROGRESS (IRLMP_ERROR_BASE + 28)
  104. #define IRLMP_UNSOLICITED_IAS_RESPONSE (IRLMP_ERROR_BASE + 29)
  105. #define IRLMP_SHUTDOWN_IN_PROGESS (IRLMP_ERROR_BASE + 30)
  106. #define IRLMP_BAD_DEV_ADDR (IRLMP_ERROR_BASE + 31)
  107. #define IRLMP_IAS_ATTRIB_ALREADY_EXISTS (IRLMP_ERROR_BASE + 32)
  108. #define IRLMP_IAS_MAX_ATTRIBS_REACHED (IRLMP_ERROR_BASE + 33)