NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES structure (netadapter.h)

The NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES structure describes a net adapter's wake on LAN (WoL) capabilities for waking from a magic packet.

Syntax

typedef struct _NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES {
  ULONG   Size;
  BOOLEAN MagicPacket;
} NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES;

Members

Size

The size of this structure, in bytes.

MagicPacket

A boolean value that describes if the net adapter is capable of waking from a magic packet.

Remarks

Call NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES_INIT to initialize this structure, then call NetAdapterWakeSetMagicPacketCapabilities to set the net adapter's magic packet WoL capabilities. Client drivers typically call NetAdapterWakeSetMagicPacketCapabilities when starting a net adapter, but before calling NetAdapterStart.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)

See also

Configuring power management

NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES_INIT

NetAdapterWakeSetMagicPacketCapabilities

NetAdapterStart