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.

365 lines
7.5 KiB

  1. // =--------------------------------------------------------------------------=
  2. // WSIPErr.mc
  3. // =--------------------------------------------------------------------------=
  4. // (C) Copyright 2000-2001 Microsoft Corporation. All Rights Reserved.
  5. // =--------------------------------------------------------------------------=
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. #ifndef __WSIPErr_H__
  10. #define __WSIPErr_H__
  11. ///FACILITY_CATEGORY
  12. //
  13. // Values are 32 bit values layed out as follows:
  14. //
  15. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  16. // 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
  17. // +---+-+-+-----------------------+-------------------------------+
  18. // |Sev|C|R| Facility | Code |
  19. // +---+-+-+-----------------------+-------------------------------+
  20. //
  21. // where
  22. //
  23. // Sev - is the severity code
  24. //
  25. // 00 - Success
  26. // 01 - Informational
  27. // 10 - Warning
  28. // 11 - Error
  29. //
  30. // C - is the Customer code flag
  31. //
  32. // R - is a reserved bit
  33. //
  34. // Facility - is the facility code
  35. //
  36. // Code - is the facility's status code
  37. //
  38. //
  39. // Define the facility codes
  40. //
  41. #define FACILITY_SYSTEM 0x41
  42. #define FACILITY_STACK 0x200
  43. #define FACILITY_SIP_MESSAGE 0x42
  44. #define FACILITY_REGISTRAR 0x100
  45. #define FACILITY_PROXY 0x300
  46. #define FACILITY_PROCESSING 0x43
  47. #define FACILITY_LKRHASH 0x500
  48. #define FACILITY_EXTENSIONMODULE_ROUTING 0x45
  49. #define FACILITY_EXTENSIONMODULE_OUT 0x46
  50. #define FACILITY_EXTENSIONMODULE_IN 0x44
  51. #define FACILITY_EVENTLOG 0x400
  52. #define FACILITY_CATEGORY 0x0
  53. //
  54. // Define the severity codes
  55. //
  56. //
  57. // MessageId: CATEGORY_CONTROLLER
  58. //
  59. // MessageText:
  60. //
  61. // WinSIP
  62. //
  63. #define CATEGORY_CONTROLLER 0x00000001L
  64. //
  65. // MessageId: CATEGORY_STACK
  66. //
  67. // MessageText:
  68. //
  69. // Stack
  70. //
  71. #define CATEGORY_STACK 0x00000002L
  72. //
  73. // MessageId: CATEGORY_ERR_AUTH
  74. //
  75. // MessageText:
  76. //
  77. // Authentication
  78. //
  79. #define CATEGORY_ERR_AUTH 0x00000003L
  80. //
  81. // MessageId: CATEGORY_LAST
  82. //
  83. // MessageText:
  84. //
  85. // RTC Server
  86. //
  87. #define CATEGORY_LAST 0x00000004L
  88. ///FACILITY_SYSTEM
  89. //
  90. // MessageId: SIPPROXY_E_NOTINITIALIZED
  91. //
  92. // MessageText:
  93. //
  94. // The proxy stack is not initialized.
  95. //
  96. #define SIPPROXY_E_NOTINITIALIZED 0xC0410001L
  97. //
  98. // MessageId: SIPPROXY_E_NOTSTOPPED
  99. //
  100. // MessageText:
  101. //
  102. // The proxy stack should be stopped first.
  103. //
  104. #define SIPPROXY_E_NOTSTOPPED 0xC0410002L
  105. ///FACILITY_STACK
  106. //
  107. // MessageId: SIPPROXY_E_NO_CONTEXT
  108. //
  109. // MessageText:
  110. //
  111. // There is no context associated with this extension module and this session type.
  112. //
  113. #define SIPPROXY_E_NO_CONTEXT 0xC2000001L
  114. //
  115. // MessageId: SIPPROXY_E_NO_MATCH
  116. //
  117. // MessageText:
  118. //
  119. // There is no match for the URI supplied.
  120. //
  121. #define SIPPROXY_E_NO_MATCH 0xC2000002L
  122. ///FACILITY_REGISTRAR
  123. //
  124. // MessageId: REGISTRAR_USER_NOT_FOUND
  125. //
  126. // MessageText:
  127. //
  128. // No matching contact entries were found for the given user.
  129. //
  130. #define REGISTRAR_USER_NOT_FOUND 0xC1000001L
  131. //
  132. // MessageId: REGISTRAR_DOMAIN_NOT_SUPPORTED
  133. //
  134. // MessageText:
  135. //
  136. // Registrar does not support the user's domain.
  137. //
  138. #define REGISTRAR_DOMAIN_NOT_SUPPORTED 0xC1000002L
  139. ///FACILITY_PROXY
  140. //
  141. // MessageId: PROXY_REQUEST_REPLIED
  142. //
  143. // MessageText:
  144. //
  145. // Request message is going to be replied.
  146. //
  147. #define PROXY_REQUEST_REPLIED 0x43000001L
  148. ///FACILITY_PROCESSING
  149. //
  150. // MessageId: SIP_S_AUTH_DISABLED
  151. //
  152. // MessageText:
  153. //
  154. // Authentication module is disabled
  155. //
  156. #define SIP_S_AUTH_DISABLED 0x40430001L
  157. //
  158. // MessageId: SIP_S_AUTH_AUTHENTICATED
  159. //
  160. // MessageText:
  161. //
  162. // Authentication process succeeded
  163. //
  164. #define SIP_S_AUTH_AUTHENTICATED 0x40430002L
  165. //
  166. // MessageId: SIP_E_AUTH_INVALIDSTATE
  167. //
  168. // MessageText:
  169. //
  170. // Invalid state for the authentication module
  171. //
  172. #define SIP_E_AUTH_INVALIDSTATE 0xC0430003L
  173. //
  174. // MessageId: SIP_E_AUTH_UNAUTHORIZED
  175. //
  176. // MessageText:
  177. //
  178. // Unauthorized message
  179. //
  180. #define SIP_E_AUTH_UNAUTHORIZED 0xC0430004L
  181. //
  182. // MessageId: SIP_E_AUTH_INVALIDUSERNAME
  183. //
  184. // MessageText:
  185. //
  186. // No user name in the authentication header
  187. //
  188. #define SIP_E_AUTH_INVALIDUSERNAME 0xC0430005L
  189. //
  190. // MessageId: SIP_E_AUTH_INVALIDPROTOCOL
  191. //
  192. // MessageText:
  193. //
  194. // The security protocol is invalid
  195. //
  196. #define SIP_E_AUTH_INVALIDPROTOCOL 0xC0430006L
  197. //
  198. // MessageId: SIP_E_AUTH_PKGDISABLED
  199. //
  200. // MessageText:
  201. //
  202. // The security package is disabled
  203. //
  204. #define SIP_E_AUTH_PKGDISABLED 0xC0430007L
  205. //
  206. // MessageId: SIP_E_AUTH_SYSTEMERROR
  207. //
  208. // MessageText:
  209. //
  210. // Internal system error
  211. //
  212. #define SIP_E_AUTH_SYSTEMERROR 0xC0430008L
  213. //
  214. // MessageId: SIP_E_AUTH_SIGNFAILED
  215. //
  216. // MessageText:
  217. //
  218. // The signing process failed
  219. //
  220. #define SIP_E_AUTH_SIGNFAILED 0xC0430009L
  221. //
  222. // MessageId: SIP_E_AUTH_INVALIDSIGNATURE
  223. //
  224. // MessageText:
  225. //
  226. // The message has an invalid signature
  227. //
  228. #define SIP_E_AUTH_INVALIDSIGNATURE 0xC043000AL
  229. //
  230. // MessageId: SIP_E_AUTH_INVALIDSIPUSER
  231. //
  232. // MessageText:
  233. //
  234. // Invalid SIP user in the From field
  235. //
  236. #define SIP_E_AUTH_INVALIDSIPUSER 0xC043000BL
  237. //
  238. // MessageId: SIPPROXY_E_NOCONTROL
  239. //
  240. // MessageText:
  241. //
  242. // The extension module does not hold the control of this object.
  243. //
  244. #define SIPPROXY_E_NOCONTROL 0xC043000CL
  245. //
  246. // MessageId: SIPPROXY_E_REFUSED
  247. //
  248. // MessageText:
  249. //
  250. // The operation requested has been refused.
  251. //
  252. #define SIPPROXY_E_REFUSED 0xC043000DL
  253. //
  254. // MessageId: SIPPROXY_E_INTERNAL_LOOP_DETECTED
  255. //
  256. // MessageText:
  257. //
  258. // An internal loop has been detected in routing the request.
  259. //
  260. #define SIPPROXY_E_INTERNAL_LOOP_DETECTED 0xC043000EL
  261. //
  262. // MessageId: SIPPROXY_E_ROUTE_PRESENT
  263. //
  264. // MessageText:
  265. //
  266. // The request-uri cannot be changed since we are routing according to route header.
  267. //
  268. #define SIPPROXY_E_ROUTE_PRESENT 0xC043000FL
  269. //
  270. // MessageId: SIPPROXY_E_EVENT_REVOKED
  271. //
  272. // MessageText:
  273. //
  274. // The event has been revoked by the proxy engine.
  275. //
  276. #define SIPPROXY_E_EVENT_REVOKED 0xC0430010L
  277. //
  278. // MessageId: SIPPROXY_E_WRONG_EVENT
  279. //
  280. // MessageText:
  281. //
  282. // Information requested is not provided with the event of this type.
  283. //
  284. #define SIPPROXY_E_WRONG_EVENT 0xC0430011L
  285. //
  286. // MessageId: SIPPROXY_E_FAILPARSING
  287. //
  288. // MessageText:
  289. //
  290. // The parsing failed.
  291. //
  292. #define SIPPROXY_E_FAILPARSING 0xC0430012L
  293. //
  294. // MessageId: SIPPROXY_E_HEADER_NOT_FOUND
  295. //
  296. // MessageText:
  297. //
  298. // The header is not found.
  299. //
  300. #define SIPPROXY_E_HEADER_NOT_FOUND 0xC0430013L
  301. //
  302. // MessageId: SIPPROXY_E_FIELD_NOT_EXIST
  303. //
  304. // MessageText:
  305. //
  306. // There is no such field in the object.
  307. //
  308. #define SIPPROXY_E_FIELD_NOT_EXIST 0xC0430014L
  309. //
  310. // MessageId: SIPPROXY_E_DNS_QUERY_FAILED
  311. //
  312. // MessageText:
  313. //
  314. // There is no such field in the object.
  315. //
  316. #define SIPPROXY_E_DNS_QUERY_FAILED 0xC0430015L
  317. //
  318. // MessageId: SIPPROXY_E_PROXY_STOPPING
  319. //
  320. // MessageText:
  321. //
  322. // The operation requested has been refused because the proxy is stopping.
  323. //
  324. #define SIPPROXY_E_PROXY_STOPPING 0xC0430016L
  325. #endif // #ifndef __WSIPErr_H__