WifiAdapterReportWakeReason function (wificx.h)

The WifiAdapterReportWakeReason function reports to the framework the reason that a Wi-Fi device has generated a wake-up event.

Syntax

void WifiAdapterReportWakeReason(
  NETADAPTER            Adapter,
  WIFI_WAKE_REASON_TYPE Reason
);

Parameters

Adapter

[In] A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.

Reason

[In] A WIFI_WAKE_REASON_TYPE value that describes the reason for the wake-up event.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header wificx.h
IRQL PASSIVE_LEVEL

See also

WIFI_WAKE_REASON_TYPE