Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 = 5
} 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. |
NetWakeSourceTypeEapolPacket Value: 5 The wake source is an EAP over LAN (EAPOL) request identifier message. |
Remarks
Call NetWakeSourceGetType to get the type for a WoL source.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Minimum UMDF version | 2.33 |
Header | netwakesource.h (include netadaptercx.h) |