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  = 0,
  DevicePowerState  = 1
} POWER_STATE_TYPE, *PPOWER_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, or Ntifs.h)

See also

DEVICE_POWER_STATE
POWER_STATE
PoSetPowerState
SYSTEM_POWER_STATE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft