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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for