// netwakesource.h
typedef enum _NET_WAKE_SOURCE_TYPE {
NetWakeSourceTypeBitmapPattern = 1,
NetWakeSourceTypeMagicPacket = 2,
NetWakeSourceTypeMediaChange = 3,
NetWakeSourceTypePacketFilterMatch = 4,
NetWakeSourceTypeEapolPacket = 5
} NET_WAKE_SOURCE_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
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.
NetWakeSourceTypeBitmapPattern:1The wake source is a bitmap pattern.
NetWakeSourceTypeMagicPacket:2The 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:3The wake source is a media connect or disconnect event.
NetWakeSourceTypePacketFilterMatch:4The wake source is a packet that matches a filter the driver supports, such as an Ethernet unicast frame.
NetWakeSourceTypeEapolPacket:5The wake source is an EAP over LAN (EAPOL) request identifier message.
Call NetWakeSourceGetType to get the type for a WoL source.