Commit d9aa14c5 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmcompos: IsParamSupported of DMChordMapTrack doesn't crashes on NULL.

parent 8fae7fd4
......@@ -139,6 +139,10 @@ static HRESULT WINAPI IDirectMusicChordMapTrack_IDirectMusicTrack_SetParam (LPDI
static HRESULT WINAPI IDirectMusicChordMapTrack_IDirectMusicTrack_IsParamSupported (LPDIRECTMUSICTRACK8 iface, REFGUID rguidType) {
ICOM_THIS_MULTI(IDirectMusicChordMapTrack, TrackVtbl, iface);
TRACE("(%p, %s)\n", This, debugstr_dmguid(rguidType));
if (!rguidType)
return E_POINTER;
if (IsEqualGUID (rguidType, &GUID_IDirectMusicChordMap)) {
TRACE("param supported\n");
return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment