FindFirstFileExW

Mike Hearn m.hearn at signal.qinetiq.com
Tue Apr 1 08:42:49 CST 2003


Tested on XP.

ChangeLog
- Correct the error code returned when a file does not exist

-- 
Mike Hearn <m.hearn at signal.qinetiq.com>
QinetiQ - Malvern Technology Center
-------------- next part --------------
--- files/dos_fs.c	2003-02-14 20:27:11.000000000 +0000
+++ ../wine/files/dos_fs.c	2003-04-01 15:38:30.000000000 +0100
@@ -1984,7 +1984,7 @@
           if (!FindNextFileW( handle, data ))
           {
               FindClose( handle );
-              SetLastError( ERROR_NO_MORE_FILES );
+              SetLastError( ERROR_FILE_NOT_FOUND );
               break;
           }
           return handle;


More information about the wine-patches mailing list