dsound/tests: Avoid a crash on a Win2k box.

This commit is contained in:
Michael Stefaniuc 2012-09-17 21:08:05 +02:00 committed by Alexandre Julliard
parent 34b7e83357
commit 1545645484
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ static void test_COM(void)
"IDirectSoundFullDuplex_Initialize failed: %08x, expected E_INVALIDARG\n", hr);
hr = IDirectSoundFullDuplex_Initialize(dsfd, NULL, NULL, &cbufdesc, &bufdesc, get_hwnd(),
DSSCL_EXCLUSIVE, &dscb8, &dsb8);
if (hr == DSERR_NODRIVER) {
if (hr == DSERR_NODRIVER || hr == DSERR_INVALIDCALL) {
skip("No driver\n");
return;
}