mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[PSDK] SYSTEM_POWER_STATUS: Rename Reserved1 to SystemStatusFlag (#2419)
As on Win10.
Cherry pick
7c5ea436af
This commit is contained in:
parent
cdab20283a
commit
dbfd511ecd
2 changed files with 7 additions and 7 deletions
|
@ -1755,9 +1755,9 @@ static void test_pack_SYSTEM_POWER_STATUS(void)
|
|||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, BatteryLifePercent, 1)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, BatteryLifePercent, 1)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, BatteryLifePercent, 2)
|
||||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, Reserved1, 1)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, Reserved1, 1)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, Reserved1, 3)
|
||||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, SystemStatusFlag, 1)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, SystemStatusFlag, 1)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, SystemStatusFlag, 3)
|
||||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, BatteryLifeTime, 4)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, BatteryLifeTime, 4)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, BatteryLifeTime, 4)
|
||||
|
@ -3612,9 +3612,9 @@ static void test_pack_SYSTEM_POWER_STATUS(void)
|
|||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, BatteryLifePercent, 1)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, BatteryLifePercent, 1)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, BatteryLifePercent, 2)
|
||||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, Reserved1, 1)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, Reserved1, 1)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, Reserved1, 3)
|
||||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, SystemStatusFlag, 1)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, SystemStatusFlag, 1)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, SystemStatusFlag, 3)
|
||||
TEST_FIELD_SIZE (SYSTEM_POWER_STATUS, BatteryLifeTime, 4)
|
||||
TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS, BatteryLifeTime, 4)
|
||||
TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS, BatteryLifeTime, 4)
|
||||
|
|
|
@ -1151,7 +1151,7 @@ typedef struct _SYSTEM_POWER_STATUS {
|
|||
BYTE ACLineStatus;
|
||||
BYTE BatteryFlag;
|
||||
BYTE BatteryLifePercent;
|
||||
BYTE Reserved1;
|
||||
BYTE SystemStatusFlag;
|
||||
DWORD BatteryLifeTime;
|
||||
DWORD BatteryFullLifeTime;
|
||||
} SYSTEM_POWER_STATUS,*LPSYSTEM_POWER_STATUS;
|
||||
|
|
Loading…
Reference in a new issue