PEP_WORK_DEVICE_IDLE structure (pep_x.h)
The PEP_WORK_DEVICE_IDLE structure indicates whether to ignore the idle time-out for the specified device.
Syntax
typedef struct _PEP_WORK_DEVICE_IDLE {
POHANDLE DeviceHandle;
BOOLEAN IgnoreIdleTimeout;
} PEP_WORK_DEVICE_IDLE, *PPEP_WORK_DEVICE_IDLE;
Members
DeviceHandle
A handle that represents the registration of the device with the Windows power management framework (PoFx). A POHANDLE value that represents the registration of the device with PoFx. The platform extension plug-in (PEP) previously received this handle from PoFx during the PEP_DPM_REGISTER_DEVICE notification that informed the PEP that the device's driver stack registered the device with PoFx.
IgnoreIdleTimeout
Whether to ignore the idle time-out. Set to TRUE to tell the operating system to ignore the idle time-out for this device. Set to FALSE to tell the operating system to call the device driver's DevicePowerNotRequiredCallback callback routine after the device remains idle for the designated time-out interval. For more information, see PoFxSetDeviceIdleTimeout.
Remarks
The DeviceIdle member of the PEP_WORK_INFORMATION structure is a PEP_WORK_DEVICE_IDLE structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 10. |
Header | pep_x.h (include Pepfx.h) |