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.

399 lines
17 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. Abstract:
  5. NOTE - DONT USE 15000-15999
  6. Author:
  7. Amritansh Raghav 01/25/1996
  8. Revision History:
  9. --*/
  10. #ifndef __STRDEFS_H__
  11. #define __STRDEFS_H__
  12. #define MSG_NULL 1001
  13. #define MSG_NEWLINE 1002
  14. #define MSG_SEPARATOR 1003
  15. #define MSG_PERSISTENT 1004
  16. #define MSG_ACTIVE 1005
  17. #define HLP_GROUP_ADD 3901
  18. #define HLP_GROUP_DELETE 3903
  19. #define HLP_GROUP_SET 3905
  20. #define HLP_GROUP_SHOW 3907
  21. #define HLP_IP6TO4_RESET 3101
  22. #define HLP_IP6TO4_RESET_EX 3102
  23. // 6to4
  24. #define HLP_IP6TO4_SET_INTERFACE 3201
  25. #define HLP_IP6TO4_SET_INTERFACE_EX 3202
  26. #define HLP_IP6TO4_SHOW_INTERFACE 3203
  27. #define HLP_IP6TO4_SHOW_INTERFACE_EX 3204
  28. #define HLP_IP6TO4_SET_ROUTING 3301
  29. #define HLP_IP6TO4_SET_ROUTING_EX 3302
  30. #define HLP_IP6TO4_SHOW_ROUTING 3303
  31. #define HLP_IP6TO4_SHOW_ROUTING_EX 3304
  32. #define HLP_IP6TO4_SET_RELAY 3401
  33. #define HLP_IP6TO4_SET_RELAY_EX 3402
  34. #define HLP_IP6TO4_SHOW_RELAY 3403
  35. #define HLP_IP6TO4_SHOW_RELAY_EX 3404
  36. #define HLP_IP6TO4_SET_STATE 3501
  37. #define HLP_IP6TO4_SET_STATE_EX 3502
  38. #define HLP_IP6TO4_SHOW_STATE 3503
  39. #define HLP_IP6TO4_SHOW_STATE_EX 3504
  40. // ISATAP
  41. #define HLP_ISATAP_SET_ROUTER 3601
  42. #define HLP_ISATAP_SET_ROUTER_EX 3602
  43. #define HLP_ISATAP_SHOW_ROUTER 3603
  44. #define HLP_ISATAP_SHOW_ROUTER_EX 3604
  45. #define HLP_ISATAP_SET_STATE 5601
  46. #define HLP_ISATAP_SET_STATE_EX 5602
  47. #define HLP_ISATAP_SHOW_STATE 5603
  48. #define HLP_ISATAP_SHOW_STATE_EX 5604
  49. // Teredo
  50. #define HLP_IPV6_SET_TEREDO 3701
  51. #define HLP_IPV6_SET_TEREDO_EX 3702
  52. #define HLP_IPV6_SHOW_TEREDO 3703
  53. #define HLP_IPV6_SHOW_TEREDO_EX 3704
  54. // IPv6
  55. #define HLP_IPV6_INSTALL 3001
  56. #define HLP_IPV6_INSTALL_EX 3002
  57. #define HLP_IPV6_RENEW 3003
  58. #define HLP_IPV6_RENEW_EX 3004
  59. #define HLP_IPV6_UNINSTALL 3005
  60. #define HLP_IPV6_UNINSTALL_EX 3006
  61. #define HLP_IPV6_SHOW_BINDINGCACHEENTRIES 3707
  62. #define HLP_IPV6_SHOW_BINDINGCACHEENTRIES_EX 3708
  63. #define HLP_IPV6_SET_GLOBAL 3803
  64. #define HLP_IPV6_SET_GLOBAL_EX 3804
  65. #define HLP_IPV6_SHOW_GLOBAL 3807
  66. #define HLP_IPV6_SHOW_GLOBAL_EX 3808
  67. #define HLP_IPV6_SET_PRIVACY 4003
  68. #define HLP_IPV6_SET_PRIVACY_EX 4004
  69. #define HLP_IPV6_SHOW_PRIVACY 4007
  70. #define HLP_IPV6_SHOW_PRIVACY_EX 4008
  71. #define HLP_IPV6_ADD_6OVER4TUNNEL 4101
  72. #define HLP_IPV6_ADD_6OVER4TUNNEL_EX 4102
  73. #define HLP_IPV6_ADD_PREFIXPOLICY 4201
  74. #define HLP_IPV6_ADD_PREFIXPOLICY_EX 4202
  75. #define HLP_IPV6_SET_PREFIXPOLICY 4203
  76. #define HLP_IPV6_SET_PREFIXPOLICY_EX 4204
  77. #define HLP_IPV6_DEL_PREFIXPOLICY 4205
  78. #define HLP_IPV6_DEL_PREFIXPOLICY_EX 4206
  79. #define HLP_IPV6_SHOW_PREFIXPOLICY 4207
  80. #define HLP_IPV6_SHOW_PREFIXPOLICY_EX 4208
  81. #define HLP_IPV6_DEL_NEIGHBORS 4305
  82. #define HLP_IPV6_DEL_NEIGHBORS_EX 4306
  83. #define HLP_IPV6_SHOW_NEIGHBORS 4307
  84. #define HLP_IPV6_SHOW_NEIGHBORS_EX 4308
  85. #define HLP_IPV6_ADD_ROUTE 4401
  86. #define HLP_IPV6_ADD_ROUTE_EX 4402
  87. #define HLP_IPV6_SET_ROUTE 4403
  88. #define HLP_IPV6_SET_ROUTE_EX 4404
  89. #define HLP_IPV6_DEL_ROUTE 4405
  90. #define HLP_IPV6_DEL_ROUTE_EX 4406
  91. #define HLP_IPV6_SHOW_ROUTES 4407
  92. #define HLP_IPV6_SHOW_ROUTES_EX 4408
  93. #define HLP_IPV6_ADD_ADDRESS 4501
  94. #define HLP_IPV6_ADD_ADDRESS_EX 4502
  95. #define HLP_IPV6_SET_ADDRESS 4503
  96. #define HLP_IPV6_SET_ADDRESS_EX 4504
  97. #define HLP_IPV6_DEL_ADDRESS 4505
  98. #define HLP_IPV6_DEL_ADDRESS_EX 4506
  99. #define HLP_IPV6_SHOW_ADDRESS 4507
  100. #define HLP_IPV6_SHOW_ADDRESS_EX 4508
  101. #define HLP_IPV6_SHOW_SITEPREFIXES 4607
  102. #define HLP_IPV6_SHOW_SITEPREFIXES_EX 4608
  103. #define HLP_IPV6_ADD_V6V4TUNNEL 4701
  104. #define HLP_IPV6_ADD_V6V4TUNNEL_EX 4702
  105. #define HLP_IPV6_DEL_DESTINATIONCACHE 4805
  106. #define HLP_IPV6_DEL_DESTINATIONCACHE_EX 4806
  107. #define HLP_IPV6_SHOW_DESTINATIONCACHE 4807
  108. #define HLP_IPV6_SHOW_DESTINATIONCACHE_EX 4808
  109. #define HLP_IPV6_SET_INTERFACE 4903
  110. #define HLP_IPV6_SET_INTERFACE_EX 4904
  111. #define HLP_IPV6_DEL_INTERFACE 4905
  112. #define HLP_IPV6_DEL_INTERFACE_EX 4906
  113. #define HLP_IPV6_SHOW_INTERFACE 4907
  114. #define HLP_IPV6_SHOW_INTERFACE_EX 4908
  115. #define HLP_IPV6_SET_MOBILITY 5103
  116. #define HLP_IPV6_SET_MOBILITY_EX 5104
  117. #define HLP_IPV6_SHOW_MOBILITY 5107
  118. #define HLP_IPV6_SHOW_MOBILITY_EX 5108
  119. #define HLP_IPV6_SHOW_JOINS 5207
  120. #define HLP_IPV6_SHOW_JOINS_EX 5208
  121. #define HLP_IPV6_RESET 5301
  122. #define HLP_IPV6_RESET_EX 5302
  123. #define HLP_IPV6_SET_STATE 5403
  124. #define HLP_IPV6_SET_STATE_EX 5404
  125. #define HLP_IPV6_SHOW_STATE 5407
  126. #define HLP_IPV6_SHOW_STATE_EX 5408
  127. #define HLP_IPV6_ADD_DNS 5501
  128. #define HLP_IPV6_ADD_DNS_EX 5502
  129. #define HLP_IPV6_DEL_DNS 5505
  130. #define HLP_IPV6_DEL_DNS_EX 5506
  131. #define HLP_IPV6_SHOW_DNS 5507
  132. #define HLP_IPV6_SHOW_DNS_EX 5508
  133. //
  134. // Port Proxy.
  135. //
  136. #define HLP_PP_ADD_V4TOV4 7001
  137. #define HLP_PP_ADD_V4TOV4_EX 7002
  138. #define HLP_PP_SET_V4TOV4 7003
  139. #define HLP_PP_SET_V4TOV4_EX 7004
  140. #define HLP_PP_DEL_V4TOV4 7005
  141. #define HLP_PP_DEL_V4TOV4_EX 7006
  142. #define HLP_PP_SHOW_V4TOV4 7007
  143. #define HLP_PP_SHOW_V4TOV4_EX 7008
  144. #define HLP_PP_ADD_V4TOV6 7011
  145. #define HLP_PP_ADD_V4TOV6_EX 7012
  146. #define HLP_PP_SET_V4TOV6 7013
  147. #define HLP_PP_SET_V4TOV6_EX 7014
  148. #define HLP_PP_DEL_V4TOV6 7015
  149. #define HLP_PP_DEL_V4TOV6_EX 7016
  150. #define HLP_PP_SHOW_V4TOV6 7017
  151. #define HLP_PP_SHOW_V4TOV6_EX 7018
  152. #define HLP_PP_ADD_V6TOV4 7021
  153. #define HLP_PP_ADD_V6TOV4_EX 7022
  154. #define HLP_PP_SET_V6TOV4 7023
  155. #define HLP_PP_SET_V6TOV4_EX 7024
  156. #define HLP_PP_DEL_V6TOV4 7025
  157. #define HLP_PP_DEL_V6TOV4_EX 7026
  158. #define HLP_PP_SHOW_V6TOV4 7027
  159. #define HLP_PP_SHOW_V6TOV4_EX 7028
  160. #define HLP_PP_ADD_V6TOV6 7031
  161. #define HLP_PP_ADD_V6TOV6_EX 7032
  162. #define HLP_PP_SET_V6TOV6 7033
  163. #define HLP_PP_SET_V6TOV6_EX 7034
  164. #define HLP_PP_DEL_V6TOV6 7035
  165. #define HLP_PP_DEL_V6TOV6_EX 7036
  166. #define HLP_PP_SHOW_V6TOV6 7037
  167. #define HLP_PP_SHOW_V6TOV6_EX 7038
  168. #define HLP_PP_SHOW_ALL 7047
  169. #define HLP_PP_SHOW_ALL_EX 7048
  170. #define MSG_ROUTING_STATE 5001
  171. #define MSG_SITELOCALS_STATE 5002
  172. #define MSG_RESOLUTION_STATE 5003
  173. #define MSG_RELAY_NAME 5004
  174. #define MSG_MINUTES 5005
  175. #define MSG_RESOLUTION_INTERVAL 5006
  176. #define MSG_UNDO_ON_STOP_STATE 5007
  177. #define MSG_STRING 5008
  178. #define MSG_CSTRING 5009
  179. #define MSG_INTERFACE_ROUTING_STATE 5010
  180. #define MSG_IP6TO4_STATE 5011
  181. #define MSG_INTERFACE_HEADER 5012
  182. #define MSG_6OVER4_STATE 5013
  183. #define MSG_V4COMPAT_STATE 5014
  184. #define MSG_ROUTER_NAME 5015
  185. #define MSG_SECONDS 5016
  186. #define MSG_ISATAP_STATE 5017
  187. // strings from ipv6
  188. #define STRING_LOOPBACK 6001
  189. #define STRING_TUNNEL_AUTO 6002
  190. #define STRING_TUNNEL_6TO4 6003
  191. #define STRING_SYSTEM 6004
  192. #define STRING_MANUAL 6005
  193. #define STRING_AUTOCONF 6006
  194. #define STRING_RIP 6007
  195. #define STRING_OSPF 6008
  196. #define STRING_BGP 6009
  197. #define STRING_IDRP 6010
  198. #define STRING_IGRP 6011
  199. #define STRING_PUBLIC 6012
  200. #define STRING_TEMPORARY 6013
  201. #define STRING_DHCP 6014
  202. #define STRING_WELLKNOWN 6015
  203. #define STRING_RA 6016
  204. #define STRING_RANDOM 6017
  205. #define STRING_LL_ADDRESS 6018
  206. #define STRING_OTHER 6019
  207. #define STRING_DISCONNECTED 6101
  208. #define STRING_RECONNECTED 6102
  209. #define STRING_CONNECTED 6103
  210. #define STRING_UNKNOWN 6104
  211. #define STRING_INTERFACE 6201
  212. #define STRING_LINK 6202
  213. #define STRING_SUBNET 6203
  214. #define STRING_ADMIN 6204
  215. #define STRING_SITE 6205
  216. #define STRING_ORG 6208
  217. #define STRING_GLOBAL 6214
  218. #define STRING_INVALID 6301
  219. #define STRING_DUPLICATE 6302
  220. #define STRING_TENTATIVE 6303
  221. #define STRING_DEPRECATED 6304
  222. #define STRING_PREFERRED 6305
  223. #define STRING_YES 6401
  224. #define STRING_NO 6402
  225. #define STRING_NEVER 6403
  226. // error messages from ipv6
  227. #define IPV6_MESSAGE_126 10126
  228. #define IPV6_MESSAGE_127 10127
  229. #define IPV6_MESSAGE_128 10128
  230. #define IPV6_MESSAGE_129 10129
  231. // error messages for IfIp
  232. #define EMSG_PROTO_NOT_INSTALLED 11001
  233. #define EMSG_NO_WRITE_LOCK 11002
  234. #define EMSG_REBOOT_NEEDED 11003
  235. #define EMSG_INVALID_ADDRESS 11004
  236. #define EMSG_INVALID_INTERFACE 11044
  237. #define EMSG_CANT_PERSIST_AGING_ROUTES 11045
  238. #define DMP_IPV6_HEADER_COMMENTS 20001
  239. #define DMP_IPV6_FOOTER_COMMENTS 20002
  240. #define MSG_IPV6_TABLE_HDR 50001
  241. #define MSG_IPV6_ENTRY_LONG 50002
  242. #define MSG_IPV6_CREDENTIALS 50003
  243. #define MSG_IPV6_ENTRY_SHORT 50004
  244. #define MSG_IPV6_GLOBAL_PARAMETERS 51005
  245. #define MSG_IPV6_PRIVACY_PARAMETERS 51006
  246. #define MSG_IPV6_PREFIX_POLICY_HDR 51007
  247. #define MSG_IPV6_PREFIX_POLICY 51008
  248. #define MSG_IPV6_SITE_PREFIX_HDR 51009
  249. #define MSG_IPV6_SITE_PREFIX 51010
  250. #define MSG_IPV6_INTERFACE_HDR 51011
  251. #define MSG_IPV6_INTERFACE 51012
  252. #define MSG_IPV6_INTERFACE_VERBOSE 51013
  253. #define MSG_IPV6_MOBILITY_PARAMETERS 51014
  254. #define MSG_IPV6_NEIGHBOR_CACHE_HDR 51015
  255. #define MSG_IPV6_NEIGHBOR_CACHE_ENTRY 51016
  256. #define MSG_IPV6_NEIGHBOR_INCOMPLETE 51017
  257. #define MSG_IPV6_NEIGHBOR_PROBE 51018
  258. #define MSG_IPV6_NEIGHBOR_DELAY 51019
  259. #define MSG_IPV6_NEIGHBOR_STALE 51020
  260. #define MSG_IPV6_NEIGHBOR_REACHABLE 51021
  261. #define MSG_IPV6_NEIGHBOR_PERMANENT 51022
  262. #define MSG_IPV6_NEIGHBOR_UNKNOWN 51023
  263. #define MSG_IPV6_NEIGHBOR_ISROUTER 51024
  264. #define MSG_IPV6_NEIGHBOR_UNREACHABLE 51025
  265. #define MSG_IPV6_INTERFACE_SCOPE 51026
  266. #define MSG_IPV6_ND_ENABLED 51027
  267. #define MSG_IPV6_SENDS_RAS 51029
  268. #define MSG_IPV6_FORWARDS 51030
  269. #define MSG_IPV6_LL_ADDRESS 51031
  270. #define MSG_IPV6_REMOTE_LL_ADDRESS 51032
  271. #define MSG_IPV6_ADDRESS_HDR 51033
  272. #define MSG_IPV6_ADDRESS_HDR_VERBOSE 51034
  273. #define MSG_IPV6_UNICAST_ADDRESS 51035
  274. #define MSG_IPV6_UNICAST_ADDRESS_VERBOSE 51036
  275. #define MSG_IPV6_ANYCAST_ADDRESS 51037
  276. #define MSG_IPV6_ANYCAST_ADDRESS_VERBOSE 51038
  277. #define MSG_IPV6_MULTICAST_ADDRESS_HDR 51039
  278. #define MSG_IPV6_MULTICAST_ADDRESS 51040
  279. #define MSG_IPV6_MULTICAST_ADDRESS_VERBOSE 51041
  280. #define MSG_IPV6_PREFIX_ORIGIN 51042
  281. #define MSG_IPV6_IID_ORIGIN 51043
  282. #define MSG_IPV6_DESTINATION_HDR 51101
  283. #define MSG_IPV6_DESTINATION_ENTRY 51102
  284. #define MSG_IPV6_DESTINATION_NEXTHOP 51103
  285. #define MSG_IPV6_DESTINATION_HDR_VERBOSE 51201
  286. #define MSG_IPV6_DESTINATION_ENTRY_VERBOSE 51202
  287. #define MSG_IPV6_DESTINATION_NEXTHOP_VERBOSE 51203
  288. #define MSG_IPV6_DESTINATION_SOURCE_ADDR 51204
  289. #define MSG_IPV6_IF_SPECIFIC 51205
  290. #define MSG_IPV6_ZONE_SPECIFIC 51206
  291. #define MSG_IPV6_CAREOF 51207
  292. #define MSG_IPV6_PMTU_PROBE_TIME 51208
  293. #define MSG_IPV6_ICMP_ERROR_TIME 51209
  294. #define MSG_IPV6_STALE 51210
  295. #define MSG_IPV6_ROUTE_TABLE_HDR 51305
  296. #define MSG_IPV6_ROUTE_TABLE_ENTRY 51306
  297. #define MSG_IPV6_ROUTE_TABLE_ENTRY_VERBOSE 51307
  298. #define MSG_IPV6_INTEGER 51308
  299. #define MSG_PORT_PROXY_HEADER 52001
  300. #define MSG_PORT_PROXY 52002
  301. #define DMP_PP_HEADER_COMMENTS 52003
  302. #define DMP_PP_FOOTER_COMMENTS 52004
  303. // msgs for ifip
  304. #define MSG_DHCP 50021
  305. #define MSG_STATIC 50022
  306. #define MSG_IPADDR_LIST 50023
  307. #define MSG_IPADDR_LIST1 50024
  308. #define MSG_IP6TO4_HEADER 50025
  309. #define MSG_OPTIONS_LIST 50026
  310. #define MSG_IFMETRIC 50028
  311. #define MSG_GATEWAY 50030
  312. #define MSG_DNS_SERVER_HEADER 50031
  313. #define MSG_DNS_SERVER 50032
  314. #define MSG_WINS_HDR 50033
  315. #define MSG_WINS_DHCP 50034
  316. #define MSG_ADDR1 50035
  317. #define MSG_ADDR2 50036
  318. #define MSG_OPTION 50037
  319. #define MSG_NONE 50038
  320. #define MSG_DEBUG_HDR 50039
  321. #define MSG_DNS_DHCP_HDR 50040
  322. #define MSG_WINS_DHCP_HDR 50041
  323. #define DMP_IP6TO4_HEADER 50051
  324. #define DMP_IP6TO4_FOOTER 50052
  325. #define DMP_IP6TO4_INTERFACE_HEADER 50053
  326. #define DMP_ISATAP_HEADER 50061
  327. #define DMP_ISATAP_FOOTER 50062
  328. #define MSG_TEREDO_PARAMETERS 50070
  329. #define MSG_NO_SUCH_IF 60006
  330. #define MSG_IP_NO_ENTRIES 60015
  331. #define MSG_CTRL_C_TO_QUIT 60062
  332. #endif //__STDEFS_H__