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.

404 lines
10 KiB

  1. /*++
  2. Copyright (c) 1999, Microsoft Corporation
  3. Module Name:
  4. sample\ipsamplemn.rc
  5. Abstract:
  6. The file contains ip sample's netsh extension's resources.
  7. --*/
  8. #include "strdefs.h"
  9. STRINGTABLE
  10. {
  11. HLP_INSTALL, "\
  12. Installs this ip routing protocol under IP.\
  13. \n"
  14. HLP_INSTALL_EX, "\
  15. \nUsage: %1!s!\
  16. \n\
  17. \nParameters:\
  18. \n None.\
  19. \n\
  20. \nRemarks: Installs this routing protocol under IP.\
  21. \n"
  22. HLP_UNINSTALL, "\
  23. Removes this IP routing protocol.\
  24. \n"
  25. HLP_UNINSTALL_EX, "\
  26. \nUsage: %1!s!\
  27. \n\
  28. \nParameters:\
  29. \n None.\
  30. \n\
  31. \nRemarks: Removes this IP routing protocol.\
  32. \n"
  33. HLP_HELP, "\
  34. Displays help.\
  35. \n"
  36. HLP_HELP_EX, "\
  37. \nUsage: %1!s!\
  38. \n\
  39. \nParameters:\
  40. \n None\
  41. \n\
  42. \nRemarks: Displays help.\
  43. \n"
  44. HLP_DUMP, "\
  45. Outputs a configuration script.\
  46. \n"
  47. HLP_DUMP_EX, "\
  48. \nUsage: %1!s!\
  49. \n\
  50. \nParameters:\
  51. \n None\
  52. \n\
  53. \nRemarks: Dumps the configuration for the current context and subcontexts.\
  54. \n To save the dumped configuration redirect the output to a file.\
  55. \n"
  56. HLP_GROUP_ADD, "\
  57. Adds a configuration entry to a table.\
  58. \n"
  59. HLP_GROUP_DELETE, "\
  60. Deletes a configuration entry from a table.\
  61. \n"
  62. HLP_GROUP_SET, "\
  63. Sets configuration information.\
  64. \n"
  65. HLP_GROUP_SHOW, "\
  66. Displays configuration information.\
  67. \n"
  68. HLP_SAMPLE_ADD_IF, "\
  69. Configure SAMPLE on the specified interface.\
  70. \n"
  71. HLP_SAMPLE_ADD_IF_EX, "\
  72. \nUsage: %1!s! [name=]<string> [[metric=]<ulong>]\
  73. \n\
  74. \nParameters:\
  75. \n Tag Value\
  76. \n name - Name of the interface.\
  77. \n metric - Metric associated with the interface. (default: 0)\
  78. \n\
  79. \nRemarks: Configures SAMPLE on the specified interface.\
  80. \n\
  81. \nExamples:\
  82. \n %1!s! name=""Local Area Connection"" metric=10\
  83. \n"
  84. HLP_SAMPLE_DEL_IF, "\
  85. Remove SAMPLE from the specified interface.\
  86. \n"
  87. HLP_SAMPLE_DEL_IF_EX, "\
  88. \nUsage: %1!s! [name=]<string>\
  89. \n\
  90. \nParameters:\
  91. \n Tag Value\
  92. \n name - Name of the interface.\
  93. \n\
  94. \nRemarks: Removes SAMPLE from the specified interface.\
  95. \n\
  96. \nExamples:\
  97. \n %1!s! name=""Local Area Connection""\
  98. \n"
  99. HLP_SAMPLE_SET_GLOBAL, "\
  100. Sets SAMPLE global configuration parameters.\
  101. \n"
  102. HLP_SAMPLE_SET_GLOBAL_EX, "\
  103. \nUsage: %1!s! [[loglevel=]none|error|warn|info]\
  104. \n\
  105. \nParameters:\
  106. \n Tag Value\
  107. \n loglevel - Level at which messages are logged. (default: info)\
  108. \n\
  109. \nRemarks: Sets SAMPLE global configuration parameters.\
  110. \n\
  111. \nExamples:\
  112. \n %1!s! loglevel=none\
  113. \n"
  114. HLP_SAMPLE_SET_IF, "\
  115. Sets SAMPLE configuration parameters for the interface.\
  116. \n"
  117. HLP_SAMPLE_SET_IF_EX, "\
  118. \nUsage: %1!s! [name=]<string> [[metric=]<ulong>]\
  119. \n\
  120. \nParameters:\
  121. \n Tag Value\
  122. \n name - Name of the interface.\
  123. \n metric - Metric associated with the interface. (default: 0)\
  124. \n\
  125. \nRemarks: Sets SAMPLE configuration parameters for the interface.\
  126. \n\
  127. \nExamples:\
  128. \n %1!s! name=""Local Area Connection"" metric=10\
  129. \n"
  130. HLP_SAMPLE_SHOW_GLOBAL, "\
  131. Show SAMPLE global configuration parameters.\
  132. \n"
  133. HLP_SAMPLE_SHOW_GLOBAL_EX, "\
  134. \nUsage: %1!s!\
  135. \n\
  136. \nParameters:\
  137. \n None.\
  138. \n\
  139. \nRemarks: Shows SAMPLE global configuration parameters.\
  140. \n\
  141. \nExamples:\
  142. \n %1!s!\
  143. \n"
  144. HLP_SAMPLE_SHOW_IF, "\
  145. Show SAMPLE configuration parameters for the interface.\
  146. \n"
  147. HLP_SAMPLE_SHOW_IF_EX, "\
  148. \nUsage: %1!s! [[name=]<string>]\
  149. \n\
  150. \nParameters:\
  151. \n Tag Value\
  152. \n name - Name of the interface. (default: all interfaces)\
  153. \n\
  154. \nRemarks: Shows SAMPLE configuration parameters for the interface.\
  155. \n\
  156. \nExamples:\
  157. \n %1!s! name=""Local Area Connection""\
  158. \n"
  159. HLP_SAMPLE_MIB_SHOW_STATS, "\
  160. Show SAMPLE global statistics.\
  161. \n"
  162. HLP_SAMPLE_MIB_SHOW_STATS_EX, "\
  163. \nUsage: %1!s! [[rr=]<seconds>]\
  164. \n\
  165. \nParameters:\
  166. \n Tag Value\
  167. \n rr Display refresh rate. (default: no refresh)\
  168. \n\
  169. \nRemarks: Shows SAMPLE global statistics.\
  170. \n\
  171. \nExamples:\
  172. \n %1!s! rr=5\
  173. \n"
  174. HLP_SAMPLE_MIB_SHOW_IFSTATS, "\
  175. Show SAMPLE statistics for the interface.\
  176. \n"
  177. HLP_SAMPLE_MIB_SHOW_IFSTATS_EX, "\
  178. \nUsage: %1!s! [[index=]<ulong>] [[rr=]<seconds>]\
  179. \n\
  180. \nParameters:\
  181. \n Tag Value\
  182. \n index - Index/Name of the interface. (default: all interfaces)\
  183. \n rr - Display refresh rate. (default: no refresh)\
  184. \n\
  185. \nRemarks: Shows SAMPLE statistics for the interface.\
  186. \n\
  187. \nExamples:\
  188. \n %1!s! index=1 rr=5\
  189. \n"
  190. HLP_SAMPLE_MIB_SHOW_IFBINDING "\
  191. Show SAMPLE address bindings for the interface.\
  192. \n"
  193. HLP_SAMPLE_MIB_SHOW_IFBINDING_EX "\
  194. \nUsage: %1!s! [[index=]<ulong>] [[rr=]<seconds>]\
  195. \n\
  196. \nParameters:\
  197. \n Tag Value\
  198. \n index - Index/Name of the interface. (default: all interfaces)\
  199. \n rr - Display refresh rate. (default: no refresh)\
  200. \n\
  201. \nRemarks: Show SAMPLE address bindings for the interface.\
  202. \n\
  203. \nExamples:\
  204. \n %1!s! index=""Local Area Connection"" rr=5\
  205. \n"
  206. DMP_SAMPLE_HEADER, "\
  207. \n# ----------------------------------------------------------\
  208. \n# Begin SAMPLE configuration\
  209. \n# ----------------------------------------------------------\
  210. \n"
  211. DMP_SAMPLE_FOOTER, "\
  212. \n# End SAMPLE configuration\
  213. \n# ----------------------------------------------------------\
  214. \n"
  215. DMP_SAMPLE_INTERFACE_HEADER, "\
  216. \n# Sample configuration for interface %1!s!\
  217. \n"
  218. MSG_SAMPLE_GLOBAL_CONFIG, "\
  219. \nSAMPLE Global Configuration\
  220. \nLogging Level : %1!s!\
  221. \n"
  222. MSG_SAMPLE_IF_CONFIG, "\
  223. \nSAMPLE Interface Configuration for : %1!s!\
  224. \nMetric : %2!u!\
  225. \n"
  226. MSG_SAMPLE_IF_CONFIG_HEADER, "\
  227. \nMetric\tInterfaceName\
  228. \n------------------------------------------------------------\
  229. \n"
  230. MSG_SAMPLE_IF_CONFIG_ENTRY, "%2!u!\t%1!s!\n"
  231. MSG_SAMPLE_MIB_GS, "\
  232. \nSAMPLE Global Statistics\
  233. \nCount of Interfaces Added : %1!u!\
  234. \n"
  235. MSG_SAMPLE_MIB_IFSTATS, "\
  236. \nSAMPLE Interface Statistics for : %1!s!\
  237. \nCount of Packets Sent : %2!u!\
  238. \n"
  239. MSG_SAMPLE_MIB_IFSTATS_HEADER, "\
  240. \nSent\tInterfaceName\
  241. \n------------------------------------------------------------\
  242. \n"
  243. MSG_SAMPLE_MIB_IFSTATS_ENTRY, "%2!u!\t%1!s!\n"
  244. MSG_SAMPLE_MIB_IFBINDING, "\
  245. \nSAMPLE Interface Binding for : %1!s!\
  246. \nState : %2!s!\t%3!s!\
  247. \nIP Address\tNet Mask\
  248. \n"
  249. MSG_SAMPLE_MIB_IFBINDING_ADDR, "%1!s!\t%2!s!\n"
  250. MSG_SAMPLE_MIB_IFBINDING_HEADER, "\
  251. \nBound\tActive\t\tInterfaceName\
  252. \n------------------------------------------------------------\
  253. \n"
  254. MSG_SAMPLE_MIB_IFBINDING_ENTRY, "\n%2!s!\t%3!s!\t%1!s!\n"
  255. STRING_PROTO_SAMPLE, "SAMPLE"
  256. STRING_LOGGING_NONE, "None"
  257. STRING_LOGGING_ERROR, "Errors Only"
  258. STRING_LOGGING_WARN, "Errors and Warnings"
  259. STRING_LOGGING_INFO, "Verbose"
  260. STRING_UNKNOWN, "Unknown"
  261. STRING_BOUND, "Bound"
  262. STRING_ACTIVE, "Active\t"
  263. STRING_UNBOUND, "Unbound"
  264. STRING_INACTIVE, "Inactive"
  265. EMSG_PROTO_NO_GLOBAL_CONFIG, "\
  266. No information found for the specified protocol."
  267. EMSG_PROTO_NO_IF_CONFIG, "\
  268. No information found for the protocol on the specified interface."
  269. EMSG_INTERFACE_EXISTS, "\
  270. %1!s! interface already owned by the protocol."
  271. EMSG_PROTO_NOT_INSTALLED, "\
  272. %1!s! must be installed first."
  273. EMSG_PROTO_INSTALLED, "\
  274. %1!s! protocol is already installed."
  275. EMSG_BAD_OPTION_VALUE, "\
  276. %1!s! is not an acceptable value for %2!s!."
  277. EMSG_RRAS_ERROR, "\
  278. Error retrieving information from Routing and Remote Access Service."
  279. EMSG_NO_ENTRIES, "\
  280. No information found for the specified type."
  281. }
  282. /*
  283. ** Template for version resources. Place this in your .rc file,
  284. ** editing the values for VER_FILETYPE, VER_FILESUBTYPE,
  285. ** VER_FILEDESCRIPTION_STR and VER_INTERNALNAME_STR as needed.
  286. ** See winver.h for possible values.
  287. **
  288. ** Ntverp.h defines several global values that don't need to be
  289. ** changed except for official releases such as betas, sdk updates, etc.
  290. **
  291. ** Common.ver has the actual version resource structure that all these
  292. ** #defines eventually initialize.
  293. */
  294. #include <windows.h>
  295. #include <ntverp.h>
  296. /*-----------------------------------------------*/
  297. /* the following lines are specific to this file */
  298. /*-----------------------------------------------*/
  299. /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR
  300. * and VER_INTERNALNAME_STR must be defined before including COMMON.VER
  301. * The strings don't need a '\0', since common.ver has them.
  302. */
  303. #define VER_FILETYPE VFT_DLL
  304. /* possible values: VFT_UNKNOWN
  305. VFT_APP
  306. VFT_DLL
  307. VFT_DRV
  308. VFT_FONT
  309. VFT_VXD
  310. VFT_STATIC_LIB
  311. */
  312. #define VER_FILESUBTYPE VFT2_UNKNOWN
  313. /* possible values VFT2_UNKNOWN
  314. VFT2_DRV_PRINTER
  315. VFT2_DRV_KEYBOARD
  316. VFT2_DRV_LANGUAGE
  317. VFT2_DRV_DISPLAY
  318. VFT2_DRV_MOUSE
  319. VFT2_DRV_NETWORK
  320. VFT2_DRV_SYSTEM
  321. VFT2_DRV_INSTALLABLE
  322. VFT2_DRV_SOUND
  323. VFT2_DRV_COMM
  324. */
  325. #define VER_FILEDESCRIPTION_STR "IPSAMPLEMON"
  326. #define VER_INTERNALNAME_STR "IPSAMPLEMON.DLL"
  327. #define VER_ORIGINALFILENAME_STR "IPSAMPLEMON.DLL"
  328. #include "common.ver" // NT5.0 version file.