https://bugs.winehq.org/show_bug.cgi?id=37695
Bug ID: 37695 Summary: joySetCapture fails with uPeriod==0 Product: Wine Version: 1.6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci Assignee: wine-bugs@winehq.org Reporter: heha@hrz.tu-chemnitz.de Distribution: ---
joySetCapture() checks the uPeriod parameter to be between 10 and 1000, and bails out with error code JOYERR_PARMS when not in range. Seen here:
http://fossies.org/dox/wine-1.6.2/winmm_2joystick_8c_source.html
Windows (at least 98..8) behaviour is to silently accept such out-of-range parameter. In MSDN documentation, any uPeriod parameter seems to be valid.
Affected application (mine): http://www.tu-chemnitz.de/~heha/hs/Funkuhr.zip/Win9x/Funkuhr.exe
Workaround made by changing its source code: http://www.tu-chemnitz.de/~heha/hs/Funkuhr.zip/Funkuhr.exe
Source code is: http://www.tu-chemnitz.de/~heha/hs/Funkuhr.zip/src