MMIOM_RENAME

The MMIOM_RENAME message is sent to an I/O procedure by the mmioRename function to request that the specified file be renamed.

MMIOM_RENAME 
lParam1 = (LPARAM) lpszOldFilename 
lParam2 = (LPARAM) lpszNewFilename 
 

Parameters

lpszOldFilename
Address of a string containing the filename of the file to rename.
lpszNewFilename
Address of a string containing the new filename.

Return Values

If the file is renamed successfully, the return value is zero. If the specified file was not found, the return value is MMIOERR_FILENOTFOUND.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.

See Also

Multimedia File I/O Overview, Multimedia File I/O Messages, mmioRename