Windows Mobile 6.5
A version of this page is also available for
This function deletes a file after copying its contents to the destination file. The source file and the destination file must already exist.
BOOL DeleteAndRenameFile( LPCWSTR lpszDestFile, LPCWSTR lpszSourceFile );
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.