structure STOR_ADAPTER_CONTROL_POWER (storport.h)
STOR_ADAPTER_CONTROL_POWER est la structure pointée par le paramètre Parameters lorsqu’une routine HwStorAdapterControl de miniport est appelée avec un ControlType de ScsiAdapterPower.
Syntaxe
typedef struct _STOR_ADAPTER_CONTROL_POWER {
STOR_POWER_CONTROL_HEADER Header;
STOR_POWER_ACTION PowerAction;
STOR_DEVICE_POWER_STATE PowerState;
} STOR_ADAPTER_CONTROL_POWER, *PSTOR_ADAPTER_CONTROL_POWER;
Membres
Header
Structure STOR_POWER_CONTROL_HEADER.
PowerAction
Valeur STOR_POWER_ACTION qui indique l’action d’alimentation. Pour une transition d’alimentation du runtime, définissez PowerAction sur StorPowerActionNone.
PowerState
Valeur STOR_DEVICE_POWER_STATE qui indique l’état actuel de l’alimentation. Il s’agit de storPowerDeviceD0 ou de StorPowerDeviceD3 respectivement pour l’alimentation ou l’arrêt des états.
Exigences
Exigence | Valeur |
---|---|
client minimum pris en charge | Windows 8 |
d’en-tête | storport.h |