blob: 8a14af96fa2d9a2f2744a5508ab923aaa8ec90bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <ntddk.h>
DRIVER_INITIALIZE DriverEntry;
DRIVER_UNLOAD DriverUnload;
NTSTATUS DriverEntry(struct _DRIVER_OBJECT * DriverObject, PUNICODE_STRING RegistryPath)
{
(void)DriverObject;
(void)RegistryPath;
DbgPrint("%s\n", "Hello ring0!");
return STATUS_SUCCESS;
}
VOID DriverUnload(struct _DRIVER_OBJECT * DriverObject)
{
(void)DriverObject;
DbgPrint("%s\n", "Bye ring0!");
}
|