Muokkaa

Jaa


OID_GEN_MEDIA_CONNECT_STATUS_EX

As a query, the OID_GEN_MEDIA_CONNECT_STATUS_EX OID returns the connection state of an interface.

Windows Vista and later
Supported.

NDIS 6.0 and later miniport drivers
Not requested. For NDIS interface providers only.

Remarks

NDIS uses this OID to query the connection state of an NDIS network interface provider. Only NDIS interface providers, and therefore not miniport drivers or filter drivers, must support this OID as an OID request.

If the query succeeds, the interface provider returns NDIS_STATUS_SUCCESS, and the result of the query can be one of the values in the NET_IF_MEDIA_CONNECT_STATE enumeration.

Miniport drivers supply the media connect status during initialization and provide updates with status indications.

To specify the connection state in a miniport driver, set the MediaConnectState member of the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure that the miniport driver passes to the NdisMSetMiniportAttributes function.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES

NdisMSetMiniportAttributes

NET_IF_MEDIA_CONNECT_STATE

NDIS Network Interface OIDs