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_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
MediaConnectStateUnknownThe connection state of the interface is unknown.  | 
MediaConnectStateConnectedThe interface is connected to the network.  | 
MediaConnectStateDisconnectedThe 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) |