WDF_POWER_POLICY_S0_IDLE_USER_CONTROL enumeration (wudfddi_types.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,
  IdleDoNotAllowUserControl,
  IdleAllowUserControl
} WDF_POWER_POLICY_S0_IDLE_USER_CONTROL;

Constants

 
IdleUserControlInvalid
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 wudfddi_types.h (include Wdf.h)

See also

WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS