// netadapter.h
VOID NetAdapterReportWakeReasonMediaChange(
[_In_] NETADAPTER Adapter,
[_In_] NET_IF_MEDIA_CONNECT_STATE Reason
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetAdapterReportWakeReasonMediaChange function reports to the framework that a net adapter generated a wake-up event because of a media change.
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.