mmioRename

  UINT mmioRename(szFilename, szNewFileName, lpmmioinfo, dwRenameFlags)    
  LPCSTR szFilename;    
  LPCSTR szNewFileName;    
  LPMMIOINFO lpmmioinfo;    
  DWORD dwRenameFlags;    

The mmioRename function renames the specified file.

Parameters

szFilename

Specifies a pointer to a string containing the filename of the file to rename.

szNewFileName

Specifies a pointer to a string containing the new filename.

lpmmioinfo

Specifies a pointer to an MMIOINFO structure containing extra parameters used by mmioRename.

If lpmmioinfo is not NULL, all unused fields of the MMIOINFO structure it references must be set to zero, including the reserved fields.

dwRenameFlags

Specifies option flags for the rename operation. This should be set to zero.

Return Value

The return value is zero if the file was renamed. Otherwise, the return value is an error code returned from mmioRename or from the I/O procedure.