WDF_POWER_POLICY_S0_IDLE_USER_CONTROL enumeration (wdfdevice.h)
[Applies to KMDF and UMDF]
The WDF_POWER_POLICY_S0_IDLE_USER_CONTROL enumeration identifies whether a user can control a device's behavior when the device is idle and the system is in its working (S0) state.
Syntax
typedef enum _WDF_POWER_POLICY_S0_IDLE_USER_CONTROL {
IdleUserControlInvalid = 0,
IdleDoNotAllowUserControl,
IdleAllowUserControl
} WDF_POWER_POLICY_S0_IDLE_USER_CONTROL;
Constants
IdleUserControlInvalid Value: 0 For internal use only. |
IdleDoNotAllowUserControl Users cannot control the device's idle behavior. |
IdleAllowUserControl Users can control the device's idle behavior. |
Remarks
The WDF_POWER_POLICY_S0_IDLE_USER_CONTROL enumeration is used as a member type in the WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS structure.
Users control a device's idle behavior by modifying information on a property sheet. The framework creates the property sheet and Device Manager displays it.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Minimum UMDF version | 1.11 |
Header | wdfdevice.h (include Wdf.h) |