Module: wine Branch: master Commit: 724a45d15ef460eb29eb27cc0e36a40ab829fd78 URL: http://source.winehq.org/git/wine.git/?a=commit;h=724a45d15ef460eb29eb27cc0e...
Author: Jeff Zaroyko jeffz@jeffz.name Date: Fri Sep 19 15:26:57 2008 +1000
dsound: Fix a failing test on XP.
---
dlls/dsound/tests/dsound.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c index 9dc8f21..256f086 100644 --- a/dlls/dsound/tests/dsound.c +++ b/dlls/dsound/tests/dsound.c @@ -763,8 +763,9 @@ static HRESULT test_secondary(LPGUID lpGuid) wfxe.Format.cbSize = sizeof(wfxe) - sizeof(wfx) + 1;
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL); - ok(((rc==DSERR_CONTROLUNAVAIL || rc==DSERR_INVALIDCALL) && !secondary) - || rc==DS_OK, /* 2003 / 2008 */ + ok(((rc==DSERR_CONTROLUNAVAIL || rc==DSERR_INVALIDCALL || rc==DSERR_INVALIDPARAM) + && !secondary) + || rc==DS_OK, /* 2003 / 2008 */ "IDirectSound_CreateSoundBuffer() returned: %08x %p\n", rc, secondary); if (secondary)