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

Pointer to a string containing the filename of the file to rename.

lpszNewFilename

Pointer to 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.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.

See Also

mmioRename