aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/km/src/minimal
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-04-27 19:19:56 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-04-27 19:19:56 +0300
commit974bd0388994715b4fa35ac54986e3c1ed4e3f55 (patch)
tree53b23c15bde662804ecb7ef8f54026ff883a7cc2 /km/src/minimal
parentsysenter: add missing configurations to solution (diff)
downloadwindows7-drivers-974bd0388994715b4fa35ac54986e3c1ed4e3f55.tar.gz
windows7-drivers-974bd0388994715b4fa35ac54986e3c1ed4e3f55.zip
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/
Diffstat (limited to 'km/src/minimal')
-rw-r--r--km/src/minimal/main.c12
-rw-r--r--km/src/minimal/makefile1
-rw-r--r--km/src/minimal/sources3
3 files changed, 16 insertions, 0 deletions
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 <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;
+}
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