ReactOS  0.4.15-dev-4922-ge8ccc85
cleanup.c File Reference
#include "serial.h"
#include <debug.h>
Include dependency graph for cleanup.c:

Go to the source code of this file.

Functions

NTSTATUS NTAPI SerialCleanup (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 

Function Documentation

◆ SerialCleanup()

NTSTATUS NTAPI SerialCleanup ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 15 of file cleanup.c.

18 {
19  TRACE_(SERIAL, "IRP_MJ_CLEANUP\n");
20  Irp->IoStatus.Information = 0;
21  Irp->IoStatus.Status = STATUS_SUCCESS;
23  return STATUS_SUCCESS;
24 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define TRACE_(x)
Definition: compat.h:76
#define IO_NO_INCREMENT
Definition: iotypes.h:598
#define STATUS_SUCCESS
Definition: shellext.h:65