dmime: Indirection levels fix.

This commit is contained in:
Andrew Talbot 2008-08-05 21:56:33 +01:00 committed by Alexandre Julliard
parent e8eb6d1b42
commit 3bf289aecc
1 changed files with 4 additions and 4 deletions

View File

@ -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;
} }