Expand Minimize

WDF_POWER_POLICY_S0_IDLE_USER_CONTROL enumeration

[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  = 1,
  IdleAllowUserControl       = 2
} 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

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfdevice.h (include Wdf.h)

See also

WDF_DEVICE_POWER_POLICY_IDLE_SETTINGS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.