Bewerken

Delen via


OID_GEN_MEDIA_DUPLEX_STATE

As a query, the OID_GEN_MEDIA_DUPLEX_STATE OID returns the duplex state of an interface.

Version Information

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 duplex 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_DUPLEX_STATE enumeration.

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

To specify the duplex state in a miniport driver, set the MediaDuplexState 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

NET_IF_MEDIA_DUPLEX_STATE

NdisMSetMiniportAttributes

NDIS Network Interface OIDs