winmm: The default I/O procedure should return MMIOERR_FILENOTFOUND if the openable file is not found.
This commit is contained in:
parent
304c455b2b
commit
507db530b2
|
@ -79,7 +79,7 @@ static LRESULT CALLBACK mmioDosIOProc(LPMMIOINFO lpmmioinfo, UINT uMessage,
|
|||
lpmmioinfo->adwInfo[0] = OpenFile(szFileName, &ofs, lpmmioinfo->dwFlags & 0xFFFF);
|
||||
}
|
||||
if (lpmmioinfo->adwInfo[0] == HFILE_ERROR)
|
||||
ret = MMIOERR_CANNOTOPEN;
|
||||
ret = MMIOERR_FILENOTFOUND;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue