[Wine] Re: FindFirstFileA win32 API function return value

vitamin wineforum-user at winehq.org
Tue Sep 9 10:01:52 CDT 2008


MSK61 wrote:
> I've a windows application that calls the win32 API function FindFirstFileA on a non-existent file. As stated in microsoft windows SDK documentation at http://msdn.microsoft.com/en-us/library/aa364418(VS.85).aspx, the function should return INVALID_HANDLE_VALUE, which is equivalent to 0xFFFFFFFF, when the file interrogated doesn't exist.

According to Wine tests this is correct.


MSK61 wrote:
> Under windows, the function doesn't return INVALID_HANDLE_VALUE, even if the file doesn't exist.

Show some prove. Wine has extensive tests for this and these tests succeed on _all_ versions of windows. And Wine itself. Check your code.







More information about the wine-users mailing list