NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT function (netadapter.h)
The NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT function initializes a NET_ADAPTER_LINK_LAYER_CAPABILITIES structure.
Syntax
void NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT(
[_Out_] NET_ADAPTER_LINK_LAYER_CAPABILITIES *LinkLayerCapabilities,
[_In_] ULONG64 MaxTxLinkSpeed,
[_In_] ULONG64 MaxRxLinkSpeed
);
Parameters
[_Out_] LinkLayerCapabilities
A pointer to the driver-allocated NET_ADAPTER_LINK_LAYER_CAPABILITIES structure that describes the link layer capabilities of the adapter.
[_In_] MaxTxLinkSpeed
The maximum transmit link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.
[_In_] MaxRxLinkSpeed
The maximum receive link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.
Return value
None
Remarks
NET_ADAPTER_LINK_LAYER_CAPABILITIES_INIT zeroes out the NET_ADAPTER_LINK_LAYER_CAPABILITIES structure and then sets all of its members.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 |
Minimum supported server | Windows Server 2016 |
Minimum KMDF version | 1.23 |
Header | netadapter.h (include netadaptercx.h) |
IRQL | PASSIVE_LEVEL |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for