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.

312 lines
13 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 HLP_GROUP_ADD 3901
  16. #define HLP_GROUP_DELETE 3903
  17. #define HLP_GROUP_SET 3905
  18. #define HLP_GROUP_SHOW 3907
  19. #define HLP_IP6TO4_RESET 3101
  20. #define HLP_IP6TO4_RESET_EX 3102
  21. // 6to4
  22. #define HLP_IP6TO4_SET_INTERFACE 3201
  23. #define HLP_IP6TO4_SET_INTERFACE_EX 3202
  24. #define HLP_IP6TO4_SHOW_INTERFACE 3203
  25. #define HLP_IP6TO4_SHOW_INTERFACE_EX 3204
  26. #define HLP_IP6TO4_SET_ROUTING 3301
  27. #define HLP_IP6TO4_SET_ROUTING_EX 3302
  28. #define HLP_IP6TO4_SHOW_ROUTING 3303
  29. #define HLP_IP6TO4_SHOW_ROUTING_EX 3304
  30. #define HLP_IP6TO4_SET_RELAY 3401
  31. #define HLP_IP6TO4_SET_RELAY_EX 3402
  32. #define HLP_IP6TO4_SHOW_RELAY 3403
  33. #define HLP_IP6TO4_SHOW_RELAY_EX 3404
  34. #define HLP_IP6TO4_SET_STATE 3501
  35. #define HLP_IP6TO4_SET_STATE_EX 3502
  36. #define HLP_IP6TO4_SHOW_STATE 3503
  37. #define HLP_IP6TO4_SHOW_STATE_EX 3504
  38. // IPv6
  39. #define HLP_IPV6_INSTALL 3001
  40. #define HLP_IPV6_INSTALL_EX 3002
  41. #define HLP_IPV6_RENEW 3003
  42. #define HLP_IPV6_RENEW_EX 3004
  43. #define HLP_IPV6_UNINSTALL 3005
  44. #define HLP_IPV6_UNINSTALL_EX 3006
  45. #define HLP_IPV6_SHOW_BINDINGCACHEENTRIES 3707
  46. #define HLP_IPV6_SHOW_BINDINGCACHEENTRIES_EX 3708
  47. #define HLP_IPV6_SET_GLOBAL 3803
  48. #define HLP_IPV6_SET_GLOBAL_EX 3804
  49. #define HLP_IPV6_SHOW_GLOBAL 3807
  50. #define HLP_IPV6_SHOW_GLOBAL_EX 3808
  51. #define HLP_IPV6_SET_PRIVACY 4003
  52. #define HLP_IPV6_SET_PRIVACY_EX 4004
  53. #define HLP_IPV6_SHOW_PRIVACY 4007
  54. #define HLP_IPV6_SHOW_PRIVACY_EX 4008
  55. #define HLP_IPV6_ADD_6OVER4TUNNEL 4101
  56. #define HLP_IPV6_ADD_6OVER4TUNNEL_EX 4102
  57. #define HLP_IPV6_ADD_PREFIXPOLICY 4201
  58. #define HLP_IPV6_ADD_PREFIXPOLICY_EX 4202
  59. #define HLP_IPV6_SET_PREFIXPOLICY 4203
  60. #define HLP_IPV6_SET_PREFIXPOLICY_EX 4204
  61. #define HLP_IPV6_DEL_PREFIXPOLICY 4205
  62. #define HLP_IPV6_DEL_PREFIXPOLICY_EX 4206
  63. #define HLP_IPV6_SHOW_PREFIXPOLICY 4207
  64. #define HLP_IPV6_SHOW_PREFIXPOLICY_EX 4208
  65. #define HLP_IPV6_DEL_NEIGHBORS 4305
  66. #define HLP_IPV6_DEL_NEIGHBORS_EX 4306
  67. #define HLP_IPV6_SHOW_NEIGHBORS 4307
  68. #define HLP_IPV6_SHOW_NEIGHBORS_EX 4308
  69. #define HLP_IPV6_ADD_ROUTE 4401
  70. #define HLP_IPV6_ADD_ROUTE_EX 4402
  71. #define HLP_IPV6_SET_ROUTE 4403
  72. #define HLP_IPV6_SET_ROUTE_EX 4404
  73. #define HLP_IPV6_DEL_ROUTE 4405
  74. #define HLP_IPV6_DEL_ROUTE_EX 4406
  75. #define HLP_IPV6_SHOW_ROUTES 4407
  76. #define HLP_IPV6_SHOW_ROUTES_EX 4408
  77. #define HLP_IPV6_ADD_ADDRESS 4501
  78. #define HLP_IPV6_ADD_ADDRESS_EX 4502
  79. #define HLP_IPV6_SET_ADDRESS 4503
  80. #define HLP_IPV6_SET_ADDRESS_EX 4504
  81. #define HLP_IPV6_DEL_ADDRESS 4505
  82. #define HLP_IPV6_DEL_ADDRESS_EX 4506
  83. #define HLP_IPV6_SHOW_ADDRESS 4507
  84. #define HLP_IPV6_SHOW_ADDRESS_EX 4508
  85. #define HLP_IPV6_SHOW_SITEPREFIXES 4607
  86. #define HLP_IPV6_SHOW_SITEPREFIXES_EX 4608
  87. #define HLP_IPV6_ADD_V6V4TUNNEL 4701
  88. #define HLP_IPV6_ADD_V6V4TUNNEL_EX 4702
  89. #define HLP_IPV6_DEL_DESTINATIONCACHE 4805
  90. #define HLP_IPV6_DEL_DESTINATIONCACHE_EX 4806
  91. #define HLP_IPV6_SHOW_DESTINATIONCACHE 4807
  92. #define HLP_IPV6_SHOW_DESTINATIONCACHE_EX 4808
  93. #define HLP_IPV6_SET_INTERFACE 4903
  94. #define HLP_IPV6_SET_INTERFACE_EX 4904
  95. #define HLP_IPV6_DEL_INTERFACE 4905
  96. #define HLP_IPV6_DEL_INTERFACE_EX 4906
  97. #define HLP_IPV6_SHOW_INTERFACE 4907
  98. #define HLP_IPV6_SHOW_INTERFACE_EX 4908
  99. #define HLP_IPV6_SET_MOBILITY 5103
  100. #define HLP_IPV6_SET_MOBILITY_EX 5104
  101. #define HLP_IPV6_SHOW_MOBILITY 5107
  102. #define HLP_IPV6_SHOW_MOBILITY_EX 5108
  103. #define HLP_IPV6_SHOW_JOINS 5207
  104. #define HLP_IPV6_SHOW_JOINS_EX 5208
  105. #define HLP_IPV6_RESET 5301
  106. #define HLP_IPV6_RESET_EX 5302
  107. #define MSG_ROUTING_STATE 5001
  108. #define MSG_SITELOCALS_STATE 5002
  109. #define MSG_RESOLUTION_STATE 5003
  110. #define MSG_RELAY_NAME 5004
  111. #define MSG_MINUTES 5005
  112. #define MSG_RESOLUTION_INTERVAL 5006
  113. #define MSG_UNDO_ON_STOP_STATE 5007
  114. #define MSG_STRING 5008
  115. #define MSG_CSTRING 5009
  116. #define MSG_INTERFACE_ROUTING_STATE 5010
  117. #define MSG_IP6TO4_STATE 5011
  118. #define MSG_INTERFACE_HEADER 5012
  119. #define MSG_6OVER4_STATE 5013
  120. // strings from ipv6
  121. #define STRING_LOOPBACK 6001
  122. #define STRING_TUNNEL_AUTO 6002
  123. #define STRING_TUNNEL_6TO4 6003
  124. #define STRING_SYSTEM 6004
  125. #define STRING_MANUAL 6005
  126. #define STRING_AUTOCONF 6006
  127. #define STRING_RIP 6007
  128. #define STRING_OSPF 6008
  129. #define STRING_BGP 6009
  130. #define STRING_IDRP 6010
  131. #define STRING_IGRP 6011
  132. #define STRING_PUBLIC 6012
  133. #define STRING_ANONYMOUS 6013
  134. #define STRING_DHCP 6014
  135. #define STRING_WELLKNOWN 6015
  136. #define STRING_RA 6016
  137. #define STRING_RANDOM 6017
  138. #define STRING_LL_ADDRESS 6018
  139. #define STRING_OTHER 6019
  140. #define STRING_DISCONNECTED 6101
  141. #define STRING_RECONNECTED 6102
  142. #define STRING_CONNECTED 6103
  143. #define STRING_UNKNOWN 6104
  144. #define STRING_INTERFACE 6201
  145. #define STRING_LINK 6202
  146. #define STRING_SUBNET 6203
  147. #define STRING_ADMIN 6204
  148. #define STRING_SITE 6205
  149. #define STRING_ORG 6208
  150. #define STRING_GLOBAL 6214
  151. #define STRING_INVALID 6301
  152. #define STRING_DUPLICATE 6302
  153. #define STRING_TENTATIVE 6303
  154. #define STRING_DEPRECATED 6304
  155. #define STRING_PREFERRED 6305
  156. #define STRING_YES 6401
  157. #define STRING_NO 6402
  158. #define STRING_NEVER 6403
  159. // error messages from ipv6
  160. #define IPV6_MESSAGE_126 10126
  161. #define IPV6_MESSAGE_127 10127
  162. #define IPV6_MESSAGE_128 10128
  163. #define IPV6_MESSAGE_129 10129
  164. // error messages for IfIp
  165. #define EMSG_PROTO_NOT_INSTALLED 11001
  166. #define EMSG_NO_WRITE_LOCK 11002
  167. #define EMSG_REBOOT_NEEDED 11003
  168. #define EMSG_INVALID_ADDRESS 11004
  169. #define EMSG_INVALID_INTERFACE 11044
  170. #define DMP_IPV6_HEADER_COMMENTS 20001
  171. #define DMP_IPV6_FOOTER_COMMENTS 20002
  172. #define MSG_IPV6_TABLE_HDR 50001
  173. #define MSG_IPV6_ENTRY_LONG 50002
  174. #define MSG_IPV6_CREDENTIALS 50003
  175. #define MSG_IPV6_ENTRY_SHORT 50004
  176. #define MSG_IPV6_GLOBAL_PARAMETERS 51005
  177. #define MSG_IPV6_PRIVACY_PARAMETERS 51006
  178. #define MSG_IPV6_PREFIX_POLICY_HDR 51007
  179. #define MSG_IPV6_PREFIX_POLICY 51008
  180. #define MSG_IPV6_SITE_PREFIX_HDR 51009
  181. #define MSG_IPV6_SITE_PREFIX 51010
  182. #define MSG_IPV6_INTERFACE_HDR 51011
  183. #define MSG_IPV6_INTERFACE 51012
  184. #define MSG_IPV6_INTERFACE_VERBOSE 51013
  185. #define MSG_IPV6_MOBILITY_PARAMETERS 51014
  186. #define MSG_IPV6_NEIGHBOR_CACHE_HDR 51015
  187. #define MSG_IPV6_NEIGHBOR_CACHE_ENTRY 51016
  188. #define MSG_IPV6_NEIGHBOR_INCOMPLETE 51017
  189. #define MSG_IPV6_NEIGHBOR_PROBE 51018
  190. #define MSG_IPV6_NEIGHBOR_DELAY 51019
  191. #define MSG_IPV6_NEIGHBOR_STALE 51020
  192. #define MSG_IPV6_NEIGHBOR_REACHABLE 51021
  193. #define MSG_IPV6_NEIGHBOR_PERMANENT 51022
  194. #define MSG_IPV6_NEIGHBOR_UNKNOWN 51023
  195. #define MSG_IPV6_NEIGHBOR_ISROUTER 51024
  196. #define MSG_IPV6_NEIGHBOR_UNREACHABLE 51025
  197. #define MSG_IPV6_INTERFACE_SCOPE 51026
  198. #define MSG_IPV6_ND_ENABLED 51027
  199. #define MSG_IPV6_SENDS_RAS 51029
  200. #define MSG_IPV6_FORWARDS 51030
  201. #define MSG_IPV6_LL_ADDRESS 51031
  202. #define MSG_IPV6_REMOTE_LL_ADDRESS 51032
  203. #define MSG_IPV6_ADDRESS_HDR 51033
  204. #define MSG_IPV6_ADDRESS_HDR_VERBOSE 51034
  205. #define MSG_IPV6_UNICAST_ADDRESS 51035
  206. #define MSG_IPV6_UNICAST_ADDRESS_VERBOSE 51036
  207. #define MSG_IPV6_ANYCAST_ADDRESS 51037
  208. #define MSG_IPV6_ANYCAST_ADDRESS_VERBOSE 51038
  209. #define MSG_IPV6_MULTICAST_ADDRESS_HDR 51039
  210. #define MSG_IPV6_MULTICAST_ADDRESS 51040
  211. #define MSG_IPV6_MULTICAST_ADDRESS_VERBOSE 51041
  212. #define MSG_IPV6_PREFIX_ORIGIN 51042
  213. #define MSG_IPV6_IID_ORIGIN 51043
  214. #define MSG_IPV6_DESTINATION_HDR 51101
  215. #define MSG_IPV6_DESTINATION_ENTRY 51102
  216. #define MSG_IPV6_DESTINATION_NEXTHOP 51103
  217. #define MSG_IPV6_DESTINATION_HDR_VERBOSE 51201
  218. #define MSG_IPV6_DESTINATION_ENTRY_VERBOSE 51202
  219. #define MSG_IPV6_DESTINATION_NEXTHOP_VERBOSE 51203
  220. #define MSG_IPV6_DESTINATION_SOURCE_ADDR 51204
  221. #define MSG_IPV6_IF_SPECIFIC 51205
  222. #define MSG_IPV6_ZONE_SPECIFIC 51206
  223. #define MSG_IPV6_CAREOF 51207
  224. #define MSG_IPV6_PMTU_PROBE_TIME 51208
  225. #define MSG_IPV6_ICMP_ERROR_TIME 51209
  226. #define MSG_IPV6_STALE 51210
  227. #define MSG_IPV6_ROUTE_TABLE_HDR 51305
  228. #define MSG_IPV6_ROUTE_TABLE_ENTRY 51306
  229. #define MSG_IPV6_ROUTE_TABLE_ENTRY_VERBOSE 51307
  230. #define MSG_IPV6_INTEGER 51308
  231. // msgs for ifip
  232. #define MSG_DHCP 50021
  233. #define MSG_STATIC 50022
  234. #define MSG_IPADDR_LIST 50023
  235. #define MSG_IPADDR_LIST1 50024
  236. #define MSG_IP6TO4_HEADER 50025
  237. #define MSG_OPTIONS_LIST 50026
  238. #define MSG_IFMETRIC 50028
  239. #define MSG_GATEWAY 50030
  240. #define MSG_DNS_HDR 50031
  241. #define MSG_DNS_DHCP 50032
  242. #define MSG_WINS_HDR 50033
  243. #define MSG_WINS_DHCP 50034
  244. #define MSG_ADDR1 50035
  245. #define MSG_ADDR2 50036
  246. #define MSG_OPTION 50037
  247. #define MSG_NONE 50038
  248. #define MSG_DEBUG_HDR 50039
  249. #define MSG_DNS_DHCP_HDR 50040
  250. #define MSG_WINS_DHCP_HDR 50041
  251. #define DMP_IP6TO4_HEADER 50051
  252. #define DMP_IP6TO4_FOOTER 50052
  253. #define DMP_IP6TO4_INTERFACE_HEADER 50053
  254. #define MSG_NO_SUCH_IF 60006
  255. #define MSG_IP_NO_ENTRIES 60015
  256. #define MSG_CTRL_C_TO_QUIT 60062
  257. #endif //__STDEFS_H__