17#define WIN32_NO_STATUS
34#define MAX_STRING_SIZE 1024
35#define MAX_ARGS_COUNT 256
37#define REG_NETSH_PATH L"Software\\Microsoft\\NetSh"
139 DWORD dwCurrentIndex,
163 DWORD dwCurrentIndex,
174 DWORD dwCurrentIndex,
184 PWSTR *ppwcArguments,
185 DWORD dwCurrentIndex,
struct _COMMAND_GROUP * PCOMMAND_GROUP
struct _COMMAND_ENTRY COMMAND_ENTRY
BOOL InterpretScript(LPWSTR pszFileName)
struct _COMMAND_GROUP COMMAND_GROUP
BOOL CreateRootContext(VOID)
struct _CONTEXT_ENTRY CONTEXT_ENTRY
struct _DLL_LIST_ENTRY * PDLL_LIST_ENTRY
DWORD WINAPI HelpCommand(LPCWSTR pwszMachine, LPWSTR *ppwcArguments, DWORD dwCurrentIndex, DWORD dwArgCount, DWORD dwFlags, LPCVOID pvData, BOOL *pbDone)
PCONTEXT_ENTRY pRootContext
VOID InterpretInteractive(VOID)
DWORD WINAPI AddHelperCommand(LPCWSTR pwszMachine, LPWSTR *ppwcArguments, DWORD dwCurrentIndex, DWORD dwArgCount, DWORD dwFlags, LPCVOID pvData, BOOL *pbDone)
DWORD WINAPI DeleteHelperCommand(LPCWSTR pwszMachine, LPWSTR *ppwcArguments, DWORD dwCurrentIndex, DWORD dwArgCount, DWORD dwFlags, LPCVOID pvData, BOOL *pbDone)
struct _DLL_LIST_ENTRY DLL_LIST_ENTRY
VOID HelpGroup(PCOMMAND_GROUP pGroup)
PCONTEXT_ENTRY pCurrentContext
struct _CONTEXT_ENTRY * PCONTEXT_ENTRY
struct _HELPER_ENTRY * PHELPER_ENTRY
struct _HELPER_ENTRY HELPER_ENTRY
struct _COMMAND_ENTRY * PCOMMAND_ENTRY
DWORD WINAPI ShowHelperCommand(LPCWSTR pwszMachine, PWSTR *ppwcArguments, DWORD dwCurrentIndex, DWORD dwArgCount, DWORD dwFlags, LPCVOID pvData, BOOL *pbDone)
BOOL InterpretCommand(LPWSTR *argv, DWORD dwArgCount)
DWORD(WINAPI * PFN_HANDLE_CMD)(_In_ LPCWSTR pwszMachine, _In_ LPWSTR *ppwcArguments, _In_ DWORD dwCurrentIndex, _In_ DWORD dwArgCount, _In_ DWORD dwFlags, _In_ LPCVOID pvData, _Out_ BOOL *pbDone)
PFN_HANDLE_CMD pfnCmdHandler
struct _COMMAND_ENTRY * pPrev
DWORD dwShortCmdHelpToken
struct _COMMAND_ENTRY * pNext
PCOMMAND_ENTRY pCommandListTail
PCOMMAND_ENTRY pCommandListHead
struct _COMMAND_GROUP * pPrev
LPCWSTR pwszCmdGroupToken
struct _COMMAND_GROUP * pNext
DWORD dwShortCmdHelpToken
PCOMMAND_ENTRY pCommandListTail
PCOMMAND_GROUP pGroupListTail
struct _CONTEXT_ENTRY * pSubContextHead
struct _CONTEXT_ENTRY * pPrev
struct _CONTEXT_ENTRY * pParentContext
struct _CONTEXT_ENTRY * pNext
PCOMMAND_GROUP pGroupListHead
PCOMMAND_ENTRY pCommandListHead
struct _CONTEXT_ENTRY * pSubContextTail
struct _DLL_LIST_ENTRY * pNext
struct _DLL_LIST_ENTRY * pPrev
struct _HELPER_ENTRY * pSubHelperTail
NS_HELPER_ATTRIBUTES Attributes
struct _HELPER_ENTRY * pSubHelperHead
PDLL_LIST_ENTRY pDllEntry
struct _HELPER_ENTRY * pNext
struct _HELPER_ENTRY * pPrev
WORD WORD PSZ PSZ pszFileName
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ ULONG _In_opt_ PVOID pvData