mmioRename(3mms) — Subroutines
Name
mmioRename --- Rename a file
Syntax
#include <mme/mme_api.h>
MMRESULT APIENTRY mmioRename(LPCSTR szFileName,
LPCSTR szNewFileName,
LPMMIOINFO lpmmioinfo,
DWORD dwRenameFlags);
Arguments
LPCSTR szFileName
Specifies a pointer to a string containing the file name of the file to be renamed.
LPCSTR szNewFileName
Specifies a pointer to a string containing the new file name.
LPMMIOINFO lpmmioinfo
This parameter is not used; set it to NULL.
DWORD dwRenameFlags
Must be set to zero.
Description
The mmioRename function renames a file.
Extensions
None.
Return Values
Returns MMSYSERR_NOERROR if the function is successful; otherwise, it returns one of the following error codes:
MMIOERR_CANNOTWRITE@T{ The contents of the buffer could not be written to disk. T} MMIOERR_FILENOTFOUND@T{ The file was not found. T}
See Also
None.