From 36035d0a223f96363fd9b824d63474de908beca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Thu, 11 Nov 2010 00:22:05 +0100 Subject: [PATCH] mmdevapi: Add return value which happens on wow64 and pure 64-bit. --- dlls/mmdevapi/tests/render.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);