Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

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%.

Parameters

  source | Source file path.
  destination | Destination file path.
  progress | Optional progress callback (can be kNULL).
  context | Callback context.

Returns
  Operation status.