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.

288 lines
6.8 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. dhcpmsg.h
  5. Abstract:
  6. Definitions for DHCP messages.
  7. Author:
  8. Manny Weiser 8-Dec-1992
  9. Revision History:
  10. Notes:
  11. This file is generated by the MC tool from the dhcpmsg.mc file.
  12. --*/
  13. #ifndef _DHCPMESSAGE_
  14. #define _DHCPMESSAGE_
  15. //
  16. // 1000 - 1099 Reserved for DHCP client events.
  17. //
  18. //
  19. // Values are 32 bit values layed out as follows:
  20. //
  21. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  22. // 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
  23. // +---+-+-+-----------------------+-------------------------------+
  24. // |Sev|C|R| Facility | Code |
  25. // +---+-+-+-----------------------+-------------------------------+
  26. //
  27. // where
  28. //
  29. // Sev - is the severity code
  30. //
  31. // 00 - Success
  32. // 01 - Informational
  33. // 10 - Warning
  34. // 11 - Error
  35. //
  36. // C - is the Customer code flag
  37. //
  38. // R - is a reserved bit
  39. //
  40. // Facility - is the facility code
  41. //
  42. // Code - is the facility's status code
  43. //
  44. //
  45. // Define the facility codes
  46. //
  47. //
  48. // Define the severity codes
  49. //
  50. //
  51. // MessageId: EVENT_FAILED_TO_INITIALIZE
  52. //
  53. // MessageText:
  54. //
  55. // Failed to initialize the card with network address %1.
  56. //
  57. #define EVENT_FAILED_TO_INITIALIZE 1000L
  58. //
  59. // MessageId: EVENT_LEASE_TERMINATED
  60. //
  61. // MessageText:
  62. //
  63. // DHCP is unable to renew a lease for the card with network address %1.
  64. // The lease for IP address %2 has been terminated.
  65. //
  66. #define EVENT_LEASE_TERMINATED 1001L
  67. //
  68. // MessageId: EVENT_UNKNOWN_DHCP_OPTION
  69. //
  70. // MessageText:
  71. //
  72. // DHCP received an unknown option %1 of length %2. The raw option data is
  73. // given below.
  74. //
  75. #define EVENT_UNKNOWN_DHCP_OPTION 1002L
  76. //
  77. // MessageId: EVENT_FAILED_TO_OBTAIN_LEASE
  78. //
  79. // MessageText:
  80. //
  81. // DHCP failed to obtain a lease for the card with network address %1.
  82. // The following error occurred : %n%2
  83. //
  84. #define EVENT_FAILED_TO_OBTAIN_LEASE 1003L
  85. //
  86. // MessageId: EVENT_NACK_LEASE
  87. //
  88. // MessageText:
  89. //
  90. // DHCP IP address lease %1 for the card with network address %2 has been
  91. // denied.
  92. //
  93. #define EVENT_NACK_LEASE 1004L
  94. //
  95. // MessageId: EVENT_FAILED_TO_RENEW
  96. //
  97. // MessageText:
  98. //
  99. // DHCP failed to renew a lease for the card with network address %1. The
  100. // following error occurred : %n%2
  101. //
  102. #define EVENT_FAILED_TO_RENEW 1005L
  103. //
  104. // MessageId: EVENT_DHCP_SHUTDOWN
  105. //
  106. // MessageText:
  107. //
  108. // DHCP service is shutting down. The following error occurred : %n%1
  109. //
  110. #define EVENT_DHCP_SHUTDOWN 1006L
  111. //
  112. // MessageId: EVENT_FAILED_TO_OBTAIN_LEASE_MULTI_HOME
  113. //
  114. // MessageText:
  115. //
  116. // DHCP failed to obtain a lease for the card with network address %1.
  117. // On multi-homed machine all subsequent adapters will also fail to obtain
  118. // lease. The following error occurred : %n%2
  119. //
  120. #define EVENT_FAILED_TO_OBTAIN_LEASE_MULTI_HOME 1007L
  121. //
  122. // MessageId: EVENT_ADDRESS_CONFLICT
  123. //
  124. // MessageText:
  125. //
  126. // The IP address %1 for the card with network address %2 is already in use
  127. // on the network. The DHCP client will attempt to obtain a new address.
  128. //
  129. #define EVENT_ADDRESS_CONFLICT 1008L
  130. //
  131. // MessageId: EVENT_IPAUTOCONFIGURATION_FAILED
  132. //
  133. // MessageText:
  134. //
  135. // Windows NT was unable to automatically configure the IP parameters for the network interface identified by the physical address %1. The following error occurred during configuration: %2.
  136. //
  137. #define EVENT_IPAUTOCONFIGURATION_FAILED 1009L
  138. //
  139. // MessageId: EVENT_IPAUTOCONFIGURATION_SUCCEEDED
  140. //
  141. // MessageText:
  142. //
  143. // Windows NT was unable to reach a DHCP server, has automatically configured the IP parameters identified by
  144. // the physical address %1. The IP address being used is %2.
  145. //
  146. #define EVENT_IPAUTOCONFIGURATION_SUCCEEDED 1010L
  147. //
  148. // 1100 - 1199 Reserved for User messages
  149. //
  150. //
  151. // MessageId: MESSAGE_FAILED_TO_INITIALIZE
  152. //
  153. // MessageText:
  154. //
  155. // The DHCP client could not obtain an IP address.
  156. //
  157. // If you want to see DHCP messages in the future, choose YES. If you do not want to see DHCP messages choose NO.
  158. //
  159. #define MESSAGE_FAILED_TO_INITIALIZE 1100L
  160. //
  161. // MessageId: MESSAGE_LEASE_TERMINATED
  162. //
  163. // MessageText:
  164. //
  165. // The DHCP client lost the lease of the IP Address %1. The network is brought down.
  166. //
  167. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  168. //
  169. #define MESSAGE_LEASE_TERMINATED 1101L
  170. //
  171. // MessageId: MESSAGE_FAILED_TO_OBTAIN_LEASE
  172. //
  173. // MessageText:
  174. //
  175. // The DHCP client could not obtain an IP address.
  176. //
  177. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  178. //
  179. #define MESSAGE_FAILED_TO_OBTAIN_LEASE 1102L
  180. //
  181. // MessageId: MESSAGE_FAILED_TO_RENEW_LEASE
  182. //
  183. // MessageText:
  184. //
  185. // The DHCP client could not renew the lease of the IP Address %1. Your lease is valid until %2. DHCP will try to renew the lease before it expires.
  186. //
  187. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  188. //
  189. #define MESSAGE_FAILED_TO_RENEW_LEASE 1103L
  190. //
  191. // MessageId: MESSAGE_SUCCESSFUL_LEASE
  192. //
  193. // MessageText:
  194. //
  195. // The DHCP client successfully leased the IP address %1. Your lease is valid until %2.
  196. //
  197. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  198. //
  199. #define MESSAGE_SUCCESSFUL_LEASE 1104L
  200. //
  201. // MessageId: MESSAGE_SUCCESSFUL_RENEW
  202. //
  203. // MessageText:
  204. //
  205. // The DHCP client successfully renewed the IP address %1. Your lease is valid until %2.
  206. //
  207. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  208. //
  209. #define MESSAGE_SUCCESSFUL_RENEW 1105L
  210. //
  211. // MessageId: MESSAGE_POPUP_TITLE
  212. //
  213. // MessageText:
  214. //
  215. // DHCP Client%0
  216. //
  217. #define MESSAGE_POPUP_TITLE 1106L
  218. //
  219. // MessageId: MESSAGE_ADDRESS_CONFLICT
  220. //
  221. // MessageText:
  222. //
  223. // The DHCP client obtained an IP address that is already in use on the network. The local
  224. // interface will be disabled until the DHCP client can obtain a valid address.
  225. //
  226. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  227. //
  228. #define MESSAGE_ADDRESS_CONFLICT 1107L
  229. //
  230. // MessageId: MESSAGE_IPAUTOCONFIGURATION_FAILED
  231. //
  232. // MessageText:
  233. //
  234. // Windows NT was unable to automatically configure the IP parameters for one or more network interfaces.
  235. //
  236. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  237. //
  238. #define MESSAGE_IPAUTOCONFIGURATION_FAILED 1108L
  239. //
  240. // MessageId: MESSAGE_IPAUTOCONFIGURATION_SUCCEEDED
  241. //
  242. // MessageText:
  243. //
  244. // Windows NT was unable to reach a DHCP server, and has automatically configured the IP address %1.
  245. // DHCP would automatically try to reach a DHCP server in the background.
  246. //
  247. // If you want to see DHCP messages in the future, choose YES. Otherwise choose NO.
  248. //
  249. #define MESSAGE_IPAUTOCONFIGURATION_SUCCEEDED 1109L
  250. #endif // _DHCPMESSAGE_