mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
winmm: Fix a test failure on Windows with Terminal Server.
This commit is contained in:
parent
49939ed544
commit
fa9a26921c
@ -854,9 +854,9 @@ static void wave_out_test_device(int device)
|
||||
}
|
||||
|
||||
rc=waveOutGetDevCapsA(device,&capsA,4);
|
||||
ok(rc==MMSYSERR_NOERROR,
|
||||
"waveOutGetDevCapsA(%s): MMSYSERR_NOERROR expected, got %s\n",
|
||||
dev_name(device),wave_out_error(rc));
|
||||
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_INVALPARAM,
|
||||
"waveOutGetDevCapsA(%s): MMSYSERR_NOERROR or MMSYSERR_INVALPARAM "
|
||||
"expected, got %s\n", dev_name(device),wave_out_error(rc));
|
||||
|
||||
rc=waveOutGetDevCapsW(device,&capsW,4);
|
||||
ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_NOTSUPPORTED,
|
||||
@ -888,6 +888,13 @@ static void wave_out_test_device(int device)
|
||||
nameA=strdup("not supported");
|
||||
}
|
||||
|
||||
rc=waveOutGetDevCapsA(device,&capsA,sizeof(capsA));
|
||||
ok(rc==MMSYSERR_NOERROR,
|
||||
"waveOutGetDevCapsA(%s): MMSYSERR_NOERROR expected, got %s\n",
|
||||
dev_name(device),wave_out_error(rc));
|
||||
if (rc!=MMSYSERR_NOERROR)
|
||||
return;
|
||||
|
||||
trace(" %s: \"%s\" (%s) %d.%d (%d:%d)\n",dev_name(device),capsA.szPname,
|
||||
(nameA?nameA:"failed"),capsA.vDriverVersion >> 8,
|
||||
capsA.vDriverVersion & 0xff, capsA.wMid,capsA.wPid);
|
||||
|
Loading…
Reference in New Issue
Block a user