Paul Vriens : mmdevapi/tests: Fix test failure on some Vista boxes.
Alexandre Julliard
julliard at winehq.org
Thu Mar 25 11:44:46 CDT 2010
Module: wine
Branch: master
Commit: 7a80e976015f67521983dc16cdb52d8e41fd6382
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a80e976015f67521983dc16cdb52d8e41fd6382
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Thu Mar 25 13:56:35 2010 +0100
mmdevapi/tests: Fix test failure on some Vista boxes.
---
dlls/mmdevapi/tests/render.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c
index cf19129..23c158b 100644
--- a/dlls/mmdevapi/tests/render.c
+++ b/dlls/mmdevapi/tests/render.c
@@ -200,7 +200,8 @@ static void test_audioclient(IAudioClient *ac)
hr = IAudioClient_SetEventHandle(ac, handle);
ok(hr == AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED ||
- hr == HRESULT_FROM_WIN32(ERROR_INVALID_NAME)
+ hr == HRESULT_FROM_WIN32(ERROR_INVALID_NAME) ||
+ hr == HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME) /* Some Vista */
, "SetEventHandle returns %08x\n", hr);
CloseHandle(handle);
More information about the wine-cvs
mailing list