[PATCH 2/4] dsound/tests: IDirectSoundBuffer and IDirectSoundBuffer8 use the same implementation.

Michael Stefaniuc mstefani at redhat.de
Tue Aug 23 19:29:22 CDT 2011


---
 dlls/dsound/tests/dsound8.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c
index 5561051..6406b47 100644
--- a/dlls/dsound/tests/dsound8.c
+++ b/dlls/dsound/tests/dsound8.c
@@ -356,6 +356,8 @@ static HRESULT test_dsound8(LPGUID lpGuid)
                                             &IID_IDirectSoundBuffer8,
                                             (void **)&buffer8);
             if (rc==DS_OK && buffer8!=NULL) {
+                ok(buffer8==(IDirectSoundBuffer8*)secondary,
+                   "IDirectSoundBuffer8 iface different from IDirectSoundBuffer.\n");
                 ref=IDirectSoundBuffer8_AddRef(buffer8);
                 ok(ref==3,"IDirectSoundBuffer8_AddRef() has %d references, "
                    "should have 3\n",ref);
-- 
1.7.6



More information about the wine-patches mailing list