structure NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS (netdevice.h)
La structure NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS contient des pointeurs de fonction pour les fonctions de rappel de stratégie d’alimentation d’un pilote client.
Syntaxe
typedef struct _NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS {
ULONG Size;
PFN_NET_DEVICE_PREVIEW_WAKE_SOURCE EvtDevicePreviewBitmapPattern;
PFN_NET_DEVICE_PREVIEW_POWER_OFFLOAD EvtDevicePreviewArpOffload;
PFN_NET_DEVICE_PREVIEW_POWER_OFFLOAD EvtDevicePreviewNSOffload;
} NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS;
Membres
Size
Taille de cette structure, en octets.
EvtDevicePreviewBitmapPattern
Pointeur vers l’implémentation du pilote client du EvtNetDevicePreviewWakeSource fonction de rappel pour afficher un aperçu d’un modèle de veille bitmap.
EvtDevicePreviewArpOffload
Pointeur vers une implémentation du EvtNetDevicePreviewPowerOffload fonction de rappel pour afficher un aperçu d’un déchargement de protocole ARP À faible puissance IPv4.
EvtDevicePreviewNSOffload
Pointeur vers une implémentation du EvtNetDevicePreviewPowerOffload fonction de rappel pour afficher un aperçu d’un déchargement de protocole de sollicitation de voisin IPv6 (NS).
Remarques
Appelez NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS_INIT pour initialiser cette structure, puis fournissez des pointeurs vers les rappels que votre pilote client implémente. Si votre pilote client n’implémente pas l’un des rappels, définissez ce membre sur NULL.
Exigences
Exigence | Valeur |
---|---|
client minimum pris en charge | Windows 10, version 2004 |
version minimale de UMDF | 2.33 |
d’en-tête | netdevice.h (include netadaptercx.h) |
Voir aussi
configuration de l' de gestion de l’alimentation