[BATTC] Fix indentation. No code changes!

This commit is contained in:
Eric Kohl 2019-01-01 12:58:53 +01:00
parent f76a097a25
commit 04524fef3b
2 changed files with 246 additions and 244 deletions

View file

@ -336,6 +336,7 @@ BatteryClassIoctl(PVOID ClassData,
if (!NT_SUCCESS(Status))
DPRINT1("QueryInformation failed (0x%x)\n", Status);
break;
case IOCTL_BATTERY_SET_INFORMATION:
if (IrpSp->Parameters.DeviceIoControl.InputBufferLength < sizeof(*BattSetInfo))
{

View file

@ -13,7 +13,8 @@
#include <initguid.h>
#include <batclass.h>
typedef struct _BATTERY_CLASS_DATA {
typedef struct _BATTERY_CLASS_DATA
{
BATTERY_MINIPORT_INFO MiniportInfo;
KEVENT WaitEvent;
BOOLEAN Waiting;