As a query, the OID_GEN_MEDIA_CONNECT_STATUS OID requests the connection status of the NIC on the network.
- Windows Vista and later versions of Windows
- Windows XP
NDIS handles this OID for NDIS 6.0 and later miniport drivers.
The OID_GEN_MEDIA_CONNECT_STATUS OID requests the connection status of the NIC on the network as one of the following system-defined values:
When a miniport driver senses that the network connection has been lost, it must also call the NdisMIndicateStatusEx or NdisMCoIndicateStatusEx function with NDIS_STATUS_MEDIA_DISCONNECT. When the connection is restored, it must then call NdisM(Co)IndicateStatus with NDIS_STATUS_MEDIA_CONNECT.
Build date: 11/16/2013