From 974bd0388994715b4fa35ac54986e3c1ed4e3f55 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 27 Apr 2017 19:19:56 +0300 Subject: reorganize files * src/ -> km/src/ * utils/ -> um/ * Move WDK 7.1-specific *.bat files to km/build/wdk7.1/ * Move WDK 8.1 Update 1 solutions to km/build/wdk8.1update/ --- km/src/minimal/main.c | 12 ++++++++++++ km/src/minimal/makefile | 1 + km/src/minimal/sources | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 km/src/minimal/main.c create mode 100644 km/src/minimal/makefile create mode 100644 km/src/minimal/sources (limited to 'km/src/minimal') diff --git a/km/src/minimal/main.c b/km/src/minimal/main.c new file mode 100644 index 0000000..6983929 --- /dev/null +++ b/km/src/minimal/main.c @@ -0,0 +1,12 @@ +#include + +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; +} diff --git a/km/src/minimal/makefile b/km/src/minimal/makefile new file mode 100644 index 0000000..5acbbd2 --- /dev/null +++ b/km/src/minimal/makefile @@ -0,0 +1 @@ +!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/km/src/minimal/sources b/km/src/minimal/sources new file mode 100644 index 0000000..b6e92c3 --- /dev/null +++ b/km/src/minimal/sources @@ -0,0 +1,3 @@ +TARGETTYPE = DRIVER +TARGETNAME = minimal +SOURCES = main.c -- cgit v1.2.3