struttura STOR_ADAPTER_CONTROL_POWER (storport.h)

STOR_ADAPTER_CONTROL_POWER è la struttura a cui punta il parametro Parameters quando viene chiamata la routine HwStorAdapterControl di un miniport con controlType di ScsiAdapterPower.

Sintassi

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;

Members

Header

Struttura STOR_POWER_CONTROL_HEADER .

PowerAction

Valore STOR_POWER_ACTION che indica l'azione di alimentazione. Per una transizione della potenza di runtime, impostare PowerAction su StorPowerActionNone.

PowerState

Valore STOR_DEVICE_POWER_STATE che indica lo stato di alimentazione corrente. Si tratta rispettivamente di StorPowerDeviceD0 o StorPowerDeviceD3 per gli stati di accensione o spegnimento.

Requisiti

Requisito Valore
Client minimo supportato Windows 8
Intestazione storport.h

Vedi anche

HwStorAdapterControl