user32: SetTimer should respect the minimum and maximum timeout limits.

Erich E. Hoover ehoover at
Thu Apr 11 17:48:28 CDT 2013

The attached patch is the next step in the series of fixes for
supporting Netflix under Wine.  I'm starting with patches that affect
more than just Netflix and moving toward more Netflix-specific patches
as I move along.  In the case of this patch, video rendering in all
Silverlight applications should be improved dramatically once the
patch is applied.

So, this particular patch fixes the minimum and maximum timeout limits
for SetTimer, which has a significant impact on any application using
SetTimer to render video (Bug #32489).  The old minimum timeout (55
ms) is nowhere near short enough to render video at 24 FPS, causing
"choppy" video behavior in a variety of Silverlight apps.  Even though
MSDN indicates that the minimum timeout should be 10 ms, I'm using the
value established from the included tests instead (15 ms).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-SetTimer-should-respect-the-minimum-and-maxim.patch
Type: application/octet-stream
Size: 3045 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list