FindFirstFileExW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tested on XP.

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

-- 
Mike Hearn <m.hearn@signal.qinetiq.com>
QinetiQ - Malvern Technology Center
--- 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;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux