[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:
Amine Khaldi 2011-08-22 15:26:11 +00:00
parent d00505fa08
commit 0232b2b680

View file

@ -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;
}