include: Add constants needed for SYSTEM_POWER_STATUS.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c5ea436af
commit
9142be320e
|
@ -966,6 +966,24 @@ typedef struct _SYSTEM_POWER_STATUS
|
|||
DWORD BatteryFullLifeTime;
|
||||
} SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS;
|
||||
|
||||
#define AC_LINE_OFFLINE 0x00
|
||||
#define AC_LINE_ONLINE 0x01
|
||||
#define AC_LINE_BACKUP_POWER 0x02
|
||||
#define AC_LINE_UNKNOWN 0xFF
|
||||
|
||||
#define BATTERY_FLAG_HIGH 0x01
|
||||
#define BATTERY_FLAG_LOW 0x02
|
||||
#define BATTERY_FLAG_CRITICAL 0x04
|
||||
#define BATTERY_FLAG_CHARGING 0x08
|
||||
#define BATTERY_FLAG_NO_BATTERY 0x80
|
||||
#define BATTERY_FLAG_UNKNOWN 0xFF
|
||||
|
||||
#define BATTERY_PERCENTAGE_UNKNOWN 0xFF
|
||||
|
||||
#define SYSTEM_STATUS_FLAG_POWER_SAVING_ON 0x01
|
||||
|
||||
#define BATTERY_LIFE_UNKNOWN 0xFFFFFFFF
|
||||
|
||||
typedef struct _SYSTEM_INFO
|
||||
{
|
||||
union {
|
||||
|
|
Loading…
Reference in New Issue