Edit

Share via


NetShell

Overview of the NetSh technology.

To develop NetSh, you need these headers:

For programming guidance for this technology, see:

Enumerations

 
NS_CMD_FLAGS

Specifies command flags available in NetShell.
NS_REQS

Specifies the number of events.

Functions

 
FN_HANDLE_CMD

Is the command function for helpers.
MatchEnumTag

Searches a table of legal values to find a value that matches a specific token.
MatchToken

Determines whether a user-entered string matches a specific string.
NS_CONTEXT_COMMIT_FN

Is the commit function for helpers.
NS_CONTEXT_CONNECT_FN

Is the connect function for helpers.
NS_CONTEXT_DUMP_FN

Is the dump function for helpers.
NS_DLL_INIT_FN

Called by NetShell to perform an initial loading of a helper.
NS_DLL_STOP_FN

Is the DLL stop function for helper DLLs.
NS_HELPER_START_FN

Is the start function for helpers.
NS_HELPER_STOP_FN

Is the stop function for helpers.
NS_OSVERSIONCHECK

Is the operating system check function for helpers.
PreprocessCommand

Parses an argument string and verifies that all required tags are present.
PrintError

Displays a system or application error message to the NetShell console.
PrintMessage

Displays output to the NetShell console.
PrintMessageFromModule

Displays localized output to the NetShell console.
RegisterContext

Registers a helper context with NetShell.
RegisterHelper

Is called from within a helper's exposed InitHelperDll function, and registers the helper with the NetShell context.

Structures

 
CMD_ENTRY

Defines a helper command.
CMD_GROUP_ENTRY

Defines a group of helper commands.
NS_CONTEXT_ATTRIBUTES

Defines attributes of a context.
NS_HELPER_ATTRIBUTES

Provides attributes of a helper.
TAG_TYPE

Specifies tags used for the PreprocessCommand function.