NET_IF_MEDIA_CONNECT_STATE enumeration (ifdef.h)

The NET_IF_MEDIA_CONNECT_STATE enumeration type specifies the NDIS network interface connection state.

Syntax

typedef enum _NET_IF_MEDIA_CONNECT_STATE {
  MediaConnectStateUnknown,
  MediaConnectStateConnected,
  MediaConnectStateDisconnected
} NET_IF_MEDIA_CONNECT_STATE, *PNET_IF_MEDIA_CONNECT_STATE;

Constants

 
MediaConnectStateUnknown
The connection state of the interface is unknown.
MediaConnectStateConnected
The interface is connected to the network.
MediaConnectStateDisconnected
The interface is not connected to the network.

Remarks

The NDIS_MEDIA_CONNECT_STATE enumeration type, used to describe NDIS interface providers in the OID_GEN_MEDIA_CONNECT_STATUS_EX OID, is equivalent to this enumeration.

typedef NET_IF_MEDIA_CONNECT_STATE NDIS_MEDIA_CONNECT_STATE, *PNDIS_MEDIA_CONNECT_STATE;

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Header ifdef.h (include Netioapi.h, Ntddndis.h)