mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Don't need to worry about windows messages.
This commit is contained in:
parent
846a71dc20
commit
409e7fb172
1 changed files with 2 additions and 3 deletions
|
@ -274,10 +274,9 @@ static void test_capture_buffer(LPDIRECTSOUNDCAPTURE dsco,
|
|||
|
||||
/* wait for the notifications */
|
||||
for (i = 0; i < (NOTIFICATIONS * 2); i++) {
|
||||
rc=MsgWaitForMultipleObjects(NOTIFICATIONS,state.event,FALSE,
|
||||
3000,QS_ALLEVENTS);
|
||||
rc=WaitForMultipleObjects(NOTIFICATIONS,state.event,FALSE,3000);
|
||||
ok(rc==(WAIT_OBJECT_0+(i%NOTIFICATIONS)),
|
||||
"MsgWaitForMultipleObjects failed: 0x%lx\n",rc);
|
||||
"WaitForMultipleObjects failed: 0x%lx\n",rc);
|
||||
if (rc!=(WAIT_OBJECT_0+(i%NOTIFICATIONS))) {
|
||||
ok((rc==WAIT_TIMEOUT)||(rc==WAIT_FAILED),
|
||||
"Wrong notification: should be %d, got %ld\n",
|
||||
|
|
Loading…
Reference in a new issue