http://bugs.winehq.org/show_bug.cgi?id=21609
--- Comment #33 from Eric Pouech eric.pouech@orange.fr 2010-06-09 14:18:34 --- to be clear on what happens: - before commit listed in comment #1, the app used to install an ioproc, and mmio code was in all cases trying to use advInfo[0] as an HFILE - dwSizeFile computation was wrong, as it was considering advInfo[0] (for DOSMEM procs) to be a HANDLE (where it was a HFILE)
- the commit listed in comment #1, fixed the last part (always considers advInfo[0] as a HFILE), but was doing it for kinds of ioproc
the tentative patch always ask the ioproc for the seek information, which should be more correct