Fix DirectSoundCreate8 dependency

Francois Gouget fgouget at free.fr
Thu Feb 10 10:41:10 CST 2005


Changelog:

  * dlls/dsound/tests/ds3d8.c

    Don't link with DirectSoundCreate8 as this prevents running with 
older versions of DirectX.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
  The greatest programming project of all took six days; on the seventh day the
   programmer rested. We've been trying to debug the *&^%$#@ thing ever since.
                       Moral: design before you implement.
-------------- next part --------------
Index: dlls/dsound/tests/ds3d8.c
===================================================================
RCS file: /var/cvs/wine/dlls/dsound/tests/ds3d8.c,v
retrieving revision 1.12
diff -u -p -r1.12 ds3d8.c
--- dlls/dsound/tests/ds3d8.c	10 Jan 2005 12:25:56 -0000	1.12
+++ dlls/dsound/tests/ds3d8.c	10 Feb 2005 16:35:59 -0000
@@ -785,7 +785,7 @@ static HRESULT test_for_driver8(LPGUID l
     int ref;
 
     /* Create the DirectSound object */
-    rc=DirectSoundCreate8(lpGuid,&dso,NULL);
+    rc=pDirectSoundCreate8(lpGuid,&dso,NULL);
     ok(rc==DS_OK||rc==DSERR_NODRIVER||rc==DSERR_ALLOCATED,
        "DirectSoundCreate8() failed: %s\n",DXGetErrorString8(rc));
     if (rc!=DS_OK)


More information about the wine-patches mailing list