Edit

NS_CMD_FLAGS enumeration (netsh.h)

The NS_CMD_FLAGS enumeration specifies command flags available in NetShell.

Syntax

typedef enum NS_CMD_FLAGS {
  CMD_FLAG_PRIVATE = 0x01,
  CMD_FLAG_INTERACTIVE = 0x02,
  CMD_FLAG_LOCAL = 0x08,
  CMD_FLAG_ONLINE = 0x10,
  CMD_FLAG_HIDDEN = 0x20,
  CMD_FLAG_LIMIT_MASK = 0xffff,
  CMD_FLAG_PRIORITY
} ;

Constants

 
CMD_FLAG_PRIVATE
Value: 0x01
Indicates a private command. This command is not valid in subcontexts.
CMD_FLAG_INTERACTIVE
Value: 0x02
Indicates an interactive command. This command is not valid from outside NetShell.
CMD_FLAG_LOCAL
Value: 0x08
Indicates a local command. This command is not valid from remote computers.
CMD_FLAG_ONLINE
Value: 0x10
Indicates a command is valid only when online. This command is not valid in offline or noncommit mode.
CMD_FLAG_HIDDEN
Value: 0x20
Indicates a command is not in online Help, but can be executed.
CMD_FLAG_LIMIT_MASK
Value: 0xffff
Indicates that the command limits the mask.
CMD_FLAG_PRIORITY
Indicates that the ulPriority field is used.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header netsh.h