include: Use LONG instead of long in dmusici.h for Win64 compatibility.
This commit is contained in:
parent
4bfb33ec73
commit
9e296ead7e
|
@ -206,9 +206,9 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate (
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_SetVolume (LPDIRECTMUSICAUDIOPATH iface, long lVolume, DWORD dwDuration) {
|
static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_SetVolume (LPDIRECTMUSICAUDIOPATH iface, LONG lVolume, DWORD dwDuration) {
|
||||||
ICOM_THIS_MULTI(IDirectMusicAudioPathImpl, AudioPathVtbl, iface);
|
ICOM_THIS_MULTI(IDirectMusicAudioPathImpl, AudioPathVtbl, iface);
|
||||||
FIXME("(%p, %li, %d): stub\n", This, lVolume, dwDuration);
|
FIXME("(%p, %i, %d): stub\n", This, lVolume, dwDuration);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -707,9 +707,9 @@ struct _DMUS_WAVE_PMSG {
|
||||||
DMUS_PMSG_PART
|
DMUS_PMSG_PART
|
||||||
REFERENCE_TIME rtStartOffset;
|
REFERENCE_TIME rtStartOffset;
|
||||||
REFERENCE_TIME rtDuration;
|
REFERENCE_TIME rtDuration;
|
||||||
long lOffset;
|
LONG lOffset;
|
||||||
long lVolume;
|
LONG lVolume;
|
||||||
long lPitch;
|
LONG lPitch;
|
||||||
BYTE bFlags;
|
BYTE bFlags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1199,7 +1199,7 @@ DECLARE_INTERFACE_(IDirectMusicAudioPath,IUnknown)
|
||||||
/*** IDirectMusicAudioPath methods ***/
|
/*** IDirectMusicAudioPath methods ***/
|
||||||
STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, WORD dwIndex, REFGUID iidInterface, void **ppObject) PURE;
|
STDMETHOD(GetObjectInPath)(THIS_ DWORD dwPChannel, DWORD dwStage, DWORD dwBuffer, REFGUID guidObject, WORD dwIndex, REFGUID iidInterface, void **ppObject) PURE;
|
||||||
STDMETHOD(Activate)(THIS_ BOOL fActivate) PURE;
|
STDMETHOD(Activate)(THIS_ BOOL fActivate) PURE;
|
||||||
STDMETHOD(SetVolume)(THIS_ long lVolume, DWORD dwDuration) PURE;
|
STDMETHOD(SetVolume)(THIS_ LONG lVolume, DWORD dwDuration) PURE;
|
||||||
STDMETHOD(ConvertPChannel)(THIS_ DWORD dwPChannelIn, DWORD *pdwPChannelOut) PURE;
|
STDMETHOD(ConvertPChannel)(THIS_ DWORD dwPChannelIn, DWORD *pdwPChannelOut) PURE;
|
||||||
};
|
};
|
||||||
#undef INTERFACE
|
#undef INTERFACE
|
||||||
|
|
Loading…
Reference in New Issue