mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +00:00
[KERNEL32]
Fix wrong sizeof usage svn path=/trunk/; revision=53772
This commit is contained in:
parent
1c88181b75
commit
e5eb85d5e3
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ GetSystemPowerStatus(IN LPSYSTEM_POWER_STATUS PowerStatus)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
RtlZeroMemory(PowerStatus, sizeof(LPSYSTEM_POWER_STATUS));
|
||||
RtlZeroMemory(PowerStatus, sizeof(SYSTEM_POWER_STATUS));
|
||||
|
||||
PowerStatus->BatteryLifeTime = BATTERY_LIFE_UNKNOWN;
|
||||
PowerStatus->BatteryFullLifeTime = BATTERY_LIFE_UNKNOWN;
|
||||
|
|
Loading…
Reference in a new issue