// 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 reference
No description available.
The STOR_POWER_ACTION enumerator indicates the power state that the system is about to enter during a power transition.
StorPowerActionNone
No system shutdown is about to occur.
StorPowerActionReserved
Reserved.
StorPowerActionSleep
The system is entering standby.
StorPowerActionHibernate
The system is entering hibernation.
StorPowerActionShutdown
The system is shutting down, but the type of shutdown is not known.
StorPowerActionShutdownReset
The system is shutting down and resetting.
StorPowerActionShutdownOff
The system is shutting down and powering off.
StorPowerActionWarmEject
The 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.
StorPowerActionNone
No system shutdown is about to occur.
StorPowerActionReserved
Reserved.
StorPowerActionSleep
The system is entering standby.
StorPowerActionHibernate
The system is entering hibernation.
StorPowerActionShutdown
The system is shutting down, but the type of shutdown is not known.
StorPowerActionShutdownReset
The system is shutting down and resetting.
StorPowerActionShutdownOff
The system is shutting down and powering off.
StorPowerActionWarmEject
The system is preparing for ejection.
The STOR_POWER_ACTION enumeration identifies the system power actions that can occur on a computer.
StorPowerActionNone
No power action is taking place.
StorPowerActionReserved
Reserved for system use.
StorPowerActionSleep
The computer is entering a system sleeping (S1, S2, or S3) state.
StorPowerActionHibernate
The computer is entering its hibernation (S4) state.
StorPowerActionShutdown
The 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.
StorPowerActionShutdownReset
The 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.
StorPowerActionShutdownOff
The computer is entering its shutdown (S5) state. After all devices have entered their off (D3) state, the computer automatically powers off.
StorPowerActionWarmEject
The 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.