ReactOS
0.4.16-dev-838-g27bb510
misc.c
Go to the documentation of this file.
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
14
NTSTATUS
NTAPI
15
ForwardIrpAndForget
(
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
}
NTSTATUS
LONG NTSTATUS
Definition:
precomp.h:26
Irp
_In_ PIRP Irp
Definition:
csq.h:116
ForwardIrpAndForget
DRIVER_DISPATCH ForwardIrpAndForget
Definition:
i8042prt.h:341
IoSkipCurrentIrpStackLocation
#define IoSkipCurrentIrpStackLocation(Irp)
Definition:
ntifs_ex.h:421
IoCallDriver
#define IoCallDriver
Definition:
irp.c:1225
sermouse.h
PSERMOUSE_DEVICE_EXTENSION
struct _SERMOUSE_DEVICE_EXTENSION * PSERMOUSE_DEVICE_EXTENSION
_DEVICE_OBJECT
Definition:
env_spec_w32.h:413
_IRP
Definition:
Bus_PDO_EvalMethod.c:105
NTAPI
#define NTAPI
Definition:
typedefs.h:36
IN
#define IN
Definition:
typedefs.h:39
DeviceObject
_In_ PDEVICE_OBJECT DeviceObject
Definition:
wdfdevice.h:2055
drivers
input
sermouse
misc.c
Generated on Fri Mar 21 2025 06:06:24 for ReactOS by
1.9.6