ReactOS  0.4.15-dev-448-gd6c4411
createclose.c File Reference
#include "sermouse.h"
#include <debug.h>
Include dependency graph for createclose.c:

Go to the source code of this file.

Functions

NTSTATUS NTAPI SermouseCreate (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI SermouseClose (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI SermouseCleanup (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 

Function Documentation

◆ SermouseCleanup()

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

Definition at line 41 of file createclose.c.

44 {
45  TRACE_(SERMOUSE, "IRP_MJ_CLEANUP\n");
46 
47  Irp->IoStatus.Status = STATUS_SUCCESS;
48  Irp->IoStatus.Information = 0;
50  return STATUS_SUCCESS;
51 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define TRACE_(x)
Definition: compat.h:66
#define IO_NO_INCREMENT
Definition: iotypes.h:566
return STATUS_SUCCESS
Definition: btrfs.c:3014

◆ SermouseClose()

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

Definition at line 28 of file createclose.c.

31 {
32  TRACE_(SERMOUSE, "IRP_MJ_CLOSE\n");
33 
34  Irp->IoStatus.Status = STATUS_SUCCESS;
35  Irp->IoStatus.Information = 0;
37  return STATUS_SUCCESS;
38 }
_In_ PIRP Irp
Definition: csq.h:116
#define IoCompleteRequest
Definition: irp.c:1240
#define TRACE_(x)
Definition: compat.h:66
#define IO_NO_INCREMENT
Definition: iotypes.h:566
return STATUS_SUCCESS
Definition: btrfs.c:3014

◆ SermouseCreate()

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

Definition at line 14 of file createclose.c.

17 {
18  TRACE_(SERMOUSE, "IRP_MJ_CREATE\n");
20 
21  Irp->IoStatus.Status = STATUS_SUCCESS;
22  Irp->IoStatus.Information = 0;
24  return STATUS_SUCCESS;
25 }
_In_ PIRP Irp
Definition: csq.h:116
PVOID DeviceExtension
Definition: env_spec_w32.h:418
#define IoCompleteRequest
Definition: irp.c:1240
#define TRACE_(x)
Definition: compat.h:66
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1569
#define IO_NO_INCREMENT
Definition: iotypes.h:566
return STATUS_SUCCESS
Definition: btrfs.c:3014