dsound/tests: Avoid a crash on a Win2k box.
This commit is contained in:
parent
34b7e83357
commit
1545645484
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue