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;
|
||||
}
|
||||
|
||||
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);
|
||||
FIXME("(%p, %li, %d): stub\n", This, lVolume, dwDuration);
|
||||
FIXME("(%p, %i, %d): stub\n", This, lVolume, dwDuration);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -707,9 +707,9 @@ struct _DMUS_WAVE_PMSG {
|
|||
DMUS_PMSG_PART
|
||||
REFERENCE_TIME rtStartOffset;
|
||||
REFERENCE_TIME rtDuration;
|
||||
long lOffset;
|
||||
long lVolume;
|
||||
long lPitch;
|
||||
LONG lOffset;
|
||||
LONG lVolume;
|
||||
LONG lPitch;
|
||||
BYTE bFlags;
|
||||
};
|
||||
|
||||
|
@ -1199,7 +1199,7 @@ DECLARE_INTERFACE_(IDirectMusicAudioPath,IUnknown)
|
|||
/*** IDirectMusicAudioPath methods ***/
|
||||
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(SetVolume)(THIS_ long lVolume, DWORD dwDuration) PURE;
|
||||
STDMETHOD(SetVolume)(THIS_ LONG lVolume, DWORD dwDuration) PURE;
|
||||
STDMETHOD(ConvertPChannel)(THIS_ DWORD dwPChannelIn, DWORD *pdwPChannelOut) PURE;
|
||||
};
|
||||
#undef INTERFACE
|
||||
|
|
Loading…
Reference in New Issue