// netadapter.h
void NetAdapterWakeSetMagicPacketCapabilities(
[_In_] NETADAPTER Adapter,
[_In_] const NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES *Capabilities
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetAdapterWakeSetMagicPacketCapabilities function sets a net adapter's magic packet wake on LAN (WoL) capabilities.
Adapter [_In_]A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.
Capabilities [_In_]A pointer to a client driver-allocated and initialized NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES structure.
Client drivers must call NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES_INIT to initialize the NET_ADAPTER_WAKE_MAGIC_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.
NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES
NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES_INIT