|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <ndk/rtlfuncs.h>#include <windef.h>#include <winbase.h>#include <winreg.h>#include <wincon.h>#include <winuser.h>#include <iphlpapi_undoc.h>#include <errno.h>#include <conutils.h>#include <netsh.h>#include <netsh_undoc.h>#include "resource.h"

Go to the source code of this file.
Classes | |
| struct | _DLL_LIST_ENTRY |
| struct | _HELPER_ENTRY |
| struct | _COMMAND_ENTRY |
| struct | _COMMAND_GROUP |
| struct | _CONTEXT_ENTRY |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | HUGE_BUFFER_SIZE 2048 |
| #define | MAX_STRING_SIZE 1024 |
| #define | MAX_ARGS_COUNT 256 |
| #define | REG_NETSH_PATH L"Software\\Microsoft\\NetSh" |
Typedefs | |
| typedef struct _DLL_LIST_ENTRY | DLL_LIST_ENTRY |
| typedef struct _DLL_LIST_ENTRY * | PDLL_LIST_ENTRY |
| typedef struct _HELPER_ENTRY | HELPER_ENTRY |
| typedef struct _HELPER_ENTRY * | PHELPER_ENTRY |
| typedef struct _COMMAND_ENTRY | COMMAND_ENTRY |
| typedef struct _COMMAND_ENTRY * | PCOMMAND_ENTRY |
| typedef struct _COMMAND_GROUP | COMMAND_GROUP |
| typedef struct _COMMAND_GROUP * | PCOMMAND_GROUP |
| typedef struct _CONTEXT_ENTRY | CONTEXT_ENTRY |
| typedef struct _CONTEXT_ENTRY * | PCONTEXT_ENTRY |
Variables | |
| PCONTEXT_ENTRY | pRootContext |
| PCONTEXT_ENTRY | pCurrentContext |
| PHELPER_ENTRY | pHelperListHead |
| HMODULE | hModule |
| PWSTR | pszMachine |
| typedef struct _COMMAND_ENTRY COMMAND_ENTRY |
| typedef struct _COMMAND_GROUP COMMAND_GROUP |
| typedef struct _CONTEXT_ENTRY CONTEXT_ENTRY |
| typedef struct _DLL_LIST_ENTRY DLL_LIST_ENTRY |
| typedef struct _HELPER_ENTRY HELPER_ENTRY |
| typedef struct _COMMAND_ENTRY * PCOMMAND_ENTRY |
| typedef struct _COMMAND_GROUP * PCOMMAND_GROUP |
| typedef struct _CONTEXT_ENTRY * PCONTEXT_ENTRY |
| typedef struct _DLL_LIST_ENTRY * PDLL_LIST_ENTRY |
| typedef struct _HELPER_ENTRY * PHELPER_ENTRY |
| DWORD WINAPI AddHelperCommand | ( | LPCWSTR | pwszMachine, |
| LPWSTR * | ppwcArguments, | ||
| DWORD | dwCurrentIndex, | ||
| DWORD | dwArgCount, | ||
| DWORD | dwFlags, | ||
| LPCVOID | pvData, | ||
| BOOL * | pbDone | ||
| ) |
Definition at line 461 of file helper.c.
Referenced by CreateRootContext().
| DWORD WINAPI AliasCommand | ( | LPCWSTR | pwszMachine, |
| LPWSTR * | argv, | ||
| DWORD | dwCurrentIndex, | ||
| DWORD | dwArgCount, | ||
| DWORD | dwFlags, | ||
| LPCVOID | pvData, | ||
| BOOL * | pbDone | ||
| ) |
Definition at line 123 of file alias.c.
Referenced by CreateRootContext().
Definition at line 805 of file context.c.
Referenced by wmain().
Definition at line 245 of file helper.c.
Referenced by wmain().
| DWORD WINAPI DeleteHelperCommand | ( | LPCWSTR | pwszMachine, |
| LPWSTR * | ppwcArguments, | ||
| DWORD | dwCurrentIndex, | ||
| DWORD | dwArgCount, | ||
| DWORD | dwFlags, | ||
| LPCVOID | pvData, | ||
| BOOL * | pbDone | ||
| ) |
Definition at line 493 of file helper.c.
Referenced by CreateRootContext().
Definition at line 103 of file alias.c.
Referenced by wmain().
| PCONTEXT_ENTRY FindContextByGuid | ( | _In_ const GUID * | pGuid | ) |
| PHELPER_ENTRY FindHelper | ( | _In_ const GUID * | pguidHelper, |
| _In_ PHELPER_ENTRY | pHelper | ||
| ) |
Definition at line 360 of file helper.c.
Referenced by FindHelper(), RegisterContext(), and RegisterHelper().
Definition at line 385 of file interpreter.c.
Referenced by wmain().
Definition at line 333 of file interpreter.c.
Referenced by RunScript(), and wmain().
Definition at line 263 of file helper.c.
Referenced by wmain().
Definition at line 53 of file netsh.c.
Referenced by AliasCommand(), InterpretInteractive(), and wmain().
| VOID PrintCommandHelp | ( | _In_ PCONTEXT_ENTRY | pContext, |
| _In_ PCOMMAND_GROUP | pGroup, | ||
| _In_ PCOMMAND_ENTRY | pCommand | ||
| ) |
Definition at line 278 of file help.c.
Referenced by InterpretCommand().
| VOID PrintContextHelp | ( | _In_ PCONTEXT_ENTRY | pContext | ) |
Definition at line 363 of file help.c.
Referenced by InterpretCommand().
Definition at line 336 of file help.c.
Referenced by InterpretCommand(), and PrintGroupHelp().
Definition at line 22 of file netsh.c.
Referenced by ExecCommand(), and wmain().
| DWORD WINAPI ShowAliasCommand | ( | LPCWSTR | pwszMachine, |
| LPWSTR * | argv, | ||
| DWORD | dwCurrentIndex, | ||
| DWORD | dwArgCount, | ||
| DWORD | dwFlags, | ||
| LPCVOID | pvData, | ||
| BOOL * | pbDone | ||
| ) |
Definition at line 215 of file alias.c.
Referenced by CreateRootContext().
| DWORD WINAPI ShowHelperCommand | ( | LPCWSTR | pwszMachine, |
| PWSTR * | ppwcArguments, | ||
| DWORD | dwCurrentIndex, | ||
| DWORD | dwArgCount, | ||
| DWORD | dwFlags, | ||
| LPCVOID | pvData, | ||
| BOOL * | pbDone | ||
| ) |
| DWORD WINAPI UnaliasCommand | ( | LPCWSTR | pwszMachine, |
| LPWSTR * | argv, | ||
| DWORD | dwCurrentIndex, | ||
| DWORD | dwArgCount, | ||
| DWORD | dwFlags, | ||
| LPCVOID | pvData, | ||
| BOOL * | pbDone | ||
| ) |
Definition at line 234 of file alias.c.
Referenced by CreateRootContext().
|
extern |
Definition at line 17 of file netsh.c.
Referenced by __acrt_GetModuleFileNameA(), __wine_msi_call_dll_function(), _getdllprocaddr(), _Success_(), AddScreenSaver(), AddSfcNotification(), APIHook_GetProcAddress(), AVrfpGetProcAddress(), BasepGetModuleHandleExW(), BasepLoadLibraryAsDatafile(), BasepMapModuleHandle(), ClearUserApiHook(), co_IntCallLoadMenu(), Control_FillCache_RunDLLA(), Control_FillCache_RunDLLW(), CClassNode::ConvertResourceDescriptorToString(), CreateRootContext(), CryptInstallOIDFunctionAddress(), CURSORICON_CopyImage(), DllMain(), DRIVER_GetNumberOfModuleRefs(), DRIVER_TryOpenDriver32(), EndUserApiHook(), EngFindImageProcAddress(), EngUnloadImage(), EngUnmapFile(), EnumPickIconResourceProc(), EnumResNameProc(), find_resourceA(), find_resourceW(), FindModule(), FindResourceA(), FindResourceExA(), FindResourceExW(), FindResourceW(), FreeLibrary(), get_manifest_in_module(), GetDriverModuleHandle(), GetDriverVersion(), GetFileVersionInfoExW(), GetFileVersionInfoSizeExW(), GetFunctionPointer(), GetModuleBaseNameA(), GetModuleBaseNameW(), GetModuleFileNameA(), GetModuleFileNameExA(), GetModuleFileNameExW(), GetModuleFileNameW(), GetModuleHandleW(), GetModuleInformation(), GetMonitorUI(), GetNotificationHandler(), GetProcAddress(), GetSeconds(), GetServiceDllFunction(), GPNotificationThreadProc(), init_functions(), InstallSoftwareBusPnpEnumerator(), is_module_registered(), load_mui_string(), load_string(), LoadDialog(), LoadDialogResource(), LoadLibraryList(), LoadNotifyDll(), LoadResource(), LookupThreadProc(), MakeString(), MatchEnumTag(), MLFreeLibrary(), MSACM_GetNumberOfModuleRefs(), MSACM_RegisterLocalDriver(), NotifyLogon(), PrintError(), printm(), PrintMessageFromModule(), RegLoadMUIStringW(), CDeviceView::RunAddHardwareWizard(), search_res_tlb(), SeiGetModuleFromAddress(), SetupDiGetClassDevPropertySheetsW(), SRSetRestorePointA(), SRSetRestorePointW(), START_TEST(), StubGetProcAddress(), test_pack_ACTCTXA(), test_pack_ACTCTXW(), testLayout(), testLoadLibraryA(), testLoadLibraryA_Wrong(), UnloadAppInitDlls(), UserSignalProc(), WinMain(), wmain(), Ws2HelpDllMain(), and wWinMain().
|
extern |
Definition at line 27 of file context.c.
Referenced by CreateRootContext(), DumpCommand(), InterpretCommand(), InterpretInteractive(), PopdCommand(), PrintCurrentContextHeader(), PushdCommand(), and UpCommand().
|
extern |
Definition at line 20 of file helper.c.
Referenced by AddHelperCommand(), CreateRootHelper(), LoadHelpers(), PrintHelpers(), RegisterContext(), RegisterHelper(), and ShowHelperCommand().
|
extern |
Definition at line 26 of file context.c.
Referenced by AbortCommand(), CommitCommand(), CreateRootContext(), ExitCommand(), FindContextByGuid(), GetContextFullName(), InterpretCommand(), OfflineCommand(), OnlineCommand(), PrintContext(), PrintGroupHelp(), PrintPrompt(), RegisterContext(), SetModeCommand(), ShowHelperCommand(), and UpCommand().
|
extern |
Definition at line 32 of file context.c.
Referenced by InterpretCommand(), InterpretInteractive(), PnpBindRpc(), SetMachineCommand(), and wmain().