Fonction PowerSettingUnregisterNotification (powersetting.h)
Annule une inscription pour recevoir une notification lorsqu’un paramètre d’alimentation change.
Syntaxe
DWORD PowerSettingUnregisterNotification(
[in, out] HPOWERNOTIFY RegistrationHandle
);
Paramètres
[in, out] RegistrationHandle
Handle pour une inscription obtenue en appelant la fonction PowerSettingRegisterNotification .
Valeur retournée
Retourne ERROR_SUCCESS (zéro) si l’appel a réussi et une valeur différente de zéro si l’appel a échoué.
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 7 [applications de bureau uniquement] |
Serveur minimal pris en charge | Windows Server 2008 R2 [applications de bureau uniquement] |
Plateforme cible | Windows |
En-tête | powersetting.h |
Bibliothèque | Powrprof.lib |
DLL | Powrprof.dll |
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour