Alexander Nicolaysen Sørnes : dsound/ tests: DirectSound3DListener_QueryInterface should accept IKsPropertySet.
Alexandre Julliard
julliard at winehq.org
Thu Feb 11 11:08:31 CST 2010
Module: wine
Branch: master
Commit: 1db6e112546ae61e5dbe636f04cbe3ab4a480955
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1db6e112546ae61e5dbe636f04cbe3ab4a480955
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Wed Feb 10 14:59:28 2010 +0100
dsound/tests: DirectSound3DListener_QueryInterface should accept IKsPropertySet.
---
dlls/dsound/tests/ds3d.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/dlls/dsound/tests/ds3d.c b/dlls/dsound/tests/ds3d.c
index 71ff2ab..8ae0efa 100644
--- a/dlls/dsound/tests/ds3d.c
+++ b/dlls/dsound/tests/ds3d.c
@@ -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 */
More information about the wine-cvs
mailing list