ReactOS  0.4.15-dev-3719-g41b8715
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 
17  IN PIRP Irp)
18 {
19  TRACE_(SERIAL, "IRP_MJ_CLEANUP\n");
20  Irp->IoStatus.Information = 0;
21  Irp->IoStatus.Status = STATUS_SUCCESS;
23  return STATUS_SUCCESS;
24 }
#define IN
Definition: typedefs.h:39
LONG NTSTATUS
Definition: precomp.h:26
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define TRACE_(x)
Definition: compat.h:76
NTSTATUS NTAPI SerialCleanup(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: cleanup.c:15
#define IO_NO_INCREMENT
Definition: iotypes.h:598
#define STATUS_SUCCESS
Definition: shellext.h:65