Skip to content

Latest commit

 

History

History
97 lines (67 loc) · 3.76 KB

ns-pepfx-_pep_device_power_state.md

File metadata and controls

97 lines (67 loc) · 3.76 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:pepfx._PEP_DEVICE_POWER_STATE
_PEP_DEVICE_POWER_STATE (pepfx.h)
The PEP_DEVICE_POWER_STATE structure indicates the status of a transition to a new Dx (device power) state.
kernel\pep_device_power_state.htm
kernel
04/30/2018
PEP_DEVICE_POWER_STATE structure
*PPEP_DEVICE_POWER_STATE, PEP_DEVICE_POWER_STATE, PEP_DEVICE_POWER_STATE structure [Kernel-Mode Driver Architecture], PPEP_DEVICE_POWER_STATE, PPEP_DEVICE_POWER_STATE structure pointer [Kernel-Mode Driver Architecture], _PEP_DEVICE_POWER_STATE, kernel.pep_device_power_state, pepfx/PEP_DEVICE_POWER_STATE, pepfx/PPEP_DEVICE_POWER_STATE
pepfx.h
Pep_x.h
Windows
Supported starting with Windows 10.
Windows
PEP_DEVICE_POWER_STATE, *PPEP_DEVICE_POWER_STATE
_PEP_DEVICE_POWER_STATE
pepfx/_PEP_DEVICE_POWER_STATE
PPEP_DEVICE_POWER_STATE
pepfx/PPEP_DEVICE_POWER_STATE
PEP_DEVICE_POWER_STATE
pepfx/PEP_DEVICE_POWER_STATE
APIRef
kbSyntax
HeaderDef
pepfx.h
_PEP_DEVICE_POWER_STATE
PPEP_DEVICE_POWER_STATE
PEP_DEVICE_POWER_STATE

_PEP_DEVICE_POWER_STATE structure (pepfx.h)

-description

The PEP_DEVICE_POWER_STATE structure indicates the status of a transition to a new Dx (device power) state.

-struct-fields

-field DeviceHandle [in]

The PEPHANDLE value that identifies this device. The PEP previously created this handle in response to a PEP_DPM_REGISTER_DEVICE notification from the Windows power management framework (PoFx).

-field PowerState [in]

A DEVICE_POWER_STATE enumeration value that specifies the new device power state.

-field Complete [in]

Whether the transition to the new device power state has just been initiated or has just completed. If TRUE, the transition to the target device power state has completed. If FALSE, the power policy owner (PPO) has initiated the transition by calling the PoRequestPowerIrp routine, but the Windows power manager has not yet issued the Dx IRP (an IRP_MN_SET_POWER request of type DevicePowerState) to the device's driver stack.

-field SystemTransition [in]

Always set to FALSE.

-remarks

This structure is used by the PEP_DPM_DEVICE_POWER_STATE notification. All four members of the structure contain input values that are supplied by PoFx. The PEP does not write to this structure.

-see-also

DEVICE_POWER_STATE

IRP_MN_SET_POWER

PEP_DPM_DEVICE_POWER_STATE

PEP_DPM_REGISTER_DEVICE

PoRequestPowerIrp