[PATCH v2 4/4] windows.media.speech: Fake empty IInstalledVoicesStatic::AllVoices vector.

Rémi Bernon rbernon at codeweavers.com
Fri Mar 5 02:53:50 CST 2021


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/windows.media.speech.dll/main.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dlls/windows.media.speech.dll/main.c b/dlls/windows.media.speech.dll/main.c
index c5ca9528e35..1add3425e2b 100644
--- a/dlls/windows.media.speech.dll/main.c
+++ b/dlls/windows.media.speech.dll/main.c
@@ -131,28 +131,31 @@ static HRESULT STDMETHODCALLTYPE vector_view_voice_information_GetAt(
     IVectorView_VoiceInformation *iface, ULONG index, IVoiceInformation **value)
 {
     FIXME("iface %p, index %#x, value %p stub!\n", iface, index, value);
-    return E_NOTIMPL;
+    return S_OK;
 }
 
 static HRESULT STDMETHODCALLTYPE vector_view_voice_information_get_Size(
     IVectorView_VoiceInformation *iface, ULONG *value)
 {
     FIXME("iface %p, value %p stub!\n", iface, value);
-    return E_NOTIMPL;
+    *value = 0;
+    return S_OK;
 }
 
 static HRESULT STDMETHODCALLTYPE vector_view_voice_information_IndexOf(
     IVectorView_VoiceInformation *iface, IVoiceInformation *element, ULONG *index, BOOLEAN *value)
 {
     FIXME("iface %p, element %p, index %p, value %p stub!\n", iface, element, index, value);
-    return E_NOTIMPL;
+    *value = FALSE;
+    return S_OK;
 }
 
 static HRESULT STDMETHODCALLTYPE vector_view_voice_information_GetMany(
     IVectorView_VoiceInformation *iface, ULONG start_index, IVoiceInformation **items, UINT *value)
 {
     FIXME("iface %p, start_index %#x, items %p, value %p stub!\n", iface, start_index, items, value);
-    return E_NOTIMPL;
+    *value = 0;
+    return S_OK;
 }
 
 static const struct IVectorView_VoiceInformationVtbl vector_view_voice_information_vtbl =
-- 
2.30.0




More information about the wine-devel mailing list