WDF_POWER_POLICY_SX_WAKE_USER_CONTROL enumeration (wdfdevice.h)
[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,
WakeAllowUserControl
} WDF_POWER_POLICY_SX_WAKE_USER_CONTROL;
Constants
WakeUserControlInvalid Value: 0 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
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Minimum UMDF version | 1.11 |
Header | wdfdevice.h (include Wdf.h) |