Module: wine Branch: master Commit: 7944ca48556d0fcd2e6ce4f846170977fa303124 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7944ca48556d0fcd2e6ce4f846...
Author: Thomas Faber thfabba@gmx.de Date: Thu Jul 25 20:26:49 2013 +0200
quartz: Correct IAMDirectSound::GetFocusWindow signature.
---
dlls/quartz/dsoundrender.c | 8 ++++---- include/amaudio.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c index 0a498b0..57e3d3b 100644 --- a/dlls/quartz/dsoundrender.c +++ b/dlls/quartz/dsoundrender.c @@ -1247,20 +1247,20 @@ static HRESULT WINAPI AMDirectSound_ReleaseSecondaryBufferInterface(IAMDirectSou return E_NOTIMPL; }
-static HRESULT WINAPI AMDirectSound_SetFocusWindow(IAMDirectSound *iface, HWND hwnd, BOOL bgsilent) +static HRESULT WINAPI AMDirectSound_SetFocusWindow(IAMDirectSound *iface, HWND hwnd, BOOL bgaudible) { DSoundRenderImpl *This = impl_from_IAMDirectSound(iface);
- FIXME("(%p/%p)->(%p,%d): stub\n", This, iface, hwnd, bgsilent); + FIXME("(%p/%p)->(%p,%d): stub\n", This, iface, hwnd, bgaudible);
return E_NOTIMPL; }
-static HRESULT WINAPI AMDirectSound_GetFocusWindow(IAMDirectSound *iface, HWND hwnd) +static HRESULT WINAPI AMDirectSound_GetFocusWindow(IAMDirectSound *iface, HWND *hwnd, BOOL *bgaudible) { DSoundRenderImpl *This = impl_from_IAMDirectSound(iface);
- FIXME("(%p/%p)->(%p): stub\n", This, iface, hwnd); + FIXME("(%p/%p)->(%p,%p): stub\n", This, iface, hwnd, bgaudible);
return E_NOTIMPL; } diff --git a/include/amaudio.h b/include/amaudio.h index 11bf5cb..e684821 100644 --- a/include/amaudio.h +++ b/include/amaudio.h @@ -39,8 +39,8 @@ DECLARE_INTERFACE_(IAMDirectSound,IUnknown) STDMETHOD(ReleaseDirectSoundInterface)(THIS_ IDirectSound *ds) PURE; STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE; STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE; - STDMETHOD(SetFocusWindow)(THIS_ HWND hwnd, BOOL bgsilent) PURE; - STDMETHOD(GetFocusWindow)(THIS_ HWND hwnd) PURE; + STDMETHOD(SetFocusWindow)(THIS_ HWND hwnd, BOOL bgaudible) PURE; + STDMETHOD(GetFocusWindow)(THIS_ HWND *hwnd, BOOL *bgaudible) PURE; }; #undef INTERFACE