mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[KERNEL32]
* CreateFile: If the specified file or device does not exist, the function fails and the last-error code is set to ERROR_FILE_NOT_FOUND. Spotted by Claudiu and Vic. svn path=/trunk/; revision=53373
This commit is contained in:
parent
d00505fa08
commit
0232b2b680
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ HANDLE WINAPI CreateFileW (LPCWSTR lpFileName,
|
|||
NULL))
|
||||
{
|
||||
WARN("Invalid path\n");
|
||||
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||
SetLastError(ERROR_FILE_NOT_FOUND);
|
||||
return INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue