// minitape.h
typedef enum {
StorPowerActionNone,
StorPowerActionReserved,
StorPowerActionSleep,
StorPowerActionHibernate,
StorPowerActionShutdown,
StorPowerActionShutdownReset,
StorPowerActionShutdownOff,
StorPowerActionWarmEject
} STOR_POWER_ACTION, *PSTOR_POWER_ACTION;
View the official Windows Driver Kit DDI reference// srb.h
typedef enum {
StorPowerActionNone,
StorPowerActionReserved,
StorPowerActionSleep,
StorPowerActionHibernate,
StorPowerActionShutdown,
StorPowerActionShutdownReset,
StorPowerActionShutdownOff,
StorPowerActionWarmEject
} STOR_POWER_ACTION, *PSTOR_POWER_ACTION;
View the official Windows Driver Kit DDI reference// storport.h
typedef enum {
StorPowerActionNone,
StorPowerActionReserved,
StorPowerActionSleep,
StorPowerActionHibernate,
StorPowerActionShutdown,
StorPowerActionShutdownReset,
StorPowerActionShutdownOff,
StorPowerActionWarmEject
} STOR_POWER_ACTION, *PSTOR_POWER_ACTION;
View the official Windows Driver Kit DDI referenceNo description available.
The STOR_POWER_ACTION enumerator indicates the power state that the system is about to enter during a power transition.
StorPowerActionNoneNo system shutdown is about to occur.
StorPowerActionReservedReserved.
StorPowerActionSleepThe system is entering standby.
StorPowerActionHibernateThe system is entering hibernation.
StorPowerActionShutdownThe system is shutting down, but the type of shutdown is not known.
StorPowerActionShutdownResetThe system is shutting down and resetting.
StorPowerActionShutdownOffThe system is shutting down and powering off.
StorPowerActionWarmEjectThe system is preparing for ejection.
The STOR_POWER_ACTION enumerator indicates the power state that the system is about to enter during a power transition.
StorPowerActionNoneNo system shutdown is about to occur.
StorPowerActionReservedReserved.
StorPowerActionSleepThe system is entering standby.
StorPowerActionHibernateThe system is entering hibernation.
StorPowerActionShutdownThe system is shutting down, but the type of shutdown is not known.
StorPowerActionShutdownResetThe system is shutting down and resetting.
StorPowerActionShutdownOffThe system is shutting down and powering off.
StorPowerActionWarmEjectThe system is preparing for ejection.
The STOR_POWER_ACTION enumeration identifies the system power actions that can occur on a computer.
StorPowerActionNoneNo power action is taking place.
StorPowerActionReservedReserved for system use.
StorPowerActionSleepThe computer is entering a system sleeping (S1, S2, or S3) state.
StorPowerActionHibernateThe computer is entering its hibernation (S4) state.
StorPowerActionShutdownThe computer is entering its shutdown (S5) state. After all devices have entered their off (D3) state, the computer remains powered on until an administrator presses the power button.
StorPowerActionShutdownResetThe computer is entering its shutdown (S5) state. After all devices have entered their off (D3) state, the computer automatically powers off and then immediately restarts and returns to its working (S0) state.
StorPowerActionShutdownOffThe computer is entering its shutdown (S5) state. After all devices have entered their off (D3) state, the computer automatically powers off.
StorPowerActionWarmEjectThe computer is being ejected from an ACPI-compatible dock device. Typically, the computer's power state does not change.
For a unit, Storport sets STOR_POWER_ACTION in the STOR_UNIT_CONTROL_POWER structure.
For an adapter, Storport sets STOR_POWER_ACTION in the STOR_ADAPTER_CONTROL_POWER structure.