http://bugs.winehq.org/show_bug.cgi?id=8551
Summary: MoveFileWithProgressW unconditional fails for directories with flag MOVEFILE_REPLACE_EXISTING Product: Wine Version: 0.9.37. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: db1@nessi-online.de
dlls/kernel32/path.c
The function fails with the error code ERROR_INVALID_PARAMETER, if the flag MOVEFILE_REPLACE_EXISTING is given and source names a directory. This should be ok, if the destination exists, but is not ok if destination not exists.