NetAdapterWakeSetEapolPacketCapabilities function (netadapter.h)

The NetAdapterWakeSetEapolPacketCapabilities function sets a network adapter's EAP over LAN (EAPOL) packet wake on LAN (WoL) capabilities.

Syntax

void NetAdapterWakeSetEapolPacketCapabilities(
  [_In_] NETADAPTER                                       Adapter,
  [_In_] const NET_ADAPTER_WAKE_EAPOL_PACKET_CAPABILITIES *Capabilities
);

Parameters

[_In_] Adapter

A handle to a NETADAPTER object the client driver previously created with a call to NetAdapterCreate.

[_In_] Capabilities

A pointer to a driver-allocated and initialized NET_ADAPTER_WAKE_EAPOL_PACKET_CAPABILITIES structure that describes the network adapter's EAPOL packet WoL capabilities.

Return value

None

Remarks

Client drivers must call NET_ADAPTER_WAKE_EAPOL_PACKET_CAPABILITIES_INIT to initialize the NET_ADAPTER_WAKE_EAPOL_PACKET_CAPABILITIES structure, then set the structure's members appropriately before calling this function. 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 netadapter.h (include netadaptercx.h)

See also

NET_ADAPTER_WAKE_EAPOL_PACKET_CAPABILITIES

NET_ADAPTER_WAKE_EAPOL_PACKET_CAPABILITIES_INIT

EvtDevicePrepareHardware

NetAdapterStart