dmime: Implement GetClassID() for IDirectMusicGraph.
This commit is contained in:
parent
2d77891fab
commit
c6bc5f1a1c
|
@ -439,8 +439,9 @@ static ULONG WINAPI PersistStream_Release(IPersistStream *iface)
|
||||||
static HRESULT WINAPI PersistStream_GetClassID(IPersistStream *iface, CLSID *clsid)
|
static HRESULT WINAPI PersistStream_GetClassID(IPersistStream *iface, CLSID *clsid)
|
||||||
{
|
{
|
||||||
IDirectMusicGraphImpl *This = impl_from_IPersistStream(iface);
|
IDirectMusicGraphImpl *This = impl_from_IPersistStream(iface);
|
||||||
FIXME("(%p) %p: stub\n", This, clsid);
|
TRACE("(%p) %p\n", This, clsid);
|
||||||
return E_NOTIMPL;
|
*clsid = CLSID_DirectMusicGraph;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI PersistStream_IsDirty(IPersistStream *iface)
|
static HRESULT WINAPI PersistStream_IsDirty(IPersistStream *iface)
|
||||||
|
|
|
@ -421,8 +421,8 @@ static void test_graph(void)
|
||||||
hr = IDirectMusicGraph_QueryInterface(dmg, &IID_IPersistStream, (void**)&ps);
|
hr = IDirectMusicGraph_QueryInterface(dmg, &IID_IPersistStream, (void**)&ps);
|
||||||
ok(hr == S_OK, "QueryInterface for IID_IPersistStream failed: %08x\n", hr);
|
ok(hr == S_OK, "QueryInterface for IID_IPersistStream failed: %08x\n", hr);
|
||||||
hr = IPersistStream_GetClassID(ps, &class);
|
hr = IPersistStream_GetClassID(ps, &class);
|
||||||
todo_wine ok(hr == S_OK, "IPersistStream_GetClassID failed: %08x\n", hr);
|
ok(hr == S_OK, "IPersistStream_GetClassID failed: %08x\n", hr);
|
||||||
todo_wine ok(IsEqualGUID(&class, &CLSID_DirectMusicGraph),
|
ok(IsEqualGUID(&class, &CLSID_DirectMusicGraph),
|
||||||
"Expected class CLSID_DirectMusicGraph got %s\n", wine_dbgstr_guid(&class));
|
"Expected class CLSID_DirectMusicGraph got %s\n", wine_dbgstr_guid(&class));
|
||||||
|
|
||||||
/* Unimplemented IPersistStream methods */
|
/* Unimplemented IPersistStream methods */
|
||||||
|
|
Loading…
Reference in New Issue