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.

135 lines
2.9 KiB

  1. /*++
  2. Module Name:
  3. MenuEnum.h
  4. Abstract:
  5. Contains command ids for the context menus of the Dfs Admin snap-in
  6. and toolbar buttons of the Dfs Admin snap-in
  7. --*/
  8. enum STATIC_MENU_COMMANDS
  9. {
  10. IDM_STATIC_TOP_NEW_DFSROOT = 1,
  11. IDM_STATIC_TOP_CONNECTTO,
  12. IDM_STATIC_MIN = IDM_STATIC_TOP_NEW_DFSROOT,
  13. IDM_STATIC_MAX = IDM_STATIC_TOP_CONNECTTO
  14. };
  15. enum ROOT_MENU_COMMANDS
  16. {
  17. IDM_ROOT_TOP_NEW_DFS_LINK = 1,
  18. IDM_ROOT_TOP_NEW_ROOT_REPLICA,
  19. IDM_ROOT_TOP_CHECK_STATUS,
  20. IDM_ROOT_TOP_FILTER_DFS_LINKS,
  21. IDM_ROOT_TOP_DELETE_CONNECTION_TO_DFS_ROOT,
  22. IDM_ROOT_TOP_DELETE_DFS_ROOT,
  23. IDM_ROOT_TOP_DELETE_DISPLAYED_DFS_LINKS,
  24. IDM_ROOT_TOP_REPLICATION_TOPOLOGY,
  25. IDM_ROOT_TOP_SHOW_REPLICATION,
  26. IDM_ROOT_TOP_HIDE_REPLICATION,
  27. IDM_ROOT_TOP_STOP_REPLICATION,
  28. IDM_ROOT_MIN = IDM_ROOT_TOP_NEW_DFS_LINK,
  29. IDM_ROOT_MAX = IDM_ROOT_TOP_STOP_REPLICATION
  30. };
  31. enum JUNCTION_MENU_COMMANDS
  32. {
  33. IDM_JUNCTION_TOP_NEW_DFS_REPLICA = 1,
  34. IDM_JUNCTION_TOP_CHECK_STATUS,
  35. IDM_JUNCTION_TOP_REMOVE_FROM_DFS,
  36. IDM_JUNCTION_TOP_REPLICATION_TOPOLOGY,
  37. IDM_JUNCTION_TOP_SHOW_REPLICATION,
  38. IDM_JUNCTION_TOP_HIDE_REPLICATION,
  39. IDM_JUNCTION_TOP_STOP_REPLICATION,
  40. IDM_JUNCTION_MIN = IDM_JUNCTION_TOP_NEW_DFS_REPLICA,
  41. IDM_JUNCTION_MAX = IDM_JUNCTION_TOP_STOP_REPLICATION
  42. };
  43. enum REPLICA_MENU_COMMANDS
  44. {
  45. IDM_REPLICA_TOP_OPEN=1,
  46. IDM_REPLICA_TOP_CHECK_STATUS,
  47. IDM_REPLICA_TOP_TAKE_REPLICA_OFFLINE_ONLINE,
  48. IDM_REPLICA_TOP_REMOVE_FROM_DFS,
  49. IDM_REPLICA_TOP_REPLICATE,
  50. IDM_REPLICA_TOP_STOP_REPLICATION,
  51. IDM_REPLICA_MIN = IDM_REPLICA_TOP_OPEN,
  52. IDM_REPLICA_MAX = IDM_REPLICA_TOP_STOP_REPLICATION
  53. };
  54. // Toolbar command for the dfs admin static node
  55. enum ADMIN_TOOLBAR_COMMANDS
  56. {
  57. IDT_ADMIN_NEW_DFSROOT = 1,
  58. IDT_ADMIN_CONNECTTO,
  59. IDT_ADMIN_MIN = IDT_ADMIN_NEW_DFSROOT,
  60. IDT_ADMIN_MAX = IDT_ADMIN_CONNECTTO
  61. };
  62. // Toolbar command for the dfs admin root node
  63. enum ROOT_TOOLBAR_COMMANDS
  64. {
  65. IDT_ROOT_NEW_DFS_LINK = 1,
  66. IDT_ROOT_NEW_ROOT_REPLICA,
  67. IDT_ROOT_CHECK_STATUS,
  68. IDT_ROOT_FILTER_DFS_LINKS,
  69. IDT_ROOT_DELETE_CONNECTION_TO_DFS_ROOT,
  70. IDT_ROOT_DELETE_DFS_ROOT,
  71. IDT_ROOT_DELETE_DISPLAYED_DFS_LINKS,
  72. IDT_ROOT_REPLICATION_TOPOLOGY,
  73. IDT_ROOT_SHOW_REPLICATION,
  74. IDT_ROOT_HIDE_REPLICATION,
  75. IDT_ROOT_STOP_REPLICATION,
  76. IDT_ROOT_MIN = IDT_ROOT_NEW_DFS_LINK,
  77. IDT_ROOT_MAX = IDT_ROOT_STOP_REPLICATION
  78. };
  79. // Toolbar command for the dfs admin junction point(jp) node
  80. enum JP_TOOLBAR_COMMANDS
  81. {
  82. IDT_JP_NEW_DFS_REPLICA = 1,
  83. IDT_JP_CHECK_STATUS,
  84. IDT_JP_REMOVE_FROM_DFS,
  85. IDT_JP_REPLICATION_TOPOLOGY,
  86. IDT_JP_SHOW_REPLICATION,
  87. IDT_JP_HIDE_REPLICATION,
  88. IDT_JP_STOP_REPLICATION,
  89. IDT_JP_MIN = IDT_JP_NEW_DFS_REPLICA,
  90. IDT_JP_MAX = IDT_JP_STOP_REPLICATION
  91. };
  92. // Toolbar command for the dfs admin replica node
  93. enum REPLICA_TOOLBAR_COMMANDS
  94. {
  95. IDT_REPLICA_OPEN=1,
  96. IDT_REPLICA_CHECK_STATUS,
  97. IDT_REPLICA_TAKE_REPLICA_OFFLINE_ONLINE,
  98. IDT_REPLICA_REMOVE_FROM_DFS,
  99. IDT_REPLICA_REPLICATE,
  100. IDT_REPLICA_STOP_REPLICATION,
  101. IDT_REPLICA_MIN = IDT_REPLICA_OPEN,
  102. IDT_REPLICA_MAX = IDT_REPLICA_STOP_REPLICATION
  103. };