When doing file operations that may take a while, such as moving a file or copying a file, a progress callback is used to pass how far along that operation is to the application.
current_num_bytes |
the current number of bytes in the operation. |
total_num_bytes |
the total number of bytes in the operation. |
user_data |
user data passed to the callback. |