winmm/tests: Fix some test failures in Win9x and WinMe.

This commit is contained in:
Paul Vriens 2009-10-14 10:56:36 +02:00 committed by Alexandre Julliard
parent ae4de9d695
commit 55b3a9c906
1 changed files with 5 additions and 3 deletions

View File

@ -791,9 +791,11 @@ static void wave_out_test_deviceOut(int device, double duration,
}
for (i = 0; i < headers; i++) {
ok(frags[i].dwFlags==(WHDR_DONE|WHDR_PREPARED),
"WHDR_DONE WHDR_PREPARED expected, got %s\n",
wave_header_flags(frags[i].dwFlags));
ok(frags[i].dwFlags==(WHDR_DONE|WHDR_PREPARED) ||
broken((flags & CALLBACK_TYPEMASK)==CALLBACK_EVENT &&
frags[i].dwFlags==(WHDR_DONE|WHDR_PREPARED|0x1000)), /* < NT4 */
"(%02d) WHDR_DONE WHDR_PREPARED expected, got %s\n",
i, wave_header_flags(frags[i].dwFlags));
}
check_position(device, wout, length * (loops + 1), pwfx);
}