home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / tcerror.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.8 KB  |  92 lines

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