fonction WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS_INIT (wificxpoweroffload.h)

La fonction WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS_INIT initialise une structure WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS .

Syntaxe

void WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS_INIT(
  WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS *Parameters
);

Paramètres

Parameters

[Out] Pointeur vers une structure de WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS allouée par le pilote client.

Valeur de retour

None

Remarques

Cette fonction supprime la mémoire de la structure NET_POWER_OFFLOAD_ARP_PARAMETERS, puis remplit le membre Size . Les pilotes clients doivent ensuite appeler WifiPowerOffloadGet80211RSNRekeyParameters pour renseigner les membres restants de la structure.

Le pilote client doit uniquement appeler WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS_INIT pendant une transition d’alimentation, généralement à partir de sa fonction de rappel EVT_WDF_DEVICE_ARM_WAKE_FROM_SX, EVT_WDF_DEVICE_ARM_WAKE_FROM_S0 ou EVT_NET_DEVICE_PREVIEW_POWER_OFFLOAD . Sinon, l’appel entraîne une vérification d’erreur système.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 11
Serveur minimal pris en charge Windows Server 2022
En-tête wificxpoweroffload.h

Voir aussi

WIFI_POWER_OFFLOAD_80211RSNREKEY_PARAMETERS

WifiPowerOffloadGet80211RSNRekeyParameters