Commit 64841cab authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

dsound: Fix duplex test.

parent 094e8539
......@@ -123,12 +123,15 @@ static void IDirectSoundFullDuplex_tests(void)
rc=CoCreateInstance(&CLSID_DirectSoundFullDuplex, NULL,
CLSCTX_INPROC_SERVER, &IID_IDirectSoundFullDuplex,
(void**)&dsfdo);
ok(rc==S_OK||rc==REGDB_E_CLASSNOTREG,
ok(rc==S_OK||rc==REGDB_E_CLASSNOTREG||rc==CLASS_E_CLASSNOTAVAILABLE,
"CoCreateInstance(CLSID_DirectSoundFullDuplex) failed: %s (0x%08lx)\n",
DXGetErrorString8(rc), rc);
if (rc==REGDB_E_CLASSNOTREG) {
trace(" Class Not Registered\n");
return;
} else if (rc==CLASS_E_CLASSNOTAVAILABLE) {
trace(" Class Not Available\n");
return;
}
if (dsfdo)
IDirectSoundFullDuplex_test(dsfdo, FALSE, NULL, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment