diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c
index cf1912997db150fca30d9fc577ad909377f24234..23c158b9017c3781e8ab655853e789d6f173fca2 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);