winmm/tests: Fix a test failure on Vista and W2K8.

This commit is contained in:
Paul Vriens 2008-11-07 13:40:21 +01:00 committed by Alexandre Julliard
parent 4f5460ffcf
commit 47dddefbb2
1 changed files with 4 additions and 3 deletions

View File

@ -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,