dsound/tests: DirectSound3DListener_QueryInterface should accept IKsPropertySet.

This commit is contained in:
Alexander Nicolaysen Sørnes 2010-02-10 14:59:28 +01:00 committed by Alexandre Julliard
parent ca9dbd736f
commit 1db6e11254
1 changed files with 10 additions and 0 deletions

View File

@ -1195,6 +1195,16 @@ static HRESULT test_primary_3d_with_listener(LPGUID lpGuid)
winetest_interactive &&
!(dscaps.dwFlags & DSCAPS_EMULDRIVER),1.0,0,
listener,0,0,FALSE,0);
todo_wine {
temp_buffer = NULL;
rc=IDirectSound3DListener_QueryInterface(listener,
&IID_IKsPropertySet,(LPVOID *)&temp_buffer);
ok(rc==DS_OK && temp_buffer!=NULL,
"IDirectSound3DListener_QueryInterface didn't handle IKsPropertySet: ret = %08x\n", rc);
if(temp_buffer)
IKsPropertySet_Release(temp_buffer);
}
}
/* Testing the reference counting */