// netadapter.h
void NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT(
[_Out_] NET_ADAPTER_LINK_LAYER_CAPABILITIES *LinkLayerCapabilities,
[_In_] ULONG64 MaxTxLinkSpeed,
[_In_] ULONG64 MaxRxLinkSpeed
);
View the official Windows Driver Kit DDI referenceNo description available.
The NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT function initializes a NET_ADAPTER_LINK_LAYER_CAPABILITIES structure.
LinkLayerCapabilities [_Out_]A pointer to the driver-allocated NET_ADAPTER_LINK_LAYER_CAPABILITIES structure that describes the link layer capabilities of the adapter.
MaxTxLinkSpeed [_In_]The maximum transmit link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.
MaxRxLinkSpeed [_In_]The maximum receive link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.
NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT zeroes out the NET_ADAPTER_LINK_LAYER_CAPABILITIES structure and then sets all of its members.