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.

222 lines
7.2 KiB

  1. //============================================================================
  2. // Copyright (c) 1996, Microsoft Corporation
  3. //
  4. // File: log.h
  5. //
  6. // History:
  7. // Abolade Gbadegesin Jan-12-1996 Created.
  8. //
  9. // This file is processed by mapmsg to produce a .mc file,
  10. // then the .mc file is compiled by the message compiler,
  11. // and the resulting binary is included in IPBOOTP's resource file.
  12. //
  13. // Don't change the comments following the manifest constants
  14. // without understanding how mapmsg works.
  15. //============================================================================
  16. #define IPBOOTPLOG_BASE 30000
  17. #define IPBOOTPLOG_INIT_CRITSEC_FAILED (IPBOOTPLOG_BASE + 1)
  18. /*
  19. * IPBOOTP was unable to initialize a critical section.
  20. * The data is the exception code.
  21. */
  22. #define IPBOOTPLOG_HEAP_CREATE_FAILED (IPBOOTPLOG_BASE + 2)
  23. /*
  24. * IPBOOTP was unable to create a heap for memory allocation.
  25. * The data is the error code.
  26. */
  27. #define IPBOOTPLOG_HEAP_ALLOC_FAILED (IPBOOTPLOG_BASE + 3)
  28. /*
  29. * IPBOOTP was unable to allocate memory from its heap.
  30. * The data is the error code.
  31. */
  32. #define IPBOOTPLOG_ALREADY_STARTED (IPBOOTPLOG_BASE + 4)
  33. /*
  34. * IPBOOTP was called to start when it was already running.
  35. */
  36. #define IPBOOTPLOG_INIT_WINSOCK_FAILED (IPBOOTPLOG_BASE + 5)
  37. /*
  38. * IPBOOTP was unable to initialize Windows Sockets.
  39. * The data is the error code.
  40. */
  41. #define IPBOOTPLOG_CREATE_RWL_FAILED (IPBOOTPLOG_BASE + 6)
  42. /*
  43. * IPBOOTP was unable to create a synchronization object.
  44. * The data is the exception code.
  45. */
  46. #define IPBOOTPLOG_CREATE_IF_TABLE_FAILED (IPBOOTPLOG_BASE + 7)
  47. /*
  48. * IPBOOTP was unable to create a table to hold interface information.
  49. * The data is the error code.
  50. */
  51. #define IPBOOTPLOG_CREATE_SEMAPHORE_FAILED (IPBOOTPLOG_BASE + 8)
  52. /*
  53. * IPBOOTP was unable to create a semaphore.
  54. * The data is the error code.
  55. */
  56. #define IPBOOTPLOG_CREATE_EVENT_FAILED (IPBOOTPLOG_BASE + 9)
  57. /*
  58. * IPBOOTP was unable to create an event.
  59. * The data is the error code.
  60. */
  61. #define IPBOOTPLOG_CREATE_TIMER_QUEUE_FAILED (IPBOOTPLOG_BASE + 10)
  62. /*
  63. * IPBOOTP was unable to create a timer queue using CreateTimerQueue.
  64. * The data is the error code.
  65. */
  66. #define IPBOOTPLOG_STARTED (IPBOOTPLOG_BASE + 11)
  67. /*
  68. * IPBOOTP started successfully.
  69. */
  70. #define IPBOOTPLOG_STOPPED (IPBOOTPLOG_BASE + 12)
  71. /*
  72. * IPBOOTP has stopped.
  73. */
  74. #define IPBOOTPLOG_BIND_IF_FAILED (IPBOOTPLOG_BASE + 13)
  75. /*
  76. * IPBOOTP was unable to bind to IP address %1.
  77. * Please make sure TCP/IP is installed and configured correctly.
  78. * The data is the error code.
  79. */
  80. #define IPBOOTPLOG_ACTIVATE_IF_FAILED (IPBOOTPLOG_BASE + 14)
  81. /*
  82. * IPBOOTP was unable to activate the interface with IP address %1.
  83. * The data is the error code.
  84. */
  85. #define IPBOOTPLOG_EVENTSELECT_FAILED (IPBOOTPLOG_BASE + 15)
  86. /*
  87. * IPBOOTP was unable to request notification of events
  88. * on the socket for the local interface with IP address %1.
  89. * The data is the error code.
  90. */
  91. #define IPBOOTPLOG_HOP_COUNT_TOO_HIGH (IPBOOTPLOG_BASE + 16)
  92. /*
  93. * IPBOOTP has discarded a packet received on the local interface
  94. * with IP address %1. The packet had a hop-count of %2, which is
  95. * greater than the maximum value allowed in packets received for
  96. * this interface.
  97. * The hop-count field in a DHCP REQUEST packet indicates how many times
  98. * the packet has been forwarded from one relay-agent to another.
  99. */
  100. #define IPBOOTPLOG_SECS_SINCE_BOOT_TOO_LOW (IPBOOTPLOG_BASE + 17)
  101. /*
  102. * IPBOOTP has discarded a packet received on the local interface
  103. * with IP address %1. The packet had a seconds-since-boot of %2,
  104. * which is less than the minimum value needed for packets to be
  105. * forwarded on this interface.
  106. * The seconds-since-boot field in a DHCP REQUEST packet indicates
  107. * how long the DHCP client machine which sent the packet has been
  108. * trying to obtain an IP address.
  109. */
  110. #define IPBOOTPLOG_RELAY_REQUEST_FAILED (IPBOOTPLOG_BASE + 18)
  111. /*
  112. * IPBOOTP was unable to relay a DHCP REQUEST packet on the local interface
  113. * with IP address %1; the REQUEST was to have been relayed to
  114. * the DHCP server with IP address %2.
  115. * The data is the error code.
  116. */
  117. #define IPBOOTPLOG_RELAY_REPLY_FAILED (IPBOOTPLOG_BASE + 19)
  118. /*
  119. * IPBOOTP was unable to relay a DHCP REPLY packet on the local interface
  120. * with IP address %1; the REPLY was to have been relayed to
  121. * the DHCP client with hardware address %2.
  122. * The data is the error code.
  123. */
  124. #define IPBOOTPLOG_ENUM_NETWORK_EVENTS_FAILED (IPBOOTPLOG_BASE + 20)
  125. /*
  126. * IPBOOTP was unable to enumerate network events on the local interface
  127. * with IP address %1.
  128. * The data is the error code.
  129. */
  130. #define IPBOOTPLOG_INPUT_RECORD_ERROR (IPBOOTPLOG_BASE + 21)
  131. /*
  132. * IPBOOTP detected an error on the local interface with IP address %1.
  133. * The error occurred while the interface was receiving packets.
  134. * The data is the error code.
  135. */
  136. #define IPBOOTPLOG_RECVFROM_FAILED (IPBOOTPLOG_BASE + 22)
  137. /*
  138. * IPBOOTP was unable to receive an incoming message on the local interface
  139. * with IP address %1.
  140. * The data is the error code.
  141. */
  142. #define IPBOOTPLOG_PACKET_TOO_SMALL (IPBOOTPLOG_BASE + 23)
  143. /*
  144. * IPBOOTP received a packet which was smaller than the minimum size
  145. * allowed for DHCP packets. The packet has been discarded.
  146. * It was received on the local interface with IP address %1,
  147. * and it came from a machine with IP address %2.
  148. */
  149. #define IPBOOTPLOG_PACKET_OPCODE_INVALID (IPBOOTPLOG_BASE + 24)
  150. /*
  151. * IPBOOTP received a packet containing an invalid op-code.
  152. * The packet has been discarded. It was received on the local interface
  153. * with IP address %1, and it came from a machine with IP address %2.
  154. */
  155. #define IPBOOTPLOG_QUEUE_PACKET_FAILED (IPBOOTPLOG_BASE + 25)
  156. /*
  157. * IPBOOTP could not schedule the processing of a packet received
  158. * on the local interface with IP address %1. The packet was received
  159. * from a machine with IP address %2.
  160. * This error may have been caused by a memory allocation failure.
  161. * The data is the error code.
  162. */
  163. #define IPBOOTPLOG_QUEUE_WORKER_FAILED (IPBOOTPLOG_BASE + 26)
  164. /*
  165. * IPBOOTP could not schedule a task to be executed.
  166. * This error may have been caused by a memory allocation failure.
  167. * The data is the error code.
  168. */
  169. #define IPBOOTPLOG_CREATE_SOCKET_FAILED (IPBOOTPLOG_BASE + 27)
  170. /*
  171. * IPBOOTP could not create a socket for the local interface
  172. * with IP address %1.
  173. * The data is the error code.
  174. */
  175. #define IPBOOTPLOG_ENABLE_BROADCAST_FAILED (IPBOOTPLOG_BASE + 28)
  176. /*
  177. * IPBOOTP could not enable broadcasting on the socket for
  178. * the local interface with IP address %1.
  179. * The data is the error code.
  180. */
  181. #define IPBOOTPLOG_REGISTER_WAIT_FAILED (IPBOOTPLOG_BASE + 29)
  182. /*
  183. * IPBOOTP was unable to register an event with the ntdll wait threads.
  184. * The data is the error code.
  185. */
  186. #define IPBOOTPLOG_INVALID_IF_CONFIG (IPBOOTPLOG_BASE + 30)
  187. /*
  188. * IPBOOTP could not be configured on the interface.
  189. * The invalid parameter is: %1, value: %2
  190. */