NDIS_SWITCH_NIC_STATE enumeration

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       = 0,
  NdisSwitchNicStateCreated       = 1,
  NdisSwitchNicStateConnected     = 2,
  NdisSwitchNicStateDisconnected  = 3,
  NdisSwitchNicStateDeleted       = 4
} 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

Version

Supported in NDIS 6.30 and later.

Header

Ntddndis.h (include Ndis.h)

See also

NDIS_SWITCH_NIC_PARAMETERS

 

 

Send comments about this topic to Microsoft

Show: