mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:13:01 +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),
|
sizeof(InputBuffer),
|
||||||
&BatteryData->BatteryInformation,
|
&BatteryData->BatteryInformation,
|
||||||
sizeof(BatteryData->BatteryInformation),
|
sizeof(BatteryData->BatteryInformation),
|
||||||
0);
|
FALSE);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
/* Fail if the query had a problem */
|
/* Fail if the query had a problem */
|
||||||
|
@ -442,7 +442,7 @@ CompBattGetBatteryGranularity(
|
||||||
sizeof(InputBuffer),
|
sizeof(InputBuffer),
|
||||||
&BatteryScale,
|
&BatteryScale,
|
||||||
sizeof(BatteryScale),
|
sizeof(BatteryScale),
|
||||||
0);
|
FALSE);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
/* Fail if the query had a problem */
|
/* Fail if the query had a problem */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue