Author: arty
Date: Sun Jul 27 03:12:12 2008
New Revision: 34828
URL:
http://svn.reactos.org/svn/reactos?rev=34828&view=rev
Log:
More specific error messages. More correct according to winetests.
Modified:
trunk/reactos/drivers/filesystems/npfs/create.c
Modified: trunk/reactos/drivers/filesystems/npfs/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/c…
==============================================================================
--- trunk/reactos/drivers/filesystems/npfs/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/npfs/create.c [iso-8859-1] Sun Jul 27 03:12:12 2008
@@ -255,9 +255,9 @@
if (ClientCcb->Data)
ExFreePool(ClientCcb->Data);
KeUnlockMutex(&Fcb->CcbListLock);
- Irp->IoStatus.Status = STATUS_PIPE_BUSY;
+ Irp->IoStatus.Status = STATUS_OBJECT_PATH_NOT_FOUND;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
- return STATUS_PIPE_BUSY;
+ return STATUS_OBJECT_PATH_NOT_FOUND;
}
}
else
@@ -368,9 +368,9 @@
{
DPRINT("Out of instances.\n");
ExFreePool(Ccb);
- Irp->IoStatus.Status = STATUS_PIPE_BUSY;
+ Irp->IoStatus.Status = STATUS_INSTANCE_NOT_AVAILABLE;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
- return STATUS_PIPE_BUSY;
+ return STATUS_INSTANCE_NOT_AVAILABLE;
}
/* FIXME: Check pipe modes also! */