[PATCH 1/3] dmime: SegTrigger track supports all param types, even invalid ones

Michael Stefaniuc mstefani at winehq.org
Sun Nov 17 17:57:17 CST 2019


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/dmime/segtriggertrack.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dlls/dmime/segtriggertrack.c b/dlls/dmime/segtriggertrack.c
index 3050a5031b..7e1d75aa05 100644
--- a/dlls/dmime/segtriggertrack.c
+++ b/dlls/dmime/segtriggertrack.c
@@ -156,11 +156,7 @@ static HRESULT WINAPI segment_track_IsParamSupported(IDirectMusicTrack8 *iface,
 
     TRACE("(%p, %s)\n", This, debugstr_dmguid(type));
 
-    if (IsEqualGUID(type, &GUID_IDirectMusicStyle))
-        return S_OK;
-
-    TRACE("param unsupported\n");
-    return DMUS_E_TYPE_UNSUPPORTED;
+    return S_OK;
 }
 
 static HRESULT WINAPI segment_track_AddNotificationType(IDirectMusicTrack8 *iface,
-- 
2.20.1




More information about the wine-devel mailing list