mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[BATTC] Fixed an oops!
This commit is contained in:
parent
397fa2844e
commit
34b0516ec4
1 changed files with 5 additions and 2 deletions
|
@ -201,13 +201,16 @@ BatteryClassIoctl(PVOID ClassData,
|
|||
BATTERY_NOTIFY BattNotify;
|
||||
ULONG ReturnedLength;
|
||||
|
||||
DPRINT("Received IOCTL %x for %p\n", IrpSp->Parameters.DeviceIoControl.IoControlCode,
|
||||
ClassData);
|
||||
DPRINT("BatteryClassIoctl(%p %p)\n", ClassData, Irp);
|
||||
|
||||
BattClass = ClassData;
|
||||
|
||||
IrpSp = IoGetCurrentIrpStackLocation(Irp);
|
||||
Irp->IoStatus.Information = 0;
|
||||
|
||||
DPRINT("Received IOCTL %x for %p\n", IrpSp->Parameters.DeviceIoControl.IoControlCode,
|
||||
ClassData);
|
||||
|
||||
switch (IrpSp->Parameters.DeviceIoControl.IoControlCode)
|
||||
{
|
||||
case IOCTL_BATTERY_QUERY_TAG:
|
||||
|
|
Loading…
Reference in a new issue