NET_WAKE_SOURCE_TYPE enumeration (netwakesource.h)

The NET_WAKE_SOURCE_TYPE enumeration specifies the type for the source of a wake-on-LAN (WoL) wake-up event from a net adapter.

Syntax

typedef enum _NET_WAKE_SOURCE_TYPE {
  NetWakeSourceTypeBitmapPattern = 1,
  NetWakeSourceTypeMagicPacket = 2,
  NetWakeSourceTypeMediaChange = 3,
  NetWakeSourceTypePacketFilterMatch = 4,
  NetWakeSourceTypeEapolPacket
} NET_WAKE_SOURCE_TYPE;

Constants

 
NetWakeSourceTypeBitmapPattern
Value: 1
The wake source is a bitmap pattern.
NetWakeSourceTypeMagicPacket
Value: 2
The wake source is a magic packet, which is a special packet that contains 16 contiguous copies of the receiving net adapter's Ethernet address.
NetWakeSourceTypeMediaChange
Value: 3
The wake source is a media connect or disconnect event.
NetWakeSourceTypePacketFilterMatch
Value: 4
The wake source is a packet that matches a filter the driver supports, such as an Ethernet unicast frame.

Remarks

Call NetWakeSourceGetType to get the type for a WoL source.

Requirements

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

See also

Configuring power management

NetWakeSourceGetType