[Bug 37695] New: joySetCapture fails with uPeriod==0

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 9 17:57:15 CST 2014


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 at winehq.org
          Reporter: heha at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list