aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/minimal/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/minimal/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/minimal/main.c b/src/minimal/main.c
new file mode 100644
index 0000000..6983929
--- /dev/null
+++ b/src/minimal/main.c
@@ -0,0 +1,12 @@
+#include <ntddk.h>
+
+static void on_driver_unload(DRIVER_OBJECT *driver_object)
+{ }
+
+NTSTATUS DriverEntry(
+ DRIVER_OBJECT *driver_object,
+ UNICODE_STRING *registry_path)
+{
+ driver_object->DriverUnload = on_driver_unload;
+ return STATUS_SUCCESS;
+}