mirror of
https://github.com/reactos/reactos.git
synced 2025-07-03 23:31:22 +00:00
[PSDK] Fix BATTERY_UNKNOWN_TIME value constant
Windows SDKs define this constant to 0xFFFFFFFF but we define it to 0x80000000. As a result, when our COMPBATT driver is being tested on Windows (namely XP, Vista and 7), BATTERY_UNKNOWN_TIME is not interpreted as UNKNOWN TIME but entirely something else. CORE-18969 CORE-19452
This commit is contained in:
parent
13b394c1a7
commit
02032b7106
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ DEFINE_GUID(BATTERY_TAG_CHANGE_WMI_GUID,
|
||||||
#define BATTERY_UNKNOWN_CAPACITY 0xFFFFFFFF
|
#define BATTERY_UNKNOWN_CAPACITY 0xFFFFFFFF
|
||||||
|
|
||||||
/* BatteryEstimatedTime constant */
|
/* BatteryEstimatedTime constant */
|
||||||
#define BATTERY_UNKNOWN_TIME 0x80000000
|
#define BATTERY_UNKNOWN_TIME 0xFFFFFFFF
|
||||||
|
|
||||||
#define MAX_BATTERY_STRING_SIZE 128
|
#define MAX_BATTERY_STRING_SIZE 128
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue