NET_IF_MEDIA_CONNECT_STATE (Compact 2013)

3/26/2014

This 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;

Values

  • 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 the same as this enumeration.

typedef NET_IF_MEDIA_CONNECT_STATE NDIS_MEDIA_CONNECT_STATE, *PNDIS_MEDIA_CONNECT_STATE;

Requirements

Header

ifdef.h

See Also

Reference

NDIS Network Interface Enumerations