Commit be0721d4 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winmm/tests: Fix a test on win98.

parent 24340287
......@@ -1030,9 +1030,12 @@ static void test_mixerOpen(void)
mmsys_error(rc));
rc = mixerOpen(&mix, d, 0xdeadbeef, 0, CALLBACK_WINDOW);
ok(rc == MMSYSERR_INVALPARAM,
ok(rc == MMSYSERR_INVALPARAM ||
rc == MMSYSERR_NOERROR, /* 98 */
"mixerOpen: MMSYSERR_INVALPARAM expected, got %s\n",
mmsys_error(rc));
if (rc == MMSYSERR_NOERROR)
test_mixerClose(mix);
/* Test mixerOpen with a NULL dwCallback and CALLBACK_WINDOW flag. */
rc = mixerOpen(&mix, d, 0, 0, CALLBACK_WINDOW);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment