Module: wine Branch: master Commit: b28902cc278459ff9410d11f9116e11154eac0e6 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b28902cc278459ff9410d11f9... Author: Bernhard Kölbl <besentv(a)gmail.com> Date: Wed Mar 9 18:45:32 2022 +0100 windows.media.speech: Use C object macros to call iface methods. Signed-off-by: Bernhard Kölbl <besentv(a)gmail.com> Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/windows.media.speech/synthesizer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/windows.media.speech/synthesizer.c b/dlls/windows.media.speech/synthesizer.c index ee3ac6c7fef..a307e50e6c8 100644 --- a/dlls/windows.media.speech/synthesizer.c +++ b/dlls/windows.media.speech/synthesizer.c @@ -294,7 +294,7 @@ static HRESULT STDMETHODCALLTYPE closable_QueryInterface( { struct speech_synthesizer *impl = impl_from_IClosable(iface); - return speech_synthesizer_QueryInterface(&impl->ISpeechSynthesizer_iface, iid, out); + return ISpeechSynthesizer_QueryInterface(&impl->ISpeechSynthesizer_iface, iid, out); } static ULONG STDMETHODCALLTYPE closable_AddRef( @@ -490,21 +490,21 @@ static HRESULT STDMETHODCALLTYPE installed_voices_static_QueryInterface( IInstalledVoicesStatic *iface, REFIID iid, void **out) { struct windows_media_speech *impl = impl_from_IInstalledVoicesStatic(iface); - return windows_media_speech_QueryInterface(&impl->IActivationFactory_iface, iid, out); + return IActivationFactory_QueryInterface(&impl->IActivationFactory_iface, iid, out); } static ULONG STDMETHODCALLTYPE installed_voices_static_AddRef( IInstalledVoicesStatic *iface) { struct windows_media_speech *impl = impl_from_IInstalledVoicesStatic(iface); - return windows_media_speech_AddRef(&impl->IActivationFactory_iface); + return IActivationFactory_AddRef(&impl->IActivationFactory_iface); } static ULONG STDMETHODCALLTYPE installed_voices_static_Release( IInstalledVoicesStatic *iface) { struct windows_media_speech *impl = impl_from_IInstalledVoicesStatic(iface); - return windows_media_speech_Release(&impl->IActivationFactory_iface); + return IActivationFactory_Release(&impl->IActivationFactory_iface); } static HRESULT STDMETHODCALLTYPE installed_voices_static_GetIids(