mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +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
|
@ -212,7 +212,7 @@ HANDLE WINAPI CreateFileW (LPCWSTR lpFileName,
|
||||||
NULL))
|
NULL))
|
||||||
{
|
{
|
||||||
WARN("Invalid path\n");
|
WARN("Invalid path\n");
|
||||||
SetLastError(ERROR_PATH_NOT_FOUND);
|
SetLastError(ERROR_FILE_NOT_FOUND);
|
||||||
return INVALID_HANDLE_VALUE;
|
return INVALID_HANDLE_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue