Oct 31st, 2007, 1:15 PM
|
#4
|
|
Resident Grouch
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 
|
Re: problems with CopyFileEX
You have to write your own CopyProgressRoutine. You need to define it as specified:
Quote:
|
Originally Posted by MSDN
DWORD CALLBACK CopyProgressRoutine(
[in] LARGE_INTEGER TotalFileSize,
[in] LARGE_INTEGER TotalBytesTransferred,
[in] LARGE_INTEGER StreamSize,
[in] LARGE_INTEGER StreamBytesTransferred,
[in] DWORD dwStreamNumber,
[in] DWORD dwCallbackReason,
[in] HANDLE hSourceFile,
[in] HANDLE hDestinationFile,
[in] LPVOID lpData
);
|
Obviously, you can change the names to anything you like.
|
|
|