The mmioRename function renames the specified file.
MMRESULT mmioRename(
LPCSTR szFilename,
LPCSTR szNewFilename,
const LPMMIOINFO lpmmioinfo,
DWORD dwRenameFlags
);
Returns zero if the file was renamed. Otherwise, returns an error code returned from mmioRename or from the I/O procedure.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Multimedia File I/O Overview, Multimedia File I/O Functions, MMIOINFO