Partager via


structure STOR_UNIT_CONTROL_POWER (storport.h)

STOR_UNIT_CONTROL_POWER est la structure pointée par le paramètre Paramètres de 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 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

Voir aussi

HwStorUnitControl