NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-netwakesource-_net_wake_source_media_change_parameters)

NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS structure

Description

The NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS structure contains parameters for a media change wake-on-LAN (WoL) wake source.

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.

See also

Configuring power management

NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS_INIT

NetWakeSourceGetMediaChangeParameters