winmm/tests: Fix a test failure on Vista and W2K8.
This commit is contained in:
parent
a16f33c002
commit
05c40e08a6
|
@ -891,9 +891,10 @@ static void wave_out_test_device(int device)
|
||||||
"expected, got %s\n", dev_name(device),wave_out_error(rc));
|
"expected, got %s\n", dev_name(device),wave_out_error(rc));
|
||||||
|
|
||||||
rc=waveOutGetDevCapsW(device,&capsW,4);
|
rc=waveOutGetDevCapsW(device,&capsW,4);
|
||||||
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_NOTSUPPORTED,
|
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_NOTSUPPORTED ||
|
||||||
"waveOutGetDevCapsW(%s): MMSYSERR_NOERROR or MMSYSERR_NOTSUPPORTED "
|
rc==MMSYSERR_INVALPARAM, /* Vista, W2K8 */
|
||||||
"expected, got %s\n",dev_name(device),wave_out_error(rc));
|
"waveOutGetDevCapsW(%s): unexpected return value %s\n",
|
||||||
|
dev_name(device),wave_out_error(rc));
|
||||||
|
|
||||||
nameA=NULL;
|
nameA=NULL;
|
||||||
rc=waveOutMessage((HWAVEOUT)device, DRV_QUERYDEVICEINTERFACESIZE,
|
rc=waveOutMessage((HWAVEOUT)device, DRV_QUERYDEVICEINTERFACESIZE,
|
||||||
|
|
Loading…
Reference in New Issue