dmime/tests: Rather test for IDirectMusicObject as invalid iface.
This commit is contained in:
parent
a7fb6c89b3
commit
232aeb6b20
|
@ -216,7 +216,7 @@ static void test_COM(void)
|
||||||
|
|
||||||
/* Invalid RIID */
|
/* Invalid RIID */
|
||||||
hr = CoCreateInstance(&CLSID_DirectMusicPerformance, NULL, CLSCTX_INPROC_SERVER,
|
hr = CoCreateInstance(&CLSID_DirectMusicPerformance, NULL, CLSCTX_INPROC_SERVER,
|
||||||
&IID_IDirectSound, (void**)&dmp);
|
&IID_IDirectMusicObject, (void**)&dmp);
|
||||||
ok(hr == E_NOINTERFACE,
|
ok(hr == E_NOINTERFACE,
|
||||||
"DirectMusicPerformance create failed: %08x, expected E_NOINTERFACE\n", hr);
|
"DirectMusicPerformance create failed: %08x, expected E_NOINTERFACE\n", hr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue