 |
CeMoveFile ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
This function renames an existing file or a directory — including all its children. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL CeMoveFile(
LPCWSTR lpExistingFileName,
LPCWSTR lpNewFileName
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CeMoveFile IN rapi;
STRING lpExistingFileName,;
STRING lpNewFileName
|
 |
 |
 |
| Parameters: |
 |
lpExistingFileName
[in] Long pointer to a null-terminated string that names an existing file or directory.
lpNewFileName
[in] Long pointer to a null-terminated string that specifies the new name of a file or directory. |
 |
 |
| Return value: |
 |
| Nonzero indicates success. |
 |
 |
| My comment: |
 |
The new name must not already exist. A new file may be on a different file system or drive. A new directory must be on the same drive. You must specify the complete directory path.
Note that the concept of a current directory does not exist in Windows CE.
See also CeCopyFile and CeDeleteFile functions. |
 |
 |
| Word Index links for the CeMoveFile : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-08-21 15:42:52 | | Modified: | 2004-08-21 15:46:28 | Visited in last 7 days: 18 |