Bewerken

Delen via


NetAdapterReportWakeReasonPacket function (netadapter.h)

The NetAdapterReportWakeReasonPacket function reports to the framework that a net adapter generated a wake-up event because it received a packet that matched a wake-on-LAN (WoL) pattern.

Syntax

void NetAdapterReportWakeReasonPacket(
  [_In_] NETADAPTER                           Adapter,
  [_In_] const NET_ADAPTER_WAKE_REASON_PACKET *Reason
);

Parameters

[_In_] Adapter

A handle to the NETADAPTER object.

[_In_] Reason

A pointer to the NET_ADAPTER_WAKE_REASON_PACKET structure that represents the wake reason packet that the net adapter received.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Target Platform Universal
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See also

Configuring power management

NET_ADAPTER_WAKE_REASON_PACKET