[PATCH resend 1/4] include: Add comments with physical units to SYSTEM_BATTERY_STATE

Alex Henrie alexhenrie24 at gmail.com
Tue Oct 29 21:22:22 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 9c39eb7e4d..c78d504b70 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -5619,12 +5619,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