2023-08-17 10:45:50 +02:00
|
|
|
#ifndef IOCTL_H
|
|
|
|
#define IOCTL_H
|
|
|
|
|
|
|
|
#include <ntifs.h>
|
|
|
|
#include <wdftypes.h>
|
|
|
|
#include <wdf.h>
|
2023-09-02 15:47:15 +02:00
|
|
|
#include "common.h"
|
2023-08-17 10:45:50 +02:00
|
|
|
|
2023-08-20 16:12:04 +02:00
|
|
|
typedef struct _DRIVER_INITIATION_INFORMATION
|
|
|
|
{
|
|
|
|
LONG protected_process_id;
|
|
|
|
|
|
|
|
} DRIVER_INITIATION_INFORMATION, * PDRIVER_INITIATION_INFORMATION;
|
2023-08-19 04:52:57 +02:00
|
|
|
|
2023-09-27 06:22:14 +02:00
|
|
|
NTSTATUS
|
|
|
|
DeviceControl(
|
2023-08-17 10:45:50 +02:00
|
|
|
_In_ PDRIVER_OBJECT DriverObject,
|
|
|
|
_In_ PIRP Irp
|
|
|
|
);
|
|
|
|
|
2023-09-27 06:22:14 +02:00
|
|
|
NTSTATUS
|
|
|
|
DeviceClose(
|
2023-08-17 10:45:50 +02:00
|
|
|
_In_ PDEVICE_OBJECT DeviceObject,
|
|
|
|
_In_ PIRP Irp
|
|
|
|
);
|
|
|
|
|
2023-09-27 06:22:14 +02:00
|
|
|
NTSTATUS
|
|
|
|
DeviceCreate(
|
2023-08-17 10:45:50 +02:00
|
|
|
_In_ PDEVICE_OBJECT DeviceObject,
|
|
|
|
_In_ PIRP Irp
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|