<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/9/15 Nikolay Sivov <span dir="ltr"><<a href="mailto:nsivov@codeweavers.com" target="_blank">nsivov@codeweavers.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">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<br>
    pointer to user callback (and anything else you might need).<br>
    <br>
    I didn't look deep at this, but looks like CopyFile2 callback is
    called more often than CopyFileEx expects,<br>
    this could be easily implement by filtering unwanted events in your
    CopyFile2 callback (that will reside in kernel32).<br>
  </div>

</blockquote></div><br></div><div class="gmail_extra">Ack, this could work.I'll try to do it next weekend (just realized I need an account on new testbot to test this)<br></div></div>