NetAdapterReportWakeReasonMediaChange - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netadapter.h

VOID NetAdapterReportWakeReasonMediaChange(
  [_In_] NETADAPTER                 Adapter,
  [_In_] NET_IF_MEDIA_CONNECT_STATE Reason
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapter-netadapterreportwakereasonmediachange)

NetAdapterReportWakeReasonMediaChange function

Description

The NetAdapterReportWakeReasonMediaChange function reports to the framework that a net adapter generated a wake-up event because of a media change.

Parameters

Adapter [_In_]

A handle to the NETADAPTER object.

Reason [_In_]

A NET_IF_MEDIA_CONNECT_STATE value that specifies the network interface connection state that triggered the wake-up event.

Remarks

See also

Configuring power management

NET_IF_MEDIA_CONNECT_STATE