[PARPORT] Introduce a skeleton that will serve as base for implementing the parallel...
[reactos.git] / reactos / drivers / parallel / parport / parport.c
diff --git a/reactos/drivers/parallel/parport/parport.c b/reactos/drivers/parallel/parport/parport.c
new file mode 100644 (file)
index 0000000..6223ae0
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         Parallel Port Function Driver
+ * PURPOSE:         Parport driver loading/unloading
+ */
+
+#include "parport.h"
+
+static DRIVER_UNLOAD DriverUnload;
+DRIVER_INITIALIZE DriverEntry;
+
+static
+VOID
+NTAPI
+DriverUnload(IN PDRIVER_OBJECT DriverObject)
+{
+    DPRINT("Parport DriverUnload\n");
+}
+
+NTSTATUS
+NTAPI
+DriverEntry(IN PDRIVER_OBJECT DriverObject,
+            IN PUNICODE_STRING RegPath)
+{
+    DPRINT("Parport DriverEntry\n");
+
+    DriverObject->DriverUnload = DriverUnload;
+
+    return STATUS_SUCCESS;
+}