Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_PRIVATEValue: 0x01 Indicates a private command. This command is not valid in subcontexts. |
CMD_FLAG_INTERACTIVEValue: 0x02 Indicates an interactive command. This command is not valid from outside NetShell. |
CMD_FLAG_LOCALValue: 0x08 Indicates a local command. This command is not valid from remote computers. |
CMD_FLAG_ONLINEValue: 0x10 Indicates a command is valid only when online. This command is not valid in offline or noncommit mode. |
CMD_FLAG_HIDDENValue: 0x20 Indicates a command is not in online Help, but can be executed. |
CMD_FLAG_LIMIT_MASKValue: 0xffff Indicates that the command limits the mask. |
CMD_FLAG_PRIORITYIndicates 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 |