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.

151 lines
4.2 KiB

  1. //============================================================================
  2. // Copyright (c) 1996, Microsoft Corporation
  3. //
  4. // File: log.h
  5. //
  6. // History:
  7. // V Raman Aug-18-1997 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 IPMGM's resource file.
  12. //
  13. // Don't change the comments following the manifest constants
  14. // without understanding how mapmsg works.
  15. //============================================================================
  16. #define IPMGMLOG_BASE 50000
  17. #define IPMGMLOG_INIT_CRITSEC_FAILED (IPMGMLOG_BASE + 1)
  18. /*
  19. * IPMGM was unable to initialize a critical section.
  20. * The data is the exception code.
  21. */
  22. #define IPMGMLOG_HEAP_CREATE_FAILED (IPMGMLOG_BASE + 2)
  23. /*
  24. * IPMGM was unable to create a heap.
  25. * The data is the error code.
  26. */
  27. #define IPMGMLOG_HEAP_ALLOC_FAILED (IPMGMLOG_BASE + 3)
  28. /*
  29. * IPMGM was unable to allocate memory from its heap.
  30. * The data is the error code.
  31. */
  32. #define IPMGMLOG_IPMGM_ALREADY_STARTED (IPMGMLOG_BASE + 4)
  33. /*
  34. * IPMGM received a start request when it was already running.
  35. */
  36. #define IPMGMLOG_CREATE_RWL_FAILED (IPMGMLOG_BASE + 5)
  37. /*
  38. * IPMGM was unable to create a synchronization object.
  39. * The data is the error code.
  40. */
  41. #define IPMGMLOG_CREATE_EVENT_FAILED (IPMGMLOG_BASE + 6)
  42. /*
  43. * IPMGM was unable to create an event.
  44. * The data is the error code.
  45. */
  46. #define IPMGMLOG_CREATE_SEMAPHORE_FAILED (IPMGMLOG_BASE + 7)
  47. /*
  48. * IPMGM was unable to create a semaphore.
  49. * The data is the error code.
  50. */
  51. #define IPMGMLOG_IPMGM_STARTED (IPMGMLOG_BASE + 8)
  52. /*
  53. * IPMGM has started successfully.
  54. */
  55. #define IPMGMLOG_QUEUE_WORKER_FAILED (IPMGMLOG_BASE + 9)
  56. /*
  57. * IPMGM could not schedule a task to be executed.
  58. * This may have been caused by a memory allocation failure.
  59. * The data is the error code.
  60. */
  61. #define IPMGMLOG_PROTOCOL_NOT_FOUND (IPMGMLOG_BASE + 10)
  62. /*
  63. * IPMGM could not find the protocol component (%1, %2)
  64. */
  65. #define IPMGMLOG_PROTOCOL_ALREADY_PRESENT (IPMGMLOG_BASE + 11)
  66. /*
  67. * Protocol component has already registered with IPMGM
  68. */
  69. #define IPMGMLOG_CREATE_PROTOCOL_FAILED (IPMGMLOG_BASE + 12)
  70. /*
  71. * IPMGM failed to register the protocol component.
  72. * The data is in the error code.
  73. */
  74. #define IPMGMLOG_INTERFACES_PRESENT (IPMGMLOG_BASE + 13)
  75. /*
  76. * The protocol component that is attempting to deregister is currently
  77. * enabled on one or more interfaces.
  78. */
  79. #define IPMGMLOG_IF_ALREADY_PRESENT (IPMGMLOG_BASE + 14)
  80. /*
  81. * This protocol component has already been enabled on this interface
  82. */
  83. #define IPMGMLOG_IF_NOT_FOUND (IPMGMLOG_BASE + 15)
  84. /*
  85. * Specified interface was not present in MGM.
  86. */
  87. #define IPMGMLOG_IF_DIFFERENT_OWNER (IPMGMLOG_BASE + 16)
  88. /*
  89. * Another routing protocol component has already been enabled on
  90. * this interface. Only one routing protocol component may be
  91. * enabled on an interface at any time.
  92. */
  93. #define IPMGMLOG_IF_IGMP_NOT_PRESENT (IPMGMLOG_BASE + 17)
  94. /*
  95. * IGMP is not enabled on this interface
  96. */
  97. #define IPMGMLOG_IF_PROTOCOL_NOT_PRESENT (IPMGMLOG_BASE + 18)
  98. /*
  99. * No routing protocol has been enabled on this interface
  100. */
  101. #define IPMGMLOG_INVALID_PROTOCOL_HANDLE (IPMGMLOG_BASE + 19)
  102. /*
  103. * The handle specified by the protocol component is not valid. This
  104. * maybe because the protocol component is not registered with IPMGM
  105. */
  106. #define IPMGMLOG_IF_IGMP_PRESENT (IPMGMLOG_BASE + 20)
  107. /*
  108. * Interface cannot be deleted because IGMP is still active on
  109. * this interface.
  110. */
  111. #define IPMGMLOG_INVALID_TIMER_HANDLE (IPMGMLOG_BASE + 21)
  112. /*
  113. * Failed to set timer for forwarding entry.
  114. * The error code is in the data.
  115. */
  116. #define IPMGMLOG_RTM_REGISTER_FAILED (IPMGMLOG_BASE + 22)
  117. /*
  118. * Failed to register with RTM.
  119. * The error code is in the data.
  120. */
  121. #define IPMGMLOG_IPMGM_STOPPED (IPMGMLOG_BASE + 99)
  122. /*
  123. * IPMGM has stopped.
  124. */