Commit 9e296ead authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

include: Use LONG instead of long in dmusici.h for Win64 compatibility.

parent 4bfb33ec
...@@ -206,9 +206,9 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicAudioPath_Activate ( ...@@ -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 { ...@@ -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) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment