// netadapter.h
void NET_ADAPTER_LINK_STATE_INIT(
[_Out_] NET_ADAPTER_LINK_STATE *LinkState,
[_In_] ULONG64 LinkSpeed,
[_In_] NET_IF_MEDIA_CONNECT_STATE MediaConnectState,
[_In_] NET_IF_MEDIA_DUPLEX_STATE MediaDuplexState,
[_In_] NET_ADAPTER_PAUSE_FUNCTION_TYPE SupportedPauseFunctions,
[_In_] NET_ADAPTER_AUTO_NEGOTIATION_FLAGS AutoNegotiationFlags
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes a NET_ADAPTER_LINK_STATE structure.
LinkState [_Out_]A pointer to a driver-allocated NET_ADAPTER_LINK_STATE structure.
LinkSpeed [_In_]The link speed of the adapter in bits per second.
MediaConnectState [_In_]The media connect state for the network adapter.
MediaDuplexState [_In_]The media duplex state for the network adapter.
SupportedPauseFunctions [_In_]Support for the IEEE 802.3 pause frames specified by a NET_ADAPTER_PAUSE_FUNCTION_TYPE value.
AutoNegotiationFlags [_In_]The auto-negotiation settings for the network adapter. For more info, see NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES.
Call NET_ADAPTER_LINK_STATE_INIT or NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED to initialize a NET_ADAPTER_LINK_STATE structure.
An initialized NET_ADAPTER_LINK_STATE structure is an input parameter value to NetAdapterSetLinkState.
NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES
NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED