// ntddndis.h
typedef enum _NDIS_SWITCH_NIC_STATE {
NdisSwitchNicStateUnknown,
NdisSwitchNicStateCreated,
NdisSwitchNicStateConnected,
NdisSwitchNicStateDisconnected,
NdisSwitchNicStateDeleted
} NDIS_SWITCH_NIC_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_SWITCH_NIC_STATE enumeration specifies the current state of the Hyper-V extensible switch network adapter.
NdisSwitchNicStateUnknownThis value specifies an undefined NIC state. This value is unused.
NdisSwitchNicStateCreatedThis value specifies that the NIC is in the created state.
NdisSwitchNicStateConnectedThis value specifies that the NIC is connected.
NdisSwitchNicStateDisconnectedThis value specifies that the NIC is disconnected.
NdisSwitchNicStateDeletedThis value specifies that the NIC is deleted.
The NicState member of the NDIS_SWITCH_NIC_PARAMETERS structure is an NDIS_SWITCH_NIC_STATE enumeration data type.
For more information about extensible switch port states, see Overview of Hyper-V Extensible Switch Network Adapters.