NDIS_SWITCH_NIC_STATE enumeration (ntddndis.h)

The NDIS_SWITCH_NIC_STATE enumeration specifies the current state of the Hyper-V extensible switch network adapter.

Syntax

typedef enum _NDIS_SWITCH_NIC_STATE {
  NdisSwitchNicStateUnknown,
  NdisSwitchNicStateCreated,
  NdisSwitchNicStateConnected,
  NdisSwitchNicStateDisconnected,
  NdisSwitchNicStateDeleted
} NDIS_SWITCH_NIC_STATE;

Constants

 
NdisSwitchNicStateUnknown
This value specifies an undefined NIC state. This value is unused.
NdisSwitchNicStateCreated
This value specifies that the NIC is in the created state.
NdisSwitchNicStateConnected
This value specifies that the NIC is connected.
NdisSwitchNicStateDisconnected
This value specifies that the NIC is disconnected.
NdisSwitchNicStateDeleted
This value specifies that the NIC is deleted.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.30 and later.
Header ntddndis.h (include Ndis.h)

See also

NDIS_SWITCH_NIC_PARAMETERS