NET_IF_MEDIA_CONNECT_STATE
Collapse the table of content
Expand the table of content

NET_IF_MEDIA_CONNECT_STATE enumeration

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

Version

Supported in NDIS 6.0 and later.

Header

Ifdef.h (include Netioapi.h or Ntddndis.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft