mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[BLUE]
- Arch, learn how to properly revert things? svn path=/trunk/; revision=67497
This commit is contained in:
parent
067be5c23a
commit
2aab9460a2
1 changed files with 27 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue