dmime/tests: Rather test for IDirectMusicObject as invalid iface.

This commit is contained in:
Michael Stefaniuc 2014-06-09 13:23:07 +02:00 committed by Alexandre Julliard
parent a7fb6c89b3
commit 232aeb6b20
1 changed files with 1 additions and 1 deletions

View File

@ -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);