LISTBOX_Directory() returns LB_OKAY for invalid directory / f ilen ame

Alexandre Julliard julliard at
Wed Jun 23 16:36:53 CDT 2004

Krishna Murthy <Krishna.Murthy at> writes:

> It looks like in bug 1435 they wanted to avoid triggering of error if no
> more files found. But could not understand why they wanted to avoid
> triggering of error when the specified filename does not exists. In MS
> windows if File Not found, then it returns error. So we could satisfy both
> by just doing the following check:
>> if (le != ERROR_NO_MORE_FILES) return LB_ERR; 
> So the above condition triggers error for all the error conditions except

Which is exactly what the code looked like before the fix for bug
1435, so you will just reintroduce the bug. This needs more

Alexandre Julliard
julliard at

More information about the wine-devel mailing list