dmime/tests: Fix a crash in Windows 2000.

This commit is contained in:
Bruno Jesus 2014-07-26 23:31:42 -03:00 committed by Alexandre Julliard
parent d2793fe242
commit 147bf5bd6f

View File

@ -380,6 +380,10 @@ static void test_audiopathconfig(void)
hr = CoCreateInstance(&CLSID_DirectMusicAudioPathConfig, NULL, CLSCTX_INPROC_SERVER,
&IID_IDirectMusicObject, (void**)&dmo);
if (hr == REGDB_E_CLASSNOTREG) {
win_skip("DirectMusicAudioPathConfig not registered\n");
return;
}
ok(hr == S_OK, "DirectMusicAudioPathConfig create failed: %08x, expected S_OK\n", hr);
/* IPersistStream */