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.

120 lines
3.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998 - 2001
  5. //
  6. // File : hnmstring.h
  7. //
  8. // Contents :
  9. //
  10. // Notes :
  11. //
  12. // Author : Raghu Gatta (rgatta) 10 May 2001
  13. //
  14. //----------------------------------------------------------------------------
  15. #define MSG_HELP_START L"%1!-14s! - "
  16. #define MSG_NEWLINE _T("\n")
  17. //
  18. // The following are context names.
  19. //
  20. #define TOKEN_BRIDGE _T("bridge")
  21. // tokens for commands
  22. #define TOKEN_COMMAND_ADD _T("add")
  23. #define TOKEN_COMMAND_DELETE _T("delete")
  24. #define TOKEN_COMMAND_SET _T("set")
  25. #define TOKEN_COMMAND_SHOW _T("show")
  26. #define TOKEN_COMMAND_HELP _T("help")
  27. #define TOKEN_COMMAND_INSTALL _T("install")
  28. #define TOKEN_COMMAND_UNINSTALL _T("uninstall")
  29. #define TOKEN_COMMAND_HELP1 _T("/?")
  30. #define TOKEN_COMMAND_HELP2 _T("-?")
  31. // Bridge Adapter Options
  32. #define TOKEN_OPT_ID _T("id")
  33. #define TOKEN_OPT_FCMODE _T("forcecompatmode")
  34. // Bridge Adapter flag modes
  35. // Misc. option vlues
  36. #define TOKEN_OPT_VALUE_INPUT _T("INPUT")
  37. #define TOKEN_OPT_VALUE_OUTPUT _T("OUTPUT")
  38. #define TOKEN_OPT_VALUE_ENABLE _T("enable")
  39. #define TOKEN_OPT_VALUE_DISABLE _T("disable")
  40. #define TOKEN_OPT_VALUE_DEFAULT _T("default")
  41. #define TOKEN_OPT_VALUE_FULL _T("FULL")
  42. #define TOKEN_OPT_VALUE_YES _T("YES")
  43. #define TOKEN_OPT_VALUE_NO _T("NO")
  44. #define TOKEN_HLPER_BRIDGE _T("bridge")
  45. // Commands for configuring the various protocols
  46. // tokens for commands required by most protocols
  47. #define CMD_GROUP_ADD _T("add")
  48. #define CMD_GROUP_DELETE _T("delete")
  49. #define CMD_GROUP_SET _T("set")
  50. #define CMD_GROUP_SHOW _T("show")
  51. #define CMD_SHOW_HELPER _T("show helper")
  52. #define CMD_INSTALL _T("install")
  53. #define CMD_UNINSTALL _T("uninstall")
  54. #define CMD_DUMP _T("dump")
  55. #define CMD_HELP1 _T("help")
  56. #define CMD_HELP2 _T("?")
  57. #define CMD_ADD_HELPER _T("add helper")
  58. #define CMD_DEL_HELPER _T("delete helper")
  59. // Bridge commands
  60. // Bridge add commands
  61. #define CMD_BRIDGE_ADD_ADAPTER _T("adapter")
  62. // Bridge delete commands
  63. #define CMD_BRIDGE_DEL_ADAPTER _T("adapter")
  64. // Bridge set commands
  65. #define CMD_BRIDGE_SET_ADAPTER _T("adapter")
  66. // Bridge show commands
  67. #define CMD_BRIDGE_SHOW_ADAPTER _T("adapter")
  68. // Common dump commands
  69. #define DMP_POPD L"\n\npopd\n"
  70. #define DMP_UNINSTALL L"uninstall\n"
  71. // Bridge dump commands
  72. #define DMP_BRIDGE_PUSHD L"\
  73. pushd bridge\n"
  74. #define DMP_BRIDGE_INSTALL _T("\
  75. install\n")
  76. #define DMP_BRIDGE_UNINSTALL _T("\
  77. uninstall\n")
  78. #define DMP_BRIDGE_DELETE_ADAPTER _T("\
  79. delete adapter name=%1!s! \n")
  80. #define DMP_BRIDGE_ADD_ADAPTER _T("\
  81. add adapter name=%1!s! \n")
  82. #define DMP_BRIDGE_SET_ADAPTER _T("\
  83. set adapter name=%1!s!\
  84. forcecompatmode=%2!d!\n")
  85. // Other strings