MMIOM_RENAME message

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 Value

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Mmsystem.h (include Windows.h)