winmm/tests: test mciSendString with non-null return string buffer

Dan Kegel dank at kegel.com
Fri Jul 18 20:56:45 CDT 2008


Valgrinding Picasa showed warnings in call to mciSendString.
This patch adds two short mciSendString tests that
do very simple checks of how it uses the output buffer.
This produces the same kind of Valgrind warnings as
showed up in Picasa.

The new tests pass under Windows XP, and I've added
todo's for the ones that don't pass yet in Wine.

I'll leave the actual bug fixing to somebody who understands mci
better (or has the time to learn it).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mci.patch
Type: text/x-diff
Size: 1772 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080718/20b1e814/attachment.patch 


More information about the wine-patches mailing list