ReactOS  0.4.14-dev-991-g696cdc6
createclose.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS VT100 emulator
3  * LICENSE: GPL - See COPYING in the top level directory
4  * FILE: drivers/base/green/createclose.c
5  * PURPOSE: IRP_MJ_CREATE, IRP_MJ_CLOSE and IRP_MJ_CLEANUP operations
6  * PROGRAMMERS: Copyright 2005-2006 Herv Poussineau (hpoussin@reactos.org)
7  */
8 
9 #include "green.h"
10 
11 #define NDEBUG
12 #include <debug.h>
13 
17  IN PIRP Irp)
18 {
19  DPRINT("IRP_MJ_CREATE\n");
20 
21  Irp->IoStatus.Status = STATUS_SUCCESS;
22  Irp->IoStatus.Information = 0;
24  return STATUS_SUCCESS;
25 }
26 
30  IN PIRP Irp)
31 {
32  DPRINT("IRP_MJ_CLOSE\n");
33 
34  Irp->IoStatus.Status = STATUS_SUCCESS;
35  Irp->IoStatus.Information = 0;
37  return STATUS_SUCCESS;
38 }
#define IN
Definition: typedefs.h:39
_In_ PIRP Irp
Definition: csq.h:116
LONG NTSTATUS
Definition: precomp.h:26
#define IoCompleteRequest
Definition: irp.c:1240
void DPRINT(...)
Definition: polytest.cpp:61
NTSTATUS GreenClose(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: createclose.c:28
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
NTSTATUS GreenCreate(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: createclose.c:15
#define IO_NO_INCREMENT
Definition: iotypes.h:566
return STATUS_SUCCESS
Definition: btrfs.c:2938