From 7944ca48556d0fcd2e6ce4f846170977fa303124 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 25 Jul 2013 20:26:49 +0200 Subject: [PATCH] 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 0a498b05d46..57e3d3bd346 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 11bf5cb69cf..e684821b929 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