aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/minimal/main.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-04-26 19:44:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-04-26 19:44:42 +0300
commit96d0a52924ddb810faa68d5140547f6f483b1510 (patch)
tree2b514f881e48095c4ddce41bc6ebc5e78aeeaf9e /src/minimal/main.c
parentadd Visual Studio 2013 project files (diff)
downloadwindows7-drivers-96d0a52924ddb810faa68d5140547f6f483b1510.tar.gz
windows7-drivers-96d0a52924ddb810faa68d5140547f6f483b1510.zip
add minimal
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;
+}