Author: tfaber
Date: Fri May 1 13:58:37 2015
New Revision: 67497
URL:
http://svn.reactos.org/svn/reactos?rev=67497&view=rev
Log:
[BLUE]
- Arch, learn how to properly revert things?
Modified:
trunk/reactos/drivers/setup/blue/blue.c
Modified: trunk/reactos/drivers/setup/blue/blue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/setup/blue/blue.c?…
==============================================================================
--- trunk/reactos/drivers/setup/blue/blue.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/setup/blue/blue.c [iso-8859-1] Fri May 1 13:58:37 2015
@@ -792,6 +792,33 @@
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
*/