dsound: fix bug 7813

Robert Reif reif at earthlink.net
Wed May 23 06:38:30 CDT 2007


Add missing interface ID.
-------------- next part --------------
Index: dlls/dsound/dsound.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/dsound.c,v
retrieving revision 1.58
diff -p -u -r1.58 dsound.c
--- dlls/dsound/dsound.c	15 May 2007 19:03:18 -0000	1.58
+++ dlls/dsound/dsound.c	23 May 2007 01:57:32 -0000
@@ -1071,6 +1071,7 @@ HRESULT DSOUND_Create8(
     TRACE("(%s, %p)\n", debugstr_guid(riid), ppDS);
 
     if (!IsEqualIID(riid, &IID_IUnknown) &&
+        !IsEqualIID(riid, &IID_IDirectSound) &&
         !IsEqualIID(riid, &IID_IDirectSound8)) {
         *ppDS = 0;
         return E_NOINTERFACE;


More information about the wine-patches mailing list