NDIS_STATUS_MEDIA_CONNECT

The NDIS_STATUS_MEDIA_CONNECT status indicates that the status of a device's network connection has changed from disconnected to connected. For example, a device connects when it comes within range of an access point (for a wireless device) or when the user connects the device's network cable.

Remarks

NDIS translates NDIS_STATUS_MEDIA_CONNECT status indications to NDIS_STATUS_LINK_STATE status indications for overlying NDIS 6.0 drivers.

NDIS 5.x and earlier miniport drivers indicate an NDIS_STATUS_MEDIA_DISCONNECT status when a miniport driver determines that the network connection has been lost. When the connection is restored, the driver indicates an NDIS_STATUS_MEDIA_CONNECT status.

For more information about NDIS_STATUS_MEDIA_CONNECT, see Indicating Connection Status (NDIS 5.1) and Media Status Indications for 802.11 Networks.

Requirements

Version

Not supported in NDIS 6.0 and later (use NDIS_STATUS_LINK_STATE instead). Supported only for NDIS 5.1 drivers in Windows Vista and Windows XP.

Header

Ndis.h (include Ndis.h)

See also

NDIS_STATUS_LINK_STATE

NDIS_STATUS_MEDIA_DISCONNECT