// ntddndis.h
typedef enum _NDIS_SWITCH_PORT_STATE {
NdisSwitchPortStateUnknown,
NdisSwitchPortStateCreated,
NdisSwitchPortStateTeardown,
NdisSwitchPortStateDeleted
} NDIS_SWITCH_PORT_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_SWITCH_PORT_STATE enumeration specifies the current state of the Hyper-V extensible switch port.
NdisSwitchPortStateUnknownThis value specifies an undefined port state. This value is unused.
NdisSwitchPortStateCreatedThis value specifies that the port is in the created state.
NdisSwitchPortStateTeardownThis value specifies that the port is being torn down.
NdisSwitchPortStateDeletedThis value specifies that the port has been deleted.
The PortState member of the NDIS_SWITCH_PORT_PARAMETERS structure is an NDIS_SWITCH_PORT_STATE enumeration data type.
For more information about extensible switch port states, see Overview of Hyper-V Extensible Switch Ports.