ReactOS
0.4.16-dev-21-g2af6fd4
misc.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Generic CPU Driver
3
* LICENSE: GNU GPLv2 only as published by the Free Software Foundation
4
* FILE: drivers/processor/processr/misc.c
5
* PURPOSE: Misc routines
6
* PROGRAMMERS: Eric Kohl <eric.kohl@reactos.org>
7
*/
8
9
/* INCLUDES *******************************************************************/
10
11
#include "
processr.h
"
12
13
#define NDEBUG
14
#include <debug.h>
15
16
/* FUNCTIONS ******************************************************************/
17
18
NTSTATUS
19
NTAPI
20
ForwardIrpAndForget
(
21
IN
PDEVICE_OBJECT
DeviceObject
,
22
IN
PIRP
Irp
)
23
{
24
PDEVICE_OBJECT
LowerDevice;
25
26
LowerDevice = ((
PDEVICE_EXTENSION
)
DeviceObject
->DeviceExtension)->LowerDevice;
27
ASSERT
(LowerDevice);
28
29
IoSkipCurrentIrpStackLocation
(
Irp
);
30
return
IoCallDriver
(LowerDevice,
Irp
);
31
}
32
33
/* EOF */
NTSTATUS
LONG NTSTATUS
Definition:
precomp.h:26
Irp
_In_ PIRP Irp
Definition:
csq.h:116
PDEVICE_EXTENSION
struct _BEEP_DEVICE_EXTENSION * PDEVICE_EXTENSION
ForwardIrpAndForget
DRIVER_DISPATCH ForwardIrpAndForget
Definition:
i8042prt.h:341
ASSERT
#define ASSERT(a)
Definition:
mode.c:44
IoSkipCurrentIrpStackLocation
#define IoSkipCurrentIrpStackLocation(Irp)
Definition:
ntifs_ex.h:421
IoCallDriver
#define IoCallDriver
Definition:
irp.c:1225
processr.h
_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
processor
processr
misc.c
Generated on Sun Sep 15 2024 06:05:53 for ReactOS by
1.9.6