13 Feb
2024
13 Feb
'24
12:05 a.m.
we still need to not clobber GetLastError.
re-reading the [tests for CopyFile2](dlls/kernel32/tests/file.c#L1108-1110), apparently the tests expect CopyFile2 to return a HRESULT _and_`SetLastError` (example in linked code) therefore we apparently _are_ supposed to clobber `GetLastError`. MSDN documentation doesn't mention anything either way. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5020#note_60956