Syntax
VM_FS_RESULT vm_fs_copy(
    VMCWSTR destination, 
    VMCWSTR source, 
    vm_fs_copy_callback callback
);
ContentsIndex
PreviousUpNext
vm_fs_copy
Syntax
VM_FS_RESULT vm_fs_copy(
    VMCWSTR destination, 
    VMCWSTR source, 
    vm_fs_copy_callback callback
);
Description

Copies a file from source to destination. The filenames of source and destination are full path encoded in UCS-2.

Parameters
Parameters 
Description 
VMCWSTR destination 
[IN] The full path of destination where the file is copied to, encoded in UCS-2. 
VMCWSTR source 
[IN] The full path of source where the file is copied from, encoded in UCS-2. 
vm_fs_copy_callback callback 
[IN] callback of the file copy operation. 
Returns

VM_FS_RESULT. The typical error codes are: 

(-2): Bad parameter. 

(-3): Either source full path or destination full path is wrong. 

(-19): Cannot find source full path specified. 

(-36): destination full path exists. 

(-44): Cannot get memory to do the operation 

(-46): Busy. 

(-47): This action has been aborted in the user's callback function.

File

vmfs.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.