mirror of https://github.com/tongzx/nt5src
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.
166 lines
5.3 KiB
166 lines
5.3 KiB
|
|
#include "strdefs.h"
|
|
|
|
//
|
|
// Be sure to terminate your strings with a newline.
|
|
//
|
|
|
|
STRINGTABLE
|
|
{
|
|
//
|
|
// Help strings.
|
|
//
|
|
HLP_HELP, "Displays help.\n"
|
|
|
|
HLP_HELP_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n Displays help.\n"
|
|
|
|
HLP_INSTALL, "Installs the component corresponding to the current context.\n"
|
|
|
|
HLP_INSTALL_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n Not supported.\
|
|
\n Please go to the Network Connections folder to install.\n"
|
|
|
|
HLP_UNINSTALL, "Removes the component corresponding to the current context.\n"
|
|
|
|
HLP_UNINSTALL_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n Not supported.\
|
|
\n Please go to the Network Connections folder to uninstall.\n"
|
|
|
|
HLP_DUMP, "Outputs a configuration script.\n"
|
|
|
|
HLP_DUMP_EX, "\
|
|
\nUsage: %1!s! \
|
|
\n Dumps the configuration for the current context and subcontexts.\n\
|
|
\n To save the dumped configuration, redirect the output to a file.\n"
|
|
|
|
HLP_GROUP_SET, "Sets configuration information.\n"
|
|
|
|
HLP_GROUP_SHOW, "Displays information.\n"
|
|
|
|
HLP_BRIDGE_INSTALL, "Installs the bridge on the current machine.\n"
|
|
|
|
HLP_BRIDGE_INSTALL_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n Installs the bridge on the current machine.\n"
|
|
|
|
HLP_BRIDGE_UNINSTALL, "Removes the bridge from the current machine.\n"
|
|
|
|
HLP_BRIDGE_UNINSTALL_EX, "\
|
|
\nUsage: %1!s!\
|
|
\n Removes the bridge from the current machine.\n"
|
|
|
|
HLP_BRIDGE_USE_GUI, "\nNot supported.\nPlease go to the Network Connections folder to %1!s!.\n"
|
|
|
|
DMP_BRIDGE_HEADER, "\
|
|
\n# ------------------------------------\
|
|
\n# Bridge configuration (not supported)\
|
|
\n# ------------------------------------\n"
|
|
|
|
DMP_BRIDGE_FOOTER, "\
|
|
\n# ------------------------------------\
|
|
\n# End of Bridge configuration\
|
|
\n# ------------------------------------\n"
|
|
|
|
HLP_BRIDGE_SET_ADAPTER, "\
|
|
Modifies the bridge configuration for a specified adapter.\n"
|
|
|
|
HLP_BRIDGE_SET_ADAPTER_EX, "\
|
|
\nUsage: %1!s! [id=]<integer> [[forcecompatmode=]enable|disable]\
|
|
\n \
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n id - The ID of the adapter which you want configured.\
|
|
\n Use the ""show adapter"" command to obtain ID listing.\
|
|
\n forcecompatmode - One of the following values:\
|
|
\n enable : Enable Layer3 mode.\
|
|
\n disable: Disable Layer3 mode.\
|
|
\n \
|
|
\nRemarks: Modifies bridge configuration for a specified adapter.\
|
|
\n This should only be done if network connectivity is not\
|
|
\n working as expected on the specified adapter.\
|
|
\n \
|
|
\nExamples:\
|
|
\n \
|
|
\n %1!s! ""2"" forcecompatmode=enable\
|
|
\n \
|
|
\n Modifies the bridge configuration for adapter ""2"" by setting it\
|
|
\n in Layer3 mode.\
|
|
\n"
|
|
|
|
HLP_BRIDGE_SHOW_ADAPTER, "\
|
|
Shows the adapters configured as a single bridge.\n"
|
|
|
|
HLP_BRIDGE_SHOW_ADAPTER_EX, "\
|
|
\nUsage: %1!s! [[id=]integer]\
|
|
\n \
|
|
\nParameters:\
|
|
\n Tag Value\
|
|
\n id - The ID of the adapter whose configuration you want\
|
|
\n to view.\
|
|
\n \
|
|
\nRemarks: Shows information about adapters pertaining to the bridge.\
|
|
\n \
|
|
\nExamples:\
|
|
\n \
|
|
\n %1!s!\
|
|
\n \
|
|
\n Lists all adapters (with IDs) which form part of the bridge and\
|
|
\n their settings and flags.\
|
|
\n"
|
|
|
|
MSG_BRIDGE_GLOBAL_INFO, "None"
|
|
MSG_BRIDGE_ADAPTER_INFO_HDR, "\
|
|
\n----------------------------------------------------------------------\
|
|
\n ID AdapterFriendlyName ForceCompatibilityMode\
|
|
\n----------------------------------------------------------------------\
|
|
\n"
|
|
MSG_BRIDGE_ADAPTER_INFO, "None"
|
|
MSG_BRIDGE_FLAGS, "None"
|
|
|
|
MSG_OK, "Ok."
|
|
MSG_NO_HELPER, "No Helper was found"
|
|
MSG_NO_HELPERS, "No Helpers were found"
|
|
MSG_CTRL_C_TO_QUIT, "Control+C to Quit"
|
|
|
|
STRING_PROTO_OTHER, ""
|
|
STRING_PROTO_BRIDGE, ""
|
|
|
|
STRING_CREATED, "created"
|
|
STRING_DELETED, "delete"
|
|
STRING_ENABLED, "enabled"
|
|
STRING_DISABLED, "disabled"
|
|
|
|
STRING_YES, "yes"
|
|
STRING_NO, "no"
|
|
STRING_Y, "y"
|
|
STRING_N, "n"
|
|
|
|
STRING_UNKNOWN, "unknown"
|
|
|
|
TABLE_SEPARATOR, "\
|
|
----------------------------------------------------------------------\n"
|
|
|
|
|
|
MSG_BRIDGE_PRESENT, "Bridge is present"
|
|
MSG_BRIDGE_NOT_PRESENT, "Bridge is not present"
|
|
EMSG_BAD_OPTION_VALUE, "%1!s! is not an acceptable value for %2!s!.\n"
|
|
|
|
|
|
}
|
|
|
|
|
|
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_DLL
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Home Networking Monitor DLL"
|
|
#define VER_INTERNALNAME_STR "hnetmon.dll"
|
|
#define VER_ORIGINALFILENAME_STR "hnetmon.dll"
|
|
|
|
#include "common.ver"
|
|
|