NetAdapterOffloadSetIeee8021qTagCapabilities function (netadapteroffload.h)
The NetAdapterOffloadSetIeee8021qTagCapabilities function sets the IEEE 802.1 priority tagging and virtual LAN (VLAN) tagging capabilities of a network adapter.
Syntax
void NetAdapterOffloadSetIeee8021qTagCapabilities(
[_In_] NETADAPTER Adapter,
[In_] NET_ADAPTER_OFFLOAD_IEEE8021Q_TAG_CAPABILITIES *HardwareCapabilities
);
Parameters
[_In_] Adapter
A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.
[In_] HardwareCapabilities
A pointer to a driver-allocated and initialized NET_ADAPTER_OFFLOAD_IEEE8021Q_TAG_CAPABILITIES structure that describes the hardware's 802.1 priority tagging and VLAN tagging capabilities.
Return value
None
Remarks
Client drivers typically call this function from within their EvtDevicePrepareHardware callback, but must call this function before calling NetAdapterStart.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Minimum UMDF version | 2.33 |
Header | netadapteroffload.h (include netadaptercx.h) |