http://bugs.winehq.org/show_bug.cgi?id=7102
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2009-01-13 07:32:01 --- (In reply to comment #5)
(In reply to comment #2)
I've just checked all internal flow in GetFileAttributes with testing return values on WinXP. All internally used calls seem to set error codes properly (error mapping succeeded too). Maybe it's better here to manually map this
STATUS_OBJECT_NAME_INVALID came from NtQueryAttributesFile to ERROR_PATH_NOT_FOUND. It's a solution #2 from comment #2
I'll post a patch for all these tests and a GetFileAttributes if I'll have time.
Ignore my comment #5.
GetFileAttributes() returns ERROR_INVALID_NAME in this case on Wine as it does on WinXP. This return value will not be changed I think if it differs for Win98. The point here is a loss of mapping in INT21_GetExtendedError for ERROR_INVALID_NAME. Try this patch, Felix.