共用方式為


OID_GEN_MAX_LINK_SPEED (Compact 2013)

3/26/2014

As a query, NDIS and overlying drivers use this OID to determine the maximum supported transmit and receive link speeds of a miniport adapter.

Remarks

The miniport driver supplies the maximum link speed during initialization.

To specify the maximum link speeds, set the MaxXmitLinkSpeed and MaxRcvLinkSpeed members of the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure that the miniport driver passes to the NdisMSetMiniportAttributes function. If a miniport driver does not support this OID, the driver should return NDIS_STATUS_NOT_SUPPORTED. If the miniport driver supports this OID, it returns the maximum link speeds in an NDIS_LINK_SPEED structure.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS 6.0 General OIDs for Miniport Drivers
NDIS_LINK_SPEED
NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES
NdisMSetMiniportAttributes