Zebediah Figura (@zfigura) commented about dlls/kernel32/tests/file.c:
- }
- for (i = 0; i < 10; i++)
- {
ok(WriteFile(handle, buffer, strlen(buffer), NULL, NULL), "Could not write to file");
- }
- CloseHandle(handle);
- progress_output = (ProgressOutput){.calls_size = 10, .call_count = 0, .calls = (ProgressCall *)&calls};
- ok(CopyFileExA(path_src, path_dest, (LPPROGRESS_ROUTINE)LpprogressRoutine, &progress_output, NULL, 0),
"Failed to copy file %ld %s %s\n", GetLastError(), path_src, path_dest);
- check_progress_output(progress_output, 1);
- DeleteFileA(path_src);
- DeleteFileA(path_dest);
- RemoveDirectoryA(tmp_path);
Please check that these calls succeed.