Bewerken

Delen via


NDIS_WDI_IDLE_NOTIFICATION_CONFIRM callback function (dot11wdi.h)

Important

This topic is part of the WDI driver model released in Windows 10. The WDI driver model is in maintenance mode and will only receive high priority fixes. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features.

Miniport drivers call NdisWdiIdleNotificationConfirm callback function to notify NDIS that the idle network adapter can safely be suspended and transitioned to a low-power state. Miniport drivers call this function during an NDIS selective suspend operation. NDIS begins the operation when it calls the driver's MiniportWdiIdleNotification handler function.

This is a control path callback inside NDIS_WDI_INIT_PARAMETERS.

Syntax

NDIS_WDI_IDLE_NOTIFICATION_CONFIRM NdisWdiIdleNotificationConfirm;

void NdisWdiIdleNotificationConfirm(
  [in] NDIS_HANDLE MiniportAdapterHandle,
  [in] NDIS_DEVICE_POWER_STATE DeviceIdlePowerState
)
{...}

Parameters

[in] MiniportAdapterHandle

The miniport handle.

[in] DeviceIdlePowerState

An NDIS_DEVICE_POWER_STATE enumeration value that specifies the lowest power state that the network adapter supports for a low-power state transition.

Note  For USB network adapters, this parameter must be NdisDeviceStateD2.
 

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header dot11wdi.h

See also

Handling the NDIS Selective Suspend Idle Notification

NDIS_DEVICE_POWER_STATE

NDIS_WDI_INIT_PARAMETERS