WORD LFNMove(lpSource, lpDest) | |||
LPSTR lpSource; | |||
LPSTR lpDest; |
The LFNMove function moves or renames the file specified by the lpSource
parameter to the path specified by the lpDest parameter. This will always be
intravolume on a network drive.
lpSource
Points to a null-terminated string specifying the full path of the file to move.
lpDest
Points to a null-terminated string specifying either the full name of the directory to receive the moved file or the new name for the file. If you are renaming the file, the path must include the new name of the file.
The return value is one of the following values.
Value | Meaning |
0 | Success. |
2 | Path not found. |
5 | Access denied. |
17 | Not same device. |
The export ordinal for this function is 106.