mmdevapi/tests: Fix test failure on some Vista boxes.

This commit is contained in:
Paul Vriens 2010-03-25 13:56:35 +01:00 committed by Alexandre Julliard
parent c9f2007e72
commit 7a80e97601
1 changed files with 2 additions and 1 deletions

View File

@ -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);