mmdevapi/tests: Fix test failure on some Vista boxes.
This commit is contained in:
parent
c9f2007e72
commit
7a80e97601
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue