NDIS_STATUS_MEDIA_DISCONNECT
The NDIS_STATUS_MEDIA_DISCONNECT status indicates that the status of a network connection has changed from connected to disconnected. For example, the network device loses the connection because it is out of range (for a wireless device), or the user unplugs the device's network cable.
Remarks
NDIS translates NDIS_STATUS_MEDIA_DISCONNECT 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_CONNECT status when the connection is restored.
For more information about NDIS_STATUS_MEDIA_DISCONNECT, 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) |