mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[PSDK][NETSH] Improve netsh.h
This commit is contained in:
@@ -695,7 +695,8 @@ RegisterContext(
|
||||
if (pContext != NULL)
|
||||
{
|
||||
pContext->pfnDumpFn = pChildContext->pfnDumpFn;
|
||||
pContext->ulPriority = (pChildContext->dwFlags & CMD_FLAG_PRIORITY) ? pChildContext->ulPriority : 100;
|
||||
pContext->ulPriority = (pChildContext->dwFlags & CMD_FLAG_PRIORITY) ?
|
||||
pChildContext->ulPriority : DEFAULT_CONTEXT_PRIORITY;
|
||||
|
||||
if ((pHelper != NULL) && (pHelper->pDllEntry != NULL))
|
||||
{
|
||||
|
||||
@@ -48,6 +48,17 @@ enum NS_CMD_FLAGS
|
||||
CMD_FLAG_PRIORITY = 0x80000000
|
||||
};
|
||||
|
||||
enum NS_MODE_CHANGE
|
||||
{
|
||||
NETSH_COMMIT = 0,
|
||||
NETSH_UNCOMMIT = 1,
|
||||
NETSH_FLUSH = 2,
|
||||
NETSH_COMMIT_STATE = 3,
|
||||
NETSH_SAVE = 4
|
||||
};
|
||||
|
||||
#define DEFAULT_CONTEXT_PRIORITY 100
|
||||
|
||||
#define NETSH_ROOT_GUID {0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0}}
|
||||
|
||||
typedef
|
||||
|
||||
Reference in New Issue
Block a user