structure STOR_UNIT_CONTROL_POWER (storport.h)
STOR_UNIT_CONTROL_POWER est la structure vers laquelle pointe le paramètre Parameters lorsque Storport appelle la routine HwStorUnitControl d’un miniport avec un ControlType de ScsiUnitPower.
Syntaxe
typedef struct _STOR_UNIT_CONTROL_POWER {
PSTOR_ADDRESS Address;
STOR_POWER_ACTION PowerAction;
STOR_DEVICE_POWER_STATE PowerState;
} STOR_UNIT_CONTROL_POWER, *PSTOR_UNIT_CONTROL_POWER;
Membres
Address
Adresse de l’appareil pour la notification d’alimentation.
PowerAction
Valeur STOR_POWER_ACTION qui indique l’action d’alimentation. Pour une transition d’alimentation au runtime, définissez PowerAction sur StorPowerActionNone.
PowerState
Valeur STOR_DEVICE_POWER_STATE qui indique l’état d’alimentation actuel. Il s’agit de StorPowerDeviceD0 ou StorPowerDeviceD3 pour les états d’alimentation ou de mise hors tension, respectivement.
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 8 |
En-tête | storport.h |
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