HyperDbg Debugger
Loading...
Searching...
No Matches
Driver.h
Go to the documentation of this file.
1
13#pragma once
14
16// WDK Major Functions //
18
22NTSTATUS
23DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath);
24
25VOID
26DrvUnload(PDRIVER_OBJECT DriverObject);
27
31NTSTATUS
32DrvCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp);
33
34NTSTATUS
35DrvRead(PDEVICE_OBJECT DeviceObject, PIRP Irp);
36
37NTSTATUS
38DrvWrite(PDEVICE_OBJECT DeviceObject, PIRP Irp);
39
40NTSTATUS
41DrvClose(PDEVICE_OBJECT DeviceObject, PIRP Irp);
42
43NTSTATUS
44DrvUnsupported(PDEVICE_OBJECT DeviceObject, PIRP Irp);
45
46NTSTATUS
47DrvDispatchIoControl(PDEVICE_OBJECT DeviceObject, PIRP Irp);
#define VOID
Definition BasicTypes.h:33
DRIVER_INITIALIZE DriverEntry
Definition ZydisKernel.c:61
NTSTATUS DrvWrite(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP_MJ_WRITE Function handler.
Definition Driver.c:213
NTSTATUS DrvUnsupported(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Unsupported message for all other IRP_MJ_* handlers.
Definition Driver.c:263
NTSTATUS DrvDispatchIoControl(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Driver IOCTL Dispatcher.
Definition Ioctl.c:23
NTSTATUS DrvRead(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP_MJ_READ Function handler.
Definition Driver.c:189
NTSTATUS DrvClose(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP_MJ_CLOSE Function handler.
Definition Driver.c:237
VOID DrvUnload(PDRIVER_OBJECT DriverObject)
Run in the case of driver unload to unregister the devices.
Definition Driver.c:95
NTSTATUS DrvCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP Major Functions.
Definition Driver.c:117
Definition casting.cpp:25