diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c index 70d6b39d52c..9661dbdd2ad 100644 --- a/dlls/mmdevapi/tests/render.c +++ b/dlls/mmdevapi/tests/render.c @@ -165,7 +165,9 @@ static void test_audioclient(IAudioClient *ac) ok(pwfx2 == NULL, "pwfx2 non-null on exclusive IsFormatSupported\n"); hr = IAudioClient_IsFormatSupported(ac, 0xffffffff, pwfx, NULL); - ok(hr == E_INVALIDARG, "IsFormatSupported(0xffffffff) call returns %08x\n", hr); + ok(hr == E_INVALIDARG || + hr == AUDCLNT_E_UNSUPPORTED_FORMAT, + "IsFormatSupported(0xffffffff) call returns %08x\n", hr); } test_uninitialized(ac);