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
11 KiB
404 lines
11 KiB
/*++
|
|
|
|
Copyright (c) 1999, Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
sample\ipsamplemn.rc
|
|
|
|
Abstract:
|
|
|
|
The file contains ip sample's netsh extension's resources.
|
|
|
|
--*/
|
|
|
|
#include "strdefs.h"
|
|
|
|
STRINGTABLE
|
|
{
|
|
|
|
HLP_INSTALL, "\
|
|
Installs this ip routing protocol under IP.\
|
|
\n"
|
|
|
|
HLP_INSTALL_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n\
|
|
\nParameters:\
|
|
\n None.\
|
|
\n\
|
|
\nRemarks: Installs this routing protocol under IP.\
|
|
\n"
|
|
|
|
HLP_UNINSTALL, "\
|
|
Removes this IP routing protocol.\
|
|
\n"
|
|
|
|
HLP_UNINSTALL_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n\
|
|
\nParameters:\
|
|
\n None.\
|
|
\n\
|
|
\nRemarks: Removes this IP routing protocol.\
|
|
\n"
|
|
|
|
HLP_HELP, "\
|
|
Displays help.\
|
|
\n"
|
|
|
|
HLP_HELP_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n\
|
|
\nParameters:\
|
|
\n None\
|
|
\n\
|
|
\nRemarks: Displays help.\
|
|
\n"
|
|
|
|
HLP_DUMP, "\
|
|
Outputs a configuration script.\
|
|
\n"
|
|
|
|
HLP_DUMP_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n\
|
|
\nParameters:\
|
|
\n None\
|
|
\n\
|
|
\nRemarks: Dumps the configuration for the current context and subcontexts.\
|
|
\n To save the dumped configuration redirect the output to a file.\
|
|
\n"
|
|
|
|
HLP_GROUP_ADD, "\
|
|
Adds a configuration entry to a table.\
|
|
\n"
|
|
|
|
HLP_GROUP_DELETE, "\
|
|
Deletes a configuration entry from a table.\
|
|
\n"
|
|
|
|
HLP_GROUP_SET, "\
|
|
Sets configuration information.\
|
|
\n"
|
|
|
|
HLP_GROUP_SHOW, "\
|
|
Displays configuration information.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_ADD_IF, "\
|
|
Configure SAMPLE on the specified interface.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_ADD_IF_EX, "\
|
|
\nUsage: %1!s! [name=]<string> [[metric=]<ulong>]\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n name - Name of the interface.\
|
|
\n metric - Metric associated with the interface. (default: 0)\
|
|
\n\
|
|
\nRemarks: Configures SAMPLE on the specified interface.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! name=""Local Area Connection"" metric=10\
|
|
\n"
|
|
|
|
HLP_SAMPLE_DEL_IF, "\
|
|
Remove SAMPLE from the specified interface.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_DEL_IF_EX, "\
|
|
\nUsage: %1!s! [name=]<string>\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n name - Name of the interface.\
|
|
\n\
|
|
\nRemarks: Removes SAMPLE from the specified interface.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! name=""Local Area Connection""\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SET_GLOBAL, "\
|
|
Sets SAMPLE global configuration parameters.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SET_GLOBAL_EX, "\
|
|
\nUsage: %1!s! [[loglevel=]none|error|warn|info]\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n loglevel - Level at which messages are logged. (default: info)\
|
|
\n\
|
|
\nRemarks: Sets SAMPLE global configuration parameters.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! loglevel=none\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SET_IF, "\
|
|
Sets SAMPLE configuration parameters for the interface.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SET_IF_EX, "\
|
|
\nUsage: %1!s! [name=]<string> [[metric=]<ulong>]\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n name - Name of the interface.\
|
|
\n metric - Metric associated with the interface. (default: 0)\
|
|
\n\
|
|
\nRemarks: Sets SAMPLE configuration parameters for the interface.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! name=""Local Area Connection"" metric=10\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SHOW_GLOBAL, "\
|
|
Show SAMPLE global configuration parameters.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SHOW_GLOBAL_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n\
|
|
\nParameters:\
|
|
\n None.\
|
|
\n\
|
|
\nRemarks: Shows SAMPLE global configuration parameters.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s!\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SHOW_IF, "\
|
|
Show SAMPLE configuration parameters for the interface.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_SHOW_IF_EX, "\
|
|
\nUsage: %1!s! [[name=]<string>]\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n name - Name of the interface. (default: all interfaces)\
|
|
\n\
|
|
\nRemarks: Shows SAMPLE configuration parameters for the interface.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! name=""Local Area Connection""\
|
|
\n"
|
|
|
|
HLP_SAMPLE_MIB_SHOW_STATS, "\
|
|
Show SAMPLE global statistics.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_MIB_SHOW_STATS_EX, "\
|
|
\nUsage: %1!s! [[rr=]<seconds>]\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n rr Display refresh rate. (default: no refresh)\
|
|
\n\
|
|
\nRemarks: Shows SAMPLE global statistics.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! rr=5\
|
|
\n"
|
|
|
|
HLP_SAMPLE_MIB_SHOW_IFSTATS, "\
|
|
Show SAMPLE statistics for the interface.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_MIB_SHOW_IFSTATS_EX, "\
|
|
\nUsage: %1!s! [[index=]<ulong>] [[rr=]<seconds>]\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n index - Index/Name of the interface. (default: all interfaces)\
|
|
\n rr - Display refresh rate. (default: no refresh)\
|
|
\n\
|
|
\nRemarks: Shows SAMPLE statistics for the interface.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! index=1 rr=5\
|
|
\n"
|
|
|
|
HLP_SAMPLE_MIB_SHOW_IFBINDING "\
|
|
Show SAMPLE address bindings for the interface.\
|
|
\n"
|
|
|
|
HLP_SAMPLE_MIB_SHOW_IFBINDING_EX "\
|
|
\nUsage: %1!s! [[index=]<ulong>] [[rr=]<seconds>]\
|
|
\n\
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n index - Index/Name of the interface. (default: all interfaces)\
|
|
\n rr - Display refresh rate. (default: no refresh)\
|
|
\n\
|
|
\nRemarks: Show SAMPLE address bindings for the interface.\
|
|
\n\
|
|
\nExamples:\
|
|
\n %1!s! index=""Local Area Connection"" rr=5\
|
|
\n"
|
|
|
|
DMP_SAMPLE_HEADER, "\
|
|
\n# ----------------------------------------------------------\
|
|
\n# Begin SAMPLE configuration\
|
|
\n# ----------------------------------------------------------\
|
|
\n"
|
|
|
|
DMP_SAMPLE_FOOTER, "\
|
|
\n# End SAMPLE configuration\
|
|
\n# ----------------------------------------------------------\
|
|
\n"
|
|
|
|
DMP_SAMPLE_INTERFACE_HEADER, "\
|
|
\n# Sample configuration for interface %1!s!\
|
|
\n"
|
|
|
|
MSG_SAMPLE_GLOBAL_CONFIG, "\
|
|
\nSAMPLE Global Configuration\
|
|
\nLogging Level : %1!s!\
|
|
\n"
|
|
|
|
MSG_SAMPLE_IF_CONFIG, "\
|
|
\nSAMPLE Interface Configuration for : %1!s!\
|
|
\nMetric : %2!u!\
|
|
\n"
|
|
|
|
MSG_SAMPLE_IF_CONFIG_HEADER, "\
|
|
\nMetric\tInterfaceName\
|
|
\n------------------------------------------------------------\
|
|
\n"
|
|
|
|
MSG_SAMPLE_IF_CONFIG_ENTRY, "%2!u!\t%1!s!\n"
|
|
|
|
MSG_SAMPLE_MIB_GS, "\
|
|
\nSAMPLE Global Statistics\
|
|
\nCount of Interfaces Added : %1!u!\
|
|
\n"
|
|
|
|
MSG_SAMPLE_MIB_IFSTATS, "\
|
|
\nSAMPLE Interface Statistics for : %1!s!\
|
|
\nCount of Packets Sent : %2!u!\
|
|
\n"
|
|
|
|
MSG_SAMPLE_MIB_IFSTATS_HEADER, "\
|
|
\nSent\tInterfaceName\
|
|
\n------------------------------------------------------------\
|
|
\n"
|
|
|
|
MSG_SAMPLE_MIB_IFSTATS_ENTRY, "%2!u!\t%1!s!\n"
|
|
|
|
MSG_SAMPLE_MIB_IFBINDING, "\
|
|
\nSAMPLE Interface Binding for : %1!s!\
|
|
\nState : %2!s!\t%3!s!\
|
|
\nIP Address\tNet Mask\
|
|
\n"
|
|
|
|
MSG_SAMPLE_MIB_IFBINDING_ADDR, "%1!s!\t%2!s!\n"
|
|
|
|
MSG_SAMPLE_MIB_IFBINDING_HEADER, "\
|
|
\nBound\tActive\t\tInterfaceName\
|
|
\n------------------------------------------------------------\
|
|
\n"
|
|
|
|
MSG_SAMPLE_MIB_IFBINDING_ENTRY, "\n%2!s!\t%3!s!\t%1!s!\n"
|
|
|
|
STRING_PROTO_SAMPLE, "SAMPLE"
|
|
|
|
STRING_LOGGING_NONE, "None"
|
|
|
|
STRING_LOGGING_ERROR, "Errors Only"
|
|
|
|
STRING_LOGGING_WARN, "Errors and Warnings"
|
|
|
|
STRING_LOGGING_INFO, "Verbose"
|
|
|
|
STRING_UNKNOWN, "Unknown"
|
|
|
|
STRING_BOUND, "Bound"
|
|
|
|
STRING_ACTIVE, "Active\t"
|
|
|
|
STRING_UNBOUND, "Unbound"
|
|
|
|
STRING_INACTIVE, "Inactive"
|
|
|
|
EMSG_PROTO_NO_GLOBAL_CONFIG, "\
|
|
No information found for the specified protocol."
|
|
|
|
EMSG_PROTO_NO_IF_CONFIG, "\
|
|
No information found for the protocol on the specified interface."
|
|
|
|
EMSG_INTERFACE_EXISTS, "\
|
|
%1!s! interface already owned by the protocol."
|
|
|
|
EMSG_PROTO_NOT_INSTALLED, "\
|
|
%1!s! must be installed first."
|
|
|
|
EMSG_PROTO_INSTALLED, "\
|
|
%1!s! protocol is already installed."
|
|
|
|
EMSG_BAD_OPTION_VALUE, "\
|
|
%1!s! is not an acceptable value for %2!s!."
|
|
|
|
EMSG_RRAS_ERROR, "\
|
|
Error retrieving information from Routing and Remote Access Service."
|
|
|
|
EMSG_NO_ENTRIES, "\
|
|
No information found for the specified type."
|
|
}
|
|
|
|
/*
|
|
** Template for version resources. Place this in your .rc file,
|
|
** editing the values for VER_FILETYPE, VER_FILESUBTYPE,
|
|
** VER_FILEDESCRIPTION_STR and VER_INTERNALNAME_STR as needed.
|
|
** See winver.h for possible values.
|
|
**
|
|
** Ntverp.h defines several global values that don't need to be
|
|
** changed except for official releases such as betas, sdk updates, etc.
|
|
**
|
|
** Common.ver has the actual version resource structure that all these
|
|
** #defines eventually initialize.
|
|
*/
|
|
|
|
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
/*-----------------------------------------------*/
|
|
/* the following lines are specific to this file */
|
|
/*-----------------------------------------------*/
|
|
|
|
/* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR
|
|
* and VER_INTERNALNAME_STR must be defined before including COMMON.VER
|
|
* The strings don't need a '\0', since common.ver has them.
|
|
*/
|
|
#define VER_FILETYPE VFT_DLL
|
|
/* possible values: VFT_UNKNOWN
|
|
VFT_APP
|
|
VFT_DLL
|
|
VFT_DRV
|
|
VFT_FONT
|
|
VFT_VXD
|
|
VFT_STATIC_LIB
|
|
*/
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
/* possible values VFT2_UNKNOWN
|
|
VFT2_DRV_PRINTER
|
|
VFT2_DRV_KEYBOARD
|
|
VFT2_DRV_LANGUAGE
|
|
VFT2_DRV_DISPLAY
|
|
VFT2_DRV_MOUSE
|
|
VFT2_DRV_NETWORK
|
|
VFT2_DRV_SYSTEM
|
|
VFT2_DRV_INSTALLABLE
|
|
VFT2_DRV_SOUND
|
|
VFT2_DRV_COMM
|
|
*/
|
|
#define VER_FILEDESCRIPTION_STR "IPSAMPLEMON"
|
|
#define VER_INTERNALNAME_STR "IPSAMPLEMON.DLL"
|
|
#define VER_ORIGINALFILENAME_STR "IPSAMPLEMON.DLL"
|
|
|
|
#include "common.ver" // NT5.0 version file.
|