ReactOS 0.4.15-dev-8127-g6338913
createclose.c File Reference
#include "i8042prt.h"
#include <debug.h>
Include dependency graph for createclose.c:

Go to the source code of this file.

Functions

NTSTATUS NTAPI i8042Create (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI i8042Cleanup (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 
NTSTATUS NTAPI i8042Close (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 

Function Documentation

◆ i8042Cleanup()

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

Definition at line 32 of file createclose.c.

35{
37 TRACE_(I8042PRT, "IRP_MJ_CLEANUP\n");
38
39 Irp->IoStatus.Status = STATUS_SUCCESS;
40 Irp->IoStatus.Information = 0;
42 return STATUS_SUCCESS;
43}
_In_ PIRP Irp
Definition: csq.h:116
#define TRACE_(x)
Definition: compat.h:76
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define IoCompleteRequest
Definition: irp.c:1240
#define STATUS_SUCCESS
Definition: shellext.h:65
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
#define IO_NO_INCREMENT
Definition: iotypes.h:598

Referenced by DriverEntry().

◆ i8042Close()

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

Definition at line 46 of file createclose.c.

49{
51 TRACE_(I8042PRT, "IRP_MJ_CLOSE\n");
52
53 Irp->IoStatus.Status = STATUS_SUCCESS;
54 Irp->IoStatus.Information = 0;
56 return STATUS_SUCCESS;
57}

Referenced by DriverEntry().

◆ i8042Create()

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

Definition at line 18 of file createclose.c.

21{
23 TRACE_(I8042PRT, "IRP_MJ_CREATE\n");
24
25 Irp->IoStatus.Status = STATUS_SUCCESS;
26 Irp->IoStatus.Information = 0;
28 return STATUS_SUCCESS;
29}

Referenced by DriverEntry().