[PATCH v2 0/1] MR13: kernelbase: Add support for progress callback in CopyFileEx.

Alistair Leslie-Hughes (@alesliehughes) wine at gitlab.winehq.org
Thu May 5 04:26:51 CDT 2022


On 5/5/22 17:40, Nikolay Sivov (@nsivov) wrote:
> Thank you. It's actually possible to test access mode through the callback, and it does look like DELETE is used internally, so that's good.
>
> My only concern now is whether we need stream-switch call at all? Have you tested if it's used for regular files, or on filesystems where streams are not supported. Maybe it could be dropped.
>
I've only tested on NTFS and ext4.

On Windows, I can confirm that the callback is called multiple times, as parts of the file are copied.  Beyond that nothing besides confirming the progress bar on the application in question works.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/13#note_630



More information about the wine-devel mailing list