// netwakesource.h
typedef struct _NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS {
ULONG Size;
BOOLEAN MediaConnect;
BOOLEAN MediaDisconnect;
} NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
The NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS structure contains parameters for a media change wake-on-LAN (WoL) wake source.
SizeThe size of this structure, in bytes.
MediaConnectA boolean value that specifies if the net adapter generated the wake-up event because it connected to the network media.
MediaDisconnectA boolean value that specifies if the net adapter generated the wake-up event because it disconnected from the network media.
Call NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS_INIT to initialize this structure and fill in its Size field. After calling NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS_INIT, call NetWakeSourceGetMediaChangeParameters to fill in the other members of the structure.
NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS_INIT
NetWakeSourceGetMediaChangeParameters