OID_GEN_MEDIA_CONNECT_STATUS (Compact 2013)
3/26/2014
As a query, this OID requests the connection status of the network adapter on the network.
Remarks
NDIS handles this OID for NDIS 6.0 miniport drivers.
The OID_GEN_MEDIA_CONNECT_STATUS OID requests the connection status of the network adapter on the network as one of the following system-defined values:
- NdisMediaStateConnected
- NdisMediaStateDisconnected
When a miniport driver senses that the network connection has been lost, it must call the NdisMIndicateStatusEx function with NDIS_STATUS_MEDIA_DISCONNECT. When the connection is restored, it must then call NdisMIndicateStatus with NDIS_STATUS_MEDIA_CONNECT.
Requirements
Header |
ntddndis.h |
See Also
Reference
General Operational OIDs
NDIS_STATUS_MEDIA_DISCONNECT
NDIS_STATUS_MEDIA_CONNECT
MiniportQueryInformation
NdisMIndicateStatus
NDIS_REQUEST