diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-27 19:19:56 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-27 19:19:56 +0300 |
commit | 974bd0388994715b4fa35ac54986e3c1ed4e3f55 (patch) | |
tree | 53b23c15bde662804ecb7ef8f54026ff883a7cc2 /km/src/minimal | |
parent | sysenter: add missing configurations to solution (diff) | |
download | windows7-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.c | 12 | ||||
-rw-r--r-- | km/src/minimal/makefile | 1 | ||||
-rw-r--r-- | km/src/minimal/sources | 3 |
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 |