Strange waveOutGetDevCaps calls in winmm/tests/wave.c

Peter Åstrand astrand at
Fri Apr 18 04:01:57 CDT 2008

On Wed, 16 Apr 2008, Juan Lang wrote:

> >  The CapsA test doesn't fail, probably since winmm wraps CapsA calls with
> >  CapsW calls and then does memcpy. In either case, calling
> >  waveOutGetDevCaps sith size=4 is not valid, as far as I can tell.
> >  Theoretically, it might be in the future, though, if some small caps
> >  structure is invented. I suggest that these tests are removed altogether:
> Sounds reasonable to me; please send to wine-patches.

Actually, the patch was wrong: The capsA structure is used later below, so 
the call needs to be fixed rather than removed. 

I'll fix a new patch. 

Peter Åstrand		ThinLinc Chief Developer
Cendio AB
Wallenbergs gata 4
583 30 Linköping	Phone: +46-13-21 46 00

More information about the wine-devel mailing list