Author: akhaldi
Date: Mon Aug 22 15:26:11 2011
New Revision: 53373
URL:
http://svn.reactos.org/svn/reactos?rev=53373&view=rev
Log:
[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.
Modified:
trunk/reactos/dll/win32/kernel32/client/file/create.c
Modified: trunk/reactos/dll/win32/kernel32/client/file/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/file/create.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/file/create.c [iso-8859-1] Mon Aug 22 15:26:11
2011
@@ -212,7 +212,7 @@
NULL))
{
WARN("Invalid path\n");
- SetLastError(ERROR_PATH_NOT_FOUND);
+ SetLastError(ERROR_FILE_NOT_FOUND);
return INVALID_HANDLE_VALUE;
}