_POWER_STATE_TYPE Enumeration

The POWER_STATE_TYPE enumeration type indicates that a power state value is a system power state or a device power state.

Syntax

typedef enum _POWER_STATE_TYPE {
  SystemPowerState  ,
  DevicePowerState
} *PPOWER_STATE_TYPE, POWER_STATE_TYPE;

Constants

SystemPowerState Indicates a SYSTEM_POWER_STATE value.
DevicePowerState Indicates a DEVICE_POWER_STATE value.

Remarks

The POWER_STATE_TYPE enumeration type is used in conjunction with a value of type POWER_STATE to indicate that the power state value is a system power state value or a device power state value. For an example, see PoSetPowerState.

Requirements

   
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Ntpoapi.h)

See Also

DEVICE_POWER_STATE

POWER_STATE

PoSetPowerState

SYSTEM_POWER_STATE