Export (0) Print
Expand All
IRP
MDL
Expand Minimize

POWER_STATE union

The POWER_STATE union specifies a system power state value or a device power state value.

Syntax


typedef union _POWER_STATE {
  SYSTEM_POWER_STATE SystemState;
  DEVICE_POWER_STATE DeviceState;
} POWER_STATE, *PPOWER_STATE;

Members

SystemState

A system power state value of type SYSTEM_POWER_STATE.

DeviceState

A device power state value of type DEVICE_POWER_STATE.

Remarks

The POWER_STATE union is used in conjunction with the POWER_STATE_TYPE enumeration type to specify a system power state value or a device power state value. This union is also used in cases where the power state type is implicitly determined by the context in which it is used. For example, see PoRequestPowerIrp and PoSetPowerState.

For more information about power management, see Introduction to Power Management.

Requirements

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

DEVICE_POWER_STATE
PoRequestPowerIrp
PoSetPowerState
POWER_STATE_TYPE
SYSTEM_POWER_STATE

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft