Paul Vriens : winmm/tests: Fix a test failure on Vista and W2K8.
Alexandre Julliard
julliard at winehq.org
Fri Nov 7 07:24:09 CST 2008
Module: wine
Branch: master
Commit: 47dddefbb2ff0190232e35e2c947a31a7425eac0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=47dddefbb2ff0190232e35e2c947a31a7425eac0
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Nov 7 13:40:21 2008 +0100
winmm/tests: Fix a test failure on Vista and W2K8.
---
dlls/winmm/tests/capture.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/winmm/tests/capture.c b/dlls/winmm/tests/capture.c
index fb02d40..f6155e9 100644
--- a/dlls/winmm/tests/capture.c
+++ b/dlls/winmm/tests/capture.c
@@ -359,9 +359,10 @@ static void wave_in_test_device(int device)
dev_name(device),wave_in_error(rc));
rc=waveInGetDevCapsW(device,&capsW,4);
- ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_NOTSUPPORTED,
- "waveInGetDevCapsW(%s): MMSYSERR_NOERROR or MMSYSERR_NOTSUPPORTED "
- "expected, got %s\n",dev_name(device),wave_in_error(rc));
+ ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_NOTSUPPORTED ||
+ rc==MMSYSERR_INVALPARAM, /* Vista, W2K8 */
+ "waveInGetDevCapsW(%s): unexpected return value %s\n",
+ dev_name(device),wave_in_error(rc));
nameA=NULL;
rc=waveInMessage((HWAVEIN)device, DRV_QUERYDEVICEINTERFACESIZE,
More information about the wine-cvs
mailing list