[PATCH] winmm_test.exe fix for CALLBACK_THREAD

Stéphan Kochen stephan at kochen.nl
Mon Apr 2 09:54:12 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello again,

"wine winmm_test.exe wave" reliably locks up for me after calling
waveOutOpen() with the CALLBACK_THREAD flag, waiting for a WOM_OPEN
message to arrive. Which never happens because I believe the thread
doesn't have a message queue.

This patch implements the solution mentioned in the "remarks" section of
the MSDN page on PostThreadMessage:
http://msdn2.microsoft.com/en-us/library/ms644946.aspx

Fixed it for me.

- -- Stéphan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGERkUcFUq0gzqDwQRAlwCAKD1rVdMXjawPzJOddfU5Oh9hK8cagCgzB2g
6b6JbG23fjGqk+Mj9xvHnF8=
=rXu0
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmm_test_fix.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070402/2a50ad33/winmm_test_fix-0001.bin


More information about the wine-devel mailing list