mmioRename  5ESJ0IU 

The mmioRename function renames the specified file.

MMRESULT mmioRename(

    LPCSTR szFilename,

 

    LPCSTR szNewFilename,

 

    const LPMMIOINFO lpmmioinfo,

 

    DWORD dwRenameFlags

 

   );

 

 

Parameters

szFilename

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

szNewFileName

Address of a string containing the new filename.

lpmmioinfo

Address of an MMIOINFO7F4X5_ structure containing extra parameters used by mmioRename. If this parameter is not NULL, all unused members of the MMIOINFO structure it references must be set to zero, including the reserved members.

dwRenameFlags

Flags for the rename operation. This parameter should be set to zero.

 

Return Values

Returns zero if the file was renamed. Otherwise, returns an error code returned from mmioRename or from the I/O procedure.

See Also

MMIOINFO