[PATCH 6/6] dmusic: Don't hardcode the guidClass in IDirectMusicObject::ParseDescriptor

Michael Stefaniuc mstefani at redhat.de
Sun Jan 5 17:01:53 CST 2014


---
 dlls/dmusic/collection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dmusic/collection.c b/dlls/dmusic/collection.c
index 4c6a034..20380fe 100644
--- a/dlls/dmusic/collection.c
+++ b/dlls/dmusic/collection.c
@@ -269,7 +269,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescrip
 
     /* FIXME: should this be determined from stream? */
     desc->dwValidData |= DMUS_OBJ_CLASS;
-    desc->guidClass = CLSID_DirectMusicCollection;
+    desc->guidClass = This->pDesc->guidClass;
 
     hr = read_from_stream(stream, &chunk, sizeof(FOURCC) + sizeof(DWORD));
     if (FAILED(hr))
-- 
1.8.3.1



More information about the wine-patches mailing list