[KERNEL32]

Fix wrong sizeof usage

svn path=/trunk/; revision=53772
This commit is contained in:
Pierre Schweitzer 2011-09-20 13:53:25 +00:00
parent 1c88181b75
commit e5eb85d5e3

View file

@ -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;