From 7a80e976015f67521983dc16cdb52d8e41fd6382 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 25 Mar 2010 13:56:35 +0100 Subject: [PATCH] mmdevapi/tests: Fix test failure on some Vista boxes. --- dlls/mmdevapi/tests/render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c index cf1912997db..23c158b9017 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);