diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-26 19:44:42 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-26 19:44:42 +0300 |
commit | 96d0a52924ddb810faa68d5140547f6f483b1510 (patch) | |
tree | 2b514f881e48095c4ddce41bc6ebc5e78aeeaf9e /src/minimal/main.c | |
parent | add Visual Studio 2013 project files (diff) | |
download | windows7-drivers-96d0a52924ddb810faa68d5140547f6f483b1510.tar.gz windows7-drivers-96d0a52924ddb810faa68d5140547f6f483b1510.zip |
add minimal
Diffstat (limited to 'src/minimal/main.c')
-rw-r--r-- | src/minimal/main.c | 12 |
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; +} |