Edit

Share via


STOR_POWER_ACTION enumeration (srb.h)

The STOR_POWER_ACTION enumerator indicates the power state that the system is about to enter during a power transition.

Syntax

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

Constants

 
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.

Requirements

Requirement Value
Header srb.h (include Storport.h, Minitape.h, Srb.h)

See also

SCSI_POWER_REQUEST_BLOCK