|
Zen API
|
| kStatus kFile_CopyEx | ( | const kChar * | source, |
| const kChar * | destination, | ||
| kCallbackFx | progress, | ||
| kPointer | context | ||
| ) |
Copies a file to the specified destination with progress feedback.
The specified callback will be invoked to provide feedback on the progress of the operation. The callback 'args' parameter will receive a k32u value representing the percentage completed. The callback is guaranteed to be called at least once if the operation is successful, with a progress value of 100%.
| source | Source file path. |
| destination | Destination file path. |
| progress | Optional progress callback (can be kNULL). |
| context | Callback context. |