Don't link with DirectSoundCreate8 as this prevents running with older
authorFrancois Gouget <fgouget@free.fr>
Thu, 10 Feb 2005 21:21:13 +0000 (21:21 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 10 Feb 2005 21:21:13 +0000 (21:21 +0000)
versions of DirectX.

dlls/dsound/tests/ds3d8.c

index b1df2700cf3c05c38b7574c19ea1c45cdc87a140..88eb7921b994ceadcdafca09cafbf23054e20561 100644 (file)
@@ -794,7 +794,7 @@ static HRESULT test_for_driver8(LPGUID lpGuid)
     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)