Bagikan melalui


OID_GEN_MEDIA_DUPLEX_STATE (Compact 2013)

3/26/2014

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

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

See Also

Reference

NDIS Network Interface OIDs
NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES
NET_IF_MEDIA_DUPLEX_STATE
NdisMSetMiniportAttributes