[2/2] kernel32: implement callback and cancellation in CopyFileEx
djelinski1 at gmail.com
Sun Sep 15 15:31:59 CDT 2013
2013/9/15 Nikolay Sivov <nsivov at codeweavers.com>
> You could add CopyFile2 style callback function in our code, pass
> everything you need as 'pvCallbackContext', that could be CopyFileEx
> callback pointer or pointer to a structure that contains
> pointer to user callback (and anything else you might need).
> I didn't look deep at this, but looks like CopyFile2 callback is called
> more often than CopyFileEx expects,
> this could be easily implement by filtering unwanted events in your
> CopyFile2 callback (that will reside in kernel32).
Ack, this could work.I'll try to do it next weekend (just realized I need
an account on new testbot to test this)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-devel