Commit 507db530 authored by Alexander Puzankov's avatar Alexander Puzankov Committed by Alexandre Julliard

winmm: The default I/O procedure should return MMIOERR_FILENOTFOUND if the…

winmm: The default I/O procedure should return MMIOERR_FILENOTFOUND if the openable file is not found.
parent 304c455b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment