home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / brerror.h < prev    next >
Text File  |  1998-04-25  |  6KB  |  233 lines

  1. //
  2. //  Values are 32 bit values layed out as follows:
  3. //
  4. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  5. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  6. //  +---+-+-+-----------------------+-------------------------------+
  7. //  |Sev|C|R|     Facility          |               Code            |
  8. //  +---+-+-+-----------------------+-------------------------------+
  9. //
  10. //  where
  11. //
  12. //      Sev - is the severity code
  13. //
  14. //          00 - Success
  15. //          01 - Informational
  16. //          10 - Warning
  17. //          11 - Error
  18. //
  19. //      C - is the Customer code flag
  20. //
  21. //      R - is a reserved bit
  22. //
  23. //      Facility - is the facility code
  24. //
  25. //      Code - is the facility's status code
  26. //
  27. //
  28. // Define the facility codes
  29. //
  30.  
  31.  
  32. //
  33. // Define the severity codes
  34. //
  35.  
  36.  
  37. //
  38. // MessageId: BRIDGE_E_INVALID_OUTPUT_ID
  39. //
  40. // MessageText:
  41. //
  42. //  The output subsystem ID is invalid.
  43. //
  44. #define BRIDGE_E_INVALID_OUTPUT_ID       ((HRESULT)0xC0040001L)
  45.  
  46. //
  47. // MessageId: BRIDGE_E_INVALID_RESV_ID
  48. //
  49. // MessageText:
  50. //
  51. //  The bandwidth reservation ID is invalid.
  52. //
  53. #define BRIDGE_E_INVALID_RESV_ID         ((HRESULT)0xC0040002L)
  54.  
  55. //
  56. // MessageId: BRIDGE_E_INVALID_ROUTE
  57. //
  58. // MessageText:
  59. //
  60. //  The specified route does not match any entry in the filter table.
  61. //
  62. #define BRIDGE_E_INVALID_ROUTE           ((HRESULT)0xC0040003L)
  63.  
  64. //
  65. // MessageId: BRIDGE_E_INVALID_STATE
  66. //
  67. // MessageText:
  68. //
  69. //  The specified output driver state code is not valid.
  70. //
  71. #define BRIDGE_E_INVALID_STATE           ((HRESULT)0xC0040004L)
  72.  
  73. //
  74. // MessageId: BRIDGE_E_ROUTE_EXISTS
  75. //
  76. // MessageText:
  77. //
  78. //  The specified route already exists.
  79. //
  80. #define BRIDGE_E_ROUTE_EXISTS            ((HRESULT)0xC0040005L)
  81.  
  82. //
  83. // MessageId: BRIDGE_E_INSUFFICIENT_BANDWIDTH
  84. //
  85. // MessageText:
  86. //
  87. //  The bandwidth reservation cannot be created or altered because
  88. //  the maximum bandwidth of the target output subsystem would be exceeded.
  89. //
  90. #define BRIDGE_E_INSUFFICIENT_BANDWIDTH  ((HRESULT)0xC0040006L)
  91.  
  92. //
  93. // MessageId: BRIDGE_E_OUTPUT_MAX_REACHED
  94. //
  95. // MessageText:
  96. //
  97. //  The bridge has reached its maximum number of output subsystems.
  98. //  No more output subsystems can be installed.
  99. //
  100. #define BRIDGE_E_OUTPUT_MAX_REACHED      ((HRESULT)0xC0040007L)
  101.  
  102. //
  103. // MessageId: BRIDGE_E_INTERNAL_ERROR
  104. //
  105. // MessageText:
  106. //
  107. //  The bridge encountered an internal error.
  108. //  This error should not occur during normal usage.
  109. //  Please check the event log on the server computer.
  110. //
  111. #define BRIDGE_E_INTERNAL_ERROR          ((HRESULT)0xC0040008L)
  112.  
  113. //
  114. // MessageId: BRIDGE_E_OUTPUT_VALUE_ERROR
  115. //
  116. // MessageText:
  117. //
  118. //  The output driver returned invalid configuration data.
  119. //  Make sure that the output subsystem driver DLL is compatable with
  120. //  this version of the multicast router.
  121. //
  122. #define BRIDGE_E_OUTPUT_VALUE_ERROR      ((HRESULT)0xC0040009L)
  123.  
  124. //
  125. // MessageId: BRIDGE_E_INVALID_OUTPUT_VALUE
  126. //
  127. // MessageText:
  128. //
  129. //  The value of the configuration is not a valid datatype.
  130. //
  131. #define BRIDGE_E_INVALID_OUTPUT_VALUE    ((HRESULT)0xC004000AL)
  132.  
  133. //
  134. // MessageId: BRIDGE_E_OUTPUT_VALUE_REJECTED
  135. //
  136. // MessageText:
  137. //
  138. //  The output driver rejected the configuration data.
  139. //  Make sure the index and data type of the configuration data is valid.
  140. //  Please check the event log on the server computer.
  141. //
  142. #define BRIDGE_E_OUTPUT_VALUE_REJECTED   ((HRESULT)0xC004000BL)
  143.  
  144. //
  145. // MessageId: BRIDGE_E_OUTPUT_VALUE_NOT_SUPPORTED
  146. //
  147. // MessageText:
  148. //
  149. //  The output driver does not support dynamic configuration.
  150. //
  151. #define BRIDGE_E_OUTPUT_VALUE_NOT_SUPPORTED ((HRESULT)0xC004000CL)
  152.  
  153. //
  154. // MessageId: BRIDGE_E_OUTPUT_SET_STATE_ERROR
  155. //
  156. // MessageText:
  157. //
  158. //  The output driver refused to change its state.
  159. //  Please check the event log on the server computer.
  160. //
  161. #define BRIDGE_E_OUTPUT_SET_STATE_ERROR  ((HRESULT)0xC004000DL)
  162.  
  163. //
  164. // MessageId: BRIDGE_E_OUTPUT_DLL_LOAD_FAILED
  165. //
  166. // MessageText:
  167. //
  168. //  The output driver DLL could not be loaded.
  169. //  Please check to make sure that the driver DLL path is correct
  170. //  and that the DLL is compatable with this version of the multicast router.
  171. //  Please check the event log on the server computer.
  172. //
  173. #define BRIDGE_E_OUTPUT_DLL_LOAD_FAILED  ((HRESULT)0xC004000EL)
  174.  
  175. //
  176. // MessageId: BRIDGE_E_OUTPUT_DLL_INCOMPATABLE
  177. //
  178. // MessageText:
  179. //
  180. //  The output driver DLL is not compatable with this version of the multicast router.
  181. //
  182. #define BRIDGE_E_OUTPUT_DLL_INCOMPATABLE ((HRESULT)0xC004000FL)
  183.  
  184. //
  185. // MessageId: BRIDGE_E_REGISTRY_ERROR
  186. //
  187. // MessageText:
  188. //
  189. //  A registry operation could not be completed.
  190. //  Please check the event log on the server computer.
  191. //
  192. #define BRIDGE_E_REGISTRY_ERROR          ((HRESULT)0xC0040010L)
  193.  
  194. //
  195. // MessageId: BRIDGE_E_WINSOCK_ERROR
  196. //
  197. // MessageText:
  198. //
  199. //  An error occurred in the WinSock subsystem.
  200. //  Please check the event log on the server computer.
  201. //
  202. #define BRIDGE_E_WINSOCK_ERROR           ((HRESULT)0xC0040011L)
  203.  
  204. //
  205. // MessageId: BRIDGE_E_OUTPUT_NOT_LOADED
  206. //
  207. // MessageText:
  208. //
  209. //  The operation could not be completed because the output driver is not loaded.
  210. //  Please load the output driver first.
  211. //
  212. #define BRIDGE_E_OUTPUT_NOT_LOADED       ((HRESULT)0xC0040012L)
  213.  
  214. //
  215. // MessageId: BRIDGE_E_OUTPUT_STARTUP_FAILED
  216. //
  217. // MessageText:
  218. //
  219. //  The output subsystem could not be started.
  220. //  Please check the event log on the server computer.
  221. //
  222. #define BRIDGE_E_OUTPUT_STARTUP_FAILED   ((HRESULT)0xC0040013L)
  223.  
  224. //
  225. // MessageId: BRIDGE_E_OUTPUT_SHUTDOWN_PENDING
  226. //
  227. // MessageText:
  228. //
  229. //  The operation could not be completed because the output subsystem is in the process of shutting down.
  230. //
  231. #define BRIDGE_E_OUTPUT_SHUTDOWN_PENDING ((HRESULT)0xC0040014L)
  232.  
  233.