Jesse Allen : dsound: Fix test for some windows versions.
Alexandre Julliard
julliard at winehq.org
Wed Apr 22 10:18:48 CDT 2009
Module: wine
Branch: master
Commit: eac47917414920d713ef1925adbd57b1bf1bc858
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eac47917414920d713ef1925adbd57b1bf1bc858
Author: Jesse Allen <the3dfxdude at gmail.com>
Date: Tue Apr 21 21:47:35 2009 -0700
dsound: Fix test for some windows versions.
---
dlls/dsound/tests/dsound8.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c
index 88fc666..a52f653 100644
--- a/dlls/dsound/tests/dsound8.c
+++ b/dlls/dsound/tests/dsound8.c
@@ -783,7 +783,7 @@ static HRESULT test_secondary8(LPGUID lpGuid)
wfxe.Format.cbSize = sizeof(wfxe);
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL);
- ok((rc==DSERR_CONTROLUNAVAIL || rc==DSERR_INVALIDCALL) && !secondary,
+ ok((rc==DSERR_CONTROLUNAVAIL || rc==DSERR_INVALIDCALL || rc==E_INVALIDARG) && !secondary,
"IDirectSound_CreateSoundBuffer() returned: %08x %p\n",
rc, secondary);
if (secondary)
More information about the wine-cvs
mailing list