dmime: Indirection levels fix.
This commit is contained in:
parent
e8eb6d1b42
commit
3bf289aecc
|
@ -620,13 +620,13 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_GetGlobalParam (LPDIRECTMUSIC
|
||||||
TRACE("(%p, %s, %p, %d): stub\n", This, debugstr_dmguid(rguidType), pParam, dwSize);
|
TRACE("(%p, %s, %p, %d): stub\n", This, debugstr_dmguid(rguidType), pParam, dwSize);
|
||||||
|
|
||||||
if (IsEqualGUID (rguidType, &GUID_PerfAutoDownload))
|
if (IsEqualGUID (rguidType, &GUID_PerfAutoDownload))
|
||||||
memcpy(pParam, &This->fAutoDownload, sizeof(&This->fAutoDownload));
|
memcpy(pParam, &This->fAutoDownload, sizeof(This->fAutoDownload));
|
||||||
if (IsEqualGUID (rguidType, &GUID_PerfMasterGrooveLevel))
|
if (IsEqualGUID (rguidType, &GUID_PerfMasterGrooveLevel))
|
||||||
memcpy(pParam, &This->cMasterGrooveLevel, sizeof(&This->cMasterGrooveLevel));
|
memcpy(pParam, &This->cMasterGrooveLevel, sizeof(This->cMasterGrooveLevel));
|
||||||
if (IsEqualGUID (rguidType, &GUID_PerfMasterTempo))
|
if (IsEqualGUID (rguidType, &GUID_PerfMasterTempo))
|
||||||
memcpy(pParam, &This->fMasterTempo, sizeof(&This->fMasterTempo));
|
memcpy(pParam, &This->fMasterTempo, sizeof(This->fMasterTempo));
|
||||||
if (IsEqualGUID (rguidType, &GUID_PerfMasterVolume))
|
if (IsEqualGUID (rguidType, &GUID_PerfMasterVolume))
|
||||||
memcpy(pParam, &This->lMasterVolume, sizeof(&This->lMasterVolume));
|
memcpy(pParam, &This->lMasterVolume, sizeof(This->lMasterVolume));
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue