Re: kernel32: fix last error result on CreateFile
17 Mar
2006
17 Mar
'06
7:21 p.m.
Víctor Manuel Álvarez García wrote:
If CreateFile is called with CREATE_ALWAYS or OPEN_ALWAYS flags, and the file already exists, the function should success but the result of GetLastError after the call must be ERROR_ALREADY_EXISTS. Wine was not not setting the proper error code and GetLastError just returned ERROR_SUCCESS.
Wine is great, good work guys!
Here goes my contribution,
Thanks for the contribution! It would be great to write a test for this behaviour too, and add it to dlls/kernel/tests/file.c Mike
7300
Age (days ago)
7300
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mike McCormack