FindFirstFileA win32 API function return value

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

 



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.
Under windows, the function doesn't return INVALID_HANDLE_VALUE, even if the file doesn't exist. On the contrary, with wine under linux it successfully returns INVALID_HANDLE_VALUE.
Does anyone have an interpretation for this strange difference between the behaviour of this function with windows(the one with the strange behaviour) versus wine under linux?






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

  Powered by Linux