HyperDbg Debugger
Toggle main menu visibility
Loading...
Searching...
No Matches
Driver.h
Go to the documentation of this file.
1
13
#pragma once
14
16
// WDK Major Functions //
18
22
NTSTATUS
23
DriverEntry
(PDRIVER_OBJECT DriverObject,
PUNICODE_STRING
RegistryPath);
24
25
VOID
26
DrvUnload
(PDRIVER_OBJECT DriverObject);
27
31
NTSTATUS
32
DrvCreate
(PDEVICE_OBJECT DeviceObject, PIRP Irp);
33
34
NTSTATUS
35
DrvRead
(PDEVICE_OBJECT DeviceObject, PIRP Irp);
36
37
NTSTATUS
38
DrvWrite
(PDEVICE_OBJECT DeviceObject, PIRP Irp);
39
40
NTSTATUS
41
DrvClose
(PDEVICE_OBJECT DeviceObject, PIRP Irp);
42
43
NTSTATUS
44
DrvUnsupported
(PDEVICE_OBJECT DeviceObject, PIRP Irp);
45
46
NTSTATUS
47
DrvDispatchIoControl
(PDEVICE_OBJECT DeviceObject, PIRP Irp);
48
49
NTSTATUS
50
DrvDispatchBasicIoControl
(PIRP Irp, PIO_STACK_LOCATION IrpStack,
BOOLEAN
* DoNotChangeInformation);
51
52
NTSTATUS
53
DrvDispatchKdIoControl
(PIRP Irp, PIO_STACK_LOCATION IrpStack,
BOOLEAN
* DoNotChangeInformation);
54
55
NTSTATUS
56
DrvDispatchVmmIoControl
(PIRP Irp, PIO_STACK_LOCATION IrpStack,
BOOLEAN
* DoNotChangeInformation);
57
58
NTSTATUS
59
DrvDispatchHyperTraceIoControl
(PIRP Irp, PIO_STACK_LOCATION IrpStack,
BOOLEAN
* DoNotChangeInformation);
DriverEntry
DRIVER_INITIALIZE DriverEntry
Definition
ZydisKernel.c:61
BOOLEAN
UCHAR BOOLEAN
Definition
BasicTypes.h:35
PUNICODE_STRING
struct _UNICODE_STRING * PUNICODE_STRING
DrvWrite
NTSTATUS DrvWrite(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP_MJ_WRITE Function handler.
Definition
Driver.c:216
DrvUnsupported
NTSTATUS DrvUnsupported(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Unsupported message for all other IRP_MJ_* handlers.
Definition
Driver.c:266
DrvDispatchIoControl
NTSTATUS DrvDispatchIoControl(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Driver IOCTL Dispatcher.
Definition
Ioctl.c:23
DrvRead
NTSTATUS DrvRead(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP_MJ_READ Function handler.
Definition
Driver.c:192
DrvClose
NTSTATUS DrvClose(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP_MJ_CLOSE Function handler.
Definition
Driver.c:240
DrvUnload
VOID DrvUnload(PDRIVER_OBJECT DriverObject)
Run in the case of driver unload to unregister the devices.
Definition
Driver.c:98
DrvCreate
NTSTATUS DrvCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp)
IRP Major Functions.
Definition
Driver.c:120
DrvDispatchVmmIoControl
NTSTATUS DrvDispatchVmmIoControl(PIRP Irp, PIO_STACK_LOCATION IrpStack, BOOLEAN *DoNotChangeInformation)
IOCTL Dispatcher for VMM IOCTLs.
Definition
Ioctl.c:398
DrvDispatchKdIoControl
NTSTATUS DrvDispatchKdIoControl(PIRP Irp, PIO_STACK_LOCATION IrpStack, BOOLEAN *DoNotChangeInformation)
IOCTL Dispatcher for KD (Kernel Debugger) IOCTLs.
Definition
Ioctl.c:370
DrvDispatchBasicIoControl
NTSTATUS DrvDispatchBasicIoControl(PIRP Irp, PIO_STACK_LOCATION IrpStack, BOOLEAN *DoNotChangeInformation)
IOCTL Dispatcher for Basic IOCTLs (initialization and event registration).
Definition
Ioctl.c:214
DrvDispatchHyperTraceIoControl
NTSTATUS DrvDispatchHyperTraceIoControl(PIRP Irp, PIO_STACK_LOCATION IrpStack, BOOLEAN *DoNotChangeInformation)
IOCTL Dispatcher for HyperTrace IOCTLs.
Definition
Ioctl.c:1566
hyperdbg
hyperkd
header
driver
Driver.h
Generated by
1.17.0