mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:45:44 +00:00
[COMPBATT] Use FALSE for BOOLEANs on BatteryIoctl, not integers
This commit is contained in:
parent
c944116833
commit
6a06db09ca
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue