Alexandre Julliard : winmm/tests: Make sure the callback thread has a message queue.
Alexandre Julliard
julliard at winehq.org
Fri Feb 29 06:16:50 CST 2008
Module: wine
Branch: master
Commit: edb91ce51971c9c138b8754da631bc399f8b5729
URL: http://source.winehq.org/git/wine.git/?a=commit;h=edb91ce51971c9c138b8754da631bc399f8b5729
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Feb 28 19:56:48 2008 +0100
winmm/tests: Make sure the callback thread has a message queue.
---
dlls/winmm/tests/wave.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c
index 93e406e..60f0622 100644
--- a/dlls/winmm/tests/wave.c
+++ b/dlls/winmm/tests/wave.c
@@ -535,6 +535,7 @@ static DWORD WINAPI callback_thread(LPVOID lpParameter)
{
MSG msg;
+ PeekMessageW( &msg, 0, 0, 0, PM_NOREMOVE ); /* make sure the thread has a message queue */
SetEvent((HANDLE)lpParameter);
while (GetMessage(&msg, 0, 0, 0)) {
More information about the wine-cvs
mailing list