// wdfdevice.h
typedef enum _WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE {
DriverManagedIdleTimeout = 0,
SystemManagedIdleTimeout = 1,
SystemManagedIdleTimeoutWithHint = 2
} WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE, *PWDF_POWER_POLICY_IDLE_TIMEOUT_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE enumeration identifies how the idle timeout for a device is determined.
DriverManagedIdleTimeout:0The idle timeout value is determined by the IdleTimeout member of the WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS structure.
SystemManagedIdleTimeout:1Starting in Windows 8, the timeout value is determined by the power framework (PoFx). The value of the IdleTimeout member is not used.
On operating systems earlier than Windows 8, the behavior is same as DriverManagedIdleTimeout.
SystemManagedIdleTimeoutWithHint:2Starting in Windows 8, the PoFx uses the value specified in the IdleTimeout member as an input when determining at what point after all the components are idle to transition the device to a low-power (Dx) state. This option enables the driver to delay the transition to a low-power state.
The actual duration after which the PoFx allows the device to enter a low-power state might be greater than the IdleTimeout value.
On operating systems earlier than Windows 8, the behavior is the same as DriverManagedIdleTimeout.
The WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE enumeration is used in the WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS structure.
WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS