Don't link with DirectSoundCreate8 as this prevents running with older

versions of DirectX.
This commit is contained in:
Francois Gouget 2005-02-10 21:21:13 +00:00 committed by Alexandre Julliard
parent d6b6700e85
commit 9ee0586cfb
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ static HRESULT test_for_driver8(LPGUID lpGuid)
int ref; int ref;
/* Create the DirectSound object */ /* Create the DirectSound object */
rc=DirectSoundCreate8(lpGuid,&dso,NULL); rc=pDirectSoundCreate8(lpGuid,&dso,NULL);
ok(rc==DS_OK||rc==DSERR_NODRIVER||rc==DSERR_ALLOCATED, ok(rc==DS_OK||rc==DSERR_NODRIVER||rc==DSERR_ALLOCATED,
"DirectSoundCreate8() failed: %s\n",DXGetErrorString8(rc)); "DirectSoundCreate8() failed: %s\n",DXGetErrorString8(rc));
if (rc!=DS_OK) if (rc!=DS_OK)