Don't consider a MMSYSERR_NOTSUPPORTED failure a test failure.

This commit is contained in:
Robert Reif 2004-11-03 22:13:44 +00:00 committed by Alexandre Julliard
parent 691884b9b6
commit 53e5799949
1 changed files with 5 additions and 3 deletions

View File

@ -598,9 +598,11 @@ static void wave_in_tests()
"MMSYSERR_NOTSUPPORTED expected, got %s\n",
dev_name(ndev+1),wave_in_error(rc));
else
ok(rc==MMSYSERR_BADDEVICEID || rc==MMSYSERR_NODRIVER,
"waveInGetDevCapsW(%s): MMSYSERR_BADDEVICEID or MMSYSERR_NODRIVER "
"expected, got %s\n",dev_name(ndev+1),wave_in_error(rc));
ok(rc==MMSYSERR_BADDEVICEID || rc==MMSYSERR_NODRIVER ||
rc==MMSYSERR_NOTSUPPORTED,
"waveInGetDevCapsW(%s): MMSYSERR_BADDEVICEID or MMSYSERR_NODRIVER or"
"MMSYSERR_NOTSUPPORTED expected, got %s\n",
dev_name(ndev+1),wave_in_error(rc));
format.wFormatTag=WAVE_FORMAT_PCM;
format.nChannels=2;