STOR_POWER_ACTION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-minitape-stor_power_action)

Description

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

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.

See also

SCSI_POWER_REQUEST_BLOCK


Windows Driver Kit DDI reference (ne-srb-stor_power_action)

STOR_POWER_ACTION enumeration (srb.h)

Description

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

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.

See also

SCSI_POWER_REQUEST_BLOCK


Windows Driver Kit DDI reference (ne-storport-stor_power_action)

Description

The STOR_POWER_ACTION enumeration identifies the system power actions that can occur on a computer.

Constants

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.

Remarks

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.

See also

HwStorAdapterControl

HwStorUnitControl