STOR_DEVICE_POWER_STATE enumeration (storport.h)
The STOR_DEVICE_POWER_STATE enumerator specifies a storage device power state.
Syntax
typedef enum _STOR_DEVICE_POWER_STATE {
StorPowerDeviceUnspecified,
StorPowerDeviceD0,
StorPowerDeviceD1,
StorPowerDeviceD2,
StorPowerDeviceD3,
StorPowerDeviceMaximum
} STOR_DEVICE_POWER_STATE, *PSTOR_DEVICE_POWER_STATE;
Constants
StorPowerDeviceUnspecified The device power state is unspecified. |
StorPowerDeviceD0 Maximum device power state, which corresponds to device working state D0. |
StorPowerDeviceD1 The device sleeping state that is less than StorPowerDeviceD0 and greater than StorPowerDeviceD2, which corresponds to device power state D1. |
StorPowerDeviceD2 The device sleeping state that is less than StorPowerDeviceD1 and greater than StorPowerDeviceD3, which corresponds to device power state D2. |
StorPowerDeviceD3 The lowest-powered device sleeping state, which corresponds to device power state D3. |
StorPowerDeviceMaximum The upper delimiting value on device power states. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Header | storport.h (include Storport.h, Minitape.h, Srb.h) |