From: Alex Henrie Subject: [PATCH 2/6] include: Add comments with physical units to SYSTEM_BATTERY_STATE Message-Id: <20190925064629.119467-2-alexhenrie24@gmail.com> Date: Wed, 25 Sep 2019 00:45:55 -0600 In-Reply-To: <20190925064629.119467-1-alexhenrie24@gmail.com> References: <20190925064629.119467-1-alexhenrie24@gmail.com> Signed-off-by: Alex Henrie --- 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