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.

139 lines
3.7 KiB

  1. //============================================================================
  2. // Copyright (c) 1997 - 98, Microsoft Corporation
  3. //
  4. // File: rtmlog.h
  5. //
  6. // History:
  7. // Chaitanya Kodeboyina Jun-1-1998 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 RTM's resource file.
  12. //
  13. // Don't change the comments following the manifest constants
  14. // without understanding how mapmsg works.
  15. //============================================================================
  16. #define RTMLOG_BASE 30000
  17. #define RTMLOG_INIT_CRITSEC_FAILED (RTMLOG_BASE + 1)
  18. /*
  19. * RTM was unable to initialize a critical section.
  20. * The data is the exception code.
  21. */
  22. #define RTMLOG_HEAP_CREATE_FAILED (RTMLOG_BASE + 2)
  23. /*
  24. * RTM was unable to create a heap.
  25. * The data is the error code.
  26. */
  27. #define RTMLOG_HEAP_ALLOC_FAILED (RTMLOG_BASE + 3)
  28. /*
  29. * RTM was unable to allocate memory from its heap.
  30. * The data is the error code.
  31. */
  32. #define RTMLOG_RTM_ALREADY_STARTED (RTMLOG_BASE + 4)
  33. /*
  34. * RTM received a start request when it was already running.
  35. */
  36. #define RTMLOG_CREATE_RWL_FAILED (RTMLOG_BASE + 5)
  37. /*
  38. * RTM was unable to create a synchronization object.
  39. * The data is the error code.
  40. */
  41. #define RTMLOG_CREATE_EVENT_FAILED (RTMLOG_BASE + 6)
  42. /*
  43. * RTM was unable to create an event.
  44. * The data is the error code.
  45. */
  46. #define RTMLOG_CREATE_SEMAPHORE_FAILED (RTMLOG_BASE + 7)
  47. /*
  48. * RTM was unable to create a semaphore.
  49. * The data is the error code.
  50. */
  51. #define RTMLOG_RTM_STARTED (RTMLOG_BASE + 8)
  52. /*
  53. * RTM has started successfully.
  54. */
  55. #define RTMLOG_QUEUE_WORKER_FAILED (RTMLOG_BASE + 9)
  56. /*
  57. * RTM 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 RTMLOG_PROTOCOL_NOT_FOUND (RTMLOG_BASE + 10)
  62. /*
  63. * RTM could not find the protocol component (%1, %2)
  64. */
  65. #define RTMLOG_PROTOCOL_ALREADY_PRESENT (RTMLOG_BASE + 11)
  66. /*
  67. * Protocol component has already registered with RTM
  68. */
  69. #define RTMLOG_CREATE_PROTOCOL_FAILED (RTMLOG_BASE + 12)
  70. /*
  71. * RTM failed to register the protocol component.
  72. * The data is in the error code.
  73. */
  74. #define RTMLOG_INTERFACES_PRESENT (RTMLOG_BASE + 13)
  75. /*
  76. * The protocol component that is attempting to deregister is currently
  77. * enabled on one or more interfaces.
  78. */
  79. #define RTMLOG_IF_ALREADY_PRESENT (RTMLOG_BASE + 14)
  80. /*
  81. * This protocol component has already been enabled on this interface
  82. */
  83. #define RTMLOG_IF_NOT_FOUND (RTMLOG_BASE + 15)
  84. /*
  85. * Specified interface was not present in MGM.
  86. */
  87. #define RTMLOG_IF_DIFFERENT_OWNER (RTMLOG_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 RTMLOG_IF_IGMP_NOT_PRESENT (RTMLOG_BASE + 17)
  94. /*
  95. * IGMP is not enabled on this interface
  96. */
  97. #define RTMLOG_IF_PROTOCOL_NOT_PRESENT (RTMLOG_BASE + 18)
  98. /*
  99. * No routing protocol has been enabled on this interface
  100. */
  101. #define RTMLOG_INVALID_HANDLE (RTMLOG_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 RTM
  105. */
  106. #define RTMLOG_IF_IGMP_PRESENT (RTMLOG_BASE + 17)
  107. /*
  108. * Interface cannot be deleted because IGMP is still active on
  109. * this interface.
  110. */
  111. #define RTMLOG_RTM_STOPPED (RTMLOG_BASE + 99)
  112. /*
  113. * RTM has stopped.
  114. */