Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NET_IF_OPER_STATUS enumeration type defines the current NDIS network interface operational status.
Syntax
typedef enum _NET_IF_OPER_STATUS {
  NET_IF_OPER_STATUS_UP = 1,
  NET_IF_OPER_STATUS_DOWN = 2,
  NET_IF_OPER_STATUS_TESTING = 3,
  NET_IF_OPER_STATUS_UNKNOWN = 4,
  NET_IF_OPER_STATUS_DORMANT = 5,
  NET_IF_OPER_STATUS_NOT_PRESENT = 6,
  NET_IF_OPER_STATUS_LOWER_LAYER_DOWN = 7
} NET_IF_OPER_STATUS, *PNET_IF_OPER_STATUS;
Constants
NET_IF_OPER_STATUS_UPValue: 1 Specifies that the interface is ready to transmit and receive all supported packet types.  | 
NET_IF_OPER_STATUS_DOWNValue: 2 Specifies that the interface is not ready to transmit or receive data. For example, the media is disconnected or the port is not authenticated. In this state, it might be possible to transmit or receive some information. For example, if the interface is down because it has not been authenticated, 802.1x authentication packets can be transmitted and received.  | 
NET_IF_OPER_STATUS_TESTINGValue: 3 Specifies that the interface is in a test mode and no operational packets can be transmitted or received.  | 
NET_IF_OPER_STATUS_UNKNOWNValue: 4 Specifies that the operational status of the network interface cannot be determined.  | 
NET_IF_OPER_STATUS_DORMANTValue: 5 Specifies that the network interface cannot send or receive packets because the interface is waiting for an external event.  | 
NET_IF_OPER_STATUS_NOT_PRESENTValue: 6 Specifies that the network interface is not ready to transmit or receive data because a component is missing in the managed system. This state is more specific than, but similar to, the NET_IF_OPER_STATUS_DOWN state.  | 
NET_IF_OPER_STATUS_LOWER_LAYER_DOWNValue: 7 Specifies that the network interface is not ready to transmit or receive data because underlying interfaces are down. This state is more specific than, but similar to, the NET_IF_OPER_STATUS_DOWN state.  | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Supported in NDIS 6.0 and later. | 
| Header | ifdef.h (include Netioapi.h, Ntddndis.h) |