[PATCH 4/4] Fix test failure on some Vista boxes
Paul Vriens
Paul.Vriens.Wine at gmail.com
Thu Mar 25 07:56:35 CDT 2010
---
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);
--
1.6.2.5
--------------030407090504080109090204--
More information about the wine-patches
mailing list