NDIS_SWITCH_PORT_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddndis.h

typedef enum _NDIS_SWITCH_PORT_STATE {
  NdisSwitchPortStateUnknown,
  NdisSwitchPortStateCreated,
  NdisSwitchPortStateTeardown,
  NdisSwitchPortStateDeleted
} NDIS_SWITCH_PORT_STATE;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-ntddndis-_ndis_switch_port_state)

_NDIS_SWITCH_PORT_STATE enumeration

Description

The NDIS_SWITCH_PORT_STATE enumeration specifies the current state of the Hyper-V extensible switch port.

Constants

NdisSwitchPortStateUnknown

This value specifies an undefined port state. This value is unused.

NdisSwitchPortStateCreated

This value specifies that the port is in the created state.

NdisSwitchPortStateTeardown

This value specifies that the port is being torn down.

NdisSwitchPortStateDeleted

This value specifies that the port has been deleted.

Remarks

The PortState member of the NDIS_SWITCH_PORT_PARAMETER 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.

See also

NDIS_SWITCH_PORT_PARAMETER