Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-15 Thread Daniel Jeliński
2013/9/15 Nikolay Sivov > 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

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-14 Thread Nikolay Sivov
On 09/14/2013 11:46 PM, Daniel Jeliński wrote: 2013/9/14 Nikolay Sivov > Could you implement necessary part of CopyFile2 instead, and use it in CopyFileEx? I think CopyFile2 has everything to do that. I suppose I could, but then, CopyFile2 uses a differen

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-14 Thread Daniel Jeliński
2013/9/14 Nikolay Sivov > Could you implement necessary part of CopyFile2 instead, and use it in > CopyFileEx? I think CopyFile2 has everything to do that. > > I suppose I could, but then, CopyFile2 uses a different callback than CopyFileEx: CopyFile2: http://msdn.microsoft.com/en-us/library/wind

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-14 Thread Nikolay Sivov
On 09/14/2013 03:25 AM, Daniel Jeliński wrote: Could you implement necessary part of CopyFile2 instead, and use it in CopyFileEx? I think CopyFile2 has everything to do that.