Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Moves an existing file or a directory, including its children, as a transacted operation.
inline BOOL CAtlTransactionManager::MoveFile(
LPCTSTR lpOldFileName,
LPCTSTR lpNewFileName
);
Parameters
lpOldFileName
The current name of the existing file or directory on the local computer.lpNewFileName
The new name for the file or directory. This 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.
Remarks
This wrapper calls the MoveFileTransacted function.
Requirements
Header: atltransactionmanager.h