winmm/tests: Fix a test failure on Vista and W2K8.
This commit is contained in:
parent
4f5460ffcf
commit
47dddefbb2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue