[Bug 7102] WinWord 6: unspecified problem

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 13 07:32:01 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=7102





--- Comment #6 from Nikolay Sivov <bunglehead at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list