NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES structure (netadapter.h)

The NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES structure describes a net adapter's wake on LAN (WoL) capabilities for waking from a media change event.

Syntax

typedef struct _NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES {
  ULONG   Size;
  BOOLEAN MediaConnect;
  BOOLEAN MediaDisconnect;
} NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES;

Members

Size

The size of this structure, in bytes.

MediaConnect

A boolean value that describes if the net adapter is capable of waking from a media connect event.

MediaDisconnect

A boolean value that describes if the net adapter is capable of waking from a media disconnect event.

Remarks

Call NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES_INIT to initialize this structure, then call NetAdapterWakeSetMediaChangeCapabilities to set the net adapter's media change WoL capabilities. Client drivers typically call NetAdapterWakeSetMediaChangeCapabilities when starting a net adapter, but before calling NetAdapterStart.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)

See also

Configuring power management

NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES_INIT

NetAdapterWakeSetMediaChangeCapabilities

NetAdapterStart