As a query, the OID_GEN_MEDIA_CONNECT_STATUS OID requests the connection status of the NIC on the network.
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:
NdisMediaStateDisconnected 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.
|Ntddndis.h (include Ndis.h)|