Reactos
1/*
2 * PROJECT: ReactOS Serial mouse driver
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: drivers/input/sermouse/fdo.c
5 * PURPOSE: Miscellaneous operations
6 * PROGRAMMERS: Copyright 2005-2006 Herv� Poussineau (hpoussin@reactos.org)
7 */
8
9#include "sermouse.h"
10
11#include <debug.h>
12
13
14NTSTATUS NTAPI
15ForwardIrpAndForget(
16 IN PDEVICE_OBJECT DeviceObject,
17 IN PIRP Irp)
18{
19 PDEVICE_OBJECT LowerDevice = ((PSERMOUSE_DEVICE_EXTENSION)DeviceObject->DeviceExtension)->LowerDevice;
20
21 IoSkipCurrentIrpStackLocation(Irp);
22 return IoCallDriver(LowerDevice, Irp);
23}