[PATCH 2/6] include: Add comments with physical units to SYSTEM_BATTERY_STATE
Alex Henrie
alexhenrie24 at gmail.com
Wed Sep 25 01:45:55 CDT 2019
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
include/winnt.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/winnt.h b/include/winnt.h
index 3db86ae155..7bfbcb7701 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -5609,12 +5609,12 @@ typedef struct {
BOOLEAN Discharging;
BOOLEAN Spare1[3];
BYTE Tag;
- ULONG MaxCapacity;
- ULONG RemainingCapacity;
- ULONG Rate;
- ULONG EstimatedTime;
- ULONG DefaultAlert1;
- ULONG DefaultAlert2;
+ ULONG MaxCapacity; /* milliwatt-hours */
+ ULONG RemainingCapacity; /* milliwatt-hours */
+ ULONG Rate; /* milliwatts */
+ ULONG EstimatedTime; /* seconds */
+ ULONG DefaultAlert1; /* milliwatt-hours */
+ ULONG DefaultAlert2; /* milliwatt-hours */
} SYSTEM_BATTERY_STATE,
*PSYSTEM_BATTERY_STATE;
--
2.23.0
More information about the wine-devel
mailing list