MoveFile

This function entry is part of a MAPI-specific list of Win32 functions. For a complete description, see Win32 Functions.

BOOL MoveFile(
  LPCTSTR lpszExisting,   
  LPCTSTR lpszNew         
)
 

Limitations

The MAPI version of the MoveFile function won't move a directory. This function always works across drives, and it always performs a copy operation then deletes the original file, as opposed to truly performing a move operation.