Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
The DEVICE_POWER_STATE enumeration identifies the device power states that a device can enter.
Syntax
typedef enum _DEVICE_POWER_STATE {
PowerDeviceUnspecified,
PowerDeviceD0,
PowerDeviceD1,
PowerDeviceD2,
PowerDeviceD3,
PowerDeviceMaximum
} DEVICE_POWER_STATE, *PDEVICE_POWER_STATE;
Constants
PowerDeviceUnspecifiedThe device power state is unspecified. |
PowerDeviceD0The device's working (D0) state. This is the device's highest power state. |
PowerDeviceD1The device's D1 sleeping state. |
PowerDeviceD2The device's D2 sleeping state. |
PowerDeviceD3The device's D3 sleeping state. |
PowerDeviceMaximumFor system use only. |
Remarks
The DEVICE_POWER_STATE enumeration is used as input to IWDFDevice2::AssignS0IdleSettings and IWDFDevice2::AssignSxWakeSettings.
Requirements
| Requirement | Value |
|---|---|
| Minimum UMDF version | 1.9 |
| Header | wudfddi.h (include Wudfddi.h) |