Expand Minimize

WDF_POWER_POLICY_SX_WAKE_USER_CONTROL enumeration

[Applies to KMDF and UMDF]

The WDF_POWER_POLICY_SX_WAKE_USER_CONTROL enumeration identifies whether a user can control a device's ability to wake the system from a low system power state.

Syntax


typedef enum _WDF_POWER_POLICY_SX_WAKE_USER_CONTROL { 
  WakeUserControlInvalid     = 0,
  WakeDoNotAllowUserControl  = 1,
  WakeAllowUserControl       = 2
} WDF_POWER_POLICY_SX_WAKE_USER_CONTROL;

Constants

WakeUserControlInvalid

For internal use only.

WakeDoNotAllowUserControl

Users cannot control the device's ability to wake the system from a low system power state.

WakeAllowUserControl

Users can control the device's ability to wake the system from a low system power state.

Remarks

The WDF_POWER_POLICY_SX_WAKE_USER_CONTROL enumeration is used as a member type in the WDF_DEVICE_POWER_POLICY_WAKE_SETTINGS structure.

To control a device's ability to wake the system from a low system power state, users modify 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_WAKE_SETTINGS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft