NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS structure (netwakesource.h)
The NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS structure contains parameters for a media change wake-on-LAN (WoL) wake source.
Syntax
typedef struct _NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS {
ULONG Size;
BOOLEAN MediaConnect;
BOOLEAN MediaDisconnect;
} NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS;
Members
Size
The size of this structure, in bytes.
MediaConnect
A boolean value that specifies if the net adapter generated the wake-up event because it connected to the network media.
MediaDisconnect
A boolean value that specifies if the net adapter generated the wake-up event because it disconnected from the network media.
Remarks
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.
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