Condividi tramite


enumerazione STOR_POWER_ACTION (storport.h)

L'enumerazione STOR_POWER_ACTION identifica le azioni di alimentazione del sistema che possono verificarsi in un computer.

Sintassi

typedef enum {
  StorPowerActionNone,
  StorPowerActionReserved,
  StorPowerActionSleep,
  StorPowerActionHibernate,
  StorPowerActionShutdown,
  StorPowerActionShutdownReset,
  StorPowerActionShutdownOff,
  StorPowerActionWarmEject
} STOR_POWER_ACTION, *PSTOR_POWER_ACTION;

Costanti

 
StorPowerActionNone
Non viene eseguita alcuna azione di potenza.
StorPowerActionReserved
Riservato per l'uso del sistema.
StorPowerActionSleep
Il computer sta immettendo uno stato di sospensione del sistema di (S1, S2 o S3).
StorPowerActionHibernate
Il computer sta immettendo lo stato di ibernazione (S4).
StorPowerActionShutdown
Il computer sta immettendo lo stato di arresto (S5). Dopo che tutti i dispositivi sono entrati nello stato disattivato (D3), il computer rimane acceso fino a quando un amministratore non preme il pulsante di alimentazione.
StorPowerActionShutdownReset
Il computer sta immettendo lo stato di arresto (S5). Dopo che tutti i dispositivi hanno disattivato lo stato (D3), il computer si spegne automaticamente e quindi viene riavviato immediatamente e torna al suo stato di lavoro (S0).
StorPowerActionShutdownOff
Il computer sta immettendo lo stato di arresto (S5). Dopo che tutti i dispositivi hanno disattivato lo stato (D3), il computer viene spento automaticamente.
StorPowerActionWarmEject
Il computer viene espulso da un dispositivo dock compatibile con ACPI. In genere, lo stato di alimentazione del computer non cambia.

Osservazioni

Per un'unità, Storport imposta STOR_POWER_ACTION nella struttura STOR_UNIT_CONTROL_POWER.

Per un adattatore, Storport imposta STOR_POWER_ACTION nella struttura STOR_ADAPTER_CONTROL_POWER.

Fabbisogno

Requisito Valore
client minimo supportato Windows 8
intestazione storport.h

Vedere anche

HwStorAdapterControl

HwStorUnitControl