// netadapter.h
typedef enum _NET_ADAPTER_AUTO_NEGOTIATION_FLAGS {
NetAdapterAutoNegotiationFlagNone = 0x00000000,
NetAdapterAutoNegotiationFlagXmitLinkSpeedAutoNegotiated = 0x00000001,
NetAdapterAutoNegotiationFlagRcvLinkSpeedautoNegotiated = 0x00000002,
NetAdapterAutoNegotiationFlagDuplexAutoNegotiated = 0x00000004,
NetAdapterAutoNegotiationFlagPauseFunctionsAutoNegotiated = 0x00000008
} NET_ADAPTER_AUTO_NEGOTIATION_FLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
Specifies the auto-negotiation settings for the NIC driver.
NetAdapterAutoNegotiationFlagNone:0x00000000No flags are set.
NetAdapterAutoNegotiationFlagXmitLinkSpeedAutoNegotiated:0x00000001The adapter has auto-negotiated the transmit link speed with the link partner.
NetAdapterAutoNegotiationFlagRcvLinkSpeedautoNegotiated:0x00000002The adapter has auto-negotiated the receive link speed with the link partner.
NetAdapterAutoNegotiationFlagDuplexAutoNegotiated:0x00000004The adapter has auto-negotiated the duplex state with the link partner.
NetAdapterAutoNegotiationFlagPauseFunctionsAutoNegotiated:0x00000008The adapter has auto-negotiated the pause functions with the link partner.
The NET_ADAPTER_AUTO_NEGOTIATION_FLAGS enumeration is used to specify auto-negotiation settings in the NET_ADAPTER_LINK_STATE structure.
An initialized NET_ADAPTER_LINK_STATE structure is an input to NetAdapterSetLinkState.