dmcompos: IsParamSupported of DMChordMapTrack doesn't crashes on NULL.
This commit is contained in:
parent
8fae7fd4cc
commit
d9aa14c5e0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue