mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[COMPBATT] Use FALSE for BOOLEANs on BatteryIoctl, not integers
This commit is contained in:
@@ -286,7 +286,7 @@ CompBattGetBatteryInformation(
|
||||
sizeof(InputBuffer),
|
||||
&BatteryData->BatteryInformation,
|
||||
sizeof(BatteryData->BatteryInformation),
|
||||
0);
|
||||
FALSE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
/* Fail if the query had a problem */
|
||||
@@ -442,7 +442,7 @@ CompBattGetBatteryGranularity(
|
||||
sizeof(InputBuffer),
|
||||
&BatteryScale,
|
||||
sizeof(BatteryScale),
|
||||
0);
|
||||
FALSE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
/* Fail if the query had a problem */
|
||||
|
||||
Reference in New Issue
Block a user