PEP_DEVICE_POWER_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// pep_x.h

typedef struct _PEP_DEVICE_POWER_STATE {
  [in] PEPHANDLE          DeviceHandle;
  [in] DEVICE_POWER_STATE PowerState;
  [in] BOOLEAN            Complete;
  [in] BOOLEAN            SystemTransition;
} PEP_DEVICE_POWER_STATE, *PPEP_DEVICE_POWER_STATE;
View the official Windows Driver Kit DDI reference
// pepfx.h

typedef struct _PEP_DEVICE_POWER_STATE {
  [in] PEPHANDLE          DeviceHandle;
  [in] DEVICE_POWER_STATE PowerState;
  [in] BOOLEAN            Complete;
  [in] BOOLEAN            SystemTransition;
} PEP_DEVICE_POWER_STATE, *PPEP_DEVICE_POWER_STATE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-pep_x-_pep_device_power_state)

_PEP_DEVICE_POWER_STATE structure (pep_x.h)

Description

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

Members

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).

PowerState [in]

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

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.

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


Windows Driver Kit DDI reference (ns-pepfx-_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.

Members

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).

PowerState [in]

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

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.

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