Commit 0a6ac957 authored by Jeff Zaroyko's avatar Jeff Zaroyko Committed by Alexandre Julliard

mmdevapi/tests: Fix a failing test for Vista/W2k8.

parent 072951e2
......@@ -199,7 +199,9 @@ static void test_audioclient(IAudioClient *ac)
ok(hr == E_INVALIDARG, "SetEventHandle(NULL) returns %08x\n", hr);
hr = IAudioClient_SetEventHandle(ac, handle);
ok(hr == AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED, "SetEventHandle returns %08x\n", hr);
ok(hr == AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED ||
hr == HRESULT_FROM_WIN32(ERROR_INVALID_NAME)
, "SetEventHandle returns %08x\n", hr);
CloseHandle(handle);
CoTaskMemFree(pwfx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment