[BLUE]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 1 May 2015 13:58:37 +0000 (13:58 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 1 May 2015 13:58:37 +0000 (13:58 +0000)
- Arch, learn how to properly revert things?

svn path=/trunk/; revision=67497

reactos/drivers/setup/blue/blue.c

index be94f75..ac89819 100644 (file)
@@ -792,6 +792,33 @@ ScrIoControl(PDEVICE_OBJECT DeviceObject,
   return Status;
 }
 
+static DRIVER_DISPATCH ScrDispatch;
+static NTSTATUS NTAPI
+ScrDispatch(PDEVICE_OBJECT DeviceObject,
+        PIRP Irp)
+{
+    PIO_STACK_LOCATION stk = IoGetCurrentIrpStackLocation(Irp);
+    NTSTATUS Status;
+
+    switch (stk->MajorFunction)
+    {
+        case IRP_MJ_CLOSE:
+            Status = STATUS_SUCCESS;
+            break;
+
+        default:
+            Status = STATUS_NOT_IMPLEMENTED;
+            break;
+    }
+
+
+    Irp->IoStatus.Status = Status;
+    IoCompleteRequest (Irp, IO_NO_INCREMENT);
+
+    return (Status);
+}
+
+
 /*
  * Module entry point
  */