mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 18:02:05 +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
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -134,7 +134,7 @@ HANDLE STDCALL CreateFileW (LPCWSTR lpFileName,
|
|||
NULL))
|
||||
{
|
||||
DPRINT("Invalid path\n");
|
||||
SetLastError(ERROR_BAD_PATHNAME);
|
||||
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||
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
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -77,7 +77,10 @@ DeleteFileW (
|
|||
&NtPathU,
|
||||
NULL,
|
||||
NULL))
|
||||
{
|
||||
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
DPRINT("NtPathU \'%wZ\'\n", &NtPathU);
|
||||
|
||||
|
|
Loading…
Reference in a new issue