[PATCH v3 4/6] windows.media.speech: Use C object macros to call iface methods.
Bernhard Kölbl
besentv at gmail.com
Wed Mar 9 11:45:32 CST 2022
Signed-off-by: Bernhard Kölbl <besentv at gmail.com>
---
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(
--
2.35.1
More information about the wine-devel
mailing list