Source code of Windows XP (NT5)
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.

123 lines
2.2 KiB

  1. /* Copyright (c) 1997-1999, Microsoft Corporation, all rights reserved
  2. **
  3. ** tcerror.h
  4. ** Traffic Control external API
  5. ** TC specific error codes
  6. */
  7. #ifndef _TCERROR_H_
  8. #define _TCERROR_H_
  9. #if _MSC_VER > 1000
  10. #pragma once
  11. #endif
  12. #define TCBASE 7500
  13. //
  14. // Incompatible TC version number
  15. //
  16. #define ERROR_INCOMPATIBLE_TCI_VERSION (TCBASE+1)
  17. //
  18. // Unspecified or bad intserv service type
  19. //
  20. #define ERROR_INVALID_SERVICE_TYPE (TCBASE+2)
  21. //
  22. // Unspecified or bad TokenRate
  23. //
  24. #define ERROR_INVALID_TOKEN_RATE (TCBASE+3)
  25. //
  26. // Bad PeakBandwidth
  27. //
  28. #define ERROR_INVALID_PEAK_RATE (TCBASE+4)
  29. //
  30. // Invalid ShapeDiscardMode
  31. //
  32. #define ERROR_INVALID_SD_MODE (TCBASE+5)
  33. //
  34. // Invalid priority value
  35. //
  36. #define ERROR_INVALID_QOS_PRIORITY (TCBASE+6)
  37. //
  38. // Invalid traffic class value
  39. //
  40. #define ERROR_INVALID_TRAFFIC_CLASS (TCBASE+7)
  41. //
  42. // Invalid address type
  43. //
  44. #define ERROR_INVALID_ADDRESS_TYPE (TCBASE+8)
  45. //
  46. // Attempt to install identical filter on same flow
  47. //
  48. #define ERROR_DUPLICATE_FILTER (TCBASE+9)
  49. //
  50. // Attempt to install conflicting filter
  51. //
  52. #define ERROR_FILTER_CONFLICT (TCBASE+10)
  53. //
  54. // This address type is not supported
  55. //
  56. #define ERROR_ADDRESS_TYPE_NOT_SUPPORTED (TCBASE+11)
  57. //
  58. // This object can not be deleted since its suporting opened objects
  59. //
  60. #define ERROR_TC_SUPPORTED_OBJECTS_EXIST (TCBASE+12)
  61. //
  62. // Incompatable QoS parameters
  63. //
  64. #define ERROR_INCOMPATABLE_QOS (TCBASE+13)
  65. //
  66. // Traffic Control is not supported in the system
  67. //
  68. #define ERROR_TC_NOT_SUPPORTED (TCBASE+14)
  69. //
  70. // TcObjectsLength is inconsistent with CfInfoSize
  71. //
  72. #define ERROR_TC_OBJECT_LENGTH_INVALID (TCBASE+15)
  73. //
  74. // Adding an Intserv flow in Diffserv mode or vice versa
  75. //
  76. #define ERROR_INVALID_FLOW_MODE (TCBASE+16)
  77. //
  78. // Invalid Diffserv flow
  79. //
  80. #define ERROR_INVALID_DIFFSERV_FLOW (TCBASE+17)
  81. //
  82. // DS codepoint already exists
  83. //
  84. #define ERROR_DS_MAPPING_EXISTS (TCBASE+18)
  85. //
  86. // Invalid Shape Rate specified
  87. //
  88. #define ERROR_INVALID_SHAPE_RATE (TCBASE+19)
  89. //
  90. // Invalid DCLASS
  91. //
  92. #define ERROR_INVALID_DS_CLASS (TCBASE+20)
  93. //
  94. // Too many GPC clients
  95. //
  96. #define ERROR_TOO_MANY_CLIENTS (TCBASE+21)
  97. #endif // _TCERROR_H_