mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
34 lines
No EOL
785 B
C
34 lines
No EOL
785 B
C
#ifndef IOCTL_H
|
|
#define IOCTL_H
|
|
|
|
#include <ntifs.h>
|
|
#include <wdftypes.h>
|
|
#include <wdf.h>
|
|
#include "common.h"
|
|
|
|
typedef struct _DRIVER_INITIATION_INFORMATION
|
|
{
|
|
ULONG protected_process_id;
|
|
|
|
} DRIVER_INITIATION_INFORMATION, *PDRIVER_INITIATION_INFORMATION;
|
|
|
|
//_Dispatch_type_(IRP_MJ_SYSTEM_CONTROL)
|
|
NTSTATUS
|
|
DeviceControl(_In_ PDRIVER_OBJECT DriverObject, _Inout_ PIRP Irp);
|
|
|
|
_Dispatch_type_(IRP_MJ_CLOSE) NTSTATUS
|
|
DeviceClose(_In_ PDEVICE_OBJECT DeviceObject, _Inout_ PIRP Irp);
|
|
|
|
_Dispatch_type_(IRP_MJ_CREATE) NTSTATUS
|
|
DeviceCreate(_In_ PDEVICE_OBJECT DeviceObject, _Inout_ PIRP Irp);
|
|
|
|
NTSTATUS
|
|
ValidateIrpOutputBuffer(_In_ PIRP Irp, _In_ ULONG RequiredSize);
|
|
|
|
NTSTATUS
|
|
ValidateIrpInputBuffer(_In_ PIRP Irp, _In_ ULONG RequiredSize);
|
|
|
|
VOID
|
|
IrpQueueInitialise();
|
|
|
|
#endif |