ReactOS
0.4.16-dev-197-g92996da
cleanup.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: Serial port driver
4
* FILE: drivers/dd/serial/cleanup.c
5
* PURPOSE: Serial IRP_MJ_CLEANUP operations
6
*
7
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
8
*/
9
10
#include "
serial.h
"
11
12
#include <debug.h>
13
14
NTSTATUS
NTAPI
15
SerialCleanup
(
16
IN
PDEVICE_OBJECT
DeviceObject
,
17
IN
PIRP
Irp
)
18
{
19
TRACE_
(SERIAL,
"IRP_MJ_CLEANUP\n"
);
20
Irp
->IoStatus.Information = 0;
21
Irp
->IoStatus.Status =
STATUS_SUCCESS
;
22
IoCompleteRequest
(
Irp
,
IO_NO_INCREMENT
);
23
return
STATUS_SUCCESS
;
24
}
NTSTATUS
LONG NTSTATUS
Definition:
precomp.h:26
Irp
_In_ PIRP Irp
Definition:
csq.h:116
TRACE_
#define TRACE_(x)
Definition:
compat.h:76
SerialCleanup
DRIVER_DISPATCH SerialCleanup
Definition:
serial.h:209
IoCompleteRequest
#define IoCompleteRequest
Definition:
irp.c:1240
serial.h
STATUS_SUCCESS
#define STATUS_SUCCESS
Definition:
shellext.h:65
_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
IO_NO_INCREMENT
#define IO_NO_INCREMENT
Definition:
iotypes.h:598
drivers
serial
serial
cleanup.c
Generated on Wed Oct 30 2024 06:02:48 for ReactOS by
1.9.6