mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user