Condividi tramite


struttura STOR_UNIT_CONTROL_POWER (storport.h)

STOR_UNIT_CONTROL_POWER è la struttura a cui punta il parametro Parameters quando Storport chiama la routine HwStorUnitControl di un miniport con controlType di ScsiUnitPower.

Sintassi

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;

Members

Address

Indirizzo del dispositivo per la notifica di alimentazione.

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

HwStorUnitControl