mirror of
https://github.com/reactos/reactos.git
synced 2025-07-01 09:11:21 +00:00
make some wine reg. tests pass
svn path=/trunk/; revision=11870
This commit is contained in:
parent
dc2d3110e4
commit
1abe87090e
2 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: create.c,v 1.40 2004/10/12 22:04:51 gvg Exp $
|
/* $Id: create.c,v 1.41 2004/11/29 17:31:21 gdalsnes Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -134,7 +134,7 @@ HANDLE STDCALL CreateFileW (LPCWSTR lpFileName,
|
||||||
NULL))
|
NULL))
|
||||||
{
|
{
|
||||||
DPRINT("Invalid path\n");
|
DPRINT("Invalid path\n");
|
||||||
SetLastError(ERROR_BAD_PATHNAME);
|
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||||
return INVALID_HANDLE_VALUE;
|
return INVALID_HANDLE_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: delete.c,v 1.17 2004/08/18 02:13:27 navaraf Exp $
|
/* $Id: delete.c,v 1.18 2004/11/29 17:31:21 gdalsnes Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -77,7 +77,10 @@ DeleteFileW (
|
||||||
&NtPathU,
|
&NtPathU,
|
||||||
NULL,
|
NULL,
|
||||||
NULL))
|
NULL))
|
||||||
|
{
|
||||||
|
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
DPRINT("NtPathU \'%wZ\'\n", &NtPathU);
|
DPRINT("NtPathU \'%wZ\'\n", &NtPathU);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue