mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTOS:PO] Update a comment (#6443)
Addendum to 9e43518 (0.4.15-dev-7560).
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@
|
||||
* FILE: ntoskrnl/po/power.c
|
||||
* PURPOSE: Power Manager
|
||||
* PROGRAMMERS: Casper S. Hornstrup ([email protected])
|
||||
* Herv� Poussineau ([email protected])
|
||||
* Hervé Poussineau ([email protected])
|
||||
*/
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
@@ -833,8 +833,8 @@ NtPowerInformation(IN POWER_INFORMATION_LEVEL PowerInformationLevel,
|
||||
|
||||
_SEH2_TRY
|
||||
{
|
||||
/* Just zero the struct (and thus set BatteryState->BatteryPresent = FALSE) */
|
||||
RtlZeroMemory(BatteryState, sizeof(SYSTEM_BATTERY_STATE));
|
||||
/* Just zero the struct */
|
||||
RtlZeroMemory(BatteryState, sizeof(*BatteryState));
|
||||
BatteryState->EstimatedTime = MAXULONG;
|
||||
BatteryState->BatteryPresent = PopCapabilities.SystemBatteriesPresent;
|
||||
// BatteryState->AcOnLine = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user