André Hentschel : mmdevapi: Add return value which happens on wow64 and pure 64-bit.
Alexandre Julliard
julliard at winehq.org
Thu Nov 11 12:05:47 CST 2010
Module: wine
Branch: master
Commit: 36035d0a223f96363fd9b824d63474de908beca6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=36035d0a223f96363fd9b824d63474de908beca6
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Nov 11 00:22:05 2010 +0100
mmdevapi: Add return value which happens on wow64 and pure 64-bit.
---
dlls/mmdevapi/tests/render.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c
index 70d6b39..9661dbd 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);
More information about the wine-cvs
mailing list