次の方法で共有


OID_GEN_MEDIA_CONNECT_STATUS (Windows Embedded CE 6.0)

1/6/2010

OID_GEN_MEDIA_CONNECT_STATUS requests the miniport to return the connection status of the NIC on the network as one of the following system-defined values:

  • NdisMediaStateConnected
  • NdisMediaStateDisconnected

When a NIC miniport senses that the network connection has been lost, it must also call NdisMIndicateStatus with NDIS_STATUS_MEDIA_DISCONNECT. When the connection is restored, it must then call NdisMIndicateStatus with NDIS_STATUS_MEDIA_CONNECT.

Requirements

Header ntddndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

General Object Identifiers
MiniportQueryInformation
NdisMIndicateStatus
NDIS_REQUEST